@khipu/design-system 0.2.0-alpha.56 → 0.2.0-alpha.58

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-17T15:15:13.629Z
16
+ * Generated: 2026-06-18T17:41:50.216Z
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
  }
@@ -7272,6 +7282,27 @@
7272
7282
  box-shadow: 0 0 0 2px var(--kds-color-primary-faint);
7273
7283
  }
7274
7284
 
7285
+ /* Variante con ícono (withIcon): lupa posicionada DENTRO del input, a la derecha. */
7286
+ .kds-theme-root .kds-search-field-wrapper {
7287
+ position: relative;
7288
+ width: 100%;
7289
+ }
7290
+
7291
+ .kds-theme-root .kds-search-field-icon {
7292
+ position: absolute;
7293
+ right: var(--kds-spacing-1-5);
7294
+ top: 50%;
7295
+ transform: translateY(-50%);
7296
+ font-size: 20px;
7297
+ color: var(--kds-color-text-hint);
7298
+ pointer-events: none;
7299
+ }
7300
+
7301
+ /* Espacio a la derecha del texto para no solaparse con la lupa. */
7302
+ .kds-theme-root .kds-search-field-wrapper .kds-search-field {
7303
+ padding-right: calc(var(--kds-spacing-1-5) + var(--kds-spacing-3));
7304
+ }
7305
+
7275
7306
  .kds-theme-root .kds-bank-modal-search {
7276
7307
  padding: 0 var(--kds-spacing-2) var(--kds-spacing-1-5);
7277
7308
  }