@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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@khipu/design-system/beercss",
3
- "version": "0.2.0-alpha.67",
3
+ "version": "0.2.0-alpha.69",
4
4
  "description": "Khipu BeerCSS bundle with Material Design 3 and Khipu customizations",
5
- "buildDate": "2026-06-23T13:22:40.393Z",
5
+ "buildDate": "2026-06-25T13:39:19.103Z",
6
6
  "includes": {
7
7
  "beercss": "4.0.1",
8
8
  "khipu-tokens": "latest",
@@ -19,8 +19,8 @@
19
19
  },
20
20
  "scopeClass": ".kds-theme-root",
21
21
  "cdn": {
22
- "css": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.67/dist/beercss/khipu-beercss.min.css",
23
- "cssScoped": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.67/dist/beercss/khipu-beercss.scoped.min.css",
24
- "js": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.67/dist/beercss/khipu-beercss.min.js"
22
+ "css": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.69/dist/beercss/khipu-beercss.min.css",
23
+ "cssScoped": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.69/dist/beercss/khipu-beercss.scoped.min.css",
24
+ "js": "https://cdn.jsdelivr.net/npm/@khipu/design-system@0.2.0-alpha.69/dist/beercss/khipu-beercss.min.js"
25
25
  }
26
26
  }
package/dist/index.d.mts CHANGED
@@ -3415,6 +3415,14 @@ declare const KdsBottomSheet: React__default.ForwardRefExoticComponent<KdsBottom
3415
3415
 
3416
3416
  interface KdsSecureFooterProps extends React__default.HTMLAttributes<HTMLElement> {
3417
3417
  variant?: 'default' | 'inside';
3418
+ /** Muestra el logo de Khipu (a color). Default: true. */
3419
+ showLogo?: boolean;
3420
+ /**
3421
+ * Logo del proveedor de pagos (PSP) que contrató a Khipu. Si se provee, se renderiza
3422
+ * a la derecha del logo de Khipu separado por un divisor (ej. "Khipu | klap").
3423
+ * El consumidor pasa el `<img>`/SVG del PSP — el DS no empaqueta logos de terceros.
3424
+ */
3425
+ psp?: React__default.ReactNode;
3418
3426
  }
3419
3427
  declare const KdsSecureFooter: React__default.ForwardRefExoticComponent<KdsSecureFooterProps & React__default.RefAttributes<HTMLElement>>;
3420
3428
 
package/dist/index.d.ts CHANGED
@@ -3415,6 +3415,14 @@ declare const KdsBottomSheet: React__default.ForwardRefExoticComponent<KdsBottom
3415
3415
 
3416
3416
  interface KdsSecureFooterProps extends React__default.HTMLAttributes<HTMLElement> {
3417
3417
  variant?: 'default' | 'inside';
3418
+ /** Muestra el logo de Khipu (a color). Default: true. */
3419
+ showLogo?: boolean;
3420
+ /**
3421
+ * Logo del proveedor de pagos (PSP) que contrató a Khipu. Si se provee, se renderiza
3422
+ * a la derecha del logo de Khipu separado por un divisor (ej. "Khipu | klap").
3423
+ * El consumidor pasa el `<img>`/SVG del PSP — el DS no empaqueta logos de terceros.
3424
+ */
3425
+ psp?: React__default.ReactNode;
3418
3426
  }
3419
3427
  declare const KdsSecureFooter: React__default.ForwardRefExoticComponent<KdsSecureFooterProps & React__default.RefAttributes<HTMLElement>>;
3420
3428
 
package/dist/index.js CHANGED
@@ -2432,55 +2432,94 @@ var KdsBottomSheet = (0, import_react38.forwardRef)(
2432
2432
  KdsBottomSheet.displayName = "KdsBottomSheet";
2433
2433
 
2434
2434
  // src/components/domain/KdsSecureFooter/KdsSecureFooter.tsx
2435
+ var import_react40 = require("react");
2436
+
2437
+ // src/components/domain/KdsSecureFooter/KhipuWordmark.tsx
2435
2438
  var import_react39 = require("react");
2436
2439
  var import_jsx_runtime37 = require("react/jsx-runtime");
2437
- var KdsSecureFooter = (0, import_react39.forwardRef)(
2438
- ({ variant = "default", children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("footer", { ref, className: (0, import_clsx.clsx)("kds-secure-footer", variant === "inside" && "inside", className), ...props, children: [
2439
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("i", { className: "material-symbols-outlined", children: "lock" }),
2440
- children || /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { children: "Pago seguro con Khipu" })
2440
+ var KhipuWordmark = (0, import_react39.forwardRef)(
2441
+ ({ className = "khipu-mark", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2442
+ "svg",
2443
+ {
2444
+ ref,
2445
+ viewBox: "0 0 45 15",
2446
+ role: "img",
2447
+ "aria-label": "Khipu",
2448
+ className,
2449
+ xmlns: "http://www.w3.org/2000/svg",
2450
+ ...props,
2451
+ children: [
2452
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M16.6417 11.8339C16.7273 11.9196 16.8272 11.9624 16.9472 11.9624H18.9628C19.0798 11.9624 19.1826 11.9196 19.2682 11.8339C19.3539 11.7483 19.3967 11.6483 19.3967 11.5284V7.12891C19.3967 6.50081 19.3111 5.95551 19.1398 5.49586C18.9685 5.03621 18.7315 4.65937 18.4289 4.3596C18.1234 4.05983 17.758 3.83999 17.3326 3.69439C16.9043 3.55164 16.4361 3.47741 15.9251 3.47741C15.4226 3.47741 14.9801 3.58019 14.5975 3.7886C14.2121 3.99702 13.9295 4.214 13.7496 4.43668V1.03071C13.7496 0.913654 13.7068 0.810874 13.6211 0.728079C13.5355 0.642434 13.4355 0.599609 13.3185 0.599609H11.2943C11.1773 0.599609 11.0745 0.642434 10.9888 0.728079C10.9032 0.813729 10.8604 0.913654 10.8604 1.03071V11.5284C10.8604 11.6455 10.9032 11.7483 10.9888 11.8339C11.0745 11.9196 11.1744 11.9624 11.2943 11.9624H13.3099C13.427 11.9624 13.5298 11.9196 13.6126 11.8339C13.6982 11.7483 13.741 11.6483 13.741 11.5284V7.48006C13.741 7.02041 13.8495 6.65216 14.0693 6.37521C14.2892 6.09826 14.6375 5.95836 15.1171 5.95836C15.5968 5.95836 15.9479 6.09826 16.1735 6.37521C16.3961 6.65216 16.5103 7.02041 16.5103 7.48006V11.5284C16.5132 11.6483 16.556 11.7483 16.6417 11.8339Z", fill: "#8347AD" }),
2453
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M23.6189 3.64014H21.6005C21.4834 3.64014 21.3806 3.68296 21.295 3.76861C21.2093 3.85426 21.1665 3.95418 21.1665 4.07124V11.5284C21.1665 11.6454 21.2093 11.7482 21.295 11.8339C21.3806 11.9195 21.4806 11.9623 21.6005 11.9623H23.6161C23.7331 11.9623 23.8359 11.9195 23.9187 11.8339C24.0044 11.7482 24.0472 11.6483 24.0472 11.5284V4.07124C24.0472 3.95418 24.0044 3.85141 23.9187 3.76861C23.8359 3.68296 23.736 3.64014 23.6189 3.64014Z", fill: "#8347AD" }),
2454
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M34.1881 10.0723C34.3851 9.61264 34.4936 9.07019 34.5164 8.43924C34.5278 8.27934 34.5335 8.06239 34.5335 7.79114C34.5335 7.51994 34.5278 7.30294 34.5164 7.14309C34.4936 6.51499 34.3851 5.96969 34.1881 5.51004C33.9911 5.05039 33.7313 4.67068 33.4115 4.36519C33.0918 4.05971 32.7178 3.83702 32.2924 3.69427C31.8642 3.55152 31.4131 3.47729 30.9334 3.47729C30.5823 3.47729 30.2854 3.50584 30.0455 3.5658C29.8057 3.62575 29.603 3.69998 29.4374 3.78848C29.2718 3.87984 29.1348 3.98263 29.0206 4.09968C28.9093 4.21674 28.8036 4.32808 28.7094 4.43657V4.06828C28.7094 3.95122 28.6666 3.84844 28.5809 3.7628C28.4953 3.67715 28.3954 3.63432 28.2783 3.63432H26.3426C26.2256 3.63432 26.1228 3.67715 26.0372 3.7628C25.9515 3.84844 25.9087 3.94837 25.9087 4.06828V14.566C25.9087 14.683 25.9515 14.7858 26.0372 14.8715C26.1228 14.9571 26.2227 14.9999 26.3426 14.9999H28.3583C28.4753 14.9999 28.5781 14.9571 28.6637 14.8715C28.7494 14.7858 28.7922 14.6859 28.7922 14.566V11.1629C28.8664 11.2599 28.9635 11.3627 29.0806 11.474C29.1976 11.5854 29.3432 11.691 29.5117 11.7852C29.683 11.8823 29.8857 11.9622 30.1198 12.0251C30.3539 12.0879 30.6251 12.1221 30.9363 12.1221C31.4159 12.1221 31.8699 12.0479 32.2953 11.8994C32.7206 11.751 33.0946 11.5226 33.4144 11.22C33.7313 10.9145 33.9911 10.5319 34.1881 10.0723ZM31.65 8.24794C31.6186 8.62194 31.4959 8.94739 31.2817 9.22434C31.0676 9.50129 30.7107 9.64119 30.2083 9.64119C29.9742 9.64119 29.7715 9.60404 29.6002 9.52984C29.4289 9.45559 29.289 9.35569 29.1748 9.23289C29.0634 9.11014 28.9749 8.97309 28.9121 8.82464C28.8493 8.67619 28.8065 8.52204 28.7836 8.35929C28.7608 8.19939 28.7522 8.01384 28.7522 7.79974C28.7522 7.58559 28.7637 7.40004 28.7836 7.24014C28.8036 7.08029 28.8465 6.92609 28.9121 6.77479C28.9749 6.62634 29.0634 6.48929 29.1748 6.36654C29.2861 6.24374 29.4289 6.14384 29.6002 6.06959C29.7715 5.99539 29.9742 5.95824 30.2083 5.95824C30.7107 5.95824 31.0676 6.09814 31.2817 6.37509C31.4959 6.65204 31.6186 6.97749 31.65 7.35149C31.6843 7.65124 31.6843 7.95104 31.65 8.24794Z", fill: "#8347AD" }),
2455
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M41.7481 11.8339C41.8337 11.9195 41.9337 11.9623 42.0536 11.9623H43.9093C44.0264 11.9623 44.1291 11.9195 44.2119 11.8339C44.2976 11.7482 44.3404 11.6483 44.3404 11.5284V4.07124C44.3404 3.95418 44.2976 3.85141 44.2119 3.76861C44.1263 3.68296 44.0264 3.64014 43.9093 3.64014H41.8937C41.7766 3.64014 41.6739 3.68296 41.5882 3.76861C41.5026 3.85426 41.4597 3.95418 41.4597 4.07124V8.1196C41.4597 8.57925 41.3598 8.94755 41.1628 9.22445C40.9658 9.5014 40.6318 9.6413 40.1636 9.6413C39.6954 9.6413 39.3585 9.5014 39.1558 9.22445C38.9531 8.94755 38.8503 8.57925 38.8503 8.1196V4.07124C38.8503 3.95418 38.8075 3.85141 38.7218 3.76861C38.6362 3.68296 38.5363 3.64014 38.4163 3.64014H36.4007C36.2837 3.64014 36.1809 3.68296 36.0953 3.76861C36.0096 3.85426 35.9668 3.95418 35.9668 4.07124V8.47075C35.9668 9.7298 36.2723 10.6519 36.8861 11.24C37.4999 11.8282 38.325 12.1194 39.3585 12.1194C39.6897 12.1194 39.9752 12.0908 40.215 12.0309C40.4548 11.9709 40.6661 11.8967 40.8459 11.8082C41.0286 11.7168 41.18 11.6169 41.3027 11.5027C41.4255 11.3914 41.5283 11.2772 41.6139 11.1601V11.5284C41.6196 11.6483 41.6624 11.7482 41.7481 11.8339Z", fill: "#8347AD" }),
2456
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M22.5569 2.78074C21.7889 2.78074 21.1665 2.1555 21.1665 1.39037C21.1665 0.622385 21.7918 0 22.5569 0C23.3249 0 23.9473 0.62524 23.9473 1.39037C23.9501 2.1555 23.3249 2.78074 22.5569 2.78074Z", fill: "#3CB4E5" }),
2457
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M3.1374 7.43996V4.78198L2.34372 5.77836C2.22095 5.93256 2.21524 6.14951 2.32944 6.31226L3.1374 7.43996Z", fill: "#743CEB" }),
2458
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M2.96345 0.722369C2.88351 0.642434 2.78074 0.599609 2.66368 0.599609H0.40826C0.299771 0.599609 0.205557 0.639579 0.122763 0.722369C0.0428246 0.802309 0 0.905089 0 1.02214V11.557C0 11.6655 0.0399696 11.7597 0.122763 11.8425C0.202703 11.9224 0.299771 11.9652 0.40826 11.9652H2.66368C2.78359 11.9652 2.88351 11.9253 2.96345 11.8425C3.04339 11.7625 3.08622 11.6655 3.08622 11.557V8.41081L2.83783 8.08246L2.83212 8.07676L2.82642 8.06821L1.81576 6.65216C1.55024 6.28101 1.56166 5.76996 1.84716 5.41306L2.84069 4.16261L3.08622 3.84285V1.01929C3.08622 0.902234 3.04625 0.802309 2.96345 0.722369Z", fill: "#8347AD" }),
2459
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M9.60962 11.9625C9.70667 11.9625 9.78947 11.9282 9.85227 11.8568C9.91797 11.7855 9.94937 11.7084 9.94937 11.6227C9.94937 11.5371 9.92652 11.4714 9.88367 11.4286L5.89242 6.0384L9.59247 1.13642C9.63532 1.08217 9.65812 1.01651 9.65812 0.942284C9.65812 0.856634 9.62387 0.776694 9.55252 0.708174C9.50967 0.665349 9.45832 0.633944 9.40407 0.616814C9.37267 0.608249 9.33552 0.602539 9.30127 0.602539H6.73752C6.56337 0.602539 6.42632 0.636799 6.32352 0.708174C6.22077 0.779549 6.14082 0.850924 6.08942 0.928009L3.32868 4.54525L2.32944 5.80145C2.27234 5.8728 2.24094 5.95845 2.24094 6.04695C2.23808 6.13545 2.26378 6.2211 2.31802 6.2982L2.83477 7.0205L3.32868 7.70855L6.29787 11.6199C6.32927 11.6627 6.39492 11.7312 6.49197 11.8226C6.55192 11.8797 6.63472 11.9197 6.73752 11.9425C6.80032 11.9568 6.86882 11.9625 6.94592 11.9625H9.60962Z", fill: "#3CB4E5" })
2460
+ ]
2461
+ }
2462
+ )
2463
+ );
2464
+ KhipuWordmark.displayName = "KhipuWordmark";
2465
+
2466
+ // src/components/domain/KdsSecureFooter/KdsSecureFooter.tsx
2467
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2468
+ var KdsSecureFooter = (0, import_react40.forwardRef)(
2469
+ ({ variant = "default", showLogo = true, psp, children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("footer", { ref, className: (0, import_clsx.clsx)("kds-secure-footer", variant === "inside" && "inside", className), ...props, children: [
2470
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("svg", { className: "kds-secure-footer-lock", viewBox: "0 0 24 24", "aria-hidden": "true", children: [
2471
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("rect", { x: "4.5", y: "10.5", width: "15", height: "10", rx: "2.25" }),
2472
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("path", { d: "M8 10.5V7a4 4 0 0 1 8 0v3.5" })
2473
+ ] }),
2474
+ children || /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { children: "Pago seguro procesado por" }),
2475
+ showLogo && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(KhipuWordmark, {}),
2476
+ psp && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
2477
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "kds-secure-footer-sep", "aria-hidden": "true" }),
2478
+ psp
2479
+ ] })
2441
2480
  ] })
2442
2481
  );
2443
2482
  KdsSecureFooter.displayName = "KdsSecureFooter";
2444
2483
 
2445
2484
  // src/components/domain/KdsRecapList/KdsRecapList.tsx
2446
- var import_react40 = require("react");
2447
- var import_jsx_runtime38 = require("react/jsx-runtime");
2448
- var KdsRecapList = (0, import_react40.forwardRef)(
2449
- ({ items, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("ul", { ref, className: (0, import_clsx.clsx)("kds-recap-list", className), ...props, children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("li", { children: [
2450
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "kds-key", children: item.label }),
2451
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: (0, import_clsx.clsx)("kds-value", !item.value && item.placeholder && "placeholder"), children: item.value || item.placeholder || "-" })
2485
+ var import_react41 = require("react");
2486
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2487
+ var KdsRecapList = (0, import_react41.forwardRef)(
2488
+ ({ items, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("ul", { ref, className: (0, import_clsx.clsx)("kds-recap-list", className), ...props, children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("li", { children: [
2489
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "kds-key", children: item.label }),
2490
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: (0, import_clsx.clsx)("kds-value", !item.value && item.placeholder && "placeholder"), children: item.value || item.placeholder || "-" })
2452
2491
  ] }, i)) })
2453
2492
  );
2454
2493
  KdsRecapList.displayName = "KdsRecapList";
2455
2494
 
2456
2495
  // src/components/domain/KdsMontoRow/KdsMontoRow.tsx
2457
- var import_react41 = require("react");
2458
- var import_jsx_runtime39 = require("react/jsx-runtime");
2459
- var KdsMontoRow = (0, import_react41.forwardRef)(
2460
- ({ title, value, deadline, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { ref, className: (0, import_clsx.clsx)("kds-monto-row", className), ...props, children: [
2461
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { children: [
2462
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "kds-monto-row-title", children: title }),
2463
- deadline && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "kds-monto-row-deadline", children: deadline })
2496
+ var import_react42 = require("react");
2497
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2498
+ var KdsMontoRow = (0, import_react42.forwardRef)(
2499
+ ({ title, value, deadline, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { ref, className: (0, import_clsx.clsx)("kds-monto-row", className), ...props, children: [
2500
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { children: [
2501
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "kds-monto-row-title", children: title }),
2502
+ deadline && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "kds-monto-row-deadline", children: deadline })
2464
2503
  ] }),
2465
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "kds-monto-row-value", children: value })
2504
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "kds-monto-row-value", children: value })
2466
2505
  ] })
2467
2506
  );
2468
2507
  KdsMontoRow.displayName = "KdsMontoRow";
2469
2508
 
2470
2509
  // src/components/domain/KdsMerchantTile/KdsMerchantTile.tsx
2471
- var import_react42 = require("react");
2472
- var import_jsx_runtime40 = require("react/jsx-runtime");
2473
- var KdsMerchantTile = (0, import_react42.forwardRef)(
2510
+ var import_react43 = require("react");
2511
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2512
+ var KdsMerchantTile = (0, import_react43.forwardRef)(
2474
2513
  ({ name, logoUrl, initials, compact, className, ...props }, ref) => {
2475
2514
  const displayInitials = (initials ?? name.slice(0, 2)).toUpperCase();
2476
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2515
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2477
2516
  "div",
2478
2517
  {
2479
2518
  ref,
2480
2519
  className: (0, import_clsx.clsx)("kds-merchant-tile", logoUrl && "logo", compact && "compact", className),
2481
2520
  "aria-label": name,
2482
2521
  ...props,
2483
- children: logoUrl ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("img", { src: logoUrl, alt: name }) : displayInitials
2522
+ children: logoUrl ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("img", { src: logoUrl, alt: name }) : displayInitials
2484
2523
  }
2485
2524
  );
2486
2525
  }
@@ -2488,9 +2527,9 @@ var KdsMerchantTile = (0, import_react42.forwardRef)(
2488
2527
  KdsMerchantTile.displayName = "KdsMerchantTile";
2489
2528
 
2490
2529
  // src/components/domain/KdsPaymentTotal/KdsPaymentTotal.tsx
2491
- var import_react43 = require("react");
2492
- var import_jsx_runtime41 = require("react/jsx-runtime");
2493
- var KdsPaymentTotal = (0, import_react43.forwardRef)(
2530
+ var import_react44 = require("react");
2531
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2532
+ var KdsPaymentTotal = (0, import_react44.forwardRef)(
2494
2533
  ({
2495
2534
  variant = "default",
2496
2535
  tone = "brand",
@@ -2508,7 +2547,7 @@ var KdsPaymentTotal = (0, import_react43.forwardRef)(
2508
2547
  const { integer, fraction } = formatAmount(amount, decimals, locale);
2509
2548
  const isEmail = variant === "email";
2510
2549
  const isInfoTone = tone === "info";
2511
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
2550
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2512
2551
  "div",
2513
2552
  {
2514
2553
  ref,
@@ -2521,14 +2560,14 @@ var KdsPaymentTotal = (0, import_react43.forwardRef)(
2521
2560
  ),
2522
2561
  ...props,
2523
2562
  children: [
2524
- !isEmail && title != null && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("h5", { className: "kds-payment-total-title", children: title }),
2525
- !isEmail && titleMobile != null && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("h5", { className: "kds-payment-total-title-mobile", children: titleMobile }),
2526
- label != null && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("h6", { className: "kds-payment-label", children: label }),
2527
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("h5", { className: "kds-payment-amount", children: [
2563
+ !isEmail && title != null && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h5", { className: "kds-payment-total-title", children: title }),
2564
+ !isEmail && titleMobile != null && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h5", { className: "kds-payment-total-title-mobile", children: titleMobile }),
2565
+ label != null && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h6", { className: "kds-payment-label", children: label }),
2566
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("h5", { className: "kds-payment-amount", children: [
2528
2567
  currency,
2529
2568
  " ",
2530
2569
  integer,
2531
- fraction !== null && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("sup", { className: "kds-payment-total-decimal-sup", children: fraction })
2570
+ fraction !== null && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("sup", { className: "kds-payment-total-decimal-sup", children: fraction })
2532
2571
  ] })
2533
2572
  ]
2534
2573
  }
@@ -2564,10 +2603,10 @@ function formatAmount(amount, decimals, locale) {
2564
2603
  }
2565
2604
 
2566
2605
  // src/components/domain/KdsBillAttachment/KdsBillAttachment.tsx
2567
- var import_react44 = require("react");
2568
- var import_jsx_runtime42 = require("react/jsx-runtime");
2569
- var KdsBillAttachment = (0, import_react44.forwardRef)(
2570
- ({ filename, href, icon = "attach_file", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2606
+ var import_react45 = require("react");
2607
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2608
+ var KdsBillAttachment = (0, import_react45.forwardRef)(
2609
+ ({ filename, href, icon = "attach_file", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2571
2610
  "a",
2572
2611
  {
2573
2612
  ref,
@@ -2577,15 +2616,15 @@ var KdsBillAttachment = (0, import_react44.forwardRef)(
2577
2616
  className: (0, import_clsx.clsx)("kds-bill-attachment", className),
2578
2617
  ...props,
2579
2618
  children: [
2580
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("i", { className: "material-symbols-outlined", children: icon }),
2581
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { children: filename })
2619
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("i", { className: "material-symbols-outlined", children: icon }),
2620
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { children: filename })
2582
2621
  ]
2583
2622
  }
2584
2623
  )
2585
2624
  );
2586
2625
  KdsBillAttachment.displayName = "KdsBillAttachment";
2587
- var KdsBillAttachments = (0, import_react44.forwardRef)(
2588
- ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-bill-attachments", className), ...props, children })
2626
+ var KdsBillAttachments = (0, import_react45.forwardRef)(
2627
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-bill-attachments", className), ...props, children })
2589
2628
  );
2590
2629
  KdsBillAttachments.displayName = "KdsBillAttachments";
2591
2630
  // Annotate the CommonJS export names for ESM import in node:
package/dist/index.mjs CHANGED
@@ -2323,55 +2323,94 @@ var KdsBottomSheet = forwardRef34(
2323
2323
  KdsBottomSheet.displayName = "KdsBottomSheet";
2324
2324
 
2325
2325
  // src/components/domain/KdsSecureFooter/KdsSecureFooter.tsx
2326
+ import { forwardRef as forwardRef36 } from "react";
2327
+
2328
+ // src/components/domain/KdsSecureFooter/KhipuWordmark.tsx
2326
2329
  import { forwardRef as forwardRef35 } from "react";
2327
2330
  import { jsx as jsx37, jsxs as jsxs28 } from "react/jsx-runtime";
2328
- var KdsSecureFooter = forwardRef35(
2329
- ({ variant = "default", children, className, ...props }, ref) => /* @__PURE__ */ jsxs28("footer", { ref, className: clsx("kds-secure-footer", variant === "inside" && "inside", className), ...props, children: [
2330
- /* @__PURE__ */ jsx37("i", { className: "material-symbols-outlined", children: "lock" }),
2331
- children || /* @__PURE__ */ jsx37("span", { children: "Pago seguro con Khipu" })
2331
+ var KhipuWordmark = forwardRef35(
2332
+ ({ className = "khipu-mark", ...props }, ref) => /* @__PURE__ */ jsxs28(
2333
+ "svg",
2334
+ {
2335
+ ref,
2336
+ viewBox: "0 0 45 15",
2337
+ role: "img",
2338
+ "aria-label": "Khipu",
2339
+ className,
2340
+ xmlns: "http://www.w3.org/2000/svg",
2341
+ ...props,
2342
+ children: [
2343
+ /* @__PURE__ */ jsx37("path", { d: "M16.6417 11.8339C16.7273 11.9196 16.8272 11.9624 16.9472 11.9624H18.9628C19.0798 11.9624 19.1826 11.9196 19.2682 11.8339C19.3539 11.7483 19.3967 11.6483 19.3967 11.5284V7.12891C19.3967 6.50081 19.3111 5.95551 19.1398 5.49586C18.9685 5.03621 18.7315 4.65937 18.4289 4.3596C18.1234 4.05983 17.758 3.83999 17.3326 3.69439C16.9043 3.55164 16.4361 3.47741 15.9251 3.47741C15.4226 3.47741 14.9801 3.58019 14.5975 3.7886C14.2121 3.99702 13.9295 4.214 13.7496 4.43668V1.03071C13.7496 0.913654 13.7068 0.810874 13.6211 0.728079C13.5355 0.642434 13.4355 0.599609 13.3185 0.599609H11.2943C11.1773 0.599609 11.0745 0.642434 10.9888 0.728079C10.9032 0.813729 10.8604 0.913654 10.8604 1.03071V11.5284C10.8604 11.6455 10.9032 11.7483 10.9888 11.8339C11.0745 11.9196 11.1744 11.9624 11.2943 11.9624H13.3099C13.427 11.9624 13.5298 11.9196 13.6126 11.8339C13.6982 11.7483 13.741 11.6483 13.741 11.5284V7.48006C13.741 7.02041 13.8495 6.65216 14.0693 6.37521C14.2892 6.09826 14.6375 5.95836 15.1171 5.95836C15.5968 5.95836 15.9479 6.09826 16.1735 6.37521C16.3961 6.65216 16.5103 7.02041 16.5103 7.48006V11.5284C16.5132 11.6483 16.556 11.7483 16.6417 11.8339Z", fill: "#8347AD" }),
2344
+ /* @__PURE__ */ jsx37("path", { d: "M23.6189 3.64014H21.6005C21.4834 3.64014 21.3806 3.68296 21.295 3.76861C21.2093 3.85426 21.1665 3.95418 21.1665 4.07124V11.5284C21.1665 11.6454 21.2093 11.7482 21.295 11.8339C21.3806 11.9195 21.4806 11.9623 21.6005 11.9623H23.6161C23.7331 11.9623 23.8359 11.9195 23.9187 11.8339C24.0044 11.7482 24.0472 11.6483 24.0472 11.5284V4.07124C24.0472 3.95418 24.0044 3.85141 23.9187 3.76861C23.8359 3.68296 23.736 3.64014 23.6189 3.64014Z", fill: "#8347AD" }),
2345
+ /* @__PURE__ */ jsx37("path", { d: "M34.1881 10.0723C34.3851 9.61264 34.4936 9.07019 34.5164 8.43924C34.5278 8.27934 34.5335 8.06239 34.5335 7.79114C34.5335 7.51994 34.5278 7.30294 34.5164 7.14309C34.4936 6.51499 34.3851 5.96969 34.1881 5.51004C33.9911 5.05039 33.7313 4.67068 33.4115 4.36519C33.0918 4.05971 32.7178 3.83702 32.2924 3.69427C31.8642 3.55152 31.4131 3.47729 30.9334 3.47729C30.5823 3.47729 30.2854 3.50584 30.0455 3.5658C29.8057 3.62575 29.603 3.69998 29.4374 3.78848C29.2718 3.87984 29.1348 3.98263 29.0206 4.09968C28.9093 4.21674 28.8036 4.32808 28.7094 4.43657V4.06828C28.7094 3.95122 28.6666 3.84844 28.5809 3.7628C28.4953 3.67715 28.3954 3.63432 28.2783 3.63432H26.3426C26.2256 3.63432 26.1228 3.67715 26.0372 3.7628C25.9515 3.84844 25.9087 3.94837 25.9087 4.06828V14.566C25.9087 14.683 25.9515 14.7858 26.0372 14.8715C26.1228 14.9571 26.2227 14.9999 26.3426 14.9999H28.3583C28.4753 14.9999 28.5781 14.9571 28.6637 14.8715C28.7494 14.7858 28.7922 14.6859 28.7922 14.566V11.1629C28.8664 11.2599 28.9635 11.3627 29.0806 11.474C29.1976 11.5854 29.3432 11.691 29.5117 11.7852C29.683 11.8823 29.8857 11.9622 30.1198 12.0251C30.3539 12.0879 30.6251 12.1221 30.9363 12.1221C31.4159 12.1221 31.8699 12.0479 32.2953 11.8994C32.7206 11.751 33.0946 11.5226 33.4144 11.22C33.7313 10.9145 33.9911 10.5319 34.1881 10.0723ZM31.65 8.24794C31.6186 8.62194 31.4959 8.94739 31.2817 9.22434C31.0676 9.50129 30.7107 9.64119 30.2083 9.64119C29.9742 9.64119 29.7715 9.60404 29.6002 9.52984C29.4289 9.45559 29.289 9.35569 29.1748 9.23289C29.0634 9.11014 28.9749 8.97309 28.9121 8.82464C28.8493 8.67619 28.8065 8.52204 28.7836 8.35929C28.7608 8.19939 28.7522 8.01384 28.7522 7.79974C28.7522 7.58559 28.7637 7.40004 28.7836 7.24014C28.8036 7.08029 28.8465 6.92609 28.9121 6.77479C28.9749 6.62634 29.0634 6.48929 29.1748 6.36654C29.2861 6.24374 29.4289 6.14384 29.6002 6.06959C29.7715 5.99539 29.9742 5.95824 30.2083 5.95824C30.7107 5.95824 31.0676 6.09814 31.2817 6.37509C31.4959 6.65204 31.6186 6.97749 31.65 7.35149C31.6843 7.65124 31.6843 7.95104 31.65 8.24794Z", fill: "#8347AD" }),
2346
+ /* @__PURE__ */ jsx37("path", { d: "M41.7481 11.8339C41.8337 11.9195 41.9337 11.9623 42.0536 11.9623H43.9093C44.0264 11.9623 44.1291 11.9195 44.2119 11.8339C44.2976 11.7482 44.3404 11.6483 44.3404 11.5284V4.07124C44.3404 3.95418 44.2976 3.85141 44.2119 3.76861C44.1263 3.68296 44.0264 3.64014 43.9093 3.64014H41.8937C41.7766 3.64014 41.6739 3.68296 41.5882 3.76861C41.5026 3.85426 41.4597 3.95418 41.4597 4.07124V8.1196C41.4597 8.57925 41.3598 8.94755 41.1628 9.22445C40.9658 9.5014 40.6318 9.6413 40.1636 9.6413C39.6954 9.6413 39.3585 9.5014 39.1558 9.22445C38.9531 8.94755 38.8503 8.57925 38.8503 8.1196V4.07124C38.8503 3.95418 38.8075 3.85141 38.7218 3.76861C38.6362 3.68296 38.5363 3.64014 38.4163 3.64014H36.4007C36.2837 3.64014 36.1809 3.68296 36.0953 3.76861C36.0096 3.85426 35.9668 3.95418 35.9668 4.07124V8.47075C35.9668 9.7298 36.2723 10.6519 36.8861 11.24C37.4999 11.8282 38.325 12.1194 39.3585 12.1194C39.6897 12.1194 39.9752 12.0908 40.215 12.0309C40.4548 11.9709 40.6661 11.8967 40.8459 11.8082C41.0286 11.7168 41.18 11.6169 41.3027 11.5027C41.4255 11.3914 41.5283 11.2772 41.6139 11.1601V11.5284C41.6196 11.6483 41.6624 11.7482 41.7481 11.8339Z", fill: "#8347AD" }),
2347
+ /* @__PURE__ */ jsx37("path", { d: "M22.5569 2.78074C21.7889 2.78074 21.1665 2.1555 21.1665 1.39037C21.1665 0.622385 21.7918 0 22.5569 0C23.3249 0 23.9473 0.62524 23.9473 1.39037C23.9501 2.1555 23.3249 2.78074 22.5569 2.78074Z", fill: "#3CB4E5" }),
2348
+ /* @__PURE__ */ jsx37("path", { d: "M3.1374 7.43996V4.78198L2.34372 5.77836C2.22095 5.93256 2.21524 6.14951 2.32944 6.31226L3.1374 7.43996Z", fill: "#743CEB" }),
2349
+ /* @__PURE__ */ jsx37("path", { d: "M2.96345 0.722369C2.88351 0.642434 2.78074 0.599609 2.66368 0.599609H0.40826C0.299771 0.599609 0.205557 0.639579 0.122763 0.722369C0.0428246 0.802309 0 0.905089 0 1.02214V11.557C0 11.6655 0.0399696 11.7597 0.122763 11.8425C0.202703 11.9224 0.299771 11.9652 0.40826 11.9652H2.66368C2.78359 11.9652 2.88351 11.9253 2.96345 11.8425C3.04339 11.7625 3.08622 11.6655 3.08622 11.557V8.41081L2.83783 8.08246L2.83212 8.07676L2.82642 8.06821L1.81576 6.65216C1.55024 6.28101 1.56166 5.76996 1.84716 5.41306L2.84069 4.16261L3.08622 3.84285V1.01929C3.08622 0.902234 3.04625 0.802309 2.96345 0.722369Z", fill: "#8347AD" }),
2350
+ /* @__PURE__ */ jsx37("path", { d: "M9.60962 11.9625C9.70667 11.9625 9.78947 11.9282 9.85227 11.8568C9.91797 11.7855 9.94937 11.7084 9.94937 11.6227C9.94937 11.5371 9.92652 11.4714 9.88367 11.4286L5.89242 6.0384L9.59247 1.13642C9.63532 1.08217 9.65812 1.01651 9.65812 0.942284C9.65812 0.856634 9.62387 0.776694 9.55252 0.708174C9.50967 0.665349 9.45832 0.633944 9.40407 0.616814C9.37267 0.608249 9.33552 0.602539 9.30127 0.602539H6.73752C6.56337 0.602539 6.42632 0.636799 6.32352 0.708174C6.22077 0.779549 6.14082 0.850924 6.08942 0.928009L3.32868 4.54525L2.32944 5.80145C2.27234 5.8728 2.24094 5.95845 2.24094 6.04695C2.23808 6.13545 2.26378 6.2211 2.31802 6.2982L2.83477 7.0205L3.32868 7.70855L6.29787 11.6199C6.32927 11.6627 6.39492 11.7312 6.49197 11.8226C6.55192 11.8797 6.63472 11.9197 6.73752 11.9425C6.80032 11.9568 6.86882 11.9625 6.94592 11.9625H9.60962Z", fill: "#3CB4E5" })
2351
+ ]
2352
+ }
2353
+ )
2354
+ );
2355
+ KhipuWordmark.displayName = "KhipuWordmark";
2356
+
2357
+ // src/components/domain/KdsSecureFooter/KdsSecureFooter.tsx
2358
+ import { Fragment as Fragment3, jsx as jsx38, jsxs as jsxs29 } from "react/jsx-runtime";
2359
+ var KdsSecureFooter = forwardRef36(
2360
+ ({ variant = "default", showLogo = true, psp, children, className, ...props }, ref) => /* @__PURE__ */ jsxs29("footer", { ref, className: clsx("kds-secure-footer", variant === "inside" && "inside", className), ...props, children: [
2361
+ /* @__PURE__ */ jsxs29("svg", { className: "kds-secure-footer-lock", viewBox: "0 0 24 24", "aria-hidden": "true", children: [
2362
+ /* @__PURE__ */ jsx38("rect", { x: "4.5", y: "10.5", width: "15", height: "10", rx: "2.25" }),
2363
+ /* @__PURE__ */ jsx38("path", { d: "M8 10.5V7a4 4 0 0 1 8 0v3.5" })
2364
+ ] }),
2365
+ children || /* @__PURE__ */ jsx38("span", { children: "Pago seguro procesado por" }),
2366
+ showLogo && /* @__PURE__ */ jsx38(KhipuWordmark, {}),
2367
+ psp && /* @__PURE__ */ jsxs29(Fragment3, { children: [
2368
+ /* @__PURE__ */ jsx38("span", { className: "kds-secure-footer-sep", "aria-hidden": "true" }),
2369
+ psp
2370
+ ] })
2332
2371
  ] })
2333
2372
  );
2334
2373
  KdsSecureFooter.displayName = "KdsSecureFooter";
2335
2374
 
2336
2375
  // src/components/domain/KdsRecapList/KdsRecapList.tsx
2337
- import { forwardRef as forwardRef36 } from "react";
2338
- import { jsx as jsx38, jsxs as jsxs29 } from "react/jsx-runtime";
2339
- var KdsRecapList = forwardRef36(
2340
- ({ items, className, ...props }, ref) => /* @__PURE__ */ jsx38("ul", { ref, className: clsx("kds-recap-list", className), ...props, children: items.map((item, i) => /* @__PURE__ */ jsxs29("li", { children: [
2341
- /* @__PURE__ */ jsx38("span", { className: "kds-key", children: item.label }),
2342
- /* @__PURE__ */ jsx38("span", { className: clsx("kds-value", !item.value && item.placeholder && "placeholder"), children: item.value || item.placeholder || "-" })
2376
+ import { forwardRef as forwardRef37 } from "react";
2377
+ import { jsx as jsx39, jsxs as jsxs30 } from "react/jsx-runtime";
2378
+ var KdsRecapList = forwardRef37(
2379
+ ({ items, className, ...props }, ref) => /* @__PURE__ */ jsx39("ul", { ref, className: clsx("kds-recap-list", className), ...props, children: items.map((item, i) => /* @__PURE__ */ jsxs30("li", { children: [
2380
+ /* @__PURE__ */ jsx39("span", { className: "kds-key", children: item.label }),
2381
+ /* @__PURE__ */ jsx39("span", { className: clsx("kds-value", !item.value && item.placeholder && "placeholder"), children: item.value || item.placeholder || "-" })
2343
2382
  ] }, i)) })
2344
2383
  );
2345
2384
  KdsRecapList.displayName = "KdsRecapList";
2346
2385
 
2347
2386
  // src/components/domain/KdsMontoRow/KdsMontoRow.tsx
2348
- import { forwardRef as forwardRef37 } from "react";
2349
- import { jsx as jsx39, jsxs as jsxs30 } from "react/jsx-runtime";
2350
- var KdsMontoRow = forwardRef37(
2351
- ({ title, value, deadline, className, ...props }, ref) => /* @__PURE__ */ jsxs30("div", { ref, className: clsx("kds-monto-row", className), ...props, children: [
2352
- /* @__PURE__ */ jsxs30("div", { children: [
2353
- /* @__PURE__ */ jsx39("div", { className: "kds-monto-row-title", children: title }),
2354
- deadline && /* @__PURE__ */ jsx39("div", { className: "kds-monto-row-deadline", children: deadline })
2387
+ import { forwardRef as forwardRef38 } from "react";
2388
+ import { jsx as jsx40, jsxs as jsxs31 } from "react/jsx-runtime";
2389
+ var KdsMontoRow = forwardRef38(
2390
+ ({ title, value, deadline, className, ...props }, ref) => /* @__PURE__ */ jsxs31("div", { ref, className: clsx("kds-monto-row", className), ...props, children: [
2391
+ /* @__PURE__ */ jsxs31("div", { children: [
2392
+ /* @__PURE__ */ jsx40("div", { className: "kds-monto-row-title", children: title }),
2393
+ deadline && /* @__PURE__ */ jsx40("div", { className: "kds-monto-row-deadline", children: deadline })
2355
2394
  ] }),
2356
- /* @__PURE__ */ jsx39("div", { className: "kds-monto-row-value", children: value })
2395
+ /* @__PURE__ */ jsx40("div", { className: "kds-monto-row-value", children: value })
2357
2396
  ] })
2358
2397
  );
2359
2398
  KdsMontoRow.displayName = "KdsMontoRow";
2360
2399
 
2361
2400
  // src/components/domain/KdsMerchantTile/KdsMerchantTile.tsx
2362
- import { forwardRef as forwardRef38 } from "react";
2363
- import { jsx as jsx40 } from "react/jsx-runtime";
2364
- var KdsMerchantTile = forwardRef38(
2401
+ import { forwardRef as forwardRef39 } from "react";
2402
+ import { jsx as jsx41 } from "react/jsx-runtime";
2403
+ var KdsMerchantTile = forwardRef39(
2365
2404
  ({ name, logoUrl, initials, compact, className, ...props }, ref) => {
2366
2405
  const displayInitials = (initials ?? name.slice(0, 2)).toUpperCase();
2367
- return /* @__PURE__ */ jsx40(
2406
+ return /* @__PURE__ */ jsx41(
2368
2407
  "div",
2369
2408
  {
2370
2409
  ref,
2371
2410
  className: clsx("kds-merchant-tile", logoUrl && "logo", compact && "compact", className),
2372
2411
  "aria-label": name,
2373
2412
  ...props,
2374
- children: logoUrl ? /* @__PURE__ */ jsx40("img", { src: logoUrl, alt: name }) : displayInitials
2413
+ children: logoUrl ? /* @__PURE__ */ jsx41("img", { src: logoUrl, alt: name }) : displayInitials
2375
2414
  }
2376
2415
  );
2377
2416
  }
@@ -2379,9 +2418,9 @@ var KdsMerchantTile = forwardRef38(
2379
2418
  KdsMerchantTile.displayName = "KdsMerchantTile";
2380
2419
 
2381
2420
  // src/components/domain/KdsPaymentTotal/KdsPaymentTotal.tsx
2382
- import { forwardRef as forwardRef39 } from "react";
2383
- import { jsx as jsx41, jsxs as jsxs31 } from "react/jsx-runtime";
2384
- var KdsPaymentTotal = forwardRef39(
2421
+ import { forwardRef as forwardRef40 } from "react";
2422
+ import { jsx as jsx42, jsxs as jsxs32 } from "react/jsx-runtime";
2423
+ var KdsPaymentTotal = forwardRef40(
2385
2424
  ({
2386
2425
  variant = "default",
2387
2426
  tone = "brand",
@@ -2399,7 +2438,7 @@ var KdsPaymentTotal = forwardRef39(
2399
2438
  const { integer, fraction } = formatAmount(amount, decimals, locale);
2400
2439
  const isEmail = variant === "email";
2401
2440
  const isInfoTone = tone === "info";
2402
- return /* @__PURE__ */ jsxs31(
2441
+ return /* @__PURE__ */ jsxs32(
2403
2442
  "div",
2404
2443
  {
2405
2444
  ref,
@@ -2412,14 +2451,14 @@ var KdsPaymentTotal = forwardRef39(
2412
2451
  ),
2413
2452
  ...props,
2414
2453
  children: [
2415
- !isEmail && title != null && /* @__PURE__ */ jsx41("h5", { className: "kds-payment-total-title", children: title }),
2416
- !isEmail && titleMobile != null && /* @__PURE__ */ jsx41("h5", { className: "kds-payment-total-title-mobile", children: titleMobile }),
2417
- label != null && /* @__PURE__ */ jsx41("h6", { className: "kds-payment-label", children: label }),
2418
- /* @__PURE__ */ jsxs31("h5", { className: "kds-payment-amount", children: [
2454
+ !isEmail && title != null && /* @__PURE__ */ jsx42("h5", { className: "kds-payment-total-title", children: title }),
2455
+ !isEmail && titleMobile != null && /* @__PURE__ */ jsx42("h5", { className: "kds-payment-total-title-mobile", children: titleMobile }),
2456
+ label != null && /* @__PURE__ */ jsx42("h6", { className: "kds-payment-label", children: label }),
2457
+ /* @__PURE__ */ jsxs32("h5", { className: "kds-payment-amount", children: [
2419
2458
  currency,
2420
2459
  " ",
2421
2460
  integer,
2422
- fraction !== null && /* @__PURE__ */ jsx41("sup", { className: "kds-payment-total-decimal-sup", children: fraction })
2461
+ fraction !== null && /* @__PURE__ */ jsx42("sup", { className: "kds-payment-total-decimal-sup", children: fraction })
2423
2462
  ] })
2424
2463
  ]
2425
2464
  }
@@ -2455,10 +2494,10 @@ function formatAmount(amount, decimals, locale) {
2455
2494
  }
2456
2495
 
2457
2496
  // src/components/domain/KdsBillAttachment/KdsBillAttachment.tsx
2458
- import { forwardRef as forwardRef40 } from "react";
2459
- import { jsx as jsx42, jsxs as jsxs32 } from "react/jsx-runtime";
2460
- var KdsBillAttachment = forwardRef40(
2461
- ({ filename, href, icon = "attach_file", className, ...props }, ref) => /* @__PURE__ */ jsxs32(
2497
+ import { forwardRef as forwardRef41 } from "react";
2498
+ import { jsx as jsx43, jsxs as jsxs33 } from "react/jsx-runtime";
2499
+ var KdsBillAttachment = forwardRef41(
2500
+ ({ filename, href, icon = "attach_file", className, ...props }, ref) => /* @__PURE__ */ jsxs33(
2462
2501
  "a",
2463
2502
  {
2464
2503
  ref,
@@ -2468,15 +2507,15 @@ var KdsBillAttachment = forwardRef40(
2468
2507
  className: clsx("kds-bill-attachment", className),
2469
2508
  ...props,
2470
2509
  children: [
2471
- /* @__PURE__ */ jsx42("i", { className: "material-symbols-outlined", children: icon }),
2472
- /* @__PURE__ */ jsx42("span", { children: filename })
2510
+ /* @__PURE__ */ jsx43("i", { className: "material-symbols-outlined", children: icon }),
2511
+ /* @__PURE__ */ jsx43("span", { children: filename })
2473
2512
  ]
2474
2513
  }
2475
2514
  )
2476
2515
  );
2477
2516
  KdsBillAttachment.displayName = "KdsBillAttachment";
2478
- var KdsBillAttachments = forwardRef40(
2479
- ({ children, className, ...props }, ref) => /* @__PURE__ */ jsx42("div", { ref, className: clsx("kds-bill-attachments", className), ...props, children })
2517
+ var KdsBillAttachments = forwardRef41(
2518
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ jsx43("div", { ref, className: clsx("kds-bill-attachments", className), ...props, children })
2480
2519
  );
2481
2520
  KdsBillAttachments.displayName = "KdsBillAttachments";
2482
2521
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khipu/design-system",
3
- "version": "0.2.0-alpha.67",
3
+ "version": "0.2.0-alpha.69",
4
4
  "description": "Khipu Design System - UI components and design tokens for the Khipu payment platform",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",