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