@featherk/composables 0.10.6 → 0.10.8
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 -2
- package/dist/featherk-composables.es.js +1138 -1039
- 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/grid/index.d.ts +2 -0
- package/dist/grid/useGridRowAction.d.ts +86 -0
- package/dist/grid/useGridRowAction.test.d.ts +1 -0
- package/dist/types/kendo.d.ts +7 -0
- package/docs/grid/useGridRowAction.md +169 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,8 @@ Vue 3 composables that improve Kendo UI for Vue behavior and accessibility.
|
|
|
8
8
|
- Guide: [docs/grid/useGridA11y.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/grid/useGridA11y.md)
|
|
9
9
|
- **Grid**: `useGridActiveFilter` — Reactive header class resolver that marks filtered columns as `"active"`.
|
|
10
10
|
- Guide: [docs/grid/useGridActiveFilter.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/grid/useGridActiveFilter.md)
|
|
11
|
+
- **Grid**: `useGridRowAction` — Safe, accessible row click and keyboard activation handlers for grid rows with interaction and selection guards.
|
|
12
|
+
- Guide: [docs/grid/useGridRowAction.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/grid/useGridRowAction.md)
|
|
11
13
|
- **Date**: `useMaskedDateInput` — Masked single-date input with steppers and validation.
|
|
12
14
|
- Guide: [docs/date/useMaskedDateInput.md](https://github.com/NantHealth/featherk/blob/integration/packages/composables/docs/date/useMaskedDateInput.md)
|
|
13
15
|
- **Range**: `useMaskedDateRangeInput` — Masked date range input with validation, clamp, and optional popup coordination.
|
|
@@ -35,7 +37,12 @@ Subpath imports (recommended for clarity):
|
|
|
35
37
|
|
|
36
38
|
```ts
|
|
37
39
|
// Grid
|
|
38
|
-
import {
|
|
40
|
+
import {
|
|
41
|
+
useGridA11y,
|
|
42
|
+
useGridActiveFilter,
|
|
43
|
+
useGridRowAction,
|
|
44
|
+
type RowActionContext
|
|
45
|
+
} from '@featherk/composables/grid';
|
|
39
46
|
|
|
40
47
|
// Date input
|
|
41
48
|
import { useMaskedDateInput, type DateChangePayload } from '@featherk/composables/date';
|
|
@@ -65,6 +72,8 @@ Root imports (types are aliased to avoid name collisions):
|
|
|
65
72
|
import {
|
|
66
73
|
useGridA11y,
|
|
67
74
|
useGridActiveFilter,
|
|
75
|
+
useGridRowAction,
|
|
76
|
+
type RowActionContext,
|
|
68
77
|
useMaskedDateInput,
|
|
69
78
|
type DateChangePayload,
|
|
70
79
|
useMaskedDateRangeInput,
|
|
@@ -93,7 +102,7 @@ npm install vue
|
|
|
93
102
|
|
|
94
103
|
## Notes
|
|
95
104
|
|
|
96
|
-
- The runtime files for `useGridA11y` and `
|
|
105
|
+
- The runtime files for `useGridA11y`, `useGridActiveFilter`, and `useGridRowAction` live in `src/grid/`. All three are re-exported from the package root and from `@featherk/composables/grid` — no import path changes are needed by consumers.
|
|
97
106
|
|
|
98
107
|
## Changelog
|
|
99
108
|
|