@khipu/design-system 0.2.0-alpha.51 → 0.2.0-alpha.52

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/index.js CHANGED
@@ -63,6 +63,7 @@ __export(index_exports, {
63
63
  KdsQrRow: () => KdsQrRow,
64
64
  KdsRadioGroup: () => KdsRadioGroup,
65
65
  KdsRecapList: () => KdsRecapList,
66
+ KdsSearchField: () => KdsSearchField,
66
67
  KdsSectionNote: () => KdsSectionNote,
67
68
  KdsSecureFooter: () => KdsSecureFooter,
68
69
  KdsSecureLoader: () => KdsSecureLoader,
@@ -1252,22 +1253,47 @@ var KdsTextField = (0, import_react2.forwardRef)(
1252
1253
  );
1253
1254
  KdsTextField.displayName = "KdsTextField";
1254
1255
 
1255
- // src/components/core/KdsCheckbox/KdsCheckbox.tsx
1256
+ // src/components/core/KdsSearchField/KdsSearchField.tsx
1256
1257
  var import_react3 = require("react");
1257
1258
  var import_jsx_runtime4 = require("react/jsx-runtime");
1258
- var KdsCheckbox = (0, import_react3.forwardRef)(
1259
- ({ label, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("label", { className: (0, import_clsx.clsx)("checkbox", className), children: [
1260
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("input", { ref, type: "checkbox", ...props }),
1261
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: label })
1259
+ var KdsSearchField = (0, import_react3.forwardRef)(
1260
+ ({ className, withIcon = false, ...props }, ref) => {
1261
+ const input = /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1262
+ "input",
1263
+ {
1264
+ ref,
1265
+ type: "search",
1266
+ className: (0, import_clsx.clsx)("kds-search-field", className),
1267
+ ...props
1268
+ }
1269
+ );
1270
+ if (!withIcon) {
1271
+ return input;
1272
+ }
1273
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "kds-search-field-wrapper", children: [
1274
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("i", { className: "material-symbols-outlined kds-search-field-icon", "aria-hidden": "true", children: "search" }),
1275
+ input
1276
+ ] });
1277
+ }
1278
+ );
1279
+ KdsSearchField.displayName = "KdsSearchField";
1280
+
1281
+ // src/components/core/KdsCheckbox/KdsCheckbox.tsx
1282
+ var import_react4 = require("react");
1283
+ var import_jsx_runtime5 = require("react/jsx-runtime");
1284
+ var KdsCheckbox = (0, import_react4.forwardRef)(
1285
+ ({ label, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("label", { className: (0, import_clsx.clsx)("checkbox", className), children: [
1286
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("input", { ref, type: "checkbox", ...props }),
1287
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { children: label })
1262
1288
  ] })
1263
1289
  );
1264
1290
  KdsCheckbox.displayName = "KdsCheckbox";
1265
1291
 
1266
1292
  // src/components/core/KdsCard/KdsCard.tsx
1267
- var import_react4 = require("react");
1268
- var import_jsx_runtime5 = require("react/jsx-runtime");
1269
- var KdsCard = (0, import_react4.forwardRef)(
1270
- ({ variant = "elevated", dimmed, children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
1293
+ var import_react5 = require("react");
1294
+ var import_jsx_runtime6 = require("react/jsx-runtime");
1295
+ var KdsCard = (0, import_react5.forwardRef)(
1296
+ ({ variant = "elevated", dimmed, children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1271
1297
  "article",
1272
1298
  {
1273
1299
  ref,
@@ -1282,31 +1308,31 @@ var KdsCard = (0, import_react4.forwardRef)(
1282
1308
  )
1283
1309
  );
1284
1310
  KdsCard.displayName = "KdsCard";
1285
- var KdsCardHeader = (0, import_react4.forwardRef)(
1286
- ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-card-header", className), ...props, children })
1311
+ var KdsCardHeader = (0, import_react5.forwardRef)(
1312
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-card-header", className), ...props, children })
1287
1313
  );
1288
1314
  KdsCardHeader.displayName = "KdsCardHeader";
1289
- var KdsCardBody = (0, import_react4.forwardRef)(
1290
- ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-card-body", className), ...props, children })
1315
+ var KdsCardBody = (0, import_react5.forwardRef)(
1316
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-card-body", className), ...props, children })
1291
1317
  );
1292
1318
  KdsCardBody.displayName = "KdsCardBody";
1293
- var KdsCardFooter = (0, import_react4.forwardRef)(
1294
- ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-card-footer", className), ...props, children })
1319
+ var KdsCardFooter = (0, import_react5.forwardRef)(
1320
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-card-footer", className), ...props, children })
1295
1321
  );
1296
1322
  KdsCardFooter.displayName = "KdsCardFooter";
1297
1323
 
1298
1324
  // src/components/core/KdsSpinner/KdsSpinner.tsx
1299
- var import_react5 = require("react");
1300
- var import_jsx_runtime6 = require("react/jsx-runtime");
1325
+ var import_react6 = require("react");
1326
+ var import_jsx_runtime7 = require("react/jsx-runtime");
1301
1327
  var SIZE_CLASS = {
1302
1328
  small: "small",
1303
1329
  medium: null,
1304
1330
  large: "large"
1305
1331
  };
1306
- var KdsSpinner = (0, import_react5.forwardRef)(
1332
+ var KdsSpinner = (0, import_react6.forwardRef)(
1307
1333
  ({ size = "medium", label, className, ...props }, ref) => {
1308
1334
  const sizeClass = SIZE_CLASS[size];
1309
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1335
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1310
1336
  "div",
1311
1337
  {
1312
1338
  ref,
@@ -1314,9 +1340,9 @@ var KdsSpinner = (0, import_react5.forwardRef)(
1314
1340
  role: "status",
1315
1341
  ...props,
1316
1342
  children: [
1317
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("progress", { className: (0, import_clsx.clsx)("circle indeterminate", sizeClass) }),
1318
- label && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "kds-text-body-small kds-text-muted", children: label }),
1319
- !label && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "kds-hidden", children: "Cargando" })
1343
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("progress", { className: (0, import_clsx.clsx)("circle indeterminate", sizeClass) }),
1344
+ label && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "kds-text-body-small kds-text-muted", children: label }),
1345
+ !label && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "kds-hidden", children: "Cargando" })
1320
1346
  ]
1321
1347
  }
1322
1348
  );
@@ -1325,16 +1351,16 @@ var KdsSpinner = (0, import_react5.forwardRef)(
1325
1351
  KdsSpinner.displayName = "KdsSpinner";
1326
1352
 
1327
1353
  // src/components/core/KdsSecureLoader/KdsSecureLoader.tsx
1328
- var import_react6 = require("react");
1329
- var import_jsx_runtime7 = require("react/jsx-runtime");
1330
- var KdsSecureLoader = (0, import_react6.forwardRef)(
1331
- ({ title, message, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { ref, className: (0, import_clsx.clsx)("kds-secure-loader", className), role: "status", "aria-busy": "true", ...props, children: [
1332
- (title || message) && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "kds-secure-loader-text", children: [
1333
- title && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: "kds-secure-loader-title", children: title }),
1334
- message && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: "kds-secure-loader-message", children: message })
1354
+ var import_react7 = require("react");
1355
+ var import_jsx_runtime8 = require("react/jsx-runtime");
1356
+ var KdsSecureLoader = (0, import_react7.forwardRef)(
1357
+ ({ title, message, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { ref, className: (0, import_clsx.clsx)("kds-secure-loader", className), role: "status", "aria-busy": "true", ...props, children: [
1358
+ (title || message) && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "kds-secure-loader-text", children: [
1359
+ title && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "kds-secure-loader-title", children: title }),
1360
+ message && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "kds-secure-loader-message", children: message })
1335
1361
  ] }),
1336
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "kds-secure-loader-spinner", children: [
1337
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1362
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "kds-secure-loader-spinner", children: [
1363
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1338
1364
  "svg",
1339
1365
  {
1340
1366
  className: "kds-secure-loader-ring",
@@ -1343,23 +1369,23 @@ var KdsSecureLoader = (0, import_react6.forwardRef)(
1343
1369
  height: "100",
1344
1370
  fill: "none",
1345
1371
  "aria-hidden": "true",
1346
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "44", cy: "44", r: "20.2", fill: "none" })
1372
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("circle", { cx: "44", cy: "44", r: "20.2", fill: "none" })
1347
1373
  }
1348
1374
  ),
1349
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("i", { className: "material-symbols-outlined kds-secure-loader-lock", "aria-hidden": "true", children: "lock" })
1375
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("i", { className: "material-symbols-outlined kds-secure-loader-lock", "aria-hidden": "true", children: "lock" })
1350
1376
  ] })
1351
1377
  ] })
1352
1378
  );
1353
1379
  KdsSecureLoader.displayName = "KdsSecureLoader";
1354
1380
 
1355
1381
  // src/components/core/KdsCopyButton/KdsCopyButton.tsx
1356
- var import_react8 = require("react");
1382
+ var import_react9 = require("react");
1357
1383
 
1358
1384
  // src/components/core/hooks/useCopyToClipboard.ts
1359
- var import_react7 = require("react");
1385
+ var import_react8 = require("react");
1360
1386
  function useCopyToClipboard(resetMs = 1200) {
1361
- const [copied, setCopied] = (0, import_react7.useState)(false);
1362
- const copy = (0, import_react7.useCallback)(
1387
+ const [copied, setCopied] = (0, import_react8.useState)(false);
1388
+ const copy = (0, import_react8.useCallback)(
1363
1389
  async (text) => {
1364
1390
  try {
1365
1391
  await navigator.clipboard.writeText(text);
@@ -1374,11 +1400,11 @@ function useCopyToClipboard(resetMs = 1200) {
1374
1400
  }
1375
1401
 
1376
1402
  // src/components/core/KdsCopyButton/KdsCopyButton.tsx
1377
- var import_jsx_runtime8 = require("react/jsx-runtime");
1378
- var KdsCopyButton = (0, import_react8.forwardRef)(
1403
+ var import_jsx_runtime9 = require("react/jsx-runtime");
1404
+ var KdsCopyButton = (0, import_react9.forwardRef)(
1379
1405
  ({ value, copiedText = "Copiado", className, ...props }, ref) => {
1380
1406
  const { copied, copy } = useCopyToClipboard();
1381
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1407
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1382
1408
  "button",
1383
1409
  {
1384
1410
  ref,
@@ -1388,11 +1414,11 @@ var KdsCopyButton = (0, import_react8.forwardRef)(
1388
1414
  "aria-label": `Copiar: ${value}`,
1389
1415
  ...props,
1390
1416
  children: [
1391
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "kds-copy-button-label", children: [
1392
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "kds-copy-button-value", "aria-hidden": copied || void 0, children: value }),
1393
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "kds-copy-button-copied", "aria-hidden": !copied || void 0, children: copiedText })
1417
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "kds-copy-button-label", children: [
1418
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "kds-copy-button-value", "aria-hidden": copied || void 0, children: value }),
1419
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "kds-copy-button-copied", "aria-hidden": !copied || void 0, children: copiedText })
1394
1420
  ] }),
1395
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("i", { className: "material-symbols-outlined", "aria-hidden": "true", children: copied ? "check" : "content_copy" })
1421
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("i", { className: "material-symbols-outlined", "aria-hidden": "true", children: copied ? "check" : "content_copy" })
1396
1422
  ]
1397
1423
  }
1398
1424
  );
@@ -1401,26 +1427,26 @@ var KdsCopyButton = (0, import_react8.forwardRef)(
1401
1427
  KdsCopyButton.displayName = "KdsCopyButton";
1402
1428
 
1403
1429
  // src/components/core/KdsLinearProgress/KdsLinearProgress.tsx
1404
- var import_react9 = require("react");
1405
- var import_jsx_runtime9 = require("react/jsx-runtime");
1406
- var KdsLinearProgress = (0, import_react9.forwardRef)(
1407
- ({ value, max = 100, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("progress", { ref, className: (0, import_clsx.clsx)("kds-progress", className), value, max, ...props })
1430
+ var import_react10 = require("react");
1431
+ var import_jsx_runtime10 = require("react/jsx-runtime");
1432
+ var KdsLinearProgress = (0, import_react10.forwardRef)(
1433
+ ({ value, max = 100, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("progress", { ref, className: (0, import_clsx.clsx)("kds-progress", className), value, max, ...props })
1408
1434
  );
1409
1435
  KdsLinearProgress.displayName = "KdsLinearProgress";
1410
1436
 
1411
1437
  // src/components/core/KdsAlert/KdsAlert.tsx
1412
- var import_react10 = require("react");
1413
- var import_jsx_runtime10 = require("react/jsx-runtime");
1438
+ var import_react11 = require("react");
1439
+ var import_jsx_runtime11 = require("react/jsx-runtime");
1414
1440
  var DEFAULT_ICONS = {
1415
1441
  success: "check_circle",
1416
1442
  info: "info",
1417
1443
  warning: "warning",
1418
1444
  error: "error"
1419
1445
  };
1420
- var KdsAlert = (0, import_react10.forwardRef)(
1446
+ var KdsAlert = (0, import_react11.forwardRef)(
1421
1447
  ({ severity, title, icon, inline, onClose, children, className, ...props }, ref) => {
1422
1448
  const resolvedIcon = icon === false ? null : typeof icon === "string" ? icon : DEFAULT_ICONS[severity];
1423
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
1449
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
1424
1450
  "div",
1425
1451
  {
1426
1452
  ref,
@@ -1428,19 +1454,19 @@ var KdsAlert = (0, import_react10.forwardRef)(
1428
1454
  className: (0, import_clsx.clsx)("kds-alert", `kds-${severity}`, inline && "kds-alert-inline", className),
1429
1455
  ...props,
1430
1456
  children: [
1431
- resolvedIcon && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "kds-alert-icon", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("i", { className: "material-symbols-outlined", children: resolvedIcon }) }),
1432
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "kds-alert-content", children: [
1433
- title && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "kds-alert-title", children: title }),
1434
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "kds-alert-description", children })
1457
+ resolvedIcon && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "kds-alert-icon", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("i", { className: "material-symbols-outlined", children: resolvedIcon }) }),
1458
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "kds-alert-content", children: [
1459
+ title && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "kds-alert-title", children: title }),
1460
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "kds-alert-description", children })
1435
1461
  ] }),
1436
- onClose && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1462
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1437
1463
  "button",
1438
1464
  {
1439
1465
  type: "button",
1440
1466
  className: "kds-alert-close",
1441
1467
  onClick: onClose,
1442
1468
  "aria-label": "Cerrar",
1443
- children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("i", { className: "material-symbols-outlined", children: "close" })
1469
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("i", { className: "material-symbols-outlined", children: "close" })
1444
1470
  }
1445
1471
  )
1446
1472
  ]
@@ -1451,8 +1477,8 @@ var KdsAlert = (0, import_react10.forwardRef)(
1451
1477
  KdsAlert.displayName = "KdsAlert";
1452
1478
 
1453
1479
  // src/components/core/KdsTypography/KdsTypography.tsx
1454
- var import_react11 = require("react");
1455
- var import_jsx_runtime11 = require("react/jsx-runtime");
1480
+ var import_react12 = require("react");
1481
+ var import_jsx_runtime12 = require("react/jsx-runtime");
1456
1482
  var variantTag = {
1457
1483
  display1: "h1",
1458
1484
  display2: "h2",
@@ -1468,10 +1494,10 @@ var variantTag = {
1468
1494
  link: "span",
1469
1495
  strong: "span"
1470
1496
  };
1471
- var KdsTypography = (0, import_react11.forwardRef)(
1497
+ var KdsTypography = (0, import_react12.forwardRef)(
1472
1498
  ({ variant = "body", color, as, children, className, ...props }, ref) => {
1473
1499
  const Tag = as || variantTag[variant];
1474
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1500
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1475
1501
  Tag,
1476
1502
  {
1477
1503
  ref,
@@ -1489,12 +1515,12 @@ var KdsTypography = (0, import_react11.forwardRef)(
1489
1515
  KdsTypography.displayName = "KdsTypography";
1490
1516
 
1491
1517
  // src/components/core/KdsTabs/KdsTabs.tsx
1492
- var import_react13 = __toESM(require("react"));
1518
+ var import_react14 = __toESM(require("react"));
1493
1519
 
1494
1520
  // src/components/core/hooks/useTabsKeyboard.ts
1495
- var import_react12 = require("react");
1521
+ var import_react13 = require("react");
1496
1522
  function useTabsKeyboard(tabCount, activeIndex, onChange) {
1497
- const onKeyDown = (0, import_react12.useCallback)(
1523
+ const onKeyDown = (0, import_react13.useCallback)(
1498
1524
  (e) => {
1499
1525
  let next = activeIndex;
1500
1526
  if (e.key === "ArrowRight") next = (activeIndex + 1) % tabCount;
@@ -1514,12 +1540,12 @@ function useTabsKeyboard(tabCount, activeIndex, onChange) {
1514
1540
  }
1515
1541
 
1516
1542
  // src/components/core/KdsTabs/KdsTabs.tsx
1517
- var import_jsx_runtime12 = require("react/jsx-runtime");
1518
- var KdsTabs = (0, import_react13.forwardRef)(
1543
+ var import_jsx_runtime13 = require("react/jsx-runtime");
1544
+ var KdsTabs = (0, import_react14.forwardRef)(
1519
1545
  ({ activeIndex, onChange, children, className, style, ...props }, ref) => {
1520
- const tabCount = import_react13.Children.count(children);
1546
+ const tabCount = import_react14.Children.count(children);
1521
1547
  const { onKeyDown } = useTabsKeyboard(tabCount, activeIndex, onChange);
1522
- const mergedStyle = (0, import_react13.useMemo)(
1548
+ const mergedStyle = (0, import_react14.useMemo)(
1523
1549
  () => ({
1524
1550
  ...style,
1525
1551
  "--_tab-count": tabCount,
@@ -1527,7 +1553,7 @@ var KdsTabs = (0, import_react13.forwardRef)(
1527
1553
  }),
1528
1554
  [tabCount, activeIndex, style]
1529
1555
  );
1530
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1556
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1531
1557
  "div",
1532
1558
  {
1533
1559
  ref,
@@ -1536,9 +1562,9 @@ var KdsTabs = (0, import_react13.forwardRef)(
1536
1562
  style: mergedStyle,
1537
1563
  onKeyDown,
1538
1564
  ...props,
1539
- children: import_react13.Children.map(children, (child, i) => {
1540
- if (!import_react13.default.isValidElement(child)) return child;
1541
- return import_react13.default.cloneElement(child, {
1565
+ children: import_react14.Children.map(children, (child, i) => {
1566
+ if (!import_react14.default.isValidElement(child)) return child;
1567
+ return import_react14.default.cloneElement(child, {
1542
1568
  _active: i === activeIndex,
1543
1569
  _onClick: () => onChange(i)
1544
1570
  });
@@ -1548,8 +1574,8 @@ var KdsTabs = (0, import_react13.forwardRef)(
1548
1574
  }
1549
1575
  );
1550
1576
  KdsTabs.displayName = "KdsTabs";
1551
- var KdsTab = (0, import_react13.forwardRef)(
1552
- ({ _active, _onClick, children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1577
+ var KdsTab = (0, import_react14.forwardRef)(
1578
+ ({ _active, _onClick, children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1553
1579
  "button",
1554
1580
  {
1555
1581
  ref,
@@ -1565,8 +1591,8 @@ var KdsTab = (0, import_react13.forwardRef)(
1565
1591
  )
1566
1592
  );
1567
1593
  KdsTab.displayName = "KdsTab";
1568
- var KdsTabPanel = (0, import_react13.forwardRef)(
1569
- ({ active, children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1594
+ var KdsTabPanel = (0, import_react14.forwardRef)(
1595
+ ({ active, children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1570
1596
  "div",
1571
1597
  {
1572
1598
  ref,
@@ -1581,13 +1607,13 @@ var KdsTabPanel = (0, import_react13.forwardRef)(
1581
1607
  KdsTabPanel.displayName = "KdsTabPanel";
1582
1608
 
1583
1609
  // src/components/core/KdsRadioGroup/KdsRadioGroup.tsx
1584
- var import_react14 = require("react");
1585
- var import_jsx_runtime13 = require("react/jsx-runtime");
1586
- var KdsRadioGroup = (0, import_react14.forwardRef)(
1587
- ({ label, name, options, value, onChange, size, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("fieldset", { ref, className: (0, import_clsx.clsx)("kds-radio-group", className), ...props, children: [
1588
- label && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("legend", { children: label }),
1589
- options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("label", { className: (0, import_clsx.clsx)("radio", size), children: [
1590
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1610
+ var import_react15 = require("react");
1611
+ var import_jsx_runtime14 = require("react/jsx-runtime");
1612
+ var KdsRadioGroup = (0, import_react15.forwardRef)(
1613
+ ({ label, name, options, value, onChange, size, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("fieldset", { ref, className: (0, import_clsx.clsx)("kds-radio-group", className), ...props, children: [
1614
+ label && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("legend", { children: label }),
1615
+ options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("label", { className: (0, import_clsx.clsx)("radio", size), children: [
1616
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1591
1617
  "input",
1592
1618
  {
1593
1619
  type: "radio",
@@ -1598,16 +1624,16 @@ var KdsRadioGroup = (0, import_react14.forwardRef)(
1598
1624
  onChange: () => onChange?.(opt.value)
1599
1625
  }
1600
1626
  ),
1601
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: opt.label })
1627
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { children: opt.label })
1602
1628
  ] }, opt.value))
1603
1629
  ] })
1604
1630
  );
1605
1631
  KdsRadioGroup.displayName = "KdsRadioGroup";
1606
1632
 
1607
1633
  // src/components/core/KdsSelect/KdsSelect.tsx
1608
- var import_react15 = require("react");
1609
- var import_jsx_runtime14 = require("react/jsx-runtime");
1610
- var KdsSelect = (0, import_react15.forwardRef)(
1634
+ var import_react16 = require("react");
1635
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1636
+ var KdsSelect = (0, import_react16.forwardRef)(
1611
1637
  ({
1612
1638
  label,
1613
1639
  options,
@@ -1623,7 +1649,7 @@ var KdsSelect = (0, import_react15.forwardRef)(
1623
1649
  ...props
1624
1650
  }, ref) => {
1625
1651
  const fieldId = id || `kds-select-${label.toLowerCase().replace(/\s+/g, "-")}`;
1626
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1652
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1627
1653
  "div",
1628
1654
  {
1629
1655
  className: (0, import_clsx.clsx)(
@@ -1636,8 +1662,8 @@ var KdsSelect = (0, import_react15.forwardRef)(
1636
1662
  className
1637
1663
  ),
1638
1664
  children: [
1639
- prefixIcon && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("i", { className: "material-symbols-outlined", children: prefixIcon }),
1640
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1665
+ prefixIcon && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("i", { className: "material-symbols-outlined", children: prefixIcon }),
1666
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1641
1667
  "select",
1642
1668
  {
1643
1669
  ref,
@@ -1646,16 +1672,16 @@ var KdsSelect = (0, import_react15.forwardRef)(
1646
1672
  required,
1647
1673
  ...props,
1648
1674
  children: [
1649
- placeholder !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("option", { value: "", children: placeholder }),
1650
- options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("option", { value: opt.value, disabled: opt.disabled, children: opt.label }, opt.value))
1675
+ placeholder !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { value: "", children: placeholder }),
1676
+ options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { value: opt.value, disabled: opt.disabled, children: opt.label }, opt.value))
1651
1677
  ]
1652
1678
  }
1653
1679
  ),
1654
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("label", { htmlFor: fieldId, children: [
1680
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("label", { htmlFor: fieldId, children: [
1655
1681
  label,
1656
1682
  required && " *"
1657
1683
  ] }),
1658
- helperText && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "helper", children: helperText })
1684
+ helperText && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "helper", children: helperText })
1659
1685
  ]
1660
1686
  }
1661
1687
  );
@@ -1664,13 +1690,13 @@ var KdsSelect = (0, import_react15.forwardRef)(
1664
1690
  KdsSelect.displayName = "KdsSelect";
1665
1691
 
1666
1692
  // src/components/core/KdsChip/KdsChip.tsx
1667
- var import_react16 = require("react");
1668
- var import_jsx_runtime15 = require("react/jsx-runtime");
1669
- var KdsChip = (0, import_react16.forwardRef)(
1670
- ({ color, icon, onDelete, children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { ref, className: (0, import_clsx.clsx)("kds-badge", color, className), ...props, children: [
1671
- icon && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("i", { className: "material-symbols-outlined", children: icon }),
1672
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { children }),
1673
- onDelete && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1693
+ var import_react17 = require("react");
1694
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1695
+ var KdsChip = (0, import_react17.forwardRef)(
1696
+ ({ color, icon, onDelete, children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("span", { ref, className: (0, import_clsx.clsx)("kds-badge", color, className), ...props, children: [
1697
+ icon && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("i", { className: "material-symbols-outlined", children: icon }),
1698
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { children }),
1699
+ onDelete && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1674
1700
  "button",
1675
1701
  {
1676
1702
  type: "button",
@@ -1680,7 +1706,7 @@ var KdsChip = (0, import_react16.forwardRef)(
1680
1706
  onDelete();
1681
1707
  },
1682
1708
  "aria-label": "Eliminar",
1683
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("i", { className: "material-symbols-outlined", children: "close" })
1709
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("i", { className: "material-symbols-outlined", children: "close" })
1684
1710
  }
1685
1711
  )
1686
1712
  ] })
@@ -1688,15 +1714,15 @@ var KdsChip = (0, import_react16.forwardRef)(
1688
1714
  KdsChip.displayName = "KdsChip";
1689
1715
 
1690
1716
  // src/components/core/KdsSnackbar/KdsSnackbar.tsx
1691
- var import_react18 = require("react");
1717
+ var import_react19 = require("react");
1692
1718
 
1693
1719
  // src/components/core/hooks/useAutoHide.ts
1694
- var import_react17 = require("react");
1720
+ var import_react18 = require("react");
1695
1721
  function useAutoHide(durationMs, onHide) {
1696
- const [visible, setVisible] = (0, import_react17.useState)(true);
1697
- const onHideRef = (0, import_react17.useRef)(onHide);
1722
+ const [visible, setVisible] = (0, import_react18.useState)(true);
1723
+ const onHideRef = (0, import_react18.useRef)(onHide);
1698
1724
  onHideRef.current = onHide;
1699
- (0, import_react17.useEffect)(() => {
1725
+ (0, import_react18.useEffect)(() => {
1700
1726
  if (durationMs <= 0) return;
1701
1727
  const timer = setTimeout(() => {
1702
1728
  setVisible(false);
@@ -1708,13 +1734,13 @@ function useAutoHide(durationMs, onHide) {
1708
1734
  }
1709
1735
 
1710
1736
  // src/components/core/KdsSnackbar/KdsSnackbar.tsx
1711
- var import_jsx_runtime16 = require("react/jsx-runtime");
1737
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1712
1738
  var DEFAULT_ICONS2 = {
1713
1739
  info: "info",
1714
1740
  success: "check_circle",
1715
1741
  error: "error"
1716
1742
  };
1717
- var KdsSnackbar = (0, import_react18.forwardRef)(
1743
+ var KdsSnackbar = (0, import_react19.forwardRef)(
1718
1744
  ({
1719
1745
  message,
1720
1746
  type = "info",
@@ -1731,7 +1757,7 @@ var KdsSnackbar = (0, import_react18.forwardRef)(
1731
1757
  if (!open || !visible) return null;
1732
1758
  const resolvedIcon = icon === false ? null : icon ?? DEFAULT_ICONS2[type];
1733
1759
  const mergedStyle = autoDismiss ? { ...style, ["--kds-snackbar-duration"]: `${duration}ms` } : style ?? {};
1734
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1760
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1735
1761
  "div",
1736
1762
  {
1737
1763
  ref,
@@ -1741,16 +1767,16 @@ var KdsSnackbar = (0, import_react18.forwardRef)(
1741
1767
  style: mergedStyle,
1742
1768
  ...props,
1743
1769
  children: [
1744
- resolvedIcon && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("i", { className: "material-symbols-outlined", children: resolvedIcon }),
1745
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "max", children: message }),
1746
- onClose && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1770
+ resolvedIcon && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("i", { className: "material-symbols-outlined", children: resolvedIcon }),
1771
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "max", children: message }),
1772
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1747
1773
  "button",
1748
1774
  {
1749
1775
  type: "button",
1750
1776
  className: "kds-snackbar-close",
1751
1777
  onClick: onClose,
1752
1778
  "aria-label": "Cerrar",
1753
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("i", { className: "material-symbols-outlined", children: "close" })
1779
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("i", { className: "material-symbols-outlined", children: "close" })
1754
1780
  }
1755
1781
  )
1756
1782
  ]
@@ -1762,7 +1788,7 @@ KdsSnackbar.displayName = "KdsSnackbar";
1762
1788
 
1763
1789
  // src/components/core/KdsTooltip/KdsTooltip.tsx
1764
1790
  var Tooltip = __toESM(require("@radix-ui/react-tooltip"));
1765
- var import_jsx_runtime17 = require("react/jsx-runtime");
1791
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1766
1792
  function KdsTooltip({
1767
1793
  content,
1768
1794
  children,
@@ -1773,9 +1799,9 @@ function KdsTooltip({
1773
1799
  onOpenChange,
1774
1800
  delayDuration = 300
1775
1801
  }) {
1776
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Tooltip.Provider, { delayDuration, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(Tooltip.Root, { open, defaultOpen, onOpenChange, children: [
1777
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Tooltip.Trigger, { asChild: true, children }),
1778
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1802
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Tooltip.Provider, { delayDuration, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(Tooltip.Root, { open, defaultOpen, onOpenChange, children: [
1803
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Tooltip.Trigger, { asChild: true, children }),
1804
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1779
1805
  Tooltip.Content,
1780
1806
  {
1781
1807
  className: (0, import_clsx.clsx)("kds-tooltip", className),
@@ -1784,7 +1810,7 @@ function KdsTooltip({
1784
1810
  collisionPadding: 8,
1785
1811
  children: [
1786
1812
  content,
1787
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Tooltip.Arrow, { className: "kds-tooltip-arrow", width: 10, height: 5 })
1813
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Tooltip.Arrow, { className: "kds-tooltip-arrow", width: 10, height: 5 })
1788
1814
  ]
1789
1815
  }
1790
1816
  ) })
@@ -1792,68 +1818,68 @@ function KdsTooltip({
1792
1818
  }
1793
1819
 
1794
1820
  // src/components/core/KdsAccordion/KdsAccordion.tsx
1795
- var import_react19 = require("react");
1796
- var import_jsx_runtime18 = require("react/jsx-runtime");
1797
- var KdsAccordion = (0, import_react19.forwardRef)(
1798
- ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("details", { ref, className: (0, import_clsx.clsx)("kds-accordion", className), ...props, children })
1821
+ var import_react20 = require("react");
1822
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1823
+ var KdsAccordion = (0, import_react20.forwardRef)(
1824
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("details", { ref, className: (0, import_clsx.clsx)("kds-accordion", className), ...props, children })
1799
1825
  );
1800
1826
  KdsAccordion.displayName = "KdsAccordion";
1801
- var KdsAccordionSummary = (0, import_react19.forwardRef)(
1802
- ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("summary", { ref, className: (0, import_clsx.clsx)("kds-accordion-summary", className), ...props, children: [
1827
+ var KdsAccordionSummary = (0, import_react20.forwardRef)(
1828
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("summary", { ref, className: (0, import_clsx.clsx)("kds-accordion-summary", className), ...props, children: [
1803
1829
  children,
1804
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("i", { className: "material-symbols-outlined", children: "expand_more" })
1830
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("i", { className: "material-symbols-outlined", children: "expand_more" })
1805
1831
  ] })
1806
1832
  );
1807
1833
  KdsAccordionSummary.displayName = "KdsAccordionSummary";
1808
- var KdsAccordionDetails = (0, import_react19.forwardRef)(
1809
- ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-accordion-details", className), ...props, children })
1834
+ var KdsAccordionDetails = (0, import_react20.forwardRef)(
1835
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-accordion-details", className), ...props, children })
1810
1836
  );
1811
1837
  KdsAccordionDetails.displayName = "KdsAccordionDetails";
1812
1838
 
1813
1839
  // src/components/core/KdsDivider/KdsDivider.tsx
1814
- var import_react20 = require("react");
1815
- var import_jsx_runtime19 = require("react/jsx-runtime");
1816
- var KdsDivider = (0, import_react20.forwardRef)(
1817
- ({ dashed, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("hr", { ref, className: (0, import_clsx.clsx)(dashed ? "kds-hr-dashed" : "kds-hr", className), ...props })
1840
+ var import_react21 = require("react");
1841
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1842
+ var KdsDivider = (0, import_react21.forwardRef)(
1843
+ ({ dashed, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("hr", { ref, className: (0, import_clsx.clsx)(dashed ? "kds-hr-dashed" : "kds-hr", className), ...props })
1818
1844
  );
1819
1845
  KdsDivider.displayName = "KdsDivider";
1820
1846
 
1821
1847
  // src/components/core/KdsSectionNote/KdsSectionNote.tsx
1822
- var import_react21 = require("react");
1823
- var import_jsx_runtime20 = require("react/jsx-runtime");
1824
- var KdsSectionNote = (0, import_react21.forwardRef)(
1825
- ({ icon = "info", children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("p", { ref, className: (0, import_clsx.clsx)("kds-section-note", className), ...props, children: [
1826
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("i", { className: "material-symbols-outlined", children: icon }),
1827
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { children })
1848
+ var import_react22 = require("react");
1849
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1850
+ var KdsSectionNote = (0, import_react22.forwardRef)(
1851
+ ({ icon = "info", children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("p", { ref, className: (0, import_clsx.clsx)("kds-section-note", className), ...props, children: [
1852
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("i", { className: "material-symbols-outlined", children: icon }),
1853
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { children })
1828
1854
  ] })
1829
1855
  );
1830
1856
  KdsSectionNote.displayName = "KdsSectionNote";
1831
1857
 
1832
1858
  // src/components/core/KdsStatusBlock/KdsStatusBlock.tsx
1833
- var import_react22 = require("react");
1834
- var import_jsx_runtime21 = require("react/jsx-runtime");
1835
- var KdsStatusBlock = (0, import_react22.forwardRef)(
1836
- ({ status, icon, title, description, inline, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { ref, className: (0, import_clsx.clsx)("kds-status-block", inline && "inline", className), "data-status": status, ...props, children: [
1837
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "kds-status-block-icon", children: icon && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("i", { className: "material-symbols-outlined", children: icon }) }),
1838
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { children: [
1839
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("h2", { className: "kds-status-block-title", children: title }),
1840
- description && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "kds-status-block-description", children: description })
1859
+ var import_react23 = require("react");
1860
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1861
+ var KdsStatusBlock = (0, import_react23.forwardRef)(
1862
+ ({ status, icon, title, description, inline, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { ref, className: (0, import_clsx.clsx)("kds-status-block", inline && "inline", className), "data-status": status, ...props, children: [
1863
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "kds-status-block-icon", children: icon && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("i", { className: "material-symbols-outlined", children: icon }) }),
1864
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { children: [
1865
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("h2", { className: "kds-status-block-title", children: title }),
1866
+ description && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("p", { className: "kds-status-block-description", children: description })
1841
1867
  ] })
1842
1868
  ] })
1843
1869
  );
1844
1870
  KdsStatusBlock.displayName = "KdsStatusBlock";
1845
1871
 
1846
1872
  // src/components/core/KdsStepper/KdsStepper.tsx
1847
- var import_react23 = require("react");
1848
- var import_jsx_runtime22 = require("react/jsx-runtime");
1849
- var KdsStepper = (0, import_react23.forwardRef)(
1850
- ({ steps, current, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-stepper", className), ...props, children: steps.map((label, i) => /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1873
+ var import_react24 = require("react");
1874
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1875
+ var KdsStepper = (0, import_react24.forwardRef)(
1876
+ ({ steps, current, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-stepper", className), ...props, children: steps.map((label, i) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1851
1877
  "div",
1852
1878
  {
1853
1879
  className: (0, import_clsx.clsx)("kds-step", i < current && "completed", i === current && "current"),
1854
1880
  children: [
1855
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "kds-step-indicator" }),
1856
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "kds-step-label", children: label })
1881
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "kds-step-indicator" }),
1882
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "kds-step-label", children: label })
1857
1883
  ]
1858
1884
  },
1859
1885
  `${i}-${label}`
@@ -1862,12 +1888,12 @@ var KdsStepper = (0, import_react23.forwardRef)(
1862
1888
  KdsStepper.displayName = "KdsStepper";
1863
1889
 
1864
1890
  // src/components/core/KdsCopyRow/KdsCopyRow.tsx
1865
- var import_react24 = require("react");
1866
- var import_jsx_runtime23 = require("react/jsx-runtime");
1867
- var KdsCopyRow = (0, import_react24.forwardRef)(
1891
+ var import_react25 = require("react");
1892
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1893
+ var KdsCopyRow = (0, import_react25.forwardRef)(
1868
1894
  ({ label, value, copiedText = "Copiado", className, ...props }, ref) => {
1869
1895
  const { copied, copy } = useCopyToClipboard();
1870
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1896
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1871
1897
  "button",
1872
1898
  {
1873
1899
  ref,
@@ -1878,13 +1904,13 @@ var KdsCopyRow = (0, import_react24.forwardRef)(
1878
1904
  "aria-label": `Copiar ${label}: ${value}`,
1879
1905
  ...props,
1880
1906
  children: [
1881
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("i", { className: "material-symbols-outlined", "aria-hidden": "true", children: "content_copy" }),
1882
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { children: [
1883
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "kds-copy-row-label", children: label }),
1884
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "kds-copy-row-value", children: value })
1907
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("i", { className: "material-symbols-outlined", "aria-hidden": "true", children: "content_copy" }),
1908
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { children: [
1909
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "kds-copy-row-label", children: label }),
1910
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "kds-copy-row-value", children: value })
1885
1911
  ] }),
1886
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("span", { className: "kds-copy-toast", "aria-hidden": "true", children: [
1887
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("i", { className: "material-symbols-outlined", children: "check_circle" }),
1912
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("span", { className: "kds-copy-toast", "aria-hidden": "true", children: [
1913
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("i", { className: "material-symbols-outlined", children: "check_circle" }),
1888
1914
  " ",
1889
1915
  copiedText
1890
1916
  ] })
@@ -1896,8 +1922,8 @@ var KdsCopyRow = (0, import_react24.forwardRef)(
1896
1922
  KdsCopyRow.displayName = "KdsCopyRow";
1897
1923
 
1898
1924
  // src/components/core/KdsCopyableTable/KdsCopyableTable.tsx
1899
- var import_react25 = require("react");
1900
- var import_jsx_runtime24 = require("react/jsx-runtime");
1925
+ var import_react26 = require("react");
1926
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1901
1927
  async function copyToClipboard(text) {
1902
1928
  try {
1903
1929
  if (navigator.clipboard?.writeText) {
@@ -1929,18 +1955,18 @@ function GridVariant({
1929
1955
  forwardedRef,
1930
1956
  rest
1931
1957
  }) {
1932
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1958
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1933
1959
  "div",
1934
1960
  {
1935
1961
  ref: forwardedRef,
1936
1962
  className: (0, import_clsx.clsx)("kds-copyable-table", "kds-copyable-table--grid", className),
1937
1963
  ...rest,
1938
- children: gridRows.map((cells, rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1964
+ children: gridRows.map((cells, rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1939
1965
  "div",
1940
1966
  {
1941
1967
  className: "kds-copyable-table-row kds-copyable-table-row--grid",
1942
1968
  "data-testid": "kds-grid-row",
1943
- children: cells.map((text, cellIndex) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1969
+ children: cells.map((text, cellIndex) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1944
1970
  "span",
1945
1971
  {
1946
1972
  className: (0, import_clsx.clsx)("kds-grid-cell", disabled && "kds-grid-cell--disabled"),
@@ -1963,12 +1989,12 @@ function CopyableVariant({
1963
1989
  forwardedRef,
1964
1990
  rest
1965
1991
  }) {
1966
- const copiedTimers = (0, import_react25.useRef)(/* @__PURE__ */ new Map());
1967
- const settlingTimers = (0, import_react25.useRef)(/* @__PURE__ */ new Map());
1968
- const [copiedRows, setCopiedRows] = (0, import_react25.useState)(/* @__PURE__ */ new Set());
1969
- const [settlingRows, setSettlingRows] = (0, import_react25.useState)(/* @__PURE__ */ new Set());
1970
- const [allCopied, setAllCopied] = (0, import_react25.useState)(false);
1971
- const markCopied = (0, import_react25.useCallback)((indexes, duration = 1500) => {
1992
+ const copiedTimers = (0, import_react26.useRef)(/* @__PURE__ */ new Map());
1993
+ const settlingTimers = (0, import_react26.useRef)(/* @__PURE__ */ new Map());
1994
+ const [copiedRows, setCopiedRows] = (0, import_react26.useState)(/* @__PURE__ */ new Set());
1995
+ const [settlingRows, setSettlingRows] = (0, import_react26.useState)(/* @__PURE__ */ new Set());
1996
+ const [allCopied, setAllCopied] = (0, import_react26.useState)(false);
1997
+ const markCopied = (0, import_react26.useCallback)((indexes, duration = 1500) => {
1972
1998
  setCopiedRows((prev) => {
1973
1999
  const next = new Set(prev);
1974
2000
  indexes.forEach((i) => next.add(i));
@@ -2027,8 +2053,8 @@ function CopyableVariant({
2027
2053
  setTimeout(() => setAllCopied(false), 2e3);
2028
2054
  }
2029
2055
  };
2030
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_jsx_runtime24.Fragment, { children: [
2031
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { ref: forwardedRef, className: (0, import_clsx.clsx)("kds-copyable-table", className), ...rest, children: rows.map((row, i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2056
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
2057
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { ref: forwardedRef, className: (0, import_clsx.clsx)("kds-copyable-table", className), ...rest, children: rows.map((row, i) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2032
2058
  "div",
2033
2059
  {
2034
2060
  className: (0, import_clsx.clsx)(
@@ -2047,13 +2073,13 @@ function CopyableVariant({
2047
2073
  },
2048
2074
  "aria-label": `Copiar ${row.label}: ${row.value}`,
2049
2075
  children: [
2050
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "kds-key", children: row.label }),
2051
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "kds-value", children: row.value })
2076
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "kds-key", children: row.label }),
2077
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "kds-value", children: row.value })
2052
2078
  ]
2053
2079
  },
2054
2080
  `${row.label}-${i}`
2055
2081
  )) }),
2056
- showCopyAll && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2082
+ showCopyAll && /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2057
2083
  "button",
2058
2084
  {
2059
2085
  type: "button",
@@ -2067,14 +2093,14 @@ function CopyableVariant({
2067
2093
  onClick: handleCopyAll,
2068
2094
  "aria-label": allCopied ? copiedAllLabel : copyAllLabel,
2069
2095
  children: [
2070
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "kds-icon", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("i", { className: "material-symbols-outlined", children: allCopied ? "check" : "content_copy" }) }),
2071
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { children: allCopied ? copiedAllLabel : copyAllLabel })
2096
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "kds-icon", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("i", { className: "material-symbols-outlined", children: allCopied ? "check" : "content_copy" }) }),
2097
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { children: allCopied ? copiedAllLabel : copyAllLabel })
2072
2098
  ]
2073
2099
  }
2074
2100
  )
2075
2101
  ] });
2076
2102
  }
2077
- var KdsCopyableTable = (0, import_react25.forwardRef)(
2103
+ var KdsCopyableTable = (0, import_react26.forwardRef)(
2078
2104
  ({
2079
2105
  rows = [],
2080
2106
  variant = "copyable",
@@ -2087,7 +2113,7 @@ var KdsCopyableTable = (0, import_react25.forwardRef)(
2087
2113
  ...props
2088
2114
  }, ref) => {
2089
2115
  if (variant === "grid") {
2090
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2116
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2091
2117
  GridVariant,
2092
2118
  {
2093
2119
  gridRows,
@@ -2098,7 +2124,7 @@ var KdsCopyableTable = (0, import_react25.forwardRef)(
2098
2124
  }
2099
2125
  );
2100
2126
  }
2101
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2127
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2102
2128
  CopyableVariant,
2103
2129
  {
2104
2130
  rows,
@@ -2115,35 +2141,35 @@ var KdsCopyableTable = (0, import_react25.forwardRef)(
2115
2141
  KdsCopyableTable.displayName = "KdsCopyableTable";
2116
2142
 
2117
2143
  // src/components/core/KdsExpandPanel/KdsExpandPanel.tsx
2118
- var import_react26 = require("react");
2119
- var import_jsx_runtime25 = require("react/jsx-runtime");
2120
- var KdsExpandPanel = (0, import_react26.forwardRef)(
2144
+ var import_react27 = require("react");
2145
+ var import_jsx_runtime26 = require("react/jsx-runtime");
2146
+ var KdsExpandPanel = (0, import_react27.forwardRef)(
2121
2147
  ({ label, defaultExpanded = false, children, className, ...props }, ref) => {
2122
- const [expanded, setExpanded] = (0, import_react26.useState)(defaultExpanded);
2123
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { ref, className, ...props, children: [
2124
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2148
+ const [expanded, setExpanded] = (0, import_react27.useState)(defaultExpanded);
2149
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { ref, className, ...props, children: [
2150
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2125
2151
  "button",
2126
2152
  {
2127
2153
  className: "kds-expand-toggle",
2128
2154
  onClick: () => setExpanded((v) => !v),
2129
2155
  "aria-expanded": expanded,
2130
2156
  children: [
2131
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { children: label }),
2132
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("i", { className: "material-symbols-outlined", children: expanded ? "expand_less" : "expand_more" })
2157
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { children: label }),
2158
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("i", { className: "material-symbols-outlined", children: expanded ? "expand_less" : "expand_more" })
2133
2159
  ]
2134
2160
  }
2135
2161
  ),
2136
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: (0, import_clsx.clsx)("kds-expand-panel", expanded && "open"), hidden: !expanded, children })
2162
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: (0, import_clsx.clsx)("kds-expand-panel", expanded && "open"), hidden: !expanded, children })
2137
2163
  ] });
2138
2164
  }
2139
2165
  );
2140
2166
  KdsExpandPanel.displayName = "KdsExpandPanel";
2141
2167
 
2142
2168
  // src/components/core/KdsCountdown/KdsCountdown.tsx
2143
- var import_react28 = require("react");
2169
+ var import_react29 = require("react");
2144
2170
 
2145
2171
  // src/components/core/hooks/useCountdown.ts
2146
- var import_react27 = require("react");
2172
+ var import_react28 = require("react");
2147
2173
  function calcRemaining(deadline) {
2148
2174
  const diff = Math.max(0, new Date(deadline).getTime() - Date.now());
2149
2175
  const totalSeconds = Math.floor(diff / 1e3);
@@ -2156,8 +2182,8 @@ function calcRemaining(deadline) {
2156
2182
  };
2157
2183
  }
2158
2184
  function useCountdown(deadline) {
2159
- const [state, setState] = (0, import_react27.useState)(() => calcRemaining(deadline));
2160
- (0, import_react27.useEffect)(() => {
2185
+ const [state, setState] = (0, import_react28.useState)(() => calcRemaining(deadline));
2186
+ (0, import_react28.useEffect)(() => {
2161
2187
  const tick = () => setState(calcRemaining(deadline));
2162
2188
  const id = setInterval(tick, 1e3);
2163
2189
  return () => clearInterval(id);
@@ -2166,13 +2192,13 @@ function useCountdown(deadline) {
2166
2192
  }
2167
2193
 
2168
2194
  // src/components/core/KdsCountdown/KdsCountdown.tsx
2169
- var import_jsx_runtime26 = require("react/jsx-runtime");
2170
- var KdsCountdown = (0, import_react28.forwardRef)(
2195
+ var import_jsx_runtime27 = require("react/jsx-runtime");
2196
+ var KdsCountdown = (0, import_react29.forwardRef)(
2171
2197
  ({ deadline, label, onExpire, className, ...props }, ref) => {
2172
2198
  const { hours, minutes, seconds, expired, urgent } = useCountdown(deadline);
2173
- const onExpireRef = (0, import_react28.useRef)(onExpire);
2199
+ const onExpireRef = (0, import_react29.useRef)(onExpire);
2174
2200
  onExpireRef.current = onExpire;
2175
- (0, import_react28.useEffect)(() => {
2201
+ (0, import_react29.useEffect)(() => {
2176
2202
  if (expired) {
2177
2203
  onExpireRef.current?.();
2178
2204
  }
@@ -2181,9 +2207,9 @@ var KdsCountdown = (0, import_react28.forwardRef)(
2181
2207
  return null;
2182
2208
  }
2183
2209
  const pad = (n) => String(n).padStart(2, "0");
2184
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { ref, className: (0, import_clsx.clsx)("kds-countdown", urgent && "urgent", className), ...props, children: [
2185
- label && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "kds-countdown-label", children: label }),
2186
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: "kds-countdown-value", children: [
2210
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { ref, className: (0, import_clsx.clsx)("kds-countdown", urgent && "urgent", className), ...props, children: [
2211
+ label && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "kds-countdown-label", children: label }),
2212
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("span", { className: "kds-countdown-value", children: [
2187
2213
  pad(hours),
2188
2214
  ":",
2189
2215
  pad(minutes),
@@ -2196,18 +2222,18 @@ var KdsCountdown = (0, import_react28.forwardRef)(
2196
2222
  KdsCountdown.displayName = "KdsCountdown";
2197
2223
 
2198
2224
  // src/components/core/KdsSegmentedTabs/KdsSegmentedTabs.tsx
2199
- var import_react29 = require("react");
2200
- var import_jsx_runtime27 = require("react/jsx-runtime");
2201
- var KdsSegmentedTabs = (0, import_react29.forwardRef)(
2202
- (props, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(KdsTabs, { ref, ...props })
2225
+ var import_react30 = require("react");
2226
+ var import_jsx_runtime28 = require("react/jsx-runtime");
2227
+ var KdsSegmentedTabs = (0, import_react30.forwardRef)(
2228
+ (props, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(KdsTabs, { ref, ...props })
2203
2229
  );
2204
2230
  KdsSegmentedTabs.displayName = "KdsSegmentedTabs";
2205
2231
 
2206
2232
  // src/components/domain/KdsBankRow/KdsBankRow.tsx
2207
- var import_react30 = require("react");
2208
- var import_jsx_runtime28 = require("react/jsx-runtime");
2209
- var KdsBankRow = (0, import_react30.forwardRef)(
2210
- ({ name, logoUrl, selected, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2233
+ var import_react31 = require("react");
2234
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2235
+ var KdsBankRow = (0, import_react31.forwardRef)(
2236
+ ({ name, logoUrl, selected, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2211
2237
  "button",
2212
2238
  {
2213
2239
  ref,
@@ -2215,9 +2241,9 @@ var KdsBankRow = (0, import_react30.forwardRef)(
2215
2241
  className: (0, import_clsx.clsx)("kds-bank-row", selected && "selected", className),
2216
2242
  ...props,
2217
2243
  children: [
2218
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "kds-bank-row-logo", children: logoUrl ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("img", { src: logoUrl, alt: name }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "initials", children: name.charAt(0) }) }),
2219
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "kds-bank-row-name", children: name }),
2220
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("i", { className: "material-symbols-outlined", children: selected ? "check_circle" : "chevron_right" })
2244
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "kds-bank-row-logo", children: logoUrl ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("img", { src: logoUrl, alt: name }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "initials", children: name.charAt(0) }) }),
2245
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "kds-bank-row-name", children: name }),
2246
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("i", { className: "material-symbols-outlined", children: selected ? "check_circle" : "chevron_right" })
2221
2247
  ]
2222
2248
  }
2223
2249
  )
@@ -2225,67 +2251,66 @@ var KdsBankRow = (0, import_react30.forwardRef)(
2225
2251
  KdsBankRow.displayName = "KdsBankRow";
2226
2252
 
2227
2253
  // src/components/domain/KdsBankList/KdsBankList.tsx
2228
- var import_react31 = require("react");
2229
- var import_jsx_runtime29 = require("react/jsx-runtime");
2230
- var KdsBankList = (0, import_react31.forwardRef)(
2231
- ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-bank-list", className), role: "list", ...props, children })
2254
+ var import_react32 = require("react");
2255
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2256
+ var KdsBankList = (0, import_react32.forwardRef)(
2257
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-bank-list", className), role: "list", ...props, children })
2232
2258
  );
2233
2259
  KdsBankList.displayName = "KdsBankList";
2234
2260
 
2235
2261
  // src/components/domain/KdsBankModal/KdsBankModal.tsx
2236
- var import_react32 = require("react");
2262
+ var import_react33 = require("react");
2237
2263
  var Dialog = __toESM(require("@radix-ui/react-dialog"));
2238
- var import_jsx_runtime30 = require("react/jsx-runtime");
2239
- var KdsBankModal = (0, import_react32.forwardRef)(
2264
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2265
+ var KdsBankModal = (0, import_react33.forwardRef)(
2240
2266
  ({ open, onClose, title = "Selecciona tu banco", searchPlaceholder = "Buscar banco...", onSearch, children, className, container }, ref) => {
2241
- const [query, setQuery] = (0, import_react32.useState)("");
2267
+ const [query, setQuery] = (0, import_react33.useState)("");
2242
2268
  const handleSearch = (value) => {
2243
2269
  setQuery(value);
2244
2270
  onSearch?.(value);
2245
2271
  };
2246
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Dialog.Root, { open, onOpenChange: (o) => {
2272
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Dialog.Root, { open, onOpenChange: (o) => {
2247
2273
  if (!o) onClose();
2248
- }, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Dialog.Portal, { container, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Dialog.Overlay, { className: "kds-bank-modal-scrim open", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Dialog.Content, { ref, className: (0, import_clsx.clsx)("kds-bank-modal", className), children: [
2249
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "kds-bank-modal-header", children: [
2250
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Dialog.Title, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("h3", { children: title }) }),
2251
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("button", { className: "kds-bank-modal-close", "aria-label": "Cerrar", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("i", { className: "material-symbols-outlined", children: "close" }) }) })
2274
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Dialog.Portal, { container, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Dialog.Overlay, { className: "kds-bank-modal-scrim open", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Dialog.Content, { ref, className: (0, import_clsx.clsx)("kds-bank-modal", className), children: [
2275
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "kds-bank-modal-header", children: [
2276
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Dialog.Title, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("h3", { children: title }) }),
2277
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("button", { className: "kds-bank-modal-close", "aria-label": "Cerrar", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("i", { className: "material-symbols-outlined", children: "close" }) }) })
2252
2278
  ] }),
2253
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "kds-bank-modal-search", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2254
- "input",
2279
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "kds-bank-modal-search", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2280
+ KdsSearchField,
2255
2281
  {
2256
- type: "text",
2257
2282
  placeholder: searchPlaceholder,
2258
2283
  value: query,
2259
2284
  onChange: (e) => handleSearch(e.target.value)
2260
2285
  }
2261
2286
  ) }),
2262
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "kds-bank-modal-body", children })
2287
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "kds-bank-modal-body", children })
2263
2288
  ] }) }) }) });
2264
2289
  }
2265
2290
  );
2266
2291
  KdsBankModal.displayName = "KdsBankModal";
2267
2292
 
2268
2293
  // src/components/domain/KdsQrRow/KdsQrRow.tsx
2269
- var import_react33 = require("react");
2270
- var import_jsx_runtime31 = require("react/jsx-runtime");
2271
- var KdsQrRow = (0, import_react33.forwardRef)(
2272
- ({ name, description, badge, icon = "qr_code_2", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("button", { ref, type: "button", className: (0, import_clsx.clsx)("kds-qr-row", className), ...props, children: [
2273
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "kds-qr-avatar", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("i", { className: "material-symbols-outlined", children: icon }) }),
2274
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("span", { className: "kds-qr-text", children: [
2275
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "kds-qr-title", children: name }),
2276
- description && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "kds-qr-subtitle", children: description })
2294
+ var import_react34 = require("react");
2295
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2296
+ var KdsQrRow = (0, import_react34.forwardRef)(
2297
+ ({ name, description, badge, icon = "qr_code_2", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("button", { ref, type: "button", className: (0, import_clsx.clsx)("kds-qr-row", className), ...props, children: [
2298
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "kds-qr-avatar", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("i", { className: "material-symbols-outlined", children: icon }) }),
2299
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("span", { className: "kds-qr-text", children: [
2300
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "kds-qr-title", children: name }),
2301
+ description && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "kds-qr-subtitle", children: description })
2277
2302
  ] }),
2278
- badge && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "kds-qr-badge", children: badge }),
2279
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("i", { className: "material-symbols-outlined", children: "chevron_right" })
2303
+ badge && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "kds-qr-badge", children: badge }),
2304
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("i", { className: "material-symbols-outlined", children: "chevron_right" })
2280
2305
  ] })
2281
2306
  );
2282
2307
  KdsQrRow.displayName = "KdsQrRow";
2283
2308
 
2284
2309
  // src/components/domain/KdsCardSelector/KdsCardSelector.tsx
2285
- var import_react34 = require("react");
2286
- var import_jsx_runtime32 = require("react/jsx-runtime");
2287
- var KdsCardSelector = (0, import_react34.forwardRef)(
2288
- ({ icon, title, description, selected, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2310
+ var import_react35 = require("react");
2311
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2312
+ var KdsCardSelector = (0, import_react35.forwardRef)(
2313
+ ({ icon, title, description, selected, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2289
2314
  "button",
2290
2315
  {
2291
2316
  ref,
@@ -2293,9 +2318,9 @@ var KdsCardSelector = (0, import_react34.forwardRef)(
2293
2318
  className: (0, import_clsx.clsx)("kds-card-selector", selected && "selected", className),
2294
2319
  ...props,
2295
2320
  children: [
2296
- icon && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "kds-card-selector-icon", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("i", { className: "material-symbols-outlined", children: icon }) }),
2297
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "kds-card-selector-title", children: title }),
2298
- description && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "kds-card-selector-description", children: description })
2321
+ icon && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "kds-card-selector-icon", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("i", { className: "material-symbols-outlined", children: icon }) }),
2322
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "kds-card-selector-title", children: title }),
2323
+ description && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "kds-card-selector-description", children: description })
2299
2324
  ]
2300
2325
  }
2301
2326
  )
@@ -2303,26 +2328,26 @@ var KdsCardSelector = (0, import_react34.forwardRef)(
2303
2328
  KdsCardSelector.displayName = "KdsCardSelector";
2304
2329
 
2305
2330
  // src/components/domain/KdsCardPlan/KdsCardPlan.tsx
2306
- var import_react35 = require("react");
2307
- var import_jsx_runtime33 = require("react/jsx-runtime");
2308
- var KdsCardPlan = (0, import_react35.forwardRef)(
2309
- ({ title, price, period, features, recommended, badgeText, action, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2331
+ var import_react36 = require("react");
2332
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2333
+ var KdsCardPlan = (0, import_react36.forwardRef)(
2334
+ ({ title, price, period, features, recommended, badgeText, action, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2310
2335
  "div",
2311
2336
  {
2312
2337
  ref,
2313
2338
  className: (0, import_clsx.clsx)("kds-card-plan", recommended && "recommended", className),
2314
2339
  ...props,
2315
2340
  children: [
2316
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "kds-card-plan-header", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("h3", { children: title }) }),
2317
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "kds-card-plan-price", children: [
2318
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "kds-price", children: price }),
2319
- period && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("span", { className: "kds-price-period", children: [
2341
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "kds-card-plan-header", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("h3", { children: title }) }),
2342
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "kds-card-plan-price", children: [
2343
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "kds-price", children: price }),
2344
+ period && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("span", { className: "kds-price-period", children: [
2320
2345
  "/",
2321
2346
  period
2322
2347
  ] })
2323
2348
  ] }),
2324
- badgeText && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "kds-card-plan-badge", children: badgeText }),
2325
- features && features.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("ul", { className: "kds-card-plan-features", children: features.map((f, i) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("li", { children: f }, i)) }),
2349
+ badgeText && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "kds-card-plan-badge", children: badgeText }),
2350
+ features && features.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("ul", { className: "kds-card-plan-features", children: features.map((f, i) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("li", { children: f }, i)) }),
2326
2351
  action
2327
2352
  ]
2328
2353
  }
@@ -2331,18 +2356,18 @@ var KdsCardPlan = (0, import_react35.forwardRef)(
2331
2356
  KdsCardPlan.displayName = "KdsCardPlan";
2332
2357
 
2333
2358
  // src/components/domain/KdsInvoiceSticky/KdsInvoiceSticky.tsx
2334
- var import_react36 = require("react");
2335
- var import_jsx_runtime34 = require("react/jsx-runtime");
2336
- var KdsInvoiceSticky = (0, import_react36.forwardRef)(
2337
- ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-card-elevated", "kds-invoice-sticky", className), ...props, children })
2359
+ var import_react37 = require("react");
2360
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2361
+ var KdsInvoiceSticky = (0, import_react37.forwardRef)(
2362
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-card-elevated", "kds-invoice-sticky", className), ...props, children })
2338
2363
  );
2339
2364
  KdsInvoiceSticky.displayName = "KdsInvoiceSticky";
2340
2365
 
2341
2366
  // src/components/domain/KdsBottomSheet/KdsBottomSheet.tsx
2342
- var import_react37 = require("react");
2367
+ var import_react38 = require("react");
2343
2368
  var Dialog2 = __toESM(require("@radix-ui/react-dialog"));
2344
- var import_jsx_runtime35 = require("react/jsx-runtime");
2345
- var KdsBottomSheet = (0, import_react37.forwardRef)(
2369
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2370
+ var KdsBottomSheet = (0, import_react38.forwardRef)(
2346
2371
  ({
2347
2372
  open,
2348
2373
  onClose,
@@ -2354,14 +2379,14 @@ var KdsBottomSheet = (0, import_react37.forwardRef)(
2354
2379
  showCloseButton = false,
2355
2380
  container,
2356
2381
  className
2357
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2382
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2358
2383
  Dialog2.Root,
2359
2384
  {
2360
2385
  open,
2361
2386
  onOpenChange: (o) => {
2362
2387
  if (!o) onClose();
2363
2388
  },
2364
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Dialog2.Portal, { container, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Dialog2.Overlay, { className: "kds-bottom-sheet-scrim open", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2389
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Dialog2.Portal, { container, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Dialog2.Overlay, { className: "kds-bottom-sheet-scrim open", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2365
2390
  Dialog2.Content,
2366
2391
  {
2367
2392
  ref,
@@ -2371,20 +2396,20 @@ var KdsBottomSheet = (0, import_react37.forwardRef)(
2371
2396
  if (target.closest(".kds-bottom-sheet")) e.preventDefault();
2372
2397
  },
2373
2398
  children: [
2374
- showGrabber && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "kds-bottom-sheet-grabber", "aria-hidden": "true" }),
2375
- showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2399
+ showGrabber && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "kds-bottom-sheet-grabber", "aria-hidden": "true" }),
2400
+ showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2376
2401
  "button",
2377
2402
  {
2378
2403
  type: "button",
2379
2404
  className: "kds-bottom-sheet-close",
2380
2405
  "aria-label": "Cerrar",
2381
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("i", { className: "material-symbols-outlined", children: "close" })
2406
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("i", { className: "material-symbols-outlined", children: "close" })
2382
2407
  }
2383
2408
  ) }),
2384
- title && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Dialog2.Title, { className: "kds-bottom-sheet-title", children: title }),
2385
- description && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Dialog2.Description, { className: "kds-bottom-sheet-description", children: description }),
2386
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "kds-bottom-sheet-body", children }),
2387
- actions && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "kds-bottom-sheet-actions", children: actions })
2409
+ title && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Dialog2.Title, { className: "kds-bottom-sheet-title", children: title }),
2410
+ description && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Dialog2.Description, { className: "kds-bottom-sheet-description", children: description }),
2411
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "kds-bottom-sheet-body", children }),
2412
+ actions && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "kds-bottom-sheet-actions", children: actions })
2388
2413
  ]
2389
2414
  }
2390
2415
  ) }) })
@@ -2394,55 +2419,55 @@ var KdsBottomSheet = (0, import_react37.forwardRef)(
2394
2419
  KdsBottomSheet.displayName = "KdsBottomSheet";
2395
2420
 
2396
2421
  // src/components/domain/KdsSecureFooter/KdsSecureFooter.tsx
2397
- var import_react38 = require("react");
2398
- var import_jsx_runtime36 = require("react/jsx-runtime");
2399
- var KdsSecureFooter = (0, import_react38.forwardRef)(
2400
- ({ variant = "default", children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("footer", { ref, className: (0, import_clsx.clsx)("kds-secure-footer", variant === "inside" && "inside", className), ...props, children: [
2401
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("i", { className: "material-symbols-outlined", children: "lock" }),
2402
- children || /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { children: "Pago seguro con Khipu" })
2422
+ var import_react39 = require("react");
2423
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2424
+ var KdsSecureFooter = (0, import_react39.forwardRef)(
2425
+ ({ 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: [
2426
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("i", { className: "material-symbols-outlined", children: "lock" }),
2427
+ children || /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { children: "Pago seguro con Khipu" })
2403
2428
  ] })
2404
2429
  );
2405
2430
  KdsSecureFooter.displayName = "KdsSecureFooter";
2406
2431
 
2407
2432
  // src/components/domain/KdsRecapList/KdsRecapList.tsx
2408
- var import_react39 = require("react");
2409
- var import_jsx_runtime37 = require("react/jsx-runtime");
2410
- var KdsRecapList = (0, import_react39.forwardRef)(
2411
- ({ items, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("ul", { ref, className: (0, import_clsx.clsx)("kds-recap-list", className), ...props, children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("li", { children: [
2412
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "kds-key", children: item.label }),
2413
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: (0, import_clsx.clsx)("kds-value", !item.value && item.placeholder && "placeholder"), children: item.value || item.placeholder || "-" })
2433
+ var import_react40 = require("react");
2434
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2435
+ var KdsRecapList = (0, import_react40.forwardRef)(
2436
+ ({ 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: [
2437
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "kds-key", children: item.label }),
2438
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: (0, import_clsx.clsx)("kds-value", !item.value && item.placeholder && "placeholder"), children: item.value || item.placeholder || "-" })
2414
2439
  ] }, i)) })
2415
2440
  );
2416
2441
  KdsRecapList.displayName = "KdsRecapList";
2417
2442
 
2418
2443
  // src/components/domain/KdsMontoRow/KdsMontoRow.tsx
2419
- var import_react40 = require("react");
2420
- var import_jsx_runtime38 = require("react/jsx-runtime");
2421
- var KdsMontoRow = (0, import_react40.forwardRef)(
2422
- ({ title, value, deadline, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { ref, className: (0, import_clsx.clsx)("kds-monto-row", className), ...props, children: [
2423
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { children: [
2424
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "kds-monto-row-title", children: title }),
2425
- deadline && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "kds-monto-row-deadline", children: deadline })
2444
+ var import_react41 = require("react");
2445
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2446
+ var KdsMontoRow = (0, import_react41.forwardRef)(
2447
+ ({ 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: [
2448
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { children: [
2449
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "kds-monto-row-title", children: title }),
2450
+ deadline && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "kds-monto-row-deadline", children: deadline })
2426
2451
  ] }),
2427
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "kds-monto-row-value", children: value })
2452
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "kds-monto-row-value", children: value })
2428
2453
  ] })
2429
2454
  );
2430
2455
  KdsMontoRow.displayName = "KdsMontoRow";
2431
2456
 
2432
2457
  // src/components/domain/KdsMerchantTile/KdsMerchantTile.tsx
2433
- var import_react41 = require("react");
2434
- var import_jsx_runtime39 = require("react/jsx-runtime");
2435
- var KdsMerchantTile = (0, import_react41.forwardRef)(
2458
+ var import_react42 = require("react");
2459
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2460
+ var KdsMerchantTile = (0, import_react42.forwardRef)(
2436
2461
  ({ name, logoUrl, initials, compact, className, ...props }, ref) => {
2437
2462
  const displayInitials = (initials ?? name.slice(0, 2)).toUpperCase();
2438
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2463
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2439
2464
  "div",
2440
2465
  {
2441
2466
  ref,
2442
2467
  className: (0, import_clsx.clsx)("kds-merchant-tile", logoUrl && "logo", compact && "compact", className),
2443
2468
  "aria-label": name,
2444
2469
  ...props,
2445
- children: logoUrl ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("img", { src: logoUrl, alt: name }) : displayInitials
2470
+ children: logoUrl ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("img", { src: logoUrl, alt: name }) : displayInitials
2446
2471
  }
2447
2472
  );
2448
2473
  }
@@ -2450,9 +2475,9 @@ var KdsMerchantTile = (0, import_react41.forwardRef)(
2450
2475
  KdsMerchantTile.displayName = "KdsMerchantTile";
2451
2476
 
2452
2477
  // src/components/domain/KdsPaymentTotal/KdsPaymentTotal.tsx
2453
- var import_react42 = require("react");
2454
- var import_jsx_runtime40 = require("react/jsx-runtime");
2455
- var KdsPaymentTotal = (0, import_react42.forwardRef)(
2478
+ var import_react43 = require("react");
2479
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2480
+ var KdsPaymentTotal = (0, import_react43.forwardRef)(
2456
2481
  ({
2457
2482
  variant = "default",
2458
2483
  tone = "brand",
@@ -2470,7 +2495,7 @@ var KdsPaymentTotal = (0, import_react42.forwardRef)(
2470
2495
  const { integer, fraction } = formatAmount(amount, decimals, locale);
2471
2496
  const isEmail = variant === "email";
2472
2497
  const isInfoTone = tone === "info";
2473
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
2498
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
2474
2499
  "div",
2475
2500
  {
2476
2501
  ref,
@@ -2483,14 +2508,14 @@ var KdsPaymentTotal = (0, import_react42.forwardRef)(
2483
2508
  ),
2484
2509
  ...props,
2485
2510
  children: [
2486
- !isEmail && title != null && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("h5", { className: "kds-payment-total-title", children: title }),
2487
- !isEmail && titleMobile != null && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("h5", { className: "kds-payment-total-title-mobile", children: titleMobile }),
2488
- label != null && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("h6", { className: "kds-payment-label", children: label }),
2489
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("h5", { className: "kds-payment-amount", children: [
2511
+ !isEmail && title != null && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("h5", { className: "kds-payment-total-title", children: title }),
2512
+ !isEmail && titleMobile != null && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("h5", { className: "kds-payment-total-title-mobile", children: titleMobile }),
2513
+ label != null && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("h6", { className: "kds-payment-label", children: label }),
2514
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("h5", { className: "kds-payment-amount", children: [
2490
2515
  currency,
2491
2516
  " ",
2492
2517
  integer,
2493
- fraction !== null && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("sup", { className: "kds-payment-total-decimal-sup", children: fraction })
2518
+ fraction !== null && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("sup", { className: "kds-payment-total-decimal-sup", children: fraction })
2494
2519
  ] })
2495
2520
  ]
2496
2521
  }
@@ -2526,10 +2551,10 @@ function formatAmount(amount, decimals, locale) {
2526
2551
  }
2527
2552
 
2528
2553
  // src/components/domain/KdsBillAttachment/KdsBillAttachment.tsx
2529
- var import_react43 = require("react");
2530
- var import_jsx_runtime41 = require("react/jsx-runtime");
2531
- var KdsBillAttachment = (0, import_react43.forwardRef)(
2532
- ({ filename, href, icon = "attach_file", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
2554
+ var import_react44 = require("react");
2555
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2556
+ var KdsBillAttachment = (0, import_react44.forwardRef)(
2557
+ ({ filename, href, icon = "attach_file", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2533
2558
  "a",
2534
2559
  {
2535
2560
  ref,
@@ -2539,15 +2564,15 @@ var KdsBillAttachment = (0, import_react43.forwardRef)(
2539
2564
  className: (0, import_clsx.clsx)("kds-bill-attachment", className),
2540
2565
  ...props,
2541
2566
  children: [
2542
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("i", { className: "material-symbols-outlined", children: icon }),
2543
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { children: filename })
2567
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("i", { className: "material-symbols-outlined", children: icon }),
2568
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { children: filename })
2544
2569
  ]
2545
2570
  }
2546
2571
  )
2547
2572
  );
2548
2573
  KdsBillAttachment.displayName = "KdsBillAttachment";
2549
- var KdsBillAttachments = (0, import_react43.forwardRef)(
2550
- ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-bill-attachments", className), ...props, children })
2574
+ var KdsBillAttachments = (0, import_react44.forwardRef)(
2575
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { ref, className: (0, import_clsx.clsx)("kds-bill-attachments", className), ...props, children })
2551
2576
  );
2552
2577
  KdsBillAttachments.displayName = "KdsBillAttachments";
2553
2578
  // Annotate the CommonJS export names for ESM import in node:
@@ -2585,6 +2610,7 @@ KdsBillAttachments.displayName = "KdsBillAttachments";
2585
2610
  KdsQrRow,
2586
2611
  KdsRadioGroup,
2587
2612
  KdsRecapList,
2613
+ KdsSearchField,
2588
2614
  KdsSectionNote,
2589
2615
  KdsSecureFooter,
2590
2616
  KdsSecureLoader,