@featherk/composables 0.11.1 → 0.12.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.
- package/README.md +6 -0
- package/dist/featherk-composables.es.js +1226 -1104
- package/dist/featherk-composables.es.js.map +1 -1
- package/dist/featherk-composables.umd.js +1 -1
- package/dist/featherk-composables.umd.js.map +1 -1
- package/dist/id/index.d.ts +2 -0
- package/dist/id/useCompositeId.d.ts +17 -0
- package/dist/id/useCompositeId.test.d.ts +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/menu/usePopupMenu.d.ts +68 -11
- package/dist/observer/index.d.ts +1 -0
- package/dist/observer/useIntersectionObserver.d.ts +31 -0
- package/dist/observer/useIntersectionObserver.test.d.ts +1 -0
- package/dist/registry/index.d.ts +2 -0
- package/dist/registry/useActiveIdRegistry.d.ts +35 -0
- package/dist/registry/useActiveIdRegistry.test.d.ts +1 -0
- package/docs/date/useMaskedDateInput.md +9 -3
- package/docs/id/useCompositeId.md +29 -0
- package/docs/menu/usePopupMenu.md +129 -26
- package/docs/observer/useIntersectionObserver.md +95 -0
- package/docs/registry/useActiveIdRegistry.md +136 -0
- package/package.json +16 -1
package/README.md
CHANGED
|
@@ -20,6 +20,8 @@ Vue 3 composables that improve Kendo UI for Vue behavior and accessibility.
|
|
|
20
20
|
- Guide: [docs/trap/usePopupTrap.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/trap/usePopupTrap.md)
|
|
21
21
|
- **Menu**: `usePopupMenu` — Accessible Kendo Popup + Menu action-menu toggling, selection modality, and contextual focus restoration.
|
|
22
22
|
- Guide: [docs/menu/usePopupMenu.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/menu/usePopupMenu.md)
|
|
23
|
+
- **Registry**: `useActiveIdRegistry` — Shared active-id bookkeeping for single-open patterns across many grid rows/buttons.
|
|
24
|
+
- Guide: [docs/registry/useActiveIdRegistry.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/registry/useActiveIdRegistry.md)
|
|
23
25
|
- **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.
|
|
24
26
|
- Guide: [docs/address/useZipTextBox.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/address/useZipTextBox.md)
|
|
25
27
|
- **Address**: `useUSAddress` — Orchestrates full US address form behavior, including delayed validation (via `useFieldsetValidationKit`), state options, ZIP integration, and normalized submit payloads.
|
|
@@ -59,6 +61,9 @@ import { usePopupTrap } from '@featherk/composables/trap';
|
|
|
59
61
|
// Kendo Popup + Menu action-menu utilities
|
|
60
62
|
import { usePopupMenu, type KendoMenuSelectEvent } from '@featherk/composables/menu';
|
|
61
63
|
|
|
64
|
+
// Shared active-id bookkeeping for single-open grid or list patterns
|
|
65
|
+
import { useActiveIdRegistry } from '@featherk/composables/registry';
|
|
66
|
+
|
|
62
67
|
// Address utilities
|
|
63
68
|
import { useZipTextBox, useUSAddress, type USAddressSubmitPayload } from '@featherk/composables/address';
|
|
64
69
|
|
|
@@ -83,6 +88,7 @@ import {
|
|
|
83
88
|
usePopupTrap,
|
|
84
89
|
usePopupMenu,
|
|
85
90
|
type KendoMenuSelectEvent,
|
|
91
|
+
useActiveIdRegistry,
|
|
86
92
|
useZipTextBox,
|
|
87
93
|
useUSAddress,
|
|
88
94
|
useFieldsetValidationKit,
|