@faast-app/ui 0.8.0 → 0.9.0

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faast-app/ui",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "stylesheet": "faast-kit.css",
5
5
  "theme": "data-theme=\"light|dark\" on <html>; no attribute follows prefers-color-scheme",
6
6
  "examples": [
@@ -11,6 +11,14 @@
11
11
  "note": "Una sola acción primary por vista. Etiquetas en Title Case.",
12
12
  "html": "<div style=\"display:flex;flex-wrap:wrap;gap:12px\"><button type=\"button\" class=\"faast-button faast-button--primary faast-button--md\"><span class=\"faast-button__label\">Guardar Cambios</span></button><button type=\"button\" class=\"faast-button faast-button--secondary faast-button--md\"><span class=\"faast-button__label\">Cancelar</span></button><button type=\"button\" class=\"faast-button faast-button--ghost faast-button--md\"><span class=\"faast-button__label\">Ver Detalle</span></button><button type=\"button\" class=\"faast-button faast-button--danger faast-button--md\"><span class=\"faast-button__label\">Anular Operación</span></button><button type=\"button\" class=\"faast-button faast-button--primary faast-button--sm\"><span class=\"faast-button__label\">Aplicar</span></button><button type=\"button\" class=\"faast-button faast-button--primary faast-button--md faast-button--loading\" aria-busy=\"true\" aria-disabled=\"true\"><span role=\"status\" class=\"faast-spinner faast-spinner--sm\"><span class=\"faast-spinner__ring\" aria-hidden=\"true\"></span><span class=\"faast-sr-only\">Cargando…</span></span><span class=\"faast-button__label\">Enviando</span></button><button type=\"button\" class=\"faast-button faast-button--secondary faast-button--md\" disabled=\"\"><span class=\"faast-button__label\">No Disponible</span></button><button type=\"button\" class=\"faast-button faast-button--secondary faast-button--md\"><span class=\"faast-button__label\">Continuar</span><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-arrow-right faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M5 12h14\"></path><path d=\"m12 5 7 7-7 7\"></path></svg></button></div>"
13
13
  },
14
+ {
15
+ "id": "button-pill",
16
+ "group": "Acciones",
17
+ "title": "Button shape pill (cápsula)",
18
+ "note": "Solo para superficies cuyo contrato pide botones cápsula (el acceso). Cambia únicamente el radio (--faast-radius-full); color, alto y estados son los del Button.",
19
+ "width": 384,
20
+ "html": "<div style=\"display:grid;gap:12px\"><button type=\"button\" class=\"faast-button faast-button--primary faast-button--md faast-button--pill faast-button--full\"><span class=\"faast-button__label\">Ingresar</span></button><button type=\"button\" class=\"faast-button faast-button--secondary faast-button--md faast-button--pill faast-button--full\"><span class=\"faast-button__label\">Iniciar Sesión con Microsoft</span></button><button type=\"button\" class=\"faast-button faast-button--ghost faast-button--md faast-button--pill faast-button--full\"><span class=\"faast-button__label\">Usar Usuario y Contraseña</span></button></div>"
21
+ },
14
22
  {
15
23
  "id": "chip",
16
24
  "group": "Acciones",
@@ -33,6 +41,22 @@
33
41
  "width": 420,
34
42
  "html": "<div style=\"display:grid;gap:16px\"><div class=\"faast-field\"><label class=\"faast-field__label\" for=\"faast-field-_R_1_\">RUC del proveedor<span class=\"faast-field__required\"> (obligatorio)</span></label><input type=\"text\" class=\"faast-input\" inputMode=\"numeric\" id=\"faast-field-_R_1_\" required=\"\" aria-describedby=\"faast-field-_R_1_-hint\" value=\"20512345678\"/><p class=\"faast-field__hint\" id=\"faast-field-_R_1_-hint\">11 dígitos, sin guiones.</p><p class=\"faast-field__error\" id=\"faast-field-_R_1_-error\" aria-live=\"polite\"></p></div><div class=\"faast-field faast-field--invalid\"><label class=\"faast-field__label\" for=\"faast-field-_R_2_\">Correo de contacto</label><span class=\"faast-input-wrap\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-mail faast-icon faast-input-wrap__leading\" focusable=\"false\" aria-hidden=\"true\"><path d=\"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7\"></path><rect x=\"2\" y=\"4\" width=\"20\" height=\"16\" rx=\"2\"></rect></svg><input type=\"text\" class=\"faast-input faast-input--leading\" id=\"faast-field-_R_2_\" aria-describedby=\"faast-field-_R_2_-error\" aria-invalid=\"true\" value=\"tesoreria@\"/></span><p class=\"faast-field__error\" id=\"faast-field-_R_2_-error\" aria-live=\"polite\">Escribe un correo completo, por ejemplo tesoreria@empresa.pe.</p></div><div class=\"faast-field\"><label class=\"faast-field__label\" for=\"faast-field-_R_3_\">Banco de destino</label><span class=\"faast-select\"><select class=\"faast-input faast-select__control\" id=\"faast-field-_R_3_\" aria-describedby=\"faast-field-_R_3_-hint\"><option value=\"\">Selecciona…</option><option value=\"bcp\" selected=\"\">BCP</option><option value=\"bbva\">BBVA</option><option value=\"ibk\">Interbank</option></select><span class=\"faast-select__icon\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-chevron-down faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"m6 9 6 6 6-6\"></path></svg></span></span><p class=\"faast-field__hint\" id=\"faast-field-_R_3_-hint\">Solo bancos habilitados para tu empresa.</p><p class=\"faast-field__error\" id=\"faast-field-_R_3_-error\" aria-live=\"polite\"></p></div><div class=\"faast-field\"><label class=\"faast-field__label\" for=\"faast-field-_R_4_\">Observación</label><textarea rows=\"3\" class=\"faast-input faast-textarea\" id=\"faast-field-_R_4_\">Factura reemitida el 04/11/2026.</textarea><p class=\"faast-field__error\" id=\"faast-field-_R_4_-error\" aria-live=\"polite\"></p></div></div>"
35
43
  },
44
+ {
45
+ "id": "control-lg",
46
+ "group": "Formularios",
47
+ "title": "Controles de 48 px",
48
+ "note": "Button size=\"lg\" y controlSize=\"lg\" en TextField y PasswordField; o data-densidad=\"amplia\" en un contenedor. Solo para superficies cuyo contrato fija 48 px (el acceso); el resto sigue en 44 px (36 px con puntero fino).",
49
+ "width": 384,
50
+ "html": "<div style=\"display:grid;gap:16px\"><div class=\"faast-field\"><label class=\"faast-field__label\" for=\"faast-field-_R_1_\">Usuario</label><input type=\"text\" class=\"faast-input faast-input--lg\" id=\"faast-field-_R_1_\" value=\"tesoreria@empresa.pe\"/><p class=\"faast-field__error\" id=\"faast-field-_R_1_-error\" aria-live=\"polite\"></p></div><div class=\"faast-field\"><label class=\"faast-field__label\" for=\"faast-password-_R_2_\">Contraseña</label><span class=\"faast-input-wrap faast-input-wrap--lg\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-lock faast-icon faast-input-wrap__leading\" focusable=\"false\" aria-hidden=\"true\"><rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\"></rect><path d=\"M7 11V7a5 5 0 0 1 10 0v4\"></path></svg><input type=\"password\" class=\"faast-input faast-input--leading faast-input--trailing faast-input--lg\" autoComplete=\"current-password\" autoCapitalize=\"none\" autoCorrect=\"off\" spellCheck=\"false\" id=\"faast-password-_R_2_\"/><span class=\"faast-input-wrap__trailing\"><button type=\"button\" aria-label=\"Mostrar contraseña\" title=\"Mostrar contraseña\" class=\"faast-icon-button faast-icon-button--ghost\" aria-pressed=\"false\" aria-controls=\"faast-password-_R_2_\" data-testid=\"password-visibility-toggle\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-eye faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0\"></path><circle cx=\"12\" cy=\"12\" r=\"3\"></circle></svg></button></span></span><p class=\"faast-field__error\" id=\"faast-password-_R_2_-error\" aria-live=\"polite\"></p></div><button type=\"button\" class=\"faast-button faast-button--primary faast-button--lg faast-button--full\"><span class=\"faast-button__label\">Ingresar</span></button></div>"
51
+ },
52
+ {
53
+ "id": "field-message-inside",
54
+ "group": "Formularios",
55
+ "title": "Campo con el mensaje dentro",
56
+ "note": "messagePlacement=\"inside\": una sola caja (borde border-strong, status-danger-fg si hay error) con el control sin borde propio y, bajo una línea border-subtle, el mensaje: ícono, título en tinta y detalle en text-secondary. Sin fondo teñido. role=\"alert\". El otro campo apunta al mismo mensaje con aria-invalid y aria-describedby, para no decir cuál falló.",
57
+ "width": 384,
58
+ "html": "<div style=\"display:grid;gap:16px\"><div class=\"faast-field\"><label class=\"faast-field__label\" for=\"faast-field-_R_1_\">Usuario</label><input type=\"text\" class=\"faast-input\" aria-invalid=\"true\" aria-describedby=\"kit-clave-error\" id=\"faast-field-_R_1_\" value=\"tesoreria@empresa.pe\"/><p class=\"faast-field__error\" id=\"faast-field-_R_1_-error\" aria-live=\"polite\"></p></div><div class=\"faast-field faast-field--invalid faast-field--inside\"><label class=\"faast-field__label\" for=\"kit-clave\">Contraseña</label><div class=\"faast-field__box\"><span class=\"faast-input-wrap\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-lock faast-icon faast-input-wrap__leading\" focusable=\"false\" aria-hidden=\"true\"><rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\"></rect><path d=\"M7 11V7a5 5 0 0 1 10 0v4\"></path></svg><input type=\"password\" class=\"faast-input faast-input--leading faast-input--trailing\" autoComplete=\"current-password\" autoCapitalize=\"none\" autoCorrect=\"off\" spellCheck=\"false\" aria-describedby=\"kit-clave-error\" id=\"kit-clave\" aria-invalid=\"true\" value=\"clave-equivocada\"/><span class=\"faast-input-wrap__trailing\"><button type=\"button\" aria-label=\"Mostrar contraseña\" title=\"Mostrar contraseña\" class=\"faast-icon-button faast-icon-button--ghost\" aria-pressed=\"false\" aria-controls=\"kit-clave\" data-testid=\"password-visibility-toggle\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-eye faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0\"></path><circle cx=\"12\" cy=\"12\" r=\"3\"></circle></svg></button></span></span><div class=\"faast-field__message\" id=\"kit-clave-error\" role=\"alert\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-circle-alert lucide-alert-circle faast-icon\" focusable=\"false\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><line x1=\"12\" x2=\"12\" y1=\"8\" y2=\"12\"></line><line x1=\"12\" x2=\"12.01\" y1=\"16\" y2=\"16\"></line></svg><span class=\"faast-field__message-text\"><span class=\"faast-field__message-title\">No pudimos iniciar tu sesión.</span><span class=\"faast-field__message-detail\">Revisa tu usuario y contraseña e inténtalo de nuevo.</span></span></div></div></div></div>"
59
+ },
36
60
  {
37
61
  "id": "choice",
38
62
  "group": "Formularios",
@@ -47,6 +71,13 @@
47
71
  "note": "El estado va siempre en palabras, además del color.",
48
72
  "html": "<div style=\"display:flex;flex-wrap:wrap;gap:8px;align-items:center\"><span class=\"faast-badge faast-badge--success faast-status-badge\"><span class=\"faast-status-badge__dot\" aria-hidden=\"true\"></span>Desembolsada</span><span class=\"faast-badge faast-badge--info faast-status-badge\"><span class=\"faast-status-badge__dot\" aria-hidden=\"true\"></span>En evaluación</span><span class=\"faast-badge faast-badge--violet faast-status-badge\"><span class=\"faast-status-badge__dot\" aria-hidden=\"true\"></span>Aprobada</span><span class=\"faast-badge faast-badge--warning faast-status-badge\"><span class=\"faast-status-badge__dot\" aria-hidden=\"true\"></span>Observada</span><span class=\"faast-badge faast-badge--danger faast-status-badge\"><span class=\"faast-status-badge__dot\" aria-hidden=\"true\"></span>Rechazada</span><span class=\"faast-badge faast-badge--neutral faast-status-badge\"><span class=\"faast-status-badge__dot\" aria-hidden=\"true\"></span>Borrador</span><span class=\"faast-badge faast-badge--neutral\">12</span><span class=\"faast-badge faast-badge--neutral faast-badge--tag\">XML</span></div>"
49
73
  },
74
+ {
75
+ "id": "status-text",
76
+ "group": "Estado y feedback",
77
+ "title": "StatusBadge variant=\"dot\" (estado en texto)",
78
+ "note": "Punto de 8 px + palabra, sin píldora. Punto hueco = en curso, lleno = ya definido. Color solo donde hay que actuar (Observada, Rechazada) o hay un resultado (Desembolsada); «En evaluación» y «Aprobada» van en tinta (status neutral). Con la paleta de la biblioteca serían info y violet.",
79
+ "html": "<div style=\"display:flex;flex-wrap:wrap;gap:16px 32px;align-items:start\"><span class=\"faast-status-text faast-status-text--neutral faast-status-text--hollow\"><span class=\"faast-status-text__line\"><span class=\"faast-status-text__dot\" aria-hidden=\"true\"></span>En evaluación</span></span><span class=\"faast-status-text faast-status-text--neutral faast-status-text--solid\"><span class=\"faast-status-text__line\"><span class=\"faast-status-text__dot\" aria-hidden=\"true\"></span>Aprobada</span></span><span class=\"faast-status-text faast-status-text--warning faast-status-text--solid\"><span class=\"faast-status-text__line\"><span class=\"faast-status-text__dot\" aria-hidden=\"true\"></span>Observada</span><span class=\"faast-status-text__note\">Vence hoy a las 18:00</span></span><span class=\"faast-status-text faast-status-text--success faast-status-text--solid\"><span class=\"faast-status-text__line\"><span class=\"faast-status-text__dot\" aria-hidden=\"true\"></span>Desembolsada</span></span><span class=\"faast-status-text faast-status-text--danger faast-status-text--solid\"><span class=\"faast-status-text__line\"><span class=\"faast-status-text__dot\" aria-hidden=\"true\"></span>Rechazada</span></span></div>"
80
+ },
50
81
  {
51
82
  "id": "alert",
52
83
  "group": "Estado y feedback",
@@ -83,6 +114,22 @@
83
114
  "title": "StatTiles",
84
115
  "html": "<div class=\"faast-stat-tiles\" role=\"group\" aria-label=\"Totales en soles\"><dl class=\"faast-stat-tiles__grid\" style=\"--faast-stat-columns:4\"><div class=\"faast-stat-tile faast-stat-tile--info\"><dt class=\"faast-stat-tile__label\"><span class=\"faast-stat-tile__marker\" aria-hidden=\"true\"></span><span class=\"faast-stat-tile__label-text\">En evaluación</span></dt><dd class=\"faast-stat-tile__value faast-num\">S/ 27,750.75</dd><dd class=\"faast-stat-tile__caption\">2 operaciones</dd></div><div class=\"faast-stat-tile faast-stat-tile--violet\"><dt class=\"faast-stat-tile__label\"><span class=\"faast-stat-tile__marker\" aria-hidden=\"true\"></span><span class=\"faast-stat-tile__label-text\">Aprobada</span></dt><dd class=\"faast-stat-tile__value faast-num\">S/ 8,000.00</dd><dd class=\"faast-stat-tile__caption\">1 operación</dd></div><div class=\"faast-stat-tile faast-stat-tile--accent\"><dt class=\"faast-stat-tile__label\"><span class=\"faast-stat-tile__marker\" aria-hidden=\"true\"></span><span class=\"faast-stat-tile__label-text\">Desembolsada</span></dt><dd class=\"faast-stat-tile__value faast-num\">S/ 68,010.90</dd><dd class=\"faast-stat-tile__caption\">2 operaciones</dd></div><div class=\"faast-stat-tile faast-stat-tile--warning\"><dt class=\"faast-stat-tile__label\"><span class=\"faast-stat-tile__marker\" aria-hidden=\"true\"></span><span class=\"faast-stat-tile__label-text\">Observada</span></dt><dd class=\"faast-stat-tile__value faast-num\">S/ 5,120.00</dd><dd class=\"faast-stat-tile__caption\">1 operación</dd></div></dl></div>"
85
116
  },
117
+ {
118
+ "id": "summary-card",
119
+ "group": "Datos",
120
+ "title": "SummaryCard con muesca",
121
+ "note": "Una cifra principal con su título, código de moneda, pie y, en la esquina, un botón circular dentro de una muesca (máscara radial, sin imágenes) que lleva a la lista detrás de la cifra. UNA tarjeta protagonista (variant=\"featured\", color suave de la marca: accent.soft) por grupo; el texto sobre ella es accent.onSoft. La cifra llega formateada por la app (Intl) y nunca se calcula aquí. Sin SummaryCardAction no hay muesca ni elevación al pasar el cursor. La grilla de tres columnas es de la aplicación (la tarjeta no la define).",
122
+ "width": 960,
123
+ "html": "<div style=\"display:grid;grid-template-columns:repeat(auto-fit, minmax(16rem, 1fr));gap:16px\"><article aria-labelledby=\"_R_1_\" class=\"faast-summary-card faast-summary-card--featured\"><span class=\"faast-summary-card__surface\" aria-hidden=\"true\"><span class=\"faast-summary-card__shape\"></span></span><div class=\"faast-summary-card__content\"><div class=\"faast-summary-card__top\"><span class=\"faast-summary-card__icon\" aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-coins faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M13.744 17.736a6 6 0 1 1-7.48-7.48\"></path><path d=\"M15 6h1v4\"></path><path d=\"m6.134 14.768.866-.5 2 3.464\"></path><circle cx=\"16\" cy=\"8\" r=\"6\"></circle></svg></span><h2 id=\"_R_1_\" class=\"faast-summary-card__title\">Saldo Documento</h2></div><p class=\"faast-summary-card__value faast-num\">5.935.306.693<span class=\"faast-summary-card__unit\">COP</span></p><div class=\"faast-summary-card__footer\"><span class=\"faast-badge faast-badge--neutral\">+2,2 %</span><span>frente a hace 4 semanas</span></div><p class=\"faast-summary-card__note\"><span class=\"faast-summary-card__note-icon\" aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-refresh-cw faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8\"></path><path d=\"M21 3v5h-5\"></path><path d=\"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16\"></path><path d=\"M8 16H3v5\"></path></svg></span>Actualizado a las 14:32</p><button aria-label=\"Ver documentos con saldo\" class=\"faast-summary-card__action\" type=\"button\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-arrow-up-right faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M7 7h10v10\"></path><path d=\"M7 17 17 7\"></path></svg></button></div></article><article aria-labelledby=\"_R_2_\" class=\"faast-summary-card\"><span class=\"faast-summary-card__surface\" aria-hidden=\"true\"><span class=\"faast-summary-card__shape\"></span></span><div class=\"faast-summary-card__content\"><div class=\"faast-summary-card__top\"><span class=\"faast-summary-card__icon\" aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-file-text faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\"></path><path d=\"M14 2v5a1 1 0 0 0 1 1h5\"></path><path d=\"M10 9H8\"></path><path d=\"M16 13H8\"></path><path d=\"M16 17H8\"></path></svg></span><h2 id=\"_R_2_\" class=\"faast-summary-card__title\">Monto Financiado</h2></div><p class=\"faast-summary-card__value faast-num\">5.241.196.387<span class=\"faast-summary-card__unit\">COP</span></p><div class=\"faast-summary-card__footer\"><span class=\"faast-badge faast-badge--success\">88,3 % del monto</span><span>de 83 documentos</span></div><button aria-label=\"Ver documentos financiados\" class=\"faast-summary-card__action\" type=\"button\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-arrow-up-right faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M7 7h10v10\"></path><path d=\"M7 17 17 7\"></path></svg></button></div></article><article aria-labelledby=\"_R_3_\" class=\"faast-summary-card\"><span class=\"faast-summary-card__surface\" aria-hidden=\"true\"><span class=\"faast-summary-card__shape\"></span></span><div class=\"faast-summary-card__content\"><div class=\"faast-summary-card__top\"><span class=\"faast-summary-card__icon\" aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-calendar faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M8 2v3\"></path><path d=\"M16 2v3\"></path><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\"></rect><path d=\"M3 9h18\"></path></svg></span><h2 id=\"_R_3_\" class=\"faast-summary-card__title\">Monto Documento</h2></div><p class=\"faast-summary-card__value faast-num\">5.937.461.333<span class=\"faast-summary-card__unit\">COP</span></p><div class=\"faast-summary-card__footer\"><span class=\"faast-badge faast-badge--info\">83 documentos</span><span>13 clientes</span></div><button aria-label=\"Ver todos los documentos\" class=\"faast-summary-card__action\" type=\"button\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-arrow-up-right faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M7 7h10v10\"></path><path d=\"M7 17 17 7\"></path></svg></button></div></article></div>"
124
+ },
125
+ {
126
+ "id": "summary-card-states",
127
+ "group": "Datos",
128
+ "title": "SummaryCard: tamaño sm, cargando, sin dato y sin acción",
129
+ "note": "size=\"sm\" (minitarjeta plana para un diálogo o un panel denso: bg.sunken, borde subtle, sin sombra ni bloques diagonales; con variant=\"featured\", color suave de la marca) se muestra aquí sobre una superficie de diálogo. busy: aria-busy, la cifra, el pie y la nota se reemplazan por marcas del mismo tamaño (la tarjeta no cambia de alto) y la acción queda en pausa. Cifra ausente: \"—\" y se lee \"Sin dato\". Sin acción: sin muesca.",
130
+ "width": 960,
131
+ "html": "<div style=\"display:grid;grid-template-columns:repeat(auto-fit, minmax(14rem, 1fr));gap:16px\"><div style=\"display:grid;gap:12px;align-content:start;padding:16px;border:1px solid var(--faast-border-subtle);border-radius:var(--faast-radius-xl);background:var(--faast-bg-surface)\"><article aria-labelledby=\"_R_5_\" class=\"faast-summary-card faast-summary-card--sm\"><span class=\"faast-summary-card__surface\" aria-hidden=\"true\"><span class=\"faast-summary-card__shape\"></span></span><div class=\"faast-summary-card__content\"><div class=\"faast-summary-card__top\"><span class=\"faast-summary-card__icon\" aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-wallet faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1\"></path><path d=\"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4\"></path></svg></span><h3 id=\"_R_5_\" class=\"faast-summary-card__title\">Saldo Pendiente</h3></div><p class=\"faast-summary-card__value faast-num\">22.101.230<span class=\"faast-summary-card__unit\">COP</span></p></div></article><article aria-labelledby=\"_R_9_\" class=\"faast-summary-card faast-summary-card--featured faast-summary-card--sm\"><span class=\"faast-summary-card__surface\" aria-hidden=\"true\"><span class=\"faast-summary-card__shape\"></span></span><div class=\"faast-summary-card__content\"><div class=\"faast-summary-card__top\"><span class=\"faast-summary-card__icon\" aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-coins faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M13.744 17.736a6 6 0 1 1-7.48-7.48\"></path><path d=\"M15 6h1v4\"></path><path d=\"m6.134 14.768.866-.5 2 3.464\"></path><circle cx=\"16\" cy=\"8\" r=\"6\"></circle></svg></span><h3 id=\"_R_9_\" class=\"faast-summary-card__title\">Total Abonado</h3></div><p class=\"faast-summary-card__value faast-num\">3.250.000<span class=\"faast-summary-card__unit\">COP</span></p></div></article></div><article aria-labelledby=\"_R_2_\" aria-busy=\"true\" class=\"faast-summary-card faast-summary-card--featured\"><span class=\"faast-summary-card__surface\" aria-hidden=\"true\"><span class=\"faast-summary-card__shape\"></span></span><div class=\"faast-summary-card__content\"><div class=\"faast-summary-card__top\"><span class=\"faast-summary-card__icon\" aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-coins faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M13.744 17.736a6 6 0 1 1-7.48-7.48\"></path><path d=\"M15 6h1v4\"></path><path d=\"m6.134 14.768.866-.5 2 3.464\"></path><circle cx=\"16\" cy=\"8\" r=\"6\"></circle></svg></span><h2 id=\"_R_2_\" class=\"faast-summary-card__title\">Saldo Documento</h2></div><p class=\"faast-summary-card__value faast-num\"><span class=\"faast-skeleton faast-skeleton--md faast-summary-card__value-placeholder\" aria-hidden=\"true\"></span><span class=\"faast-sr-only\">Cargando…</span></p><div class=\"faast-summary-card__footer\"><span aria-hidden=\"true\" class=\"faast-skeleton faast-skeleton--full\" style=\"width:55%;height:1.5rem\"></span></div><button aria-label=\"Ver documentos con saldo\" aria-disabled=\"true\" tabindex=\"-1\" class=\"faast-summary-card__action\" type=\"button\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-arrow-up-right faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M7 7h10v10\"></path><path d=\"M7 17 17 7\"></path></svg></button></div></article><article aria-labelledby=\"_R_3_\" class=\"faast-summary-card\"><span class=\"faast-summary-card__surface\" aria-hidden=\"true\"><span class=\"faast-summary-card__shape\"></span></span><div class=\"faast-summary-card__content\"><div class=\"faast-summary-card__top\"><span class=\"faast-summary-card__icon\" aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-calendar faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M8 2v3\"></path><path d=\"M16 2v3\"></path><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\"></rect><path d=\"M3 9h18\"></path></svg></span><h2 id=\"_R_3_\" class=\"faast-summary-card__title\">Monto Documento</h2></div><p class=\"faast-summary-card__value faast-num\"><span aria-hidden=\"true\">—</span><span class=\"faast-sr-only\">Sin dato</span></p><div class=\"faast-summary-card__footer\">Sin documentos en el período</div></div></article></div>"
132
+ },
86
133
  {
87
134
  "id": "table",
88
135
  "group": "Datos",
@@ -102,6 +149,14 @@
102
149
  "title": "Stepper",
103
150
  "html": "<nav aria-label=\"Progreso de la solicitud\" class=\"faast-stepper\"><ol class=\"faast-stepper__list\"><li class=\"faast-stepper__step faast-stepper__step--done\"><span class=\"faast-stepper__marker\" aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-check faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M20 6 9 17l-5-5\"></path></svg></span><span class=\"faast-stepper__label\">Selecciona tus facturas</span><span class=\"faast-sr-only\">, completado</span></li><li class=\"faast-stepper__step faast-stepper__step--current\" aria-current=\"step\"><span class=\"faast-stepper__marker\" aria-hidden=\"true\">2</span><span class=\"faast-stepper__label\">Revisa la liquidación</span><span class=\"faast-sr-only\">, paso actual</span></li><li class=\"faast-stepper__step faast-stepper__step--pending\"><span class=\"faast-stepper__marker\" aria-hidden=\"true\">3</span><span class=\"faast-stepper__label\">Envía tu solicitud</span><span class=\"faast-sr-only\">, pendiente</span></li></ol><div class=\"faast-stepper__compact\"><p class=\"faast-stepper__compact-text\"><b>Paso 2 de 3</b> · Revisa la liquidación</p><div class=\"faast-stepper__bar\" aria-hidden=\"true\"><span style=\"width:67%\"></span></div></div></nav>"
104
151
  },
152
+ {
153
+ "id": "stepper-compact",
154
+ "group": "Progreso",
155
+ "title": "Stepper compacto",
156
+ "note": "variant=\"compact\": siempre la forma compacta (\"Paso 2 de 4 · Verificación\" y una barra fina), sin mirar el ancho de la ventana; no renderiza la lista. Para paneles angostos (el acceso mide 384 px en cualquier ventana). La barra es decorativa (aria-hidden); el texto lleva la información.",
157
+ "width": 384,
158
+ "html": "<nav aria-label=\"Avance\" class=\"faast-stepper faast-stepper--compact\"><div class=\"faast-stepper__compact\"><p class=\"faast-stepper__compact-text\"><b>Paso 2 de 4</b> · Verificación</p><div class=\"faast-stepper__bar\" aria-hidden=\"true\"><span style=\"width:50%\"></span></div></div></nav>"
159
+ },
105
160
  {
106
161
  "id": "timeline",
107
162
  "group": "Progreso",
@@ -109,6 +164,13 @@
109
164
  "width": 420,
110
165
  "html": "<ol class=\"faast-timeline\" aria-label=\"Seguimiento de la operación\"><li class=\"faast-timeline__item faast-timeline__item--done\"><span class=\"faast-timeline__dot\" aria-hidden=\"true\"></span><p class=\"faast-timeline__title\">Operación enviada<span class=\"faast-sr-only\">. Completado</span></p><p class=\"faast-timeline__meta\">02/11/2026</p></li><li class=\"faast-timeline__item faast-timeline__item--current\" aria-current=\"step\"><span class=\"faast-timeline__dot\" aria-hidden=\"true\"></span><p class=\"faast-timeline__title\">En evaluación<span class=\"faast-sr-only\">. En curso</span></p><p class=\"faast-timeline__meta\">En curso</p></li><li class=\"faast-timeline__item faast-timeline__item--pending\"><span class=\"faast-timeline__dot\" aria-hidden=\"true\"></span><p class=\"faast-timeline__title\">Desembolso a proveedores<span class=\"faast-sr-only\">. Pendiente</span></p><p class=\"faast-timeline__meta\">Pendiente</p></li></ol>"
111
166
  },
167
+ {
168
+ "id": "floating-bar",
169
+ "group": "Navegación",
170
+ "title": "BarraFlotante, BarraMarca, BarraModulos, BarraHerramientas",
171
+ "note": "Cápsula de vidrio a 12 px del borde (sticky). marca=\"filo\": barra neutra con un filo de 2 px en el color de marca; marca=\"banda\": la barra en el color de marca con texto text-on-accent y el logo sobre una placa bg-surface. Lo que no cabe pasa a «Más (n)» desde el final; el módulo activo nunca pasa. Bajo 768 px los módulos van a una hoja desde el botón «Módulos». La sombra aparece solo cuando hay contenido por debajo (data-elevada). Los colores salen de createTenantTheme.",
172
+ "html": "<div style=\"display:grid;gap:16px\"><div class=\"faast-bar-wrap\"><header class=\"faast-bar faast-glass\" data-marca=\"filo\"><a class=\"faast-bar__brand\" aria-label=\"FaaST.app, ir al inicio\" href=\"#\"><span style=\"font-weight:600\">FaaST</span></a><nav class=\"faast-bar__nav\" aria-label=\"Principal\"><ul class=\"faast-bar__list\"><li><a class=\"faast-bar__item\" href=\"#\" aria-current=\"page\"><span class=\"faast-bar__label\">Factoring</span></a></li><li><a class=\"faast-bar__item\" href=\"#\"><span class=\"faast-bar__label\">Confirming</span></a></li><li><a class=\"faast-bar__item\" href=\"#\"><span class=\"faast-bar__label\">Ordering</span></a></li><li><a class=\"faast-bar__item\" href=\"#\"><span class=\"faast-bar__label\">Clientes</span></a></li></ul><ul class=\"faast-bar__list faast-bar__measure\" aria-hidden=\"true\"><li><span class=\"faast-bar__item\" data-measure=\"item\" aria-current=\"page\">Factoring</span></li><li><span class=\"faast-bar__item\" data-measure=\"item\">Confirming</span></li><li><span class=\"faast-bar__item\" data-measure=\"item\">Ordering</span></li><li><span class=\"faast-bar__item\" data-measure=\"item\">Clientes</span></li><li><span class=\"faast-bar__item\" data-measure=\"more\">Más (4)<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-chevron-down faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"m6 9 6 6 6-6\"></path></svg></span></li></ul></nav><button type=\"button\" class=\"faast-bar__item faast-bar__menu-btn\" aria-haspopup=\"dialog\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-menu faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M4 5h16\"></path><path d=\"M4 12h16\"></path><path d=\"M4 19h16\"></path></svg><span class=\"faast-bar__menu-label\">Módulos</span></button><div class=\"faast-bar__tools\"><button type=\"button\" aria-label=\"Avisos\" title=\"Avisos\" class=\"faast-icon-button faast-icon-button--ghost\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-bell faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M10.268 21a2 2 0 0 0 3.464 0\"></path><path d=\"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326\"></path></svg></button><span class=\"faast-avatar faast-avatar--32\" translate=\"no\" aria-hidden=\"true\"><span aria-hidden=\"true\">VR</span></span></div></header></div><div class=\"faast-bar-wrap\"><header class=\"faast-bar faast-glass\" data-marca=\"banda\"><a class=\"faast-bar__brand\" aria-label=\"FaaST.app, ir al inicio\" href=\"#\"><span style=\"font-weight:600\">FaaST</span></a><nav class=\"faast-bar__nav\" aria-label=\"Principal\"><ul class=\"faast-bar__list\"><li><a class=\"faast-bar__item\" href=\"#\" aria-current=\"page\"><span class=\"faast-bar__label\">Factoring</span></a></li><li><a class=\"faast-bar__item\" href=\"#\"><span class=\"faast-bar__label\">Confirming</span></a></li><li><a class=\"faast-bar__item\" href=\"#\"><span class=\"faast-bar__label\">Ordering</span></a></li><li><a class=\"faast-bar__item\" href=\"#\"><span class=\"faast-bar__label\">Clientes</span></a></li></ul><ul class=\"faast-bar__list faast-bar__measure\" aria-hidden=\"true\"><li><span class=\"faast-bar__item\" data-measure=\"item\" aria-current=\"page\">Factoring</span></li><li><span class=\"faast-bar__item\" data-measure=\"item\">Confirming</span></li><li><span class=\"faast-bar__item\" data-measure=\"item\">Ordering</span></li><li><span class=\"faast-bar__item\" data-measure=\"item\">Clientes</span></li><li><span class=\"faast-bar__item\" data-measure=\"more\">Más (4)<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-chevron-down faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"m6 9 6 6 6-6\"></path></svg></span></li></ul></nav><button type=\"button\" class=\"faast-bar__item faast-bar__menu-btn\" aria-haspopup=\"dialog\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-menu faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M4 5h16\"></path><path d=\"M4 12h16\"></path><path d=\"M4 19h16\"></path></svg><span class=\"faast-bar__menu-label\">Módulos</span></button><div class=\"faast-bar__tools\"><button type=\"button\" aria-label=\"Avisos\" title=\"Avisos\" class=\"faast-icon-button faast-icon-button--ghost\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-bell faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M10.268 21a2 2 0 0 0 3.464 0\"></path><path d=\"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326\"></path></svg></button><span class=\"faast-avatar faast-avatar--32\" translate=\"no\" aria-hidden=\"true\"><span aria-hidden=\"true\">VR</span></span></div></header></div></div>"
173
+ },
112
174
  {
113
175
  "id": "navigation",
114
176
  "group": "Navegación",
@@ -117,6 +179,35 @@
117
179
  "width": 240,
118
180
  "html": "<nav aria-label=\"Principal\" class=\"faast-sidenav\"><div class=\"faast-nav-section\"><ul class=\"faast-nav-section__list\"><li><a class=\"faast-nav-item faast-nav-item--active\" aria-current=\"page\" href=\"#\"><span class=\"faast-nav-item__icon\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-layout-dashboard faast-icon\" focusable=\"false\" aria-hidden=\"true\"><rect width=\"7\" height=\"9\" x=\"3\" y=\"3\" rx=\"1\"></rect><rect width=\"7\" height=\"5\" x=\"14\" y=\"3\" rx=\"1\"></rect><rect width=\"7\" height=\"9\" x=\"14\" y=\"12\" rx=\"1\"></rect><rect width=\"7\" height=\"5\" x=\"3\" y=\"16\" rx=\"1\"></rect></svg></span><span class=\"faast-nav-item__label\">Resumen</span></a></li><li><a class=\"faast-nav-item\" href=\"#\"><span class=\"faast-nav-item__icon\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-file-check faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\"></path><path d=\"M14 2v5a1 1 0 0 0 1 1h5\"></path><path d=\"m9 15 2 2 4-4\"></path></svg></span><span class=\"faast-nav-item__label\">Operaciones</span><span class=\"faast-nav-item__badge\"><span class=\"faast-badge faast-badge--neutral\">4</span></span></a></li><li><a class=\"faast-nav-item\" href=\"#\"><span class=\"faast-nav-item__icon\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-users faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\"></path><path d=\"M16 3.128a4 4 0 0 1 0 7.744\"></path><path d=\"M22 21v-2a4 4 0 0 0-3-3.87\"></path><circle cx=\"9\" cy=\"7\" r=\"4\"></circle></svg></span><span class=\"faast-nav-item__label\">Proveedores</span></a></li></ul></div><div class=\"faast-nav-section\"><p class=\"faast-nav-section__title\">Cuenta</p><ul class=\"faast-nav-section__list\"><li><a class=\"faast-nav-item\" href=\"#\"><span class=\"faast-nav-item__icon\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-settings faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915\"></path><circle cx=\"12\" cy=\"12\" r=\"3\"></circle></svg></span><span class=\"faast-nav-item__label\">Configuración</span></a></li></ul></div></nav>"
119
181
  },
182
+ {
183
+ "id": "radius-layers",
184
+ "group": "Superficies",
185
+ "title": "Radios y capas",
186
+ "note": "Controles 6 px (--faast-radius-sm), superficies de página 8 px (--faast-radius-md), capas que flotan 20 px (--faast-radius-xl). Una sola sombra (--faast-overlay-shadow), solo en lo que flota. --faast-z-flyout (150) va entre sticky y drawer.",
187
+ "html": "<div style=\"display:grid;gap:16px\"><div style=\"padding:16px;border:1px solid var(--faast-border-default);background:var(--faast-bg-surface);color:var(--faast-text-primary);border-radius:var(--faast-radius-sm);box-shadow:none\">Control (6 px)</div><div style=\"padding:16px;border:1px solid var(--faast-border-default);background:var(--faast-bg-surface);color:var(--faast-text-primary);border-radius:var(--faast-radius-md);box-shadow:none\">Superficie de página (8 px)</div><div style=\"padding:16px;border:1px solid var(--faast-border-default);background:var(--faast-bg-surface);color:var(--faast-text-primary);border-radius:var(--faast-radius-xl);box-shadow:var(--faast-overlay-shadow)\">Capa que flota (20 px)</div></div>"
188
+ },
189
+ {
190
+ "id": "glass",
191
+ "group": "Superficies",
192
+ "title": "Glass",
193
+ "note": "Material de vidrio: solo para capas que flotan (barra, menús, aviso flotante). Nunca el lienzo ni el contenido. Sólido con prefers-reduced-transparency o data-vidrio=\"solido\" en <html>. No fija radio ni sombra: la capa los pone (radio y --faast-overlay-shadow).",
194
+ "html": "<div style=\"padding:24px;background:repeating-linear-gradient(135deg, var(--faast-status-info-solid) 0 16px, var(--faast-status-warning-solid) 16px 32px)\"><div class=\"faast-glass\" style=\"padding:12px 16px;border-radius:var(--faast-radius-xl);box-shadow:var(--faast-overlay-shadow)\"><p style=\"margin:0;color:var(--faast-text-primary)\">Barra flotante</p><p style=\"margin:0;color:var(--faast-text-secondary)\">Texto secundario</p></div></div>"
195
+ },
196
+ {
197
+ "id": "toast-flotante",
198
+ "group": "Avisos",
199
+ "title": "Aviso flotante de vidrio",
200
+ "note": "Toast variant=\"flotante\": aviso breve en vidrio (faast-glass--pop, 92 %) bajo la barra flotante, role=\"status\", sin mover el foco. Información (ícono text-secondary), éxito (tone=\"success\") y espera (pending: anillo decorativo, nunca un Spinner con role=\"status\" dentro). persistent no tiene temporizador ni cierre; closable={false} oculta el botón. En la aplicación la región superior (ToastProvider placement=\"top\") queda 8 px bajo la barra flotante tal como se dibuja (--faast-nav-bar-outer-height, 62 px con controles de 44 px); --faast-toaster-top es el gancho opcional. Aquí se muestran en reposo, dentro de la región superior.",
201
+ "width": 576,
202
+ "html": "<div style=\"padding:24px;background:repeating-linear-gradient(135deg, var(--faast-status-info-solid) 0 16px, var(--faast-status-warning-solid) 16px 32px)\"><section class=\"faast-toaster faast-toaster--top\" aria-label=\"Notificaciones\" style=\"position:static;pointer-events:auto\"><div role=\"status\" aria-live=\"polite\" aria-atomic=\"true\" class=\"faast-toast faast-toast--flotante faast-glass faast-glass--pop\" data-testid=\"toast\"><span class=\"faast-toast__icon\" aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-info faast-icon\" focusable=\"false\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><path d=\"M12 16v-4\"></path><path d=\"M12 8h.01\"></path></svg></span><span class=\"faast-toast__message\">Te quedan 2 códigos de recuperación. Genera nuevos desde tu perfil.</span></div><div role=\"status\" aria-live=\"polite\" aria-atomic=\"true\" class=\"faast-toast faast-toast--flotante faast-glass faast-glass--pop\" data-testid=\"toast\"><span class=\"faast-toast__icon\" aria-hidden=\"true\"><span class=\"faast-spinner faast-spinner--sm\"><span class=\"faast-spinner__ring\"></span></span></span><span class=\"faast-toast__message\">Estamos reconectando tu sesión. Puedes seguir trabajando.</span></div><div role=\"status\" aria-live=\"polite\" aria-atomic=\"true\" class=\"faast-toast faast-toast--flotante faast-glass faast-glass--pop faast-toast--success\" data-testid=\"toast\"><span class=\"faast-toast__icon\" aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-circle-check lucide-check-circle-2 faast-icon\" focusable=\"false\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><path d=\"m16 9-5.5 5.5L8 12\"></path></svg></span><span class=\"faast-toast__message\">Sesión reconectada.</span></div></section></div>"
203
+ },
204
+ {
205
+ "id": "icons-rpt-10",
206
+ "group": "Acciones",
207
+ "title": "Icon: imprimir, favorito, billetera, capas, llave, flecha diagonal y menú de acciones",
208
+ "note": "Siete íconos nuevos de la lista permitida (DSN-001 RPT-10). La estrella va contorneada y, ya marcada como favorita, con fill=\"currentColor\" (el botón que la contiene lleva aria-pressed y el nombre). Decorativos con aria-hidden: el botón lleva el nombre accesible.",
209
+ "html": "<div style=\"display:flex;flex-wrap:wrap;gap:16px;align-items:center\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-printer faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2\"></path><path d=\"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6\"></path><rect x=\"6\" y=\"14\" width=\"12\" height=\"8\" rx=\"1\"></rect></svg><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-star faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z\"></path></svg><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-wallet faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1\"></path><path d=\"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4\"></path></svg><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-layers lucide-layers-3 faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z\"></path><path d=\"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12\"></path><path d=\"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17\"></path></svg><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-wrench faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z\"></path></svg><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-arrow-up-right faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M7 7h10v10\"></path><path d=\"M7 17 17 7\"></path></svg><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-ellipsis lucide-more-horizontal faast-icon\" focusable=\"false\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"1\"></circle><circle cx=\"19\" cy=\"12\" r=\"1\"></circle><circle cx=\"5\" cy=\"12\" r=\"1\"></circle></svg><button type=\"button\" class=\"faast-icon-button faast-icon-button--ghost\" aria-pressed=\"true\" aria-label=\"Quitar de Favoritos\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-star faast-icon\" focusable=\"false\" aria-hidden=\"true\"><path d=\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z\"></path></svg></button></div>"
210
+ },
120
211
  {
121
212
  "id": "identity",
122
213
  "group": "Identidad",