Closes the second BROKEN component from the audit (after date-range-picker). Five errors collapse to zero: - Morfo declares the three `emerge` events the recipe animations were already keying off (`open`, `close`, `close-dismiss`) plus a `texts.label` slot. `data-disabled` is now declared on `Trigger` (with optional severity) so the recipe rule has a real contract to land on. `aria-disabled` and `texts.label` round out the surface; the new `tooltip.label` catalog entry ships under `src/uix/langs/components/tooltip.ts`. - Recipe CSS: explicit `[data-tooltip-trigger][data-disabled]` and `[data-tooltip-trigger]:focus-visible` rules. The disabled rule suppresses pointer events; the focus rule provides a defensive outline so a focusable trigger shell is at least keyboard-visible. - README: convert the old `## Pendiente deliberado` section into a proper `## Gaps` table with explicit dispositions (implementar/diferir/descartar), and update `## Eventos Sema` to reflect that tooltip now declares its three emerge events instead of claiming zero. Comparativa was already complete; the regex fix from the previous commit picked it up. Audit: tooltip BROKEN → PASS. Project-wide goes from 1/64/2 to 3/64/0 (PASS / NEEDS-WORK / BROKEN). No more BROKEN components. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>active-uix
parent
c61ba78d35
commit
2fcade063b
@ -0,0 +1,15 @@
|
|||||||
|
import type { LangNode } from '$libs/langs';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default strings for the tooltip component. Merged under
|
||||||
|
* `components.tooltip.*` by `ActiveUix` (via `componentLangs` barrel).
|
||||||
|
*
|
||||||
|
* Morfo references entries by absolute idlangref:
|
||||||
|
* `'#?components.tooltip.{key}|fallback'`.
|
||||||
|
*/
|
||||||
|
export const tooltipLangs = {
|
||||||
|
label: {
|
||||||
|
es: 'Información complementaria',
|
||||||
|
en: 'Tooltip'
|
||||||
|
}
|
||||||
|
} satisfies LangNode;
|
||||||
Loading…
Reference in new issue