A pass over every component flagged "interactive with 0 events" (audit A-3.1) plus the texts.label slot they all shared. The events follow the canonical sema families and reuse the focus-move filtering installed earlier so the audit no longer treats keyboard navigation as missing coverage. Per-component event additions: - listbox: commit-select, commit-unselect (affirm/neutral, target=item) - toggle-group: commit-toggle (intent fromProp, target=item) - grid-list: commit-select, commit-unselect (target=item) - context-menu: open, close, commit-select - dropdown-menu: open, close, commit-select - menubar: commit-select - navigation-menu: commit-select - tree-view: commit-select + shift-expand + shift-collapse - tree-grid: commit-select + shift-expand + shift-collapse - table: shift-sort + commit-select + shift-expand-row - carousel: shift-slide - feed: commit-load-more + shift-focus-item - command: commit-invoke (palette item invocation, intent fulfill) - splitter: commit-resize (handle settle, not continuous drag) - drag-drop: commit-drag-start + commit-drop + commit-cancel - color-field: commit-set - time-field: commit-set Each got a `texts.label` slot + matching catalog entry. New catalog files for context-menu / dropdown-menu / menubar / toggle-group; existing files extended for the rest. Audit: PASS 25 → 33 in one batch. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>active-uix
parent
491e4be75c
commit
98fc40bf62
@ -0,0 +1,12 @@
|
||||
import type { LangNode } from '$libs/langs';
|
||||
|
||||
/**
|
||||
* Default strings for the context-menu component. Merged under
|
||||
* `components.context-menu.*` by `ActiveUix` (via `componentLangs` barrel).
|
||||
*/
|
||||
export const contextMenuLangs = {
|
||||
label: {
|
||||
es: 'Menú contextual',
|
||||
en: 'Context menu'
|
||||
}
|
||||
} satisfies LangNode;
|
||||
@ -0,0 +1,8 @@
|
||||
import type { LangNode } from '$libs/langs';
|
||||
|
||||
export const dropdownMenuLangs = {
|
||||
label: {
|
||||
es: 'Menú desplegable',
|
||||
en: 'Dropdown menu'
|
||||
}
|
||||
} satisfies LangNode;
|
||||
@ -0,0 +1,8 @@
|
||||
import type { LangNode } from '$libs/langs';
|
||||
|
||||
export const menubarLangs = {
|
||||
label: {
|
||||
es: 'Barra de menú',
|
||||
en: 'Menubar'
|
||||
}
|
||||
} satisfies LangNode;
|
||||
@ -0,0 +1,8 @@
|
||||
import type { LangNode } from '$libs/langs';
|
||||
|
||||
export const toggleGroupLangs = {
|
||||
label: {
|
||||
es: 'Grupo de toggles',
|
||||
en: 'Toggle group'
|
||||
}
|
||||
} satisfies LangNode;
|
||||
Loading…
Reference in new issue