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