@khipu/design-system 0.2.0-alpha.84 → 0.2.0-alpha.85

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-07-01T17:49:00.275Z
14
+ * Generated: 2026-07-01T19:20:36.949Z
15
15
  *
16
16
  * To regenerate:
17
17
  * cd design-system && npm run tokens:generate
@@ -363,6 +363,7 @@
363
363
  RESPONSIVE TYPOGRAPHY (MOBILE BASE)
364
364
  ========================================================================== */
365
365
 
366
+ --kds-font-size-2xs: 0.5625rem;
366
367
 
367
368
  /* Base font-size scale */
368
369
  --kds-font-size-xs: 0.6875rem;
@@ -410,6 +411,7 @@
410
411
  /* Tablet (600px+) - Typography */
411
412
  @media (min-width: 600px) {
412
413
  :root {
414
+ --kds-font-size-2xs: 0.625rem;
413
415
 
414
416
  /* Base font-size scale */
415
417
  --kds-font-size-xs: 0.75rem;
@@ -447,6 +449,7 @@
447
449
  /* Desktop (840px+) - Typography */
448
450
  @media (min-width: 840px) {
449
451
  :root {
452
+ --kds-font-size-2xs: 0.625rem;
450
453
 
451
454
  /* Base font-size scale */
452
455
  --kds-font-size-xs: 0.75rem;
@@ -2891,7 +2894,7 @@ label.radio {
2891
2894
  border-radius: 8px;
2892
2895
  cursor: pointer;
2893
2896
  transition: background-color 0.2s;
2894
- font-size: 16px;
2897
+ font-size: var(--kds-font-size-sm);
2895
2898
  line-height: 1.5;
2896
2899
  color: var(--kds-color-text-primary);
2897
2900
  }
@@ -4732,6 +4735,35 @@ dialog#surveyModal button.circle {
4732
4735
  text-transform: uppercase;
4733
4736
  }
4734
4737
 
4738
+ /* Value — dato/valor destacado (ej. nombre del comercio en el header del cobro). */
4739
+ .kds-text-value {
4740
+ font-family: var(--kds-font-family-primary, 'Public Sans', sans-serif);
4741
+ font-size: var(--kds-font-size-sm);
4742
+ font-weight: var(--kds-font-weight-semibold);
4743
+ line-height: var(--kds-line-height-relaxed);
4744
+ color: var(--kds-color-gray-800);
4745
+ }
4746
+
4747
+ /* Code — texto tipo código/referencia (mono, uppercase, gris), como el "CÓDIGO" del header. */
4748
+ .kds-text-code {
4749
+ font-family: var(--kds-font-family-mono);
4750
+ font-size: var(--kds-font-size-xs);
4751
+ font-weight: var(--kds-font-weight-regular);
4752
+ letter-spacing: var(--kds-letter-spacing-wider);
4753
+ font-variant-numeric: tabular-nums;
4754
+ color: var(--kds-color-gray-400);
4755
+ text-transform: uppercase;
4756
+ }
4757
+
4758
+ /* Caption — texto muy chico y liviano para pie de página (ej. número de versión). */
4759
+ .kds-text-caption {
4760
+ font-family: var(--kds-font-family-primary, 'Public Sans', sans-serif);
4761
+ font-size: var(--kds-font-size-2xs);
4762
+ font-weight: var(--kds-font-weight-regular);
4763
+ line-height: var(--kds-line-height-normal);
4764
+ color: var(--kds-color-gray-400);
4765
+ }
4766
+
4735
4767
  .kds-text-link {
4736
4768
  font-family: var(--kds-font-family-primary, 'Public Sans', sans-serif);
4737
4769
  font-size: inherit;
@@ -5750,10 +5782,8 @@ button.kds-fab:focus-visible {
5750
5782
  display: block;
5751
5783
  object-fit: contain;
5752
5784
  overflow: visible;
5753
- /* Nudge óptico: la tinta del wordmark queda ~1px alta dentro de su viewBox (45x15),
5754
- así que al centrar por caja se ve desalineada respecto a la baseline del texto. */
5755
- position: relative;
5756
- top: 1px;
5785
+ /* La tinta del wordmark ocupa casi todo su viewBox (45x15), así que el centro de caja
5786
+ coincide con el óptico: se alinea por `align-items: center` del footer, sin nudge. */
5757
5787
  }
5758
5788
 
5759
5789
  /* Divisor entre el logo de Khipu y el del PSP ("Khipu | klap") */