@featherk/composables 0.9.8 → 0.10.1
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 +11 -0
- package/dist/featherk-composables.es.js +939 -863
- 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/index.d.ts +1 -0
- package/dist/menu/index.d.ts +1 -0
- package/dist/menu/usePopupMenu.d.ts +81 -0
- package/dist/menu/usePopupMenu.test.d.ts +1 -0
- package/docs/menu/usePopupMenu.md +146 -0
- package/docs/range/useMaskedDateRangeInput.md +6 -3
- package/package.json +6 -1
package/README.md
CHANGED
|
@@ -16,6 +16,8 @@ Vue 3 composables that improve Kendo UI for Vue behavior and accessibility.
|
|
|
16
16
|
- Guide: [docs/time/useMaskedTimeInput.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/time/useMaskedTimeInput.md)
|
|
17
17
|
- **Trap**: `usePopupTrap` — Focus trap + Escape/Outside click close behavior for popups.
|
|
18
18
|
- Guide: [docs/trap/usePopupTrap.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/trap/usePopupTrap.md)
|
|
19
|
+
- **Menu**: `usePopupMenu` — Accessible Kendo Popup + Menu action-menu toggling, selection modality, and contextual focus restoration.
|
|
20
|
+
- Guide: [docs/menu/usePopupMenu.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/menu/usePopupMenu.md)
|
|
19
21
|
- **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
22
|
- Guide: [docs/address/useZipTextBox.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/address/useZipTextBox.md)
|
|
21
23
|
- **Address**: `useUSAddress` — Orchestrates full US address form behavior, including delayed validation (via `useFieldsetValidationKit`), state options, ZIP integration, and normalized submit payloads.
|
|
@@ -47,6 +49,9 @@ import { useMaskedTimeInput, type TimeChangePayload } from '@featherk/composable
|
|
|
47
49
|
// Popup focus trap utilities
|
|
48
50
|
import { usePopupTrap } from '@featherk/composables/trap';
|
|
49
51
|
|
|
52
|
+
// Kendo Popup + Menu action-menu utilities
|
|
53
|
+
import { usePopupMenu, type KendoMenuSelectEvent } from '@featherk/composables/menu';
|
|
54
|
+
|
|
50
55
|
// Address utilities
|
|
51
56
|
import { useZipTextBox, useUSAddress, type USAddressSubmitPayload } from '@featherk/composables/address';
|
|
52
57
|
|
|
@@ -67,6 +72,8 @@ import {
|
|
|
67
72
|
useMaskedTimeInput,
|
|
68
73
|
type TimeChangePayload,
|
|
69
74
|
usePopupTrap,
|
|
75
|
+
usePopupMenu,
|
|
76
|
+
type KendoMenuSelectEvent,
|
|
70
77
|
useZipTextBox,
|
|
71
78
|
useUSAddress,
|
|
72
79
|
useFieldsetValidationKit,
|
|
@@ -87,3 +94,7 @@ npm install vue
|
|
|
87
94
|
## Notes
|
|
88
95
|
|
|
89
96
|
- The runtime files for `useGridA11y` and `useGridActiveFilter` live in `src/grid/`. Both are re-exported from the package root and from `@featherk/composables/grid` — no import path changes are needed by consumers.
|
|
97
|
+
|
|
98
|
+
## Changelog
|
|
99
|
+
|
|
100
|
+
Release history for all `@featherk/*` packages is maintained in a single [CHANGELOG.md](https://github.com/NantHealth/featherk/blob/integration/CHANGELOG.md).
|