Clarify Eidos intent icon wording

active-uix
dev 5 months ago
parent 753e27487f
commit 8194ad3a98

@ -33,7 +33,7 @@ Actualizacion Eidos components audit 2026-05-17:
-> 2 archivos, 5 tests OK.
- `npx vitest run src/uix/soma/components/popover/popover-provider.svelte.test.ts`
-> 1 archivo, 2 tests OK.
- `npx vitest run src/uix/eidos` -> 7 archivos, 79 tests OK.
- `npx vitest run src/uix/eidos` -> 7 archivos, 81 tests OK.
- `npm run check` -> 0 errores, 0 warnings.
- Pendiente deliberado:
- Ninguno del bloque auditado. Los `font-size: 0.9rem/0.85rem` restantes
@ -59,6 +59,17 @@ Actualizacion Eidos recipe typography 2026-05-17:
- `npx vitest run src/uix/eidos` -> 7 archivos, 79 tests OK.
- `npm run check` -> 0 errores, 0 warnings.
Actualizacion Eidos intent wording 2026-05-17:
- Limpieza de naming en `src/uix/eidos/components/icon/*`:
- `IntentIcon` y `INTENT_ICON` ya no describen el intent como propiedad de
Sema. El tipo sigue importandose desde la fuente unica `$uix/intent` y los
comentarios hablan de `Intent` canonico.
- Validado:
- `rg "sema intent|Sema intent" src/uix src/arts` -> 0 resultados.
- `npx vitest run src/uix/eidos` -> 7 archivos, 81 tests OK.
- `npm run check` -> 0 errores, 0 warnings.
Actualizacion Eidos config audit 2026-05-17:
- Resuelta la parte no-componente de la auditoria consolidada de

@ -14,7 +14,7 @@ export { resolveIconSize, resolveIconStrokeWidth } from './create-icon';
export { iconCategories, type IconCategory } from './categories';
// Doctrinal intent → glyph mapping. Single source of truth for any
// eidos surface that visually conveys a sema intent (Toast status,
// eidos surface that visually conveys a canonical Intent (Toast status,
// Dialog confirmations, Field validation, Banner, …). Editing the
// table in ./intent.ts re-themes intent icons globally.
export { default as IntentIcon } from './intent-icon.svelte';

@ -1,6 +1,6 @@
<script lang="ts">
/**
* `<IntentIcon>` — picks the canonical glyph for a sema intent (or
* `<IntentIcon>` — picks the canonical glyph for an Intent (or
* the loading glyph when `loading=true`) from the doctrinal map in
* `intent.ts`. Forwards every other `<Icon>` prop, so consumers get
* size / strokeWidth / color / aria controls without re-wiring them.
@ -15,7 +15,7 @@
import { INTENT_ICON, LOADING_ICON } from './intent';
type Props = Omit<IconProps, 'children'> & {
/** Sema intent driving the glyph choice. */
/** Canonical Intent driving the glyph choice. */
intent: Intent;
/**
* When true, renders the loading glyph instead of the intent

@ -1,5 +1,5 @@
/**
* Doctrinal mapping from sema intent → glyph. The single source of
* Doctrinal mapping from canonical Intent → glyph. The single source of
* truth for "what icon represents this intent" across every eidos
* consumer (Toast, Dialog confirmations, Field validation, Banner,
* etc). Editing this file re-themes intent icons globally — no consumer

Loading…
Cancel
Save

Powered by TurnKey Linux.