@khipu/design-system 0.2.0-alpha.67 → 0.2.0-alpha.68
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.
- package/dist/beercss/khipu-beercss.css +51 -10
- package/dist/beercss/khipu-beercss.min.css +1 -1
- package/dist/beercss/khipu-beercss.scoped.css +51 -10
- package/dist/beercss/khipu-beercss.scoped.min.css +1 -1
- package/dist/beercss/metadata.json +5 -5
- package/dist/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +79 -40
- package/dist/index.mjs +79 -40
- package/package.json +1 -1
|
@@ -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-
|
|
14
|
+
* Generated: 2026-06-24T19:44:27.223Z
|
|
15
15
|
*
|
|
16
16
|
* To regenerate:
|
|
17
17
|
* cd design-system && npm run tokens:generate
|
|
@@ -5549,6 +5549,13 @@ dialog#surveyModal button.circle {
|
|
|
5549
5549
|
margin-block-start: 0 !important;
|
|
5550
5550
|
}
|
|
5551
5551
|
|
|
5552
|
+
/* Footer externo (desktop) adyacente a la card: cancela el gap del .kds-screen
|
|
5553
|
+
para que quede pegado debajo de la card y no flotando lejos. Las dos cards
|
|
5554
|
+
(header/body) sí conservan su separación. */
|
|
5555
|
+
.kds-screen > .kds-secure-footer {
|
|
5556
|
+
margin-top: calc(-1 * var(--kds-spacing-3));
|
|
5557
|
+
}
|
|
5558
|
+
|
|
5552
5559
|
@media (max-width: 767px) {
|
|
5553
5560
|
.kds-card-elevated > .kds-secure-footer {
|
|
5554
5561
|
display: flex;
|
|
@@ -5579,6 +5586,26 @@ dialog#surveyModal button.circle {
|
|
|
5579
5586
|
overflow: visible;
|
|
5580
5587
|
}
|
|
5581
5588
|
|
|
5589
|
+
/* Divisor entre el logo de Khipu y el del PSP ("Khipu | klap") */
|
|
5590
|
+
.kds-secure-footer-sep {
|
|
5591
|
+
width: 1px;
|
|
5592
|
+
height: 0.85em;
|
|
5593
|
+
background: currentColor;
|
|
5594
|
+
opacity: 0.35;
|
|
5595
|
+
flex: 0 0 auto;
|
|
5596
|
+
}
|
|
5597
|
+
|
|
5598
|
+
/* Logo del PSP (proveedor de pagos): lo provee el consumidor, lo alineamos al mismo
|
|
5599
|
+
alto que el mark de Khipu. Sirve para <img> o un elemento con .kds-psp-mark. */
|
|
5600
|
+
.kds-secure-footer img,
|
|
5601
|
+
.kds-secure-footer .kds-psp-mark {
|
|
5602
|
+
height: 11px;
|
|
5603
|
+
width: auto;
|
|
5604
|
+
flex: 0 0 auto;
|
|
5605
|
+
display: block;
|
|
5606
|
+
object-fit: contain;
|
|
5607
|
+
}
|
|
5608
|
+
|
|
5582
5609
|
.kds-secure-footer-code {
|
|
5583
5610
|
color: var(--kds-color-text-hint);
|
|
5584
5611
|
}
|
|
@@ -6254,11 +6281,20 @@ div.kds-invoice-header,
|
|
|
6254
6281
|
padding: 0;
|
|
6255
6282
|
border-radius: 0;
|
|
6256
6283
|
align-content: initial;
|
|
6284
|
+
/* Override BeerCSS `header { min-height: ... }` — el header debe ajustarse a su
|
|
6285
|
+
contenido (sigue el alto del merchant tile: 64px→50px al colapsar). Sin esto
|
|
6286
|
+
quedaba un min-height fijo de 64px → hueco muerto debajo al colapsar en mobile. */
|
|
6287
|
+
min-height: 0;
|
|
6257
6288
|
}
|
|
6258
6289
|
|
|
6259
|
-
/* Mobile
|
|
6290
|
+
/* Mobile: center-align el header (merchant tile vs bloque monto+código) tanto
|
|
6291
|
+
expandido como colapsado. Al quitar el logo del header, el bloque de texto quedaba
|
|
6292
|
+
más bajo que el merchant tile y con `flex-start` dejaba hueco abajo; centrado los
|
|
6293
|
+
alinea. CSS-only (no depende de la clase .is-collapsed, que el JS de collapse no setea). */
|
|
6260
6294
|
@media (max-width: 767px) {
|
|
6261
|
-
.kds-invoice-
|
|
6295
|
+
header.kds-invoice-header,
|
|
6296
|
+
div.kds-invoice-header,
|
|
6297
|
+
.kds-invoice-header {
|
|
6262
6298
|
align-items: center;
|
|
6263
6299
|
}
|
|
6264
6300
|
}
|
|
@@ -6414,9 +6450,12 @@ div.kds-invoice-header,
|
|
|
6414
6450
|
.kds-detail-list {
|
|
6415
6451
|
display: flex;
|
|
6416
6452
|
flex-direction: column;
|
|
6417
|
-
|
|
6453
|
+
/* spacing-2 entre grupos del detalle (separación estándar entre piezas de info
|
|
6454
|
+
distintas, ej. "Emisor cobro" vs "Descripción"). El padding-top da la misma
|
|
6455
|
+
separación spacing-2 arriba del primer grupo (Asunto↔Emisor cobro). */
|
|
6456
|
+
gap: var(--kds-spacing-2);
|
|
6418
6457
|
margin: 0;
|
|
6419
|
-
padding: 0;
|
|
6458
|
+
padding: var(--kds-spacing-2) 0 0;
|
|
6420
6459
|
}
|
|
6421
6460
|
|
|
6422
6461
|
@media (max-width: 767px) {
|
|
@@ -6426,10 +6465,9 @@ div.kds-invoice-header,
|
|
|
6426
6465
|
}
|
|
6427
6466
|
|
|
6428
6467
|
.kds-detail-group {
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
.kds-detail-group:last-child {
|
|
6468
|
+
/* El espacio entre grupos lo da el `gap` de .kds-detail-list (spacing-1-5).
|
|
6469
|
+
No agregar margin-bottom acá: se sumaba al gap → doble espacio entre grupos
|
|
6470
|
+
(p. ej. entre "Emisor cobro" y "Descripción"). */
|
|
6433
6471
|
margin-bottom: 0;
|
|
6434
6472
|
}
|
|
6435
6473
|
|
|
@@ -6914,12 +6952,15 @@ button.kds-btn-success::after {
|
|
|
6914
6952
|
padding-bottom: 0;
|
|
6915
6953
|
}
|
|
6916
6954
|
|
|
6917
|
-
/* Payment stage — full-viewport centered wrapper
|
|
6955
|
+
/* Payment stage — full-viewport centered wrapper.
|
|
6956
|
+
Fondo muted (gris) para que las cards blancas (header + body) y el gap entre
|
|
6957
|
+
ellas se distingan; sin esto, card blanca sobre fondo blanco se funden. */
|
|
6918
6958
|
.kds-payment-stage {
|
|
6919
6959
|
min-height: 100vh;
|
|
6920
6960
|
display: flex;
|
|
6921
6961
|
justify-content: center;
|
|
6922
6962
|
padding: var(--kds-spacing-2-5) var(--kds-spacing-2) var(--kds-spacing-8);
|
|
6963
|
+
background: var(--kds-color-background-muted);
|
|
6923
6964
|
}
|
|
6924
6965
|
|
|
6925
6966
|
/* Payment flow — narrow column */
|