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