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