@khipu/design-system 0.2.0-alpha.4 → 0.2.0-alpha.6

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-14T19:34:35.577Z
14
+ * Generated: 2026-05-14T21:45:40.100Z
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: 150px;
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;
@@ -6089,6 +6093,14 @@ button.kds-btn-success::after {
6089
6093
  padding-top: 0;
6090
6094
  padding-bottom: 0;
6091
6095
  }
6096
+
6097
+ /* Reset BeerCSS sibling margin on form/section inside payment cards.
6098
+ BeerCSS sets `:not(.grid,nav,.row) > … + form/section { margin-block-start:1rem }`
6099
+ which adds unwanted spacing inside cards that contain forms. */
6100
+ .kds-payment-flow .kds-card-elevated > form,
6101
+ .kds-payment-flow .kds-card-elevated > section {
6102
+ margin-block-start: 0;
6103
+ }
6092
6104
  .kds-payment-flow .kds-card-elevated.kds-invoice-sticky {
6093
6105
  padding-top: var(--kds-spacing-1);
6094
6106
  padding-bottom: 0;
@@ -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-150px) for smooth collapse/expand
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 150px (collapsed)
1310
+ // Progressive collapse range: 0px (expanded) to 60px (collapsed)
1311
1311
  var COLLAPSE_START = 0;
1312
- var COLLAPSE_END = 150;
1312
+ var COLLAPSE_END = 60;
1313
1313
 
1314
1314
  var lastScrollY = 0;
1315
1315
  var ticking = false;