@khipu/design-system 0.2.0-alpha.86 → 0.2.0-alpha.88
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-
|
|
14
|
+
* Generated: 2026-07-02T19:08:15.112Z
|
|
15
15
|
*
|
|
16
16
|
* To regenerate:
|
|
17
17
|
* cd design-system && npm run tokens:generate
|
|
@@ -5738,7 +5738,9 @@ button.kds-fab:focus-visible {
|
|
|
5738
5738
|
padding: var(--kds-spacing-1) 0;
|
|
5739
5739
|
}
|
|
5740
5740
|
|
|
5741
|
-
/*
|
|
5741
|
+
/* Footer SIEMPRE fuera del card body (desktop y mobile): el footer interno
|
|
5742
|
+
(variant="inside") queda oculto en todos los breakpoints; se muestra el
|
|
5743
|
+
externo, hermano directo del card bajo `.kds-screen`. */
|
|
5742
5744
|
.kds-card-elevated > .kds-secure-footer {
|
|
5743
5745
|
display: none;
|
|
5744
5746
|
}
|
|
@@ -5747,22 +5749,13 @@ button.kds-fab:focus-visible {
|
|
|
5747
5749
|
margin-block-start: 0 !important;
|
|
5748
5750
|
}
|
|
5749
5751
|
|
|
5750
|
-
/* Footer externo
|
|
5751
|
-
|
|
5752
|
+
/* Footer externo adyacente a la card: cancela el gap del .kds-screen para que
|
|
5753
|
+
quede pegado debajo de la card y no flotando lejos. Las dos cards
|
|
5752
5754
|
(header/body) sí conservan su separación. */
|
|
5753
5755
|
.kds-screen > .kds-secure-footer {
|
|
5754
5756
|
margin-top: calc(-1 * var(--kds-spacing-3));
|
|
5755
5757
|
}
|
|
5756
5758
|
|
|
5757
|
-
@media (max-width: 767px) {
|
|
5758
|
-
.kds-card-elevated > .kds-secure-footer {
|
|
5759
|
-
display: flex;
|
|
5760
|
-
}
|
|
5761
|
-
.kds-screen > .kds-secure-footer {
|
|
5762
|
-
display: none;
|
|
5763
|
-
}
|
|
5764
|
-
}
|
|
5765
|
-
|
|
5766
5759
|
.kds-secure-footer-lock {
|
|
5767
5760
|
width: 12px;
|
|
5768
5761
|
height: 12px;
|
|
@@ -5782,8 +5775,12 @@ button.kds-fab:focus-visible {
|
|
|
5782
5775
|
display: block;
|
|
5783
5776
|
object-fit: contain;
|
|
5784
5777
|
overflow: visible;
|
|
5785
|
-
/*
|
|
5786
|
-
|
|
5778
|
+
/* Corrección óptica: la masa visible del wordmark (el cuerpo de "Khipu") queda sobre el
|
|
5779
|
+
centro geométrico de su viewBox (45x15) porque el descendente de la "p" ocupa la parte
|
|
5780
|
+
baja. Al centrar por caja (align-items:center) el logo se ve ~1px alto respecto al texto,
|
|
5781
|
+
así que se baja 0.75px para alinear el centro óptico. Alto fijo (11px) → nudge consistente. */
|
|
5782
|
+
position: relative;
|
|
5783
|
+
top: 0.75px;
|
|
5787
5784
|
}
|
|
5788
5785
|
|
|
5789
5786
|
/* Divisor entre el logo de Khipu y el del PSP ("Khipu | klap") */
|
|
@@ -6404,6 +6401,30 @@ button.kds-fab:focus-visible {
|
|
|
6404
6401
|
/* No max-height — clip-path on parent handles visual collapse without layout changes */
|
|
6405
6402
|
.kds-invoice-sticky .kds-invoice-collapsible {
|
|
6406
6403
|
opacity: calc(1 - var(--collapse-progress) * 1.5);
|
|
6404
|
+
|
|
6405
|
+
/* Scroll interno discreto (mobile): cuando el detalle abierto excede el viewport, el
|
|
6406
|
+
collapsible scrollea internamente (monto/merchant quedan fijos arriba) para poder leer
|
|
6407
|
+
todo el detalle. Al tocar el fondo, `overscroll-behavior: auto` ENCADENA el gesto al
|
|
6408
|
+
scroll del body → dispara useStickyInvoiceCollapse → colapsa el header y aparece el form
|
|
6409
|
+
(flujo natural). Se auto-desactiva con el detalle cerrado (contenido más corto que el
|
|
6410
|
+
max-height → sin scroll ni efecto visual). */
|
|
6411
|
+
max-height: calc(100vh - var(--kds-spacing-12) - var(--kds-spacing-4));
|
|
6412
|
+
max-height: calc(100dvh - var(--kds-spacing-12) - var(--kds-spacing-4));
|
|
6413
|
+
overflow-y: auto;
|
|
6414
|
+
overflow-x: hidden;
|
|
6415
|
+
overscroll-behavior-y: auto;
|
|
6416
|
+
scrollbar-width: thin;
|
|
6417
|
+
scrollbar-color: var(--kds-color-gray-300) transparent;
|
|
6418
|
+
}
|
|
6419
|
+
.kds-invoice-sticky .kds-invoice-collapsible::-webkit-scrollbar {
|
|
6420
|
+
width: 4px;
|
|
6421
|
+
}
|
|
6422
|
+
.kds-invoice-sticky .kds-invoice-collapsible::-webkit-scrollbar-thumb {
|
|
6423
|
+
background: var(--kds-color-gray-300);
|
|
6424
|
+
border-radius: var(--kds-radius-full);
|
|
6425
|
+
}
|
|
6426
|
+
.kds-invoice-sticky .kds-invoice-collapsible::-webkit-scrollbar-track {
|
|
6427
|
+
background: transparent;
|
|
6407
6428
|
}
|
|
6408
6429
|
|
|
6409
6430
|
/* Amount: 30px → 24px (progressive) */
|