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