@khipu/design-system 0.2.0-alpha.57 → 0.2.0-alpha.59

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.
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
13
13
  * Source: design-system/src/tokens/tokens.json
14
- * Generated: 2026-06-17T20:27:32.353Z
14
+ * Generated: 2026-06-19T14:28:22.196Z
15
15
  *
16
16
  * To regenerate:
17
17
  * cd design-system && npm run tokens:generate
@@ -2789,6 +2789,16 @@ body.dark {
2789
2789
  width: 100%;
2790
2790
  }
2791
2791
 
2792
+ /* Truncado en una línea con ellipsis. Incluye min-width:0 para que funcione
2793
+ dentro de contenedores flex/grid (el ítem puede encogerse por debajo de su
2794
+ contenido). Útil para nombres/asuntos largos en headers y filas. */
2795
+ .kds-truncate {
2796
+ min-width: 0;
2797
+ overflow: hidden;
2798
+ text-overflow: ellipsis;
2799
+ white-space: nowrap;
2800
+ }
2801
+
2792
2802
  .kds-max-w-sm {
2793
2803
  max-width: 400px;
2794
2804
  }
@@ -7292,6 +7302,18 @@ button.kds-btn-success::after {
7292
7302
  padding-right: calc(var(--kds-spacing-1-5) + var(--kds-spacing-3));
7293
7303
  }
7294
7304
 
7305
+ /* Variante angosta del field (prop `narrow` de KdsTextField): ancho reducido y texto
7306
+ centrado, para inputs de pocos caracteres dispuestos en fila (ej. segmentos de
7307
+ coordenadas o código). No crece ni se encoge dentro de un flex row. */
7308
+ .field.kds-field--narrow {
7309
+ width: 5rem;
7310
+ flex: 0 0 auto;
7311
+ }
7312
+
7313
+ .field.kds-field--narrow > input {
7314
+ text-align: center;
7315
+ }
7316
+
7295
7317
  .kds-bank-modal-search {
7296
7318
  padding: 0 var(--kds-spacing-2) var(--kds-spacing-1-5);
7297
7319
  }