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