@khipu/design-system 0.2.0-alpha.4 → 0.2.0-alpha.5
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.
|
@@ -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-05-
|
|
14
|
+
* Generated: 2026-05-14T20:21:09.081Z
|
|
15
15
|
*
|
|
16
16
|
* To regenerate:
|
|
17
17
|
* cd design-system && npm run tokens:generate
|
|
@@ -756,7 +756,7 @@ footer {
|
|
|
756
756
|
======================================== */
|
|
757
757
|
:root {
|
|
758
758
|
/* Scroll-linked collapse range (mobile sticky invoice) */
|
|
759
|
-
--kds-scroll-collapse-end:
|
|
759
|
+
--kds-scroll-collapse-end: 60px;
|
|
760
760
|
|
|
761
761
|
/* Merchant tile: normal and collapsed sizes (from source prototype) */
|
|
762
762
|
--kds-merchant-size: 64px;
|
|
@@ -778,6 +778,10 @@ footer {
|
|
|
778
778
|
* Source: design.khipu.com and Material Design 3 specifications
|
|
779
779
|
*/
|
|
780
780
|
|
|
781
|
+
* {
|
|
782
|
+
border-radius: 0;
|
|
783
|
+
}
|
|
784
|
+
|
|
781
785
|
|
|
782
786
|
:has(>main) {
|
|
783
787
|
background-color: transparent !important;
|
|
@@ -1298,7 +1298,7 @@ const ui = _context.ui;
|
|
|
1298
1298
|
/**
|
|
1299
1299
|
* Initialize sticky invoice card progressive collapse on scroll
|
|
1300
1300
|
* MOBILE ONLY - Desktop mantiene cajitas normales
|
|
1301
|
-
* Uses scroll-linked animation (0-
|
|
1301
|
+
* Uses scroll-linked animation (0-60px) for smooth collapse/expand
|
|
1302
1302
|
* Updates CSS custom property --collapse-progress (0 to 1) for GPU-accelerated animations
|
|
1303
1303
|
* Works with multiple screens - targets sticky element in currently active screen
|
|
1304
1304
|
* Safari-compatible: uses native CSS custom properties, calc(), and requestAnimationFrame
|
|
@@ -1307,9 +1307,9 @@ const ui = _context.ui;
|
|
|
1307
1307
|
function initStickyInvoice(root) {
|
|
1308
1308
|
root = root || document;
|
|
1309
1309
|
|
|
1310
|
-
// Progressive collapse range: 0px (expanded) to
|
|
1310
|
+
// Progressive collapse range: 0px (expanded) to 60px (collapsed)
|
|
1311
1311
|
var COLLAPSE_START = 0;
|
|
1312
|
-
var COLLAPSE_END =
|
|
1312
|
+
var COLLAPSE_END = 60;
|
|
1313
1313
|
|
|
1314
1314
|
var lastScrollY = 0;
|
|
1315
1315
|
var ticking = false;
|