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

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.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
3
  import React__default from 'react';
4
- import * as Select from '@radix-ui/react-select';
5
4
  export { clsx } from 'clsx';
6
5
 
7
6
  interface KdsThemeProviderProps {
@@ -239,6 +238,7 @@ declare const colors: {
239
238
  main: string;
240
239
  light: string;
241
240
  dark: string;
241
+ warm: string;
242
242
  container: string;
243
243
  contrastText: string;
244
244
  };
@@ -255,6 +255,7 @@ declare const colors: {
255
255
  main: string;
256
256
  light: string;
257
257
  dark: string;
258
+ blue: string;
258
259
  container: string;
259
260
  contrastText: string;
260
261
  };
@@ -376,6 +377,7 @@ declare const fontSizes: {
376
377
  readonly '2xl': "1.5rem";
377
378
  readonly '3xl': "1.875rem";
378
379
  readonly '4xl': "2.25rem";
380
+ readonly decimalSup: "0.5em";
379
381
  };
380
382
  declare const lineHeights: {
381
383
  readonly tight: 1.2;
@@ -694,6 +696,7 @@ declare const tokensByMode: {
694
696
  main: string;
695
697
  light: string;
696
698
  dark: string;
699
+ warm: string;
697
700
  container: string;
698
701
  contrastText: string;
699
702
  };
@@ -710,6 +713,7 @@ declare const tokensByMode: {
710
713
  main: string;
711
714
  light: string;
712
715
  dark: string;
716
+ blue: string;
713
717
  container: string;
714
718
  contrastText: string;
715
719
  };
@@ -831,6 +835,7 @@ declare const tokensByMode: {
831
835
  readonly '2xl': "1.5rem";
832
836
  readonly '3xl': "1.875rem";
833
837
  readonly '4xl': "2.25rem";
838
+ readonly decimalSup: "0.5em";
834
839
  };
835
840
  readonly lineHeights: {
836
841
  readonly tight: 1.2;
@@ -1285,6 +1290,7 @@ declare const tokensByMode: {
1285
1290
  main: string;
1286
1291
  light: string;
1287
1292
  dark: string;
1293
+ warm: string;
1288
1294
  container: string;
1289
1295
  contrastText: string;
1290
1296
  };
@@ -1301,6 +1307,7 @@ declare const tokensByMode: {
1301
1307
  main: string;
1302
1308
  light: string;
1303
1309
  dark: string;
1310
+ blue: string;
1304
1311
  container: string;
1305
1312
  contrastText: string;
1306
1313
  };
@@ -1420,6 +1427,7 @@ declare const tokensByMode: {
1420
1427
  readonly '2xl': "1.5rem";
1421
1428
  readonly '3xl': "1.875rem";
1422
1429
  readonly '4xl': "2.25rem";
1430
+ readonly decimalSup: "0.5em";
1423
1431
  };
1424
1432
  readonly lineHeights: {
1425
1433
  readonly tight: 1.2;
@@ -1881,6 +1889,7 @@ declare const tokens: {
1881
1889
  main: string;
1882
1890
  light: string;
1883
1891
  dark: string;
1892
+ warm: string;
1884
1893
  container: string;
1885
1894
  contrastText: string;
1886
1895
  };
@@ -1897,6 +1906,7 @@ declare const tokens: {
1897
1906
  main: string;
1898
1907
  light: string;
1899
1908
  dark: string;
1909
+ blue: string;
1900
1910
  container: string;
1901
1911
  contrastText: string;
1902
1912
  };
@@ -2018,6 +2028,7 @@ declare const tokens: {
2018
2028
  readonly '2xl': "1.5rem";
2019
2029
  readonly '3xl': "1.875rem";
2020
2030
  readonly '4xl': "2.25rem";
2031
+ readonly decimalSup: "0.5em";
2021
2032
  };
2022
2033
  readonly lineHeights: {
2023
2034
  readonly tight: 1.2;
@@ -2475,7 +2486,7 @@ type Typography = typeof typography;
2475
2486
  * Matches the Figma design: Pagos Automáticos - MUI v610
2476
2487
  */
2477
2488
 
2478
- type KdsButtonVariant = 'primary' | 'secondary' | 'outlined' | 'outlined-white' | 'text' | 'success';
2489
+ type KdsButtonVariant = 'primary' | 'secondary' | 'outlined' | 'outlined-white' | 'text' | 'success' | 'warning' | 'error' | 'error-text';
2479
2490
  type KdsButtonSize = 'sm' | 'md';
2480
2491
  interface KdsButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
2481
2492
  /** Visual style variant */
@@ -2496,6 +2507,10 @@ interface KdsButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonE
2496
2507
  *
2497
2508
  * Built with native HTML and kds-* CSS classes from the BeerCSS bundle.
2498
2509
  *
2510
+ * Compose with: para apilar CTAs al pie de una card, envolver en
2511
+ * `.kds-btn-stack` (NO usar gap/margin inline) — primario arriba, outlined
2512
+ * debajo, todos `fullWidth`. Ver `Patterns/CSS-only → ButtonStack`.
2513
+ *
2499
2514
  * @example
2500
2515
  * ```tsx
2501
2516
  * <KdsButton variant="primary">
@@ -2524,120 +2539,118 @@ declare const KdsButton: React__default.ForwardRefExoticComponent<KdsButtonProps
2524
2539
  /**
2525
2540
  * Khipu Design System - TextField Component
2526
2541
  *
2527
- * A text input component built with native HTML and BeerCSS floating labels.
2528
- * Matches the Figma design: Pagos Automáticos - MUI v610
2542
+ * Matchea exactamente el markup que genera `matFieldImpl()` del taglib `mat:textField` de payment:
2543
+ *
2544
+ * <div class="field label border [prefix] [suffix] [invalid|valid|info|warning]">
2545
+ * <i class="material-symbols-outlined">prefixIcon</i> // si startIcon
2546
+ * <input type="..." id="..." name="..." value="..." placeholder=" " [required] [disabled]>
2547
+ * <label for="...">Label [*]</label>
2548
+ * <i class="material-symbols-outlined">suffixIcon</i> // si endIcon
2549
+ * <span class="helper">errorMessage o help</span> // si helperText
2550
+ * </div>
2551
+ *
2552
+ * Reglas críticas del truco floating-label de BeerCSS:
2553
+ * - `placeholder=" "` (un espacio) — NUNCA aceptar placeholder real del consumidor.
2554
+ * BeerCSS usa `input:placeholder-shown ~ label` para mantener la label abajo cuando el input
2555
+ * está vacío. Si pasas un placeholder real, el label se queda siempre arriba y se superpone.
2556
+ * - El wrapper DEBE tener `.prefix` cuando hay icono al inicio (alinea la label al lado del icono).
2557
+ * - El wrapper DEBE tener `.suffix` cuando hay icono al final.
2558
+ *
2559
+ * Variante `revealable` (campo de contraseña con mostrar/ocultar):
2560
+ * - El toggle es un `<a role="button">` — BeerCSS posiciona como icono del field a
2561
+ * `:is(i, img, svg, progress.circle, a)` y da `pointer-events: all` solo a `<a>`/`.front`,
2562
+ * así que el anchor es el elemento interactivo idiomático del field (no `<button>`).
2563
+ *
2564
+ * @gsp `mat:textField`, `mat:emailField`, `mat:passwordField`, `mat:numberField` (taglib `matFieldImpl`)
2529
2565
  */
2530
2566
 
2531
- interface KdsTextFieldProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'size'> {
2532
- /** Label text for the field */
2567
+ interface KdsTextFieldProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'size' | 'placeholder'> {
2568
+ /** Floating label. */
2533
2569
  label: string;
2534
- /** Helper text shown below field (error or info) */
2570
+ /** Helper text bajo el field (error o info). */
2535
2571
  helperText?: string;
2536
- /** Error state - applies invalid class and red styling */
2572
+ /** Estado inválido aplica `.invalid` al wrapper. */
2537
2573
  error?: boolean;
2538
- /** Full width field (default: true) */
2574
+ /** Full width (default: true). */
2539
2575
  fullWidth?: boolean;
2540
- /** Material Symbols icon name at the start of input, e.g. "search" */
2576
+ /**
2577
+ * Variante angosta: el field toma un ancho reducido con el texto centrado, y
2578
+ * deja de ser fullWidth. Pensado para inputs de pocos caracteres dispuestos en
2579
+ * fila (ej. segmentos de coordenadas, código de verificación).
2580
+ */
2581
+ narrow?: boolean;
2582
+ /** Material Symbol al inicio del input (aplica clase `.prefix`). */
2541
2583
  startIcon?: string;
2542
- /** Material Symbols icon name at the end of input, e.g. "visibility_off" */
2584
+ /** Material Symbol al final del input (aplica clase `.suffix`). */
2543
2585
  endIcon?: string;
2586
+ /**
2587
+ * Campo de contraseña con toggle interactivo de mostrar/ocultar.
2588
+ *
2589
+ * Renderiza un botón "ojo" como suffix que alterna el `type` del input entre
2590
+ * `password` (oculto) y `text` (visible). Cuando es `true`, el `type` se
2591
+ * gestiona internamente (se ignora la prop `type`). No tiene efecto si el
2592
+ * field es `readOnly`. Toma precedencia sobre `endIcon`.
2593
+ */
2594
+ revealable?: boolean;
2595
+ /**
2596
+ * aria-label del toggle de contraseña, para i18n.
2597
+ * @default 'Mostrar u ocultar contraseña'
2598
+ */
2599
+ revealLabel?: string;
2600
+ /**
2601
+ * Muestra la marca ` *` en la label cuando el campo es `required`.
2602
+ *
2603
+ * El atributo `required` del input se aplica siempre que se pase `required`;
2604
+ * esta prop solo controla la marca visual. Ponla en `false` para campos
2605
+ * requeridos que no deben mostrar asterisco (el requerimiento se comunica de otra forma).
2606
+ * @default true
2607
+ */
2608
+ requiredMark?: boolean;
2544
2609
  }
2545
- /**
2546
- * Text input field with label, validation, and icons.
2547
- *
2548
- * Built with native HTML and BeerCSS floating labels.
2549
- * The label animates up when the input has focus or value.
2550
- *
2551
- * @example
2552
- * ```tsx
2553
- * <KdsTextField
2554
- * label="RUT Suscriptor"
2555
- * placeholder="12.345.678-9"
2556
- * />
2557
- *
2558
- * <KdsTextField
2559
- * label="Buscar por nombre"
2560
- * startIcon="search"
2561
- * />
2562
- *
2563
- * <KdsTextField
2564
- * label="Contraseña"
2565
- * type="password"
2566
- * error
2567
- * helperText="Contraseña incorrecta"
2568
- * />
2569
- *
2570
- * <KdsTextField
2571
- * label="Monto"
2572
- * value="$1.000"
2573
- * readOnly
2574
- * />
2575
- * ```
2576
- */
2577
2610
  declare const KdsTextField: React__default.ForwardRefExoticComponent<KdsTextFieldProps & React__default.RefAttributes<HTMLInputElement>>;
2578
2611
 
2579
2612
  /**
2580
- * Khipu Design System - Checkbox Component
2613
+ * Khipu Design System - SearchField Component
2614
+ *
2615
+ * Campo de búsqueda reutilizable (input `type="search"`) con el mismo look que el
2616
+ * search del `KdsBankModal`: borde sutil, radio md, foco con borde primario y halo.
2617
+ * Sin label flotante. Pensado para usarse standalone (ej: lista de bancos inline en
2618
+ * khenshin) o dentro del `KdsBankModal`, que lo consume como única fuente de verdad.
2581
2619
  *
2582
- * Native HTML checkbox with BeerCSS styling.
2620
+ * Acepta value, onChange, placeholder, etc. por spread de las props nativas del input.
2583
2621
  */
2584
2622
 
2585
- interface KdsCheckboxProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'type'> {
2586
- label?: string;
2623
+ interface KdsSearchFieldProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'type'> {
2624
+ /** Muestra un ícono de lupa al inicio del campo (additive, off por defecto). */
2625
+ withIcon?: boolean;
2587
2626
  }
2588
- declare const KdsCheckbox: React__default.ForwardRefExoticComponent<KdsCheckboxProps & React__default.RefAttributes<HTMLInputElement>>;
2627
+ declare const KdsSearchField: React__default.ForwardRefExoticComponent<KdsSearchFieldProps & React__default.RefAttributes<HTMLInputElement>>;
2589
2628
 
2590
2629
  /**
2591
- * Khipu Design System - Modal Component
2630
+ * Khipu Design System - Checkbox Component
2592
2631
  *
2593
- * A modal dialog component built on Radix Dialog with Khipu design system styling.
2594
- * Uses kds-bottom-sheet BeerCSS classes for visual presentation.
2595
- */
2596
-
2597
- type KdsModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
2598
- interface KdsModalProps {
2599
- /** Controls modal visibility */
2600
- open: boolean;
2601
- /** Callback when modal should close */
2602
- onClose: () => void;
2603
- /** Modal title */
2604
- title?: string;
2605
- /** Modal description text */
2606
- description?: string;
2607
- /** Footer content (usually action buttons) */
2608
- footer?: React__default.ReactNode;
2609
- /** Modal content */
2610
- children: React__default.ReactNode;
2611
- /** Modal max width */
2612
- size?: KdsModalSize;
2613
- /** Show close button */
2614
- showCloseButton?: boolean;
2615
- /** Additional CSS class */
2616
- className?: string;
2617
- }
2618
- /**
2619
- * Modal dialog component for displaying content that requires attention.
2632
+ * Wrapper React que matchea exactamente el markup del taglib `mat:checkBox` de payment:
2620
2633
  *
2621
- * Built on Radix Dialog with kds-bottom-sheet BeerCSS classes.
2634
+ * <label class="checkbox">
2635
+ * <input type="checkbox" id="..." name="..." value="..." [checked] [disabled]>
2636
+ * <span>Label</span>
2637
+ * </label>
2622
2638
  *
2623
- * @example
2624
- * ```tsx
2625
- * <KdsModal
2626
- * open={isOpen}
2627
- * onClose={() => setIsOpen(false)}
2628
- * title="Confirmar pago"
2629
- * footer={
2630
- * <>
2631
- * <button onClick={handleCancel}>Cancelar</button>
2632
- * <button onClick={handleConfirm}>Confirmar</button>
2633
- * </>
2634
- * }
2635
- * >
2636
- * <p>¿Estás seguro de que deseas realizar este pago?</p>
2637
- * </KdsModal>
2638
- * ```
2639
+ * BeerCSS oculta el input via `opacity: 0` y renderiza un sprite vía `::before` con
2640
+ * `content: "check_box_outline_blank"` usando la fuente Material Symbols Outlined.
2641
+ *
2642
+ * NO agregamos `htmlFor` al label porque el `<input>` está anidado dentro: la
2643
+ * asociación es implícita y `for` puede causar doble-disparo del click event.
2639
2644
  */
2640
- declare const KdsModal: React__default.ForwardRefExoticComponent<KdsModalProps & React__default.RefAttributes<HTMLDivElement>>;
2645
+
2646
+ interface KdsCheckboxProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'type'> {
2647
+ /**
2648
+ * Contenido del label mostrado al lado del sprite. Opcional (puede usar aria-label).
2649
+ * Acepta texto o nodos (p. ej. un enlace embebido en "Acepto los términos…").
2650
+ */
2651
+ label?: React__default.ReactNode;
2652
+ }
2653
+ declare const KdsCheckbox: React__default.ForwardRefExoticComponent<KdsCheckboxProps & React__default.RefAttributes<HTMLInputElement>>;
2641
2654
 
2642
2655
  /**
2643
2656
  * Khipu Design System - Card Component
@@ -2692,16 +2705,63 @@ declare const KdsCardFooter: React__default.ForwardRefExoticComponent<KdsCardSec
2692
2705
  /**
2693
2706
  * Khipu Design System - Spinner Component
2694
2707
  *
2695
- * Native HTML spinner with BeerCSS loader styling.
2708
+ * Spinner circular animado usando el patrón nativo de BeerCSS:
2709
+ * <progress class="circle [small|large] indeterminate"></progress>
2710
+ *
2711
+ * Tamaños (BeerCSS):
2712
+ * - `small` → 1.5rem (24px)
2713
+ * - default → 2.5rem (40px)
2714
+ * - `large` → 3.5rem (56px)
2715
+ *
2716
+ * El `<progress>` indeterminate aplica animación `to-rotate 1s linear infinite` con
2717
+ * gradient cónico (currentColor / `--active`).
2696
2718
  */
2697
2719
 
2698
2720
  type KdsSpinnerSize = 'small' | 'medium' | 'large';
2699
2721
  interface KdsSpinnerProps extends React__default.HTMLAttributes<HTMLDivElement> {
2722
+ /** Tamaño del spinner. Default `medium` (sin modifier = 2.5rem). */
2700
2723
  size?: KdsSpinnerSize;
2724
+ /** Texto bajo el spinner (visible). Si se omite, se usa "Cargando" como sr-only para a11y. */
2701
2725
  label?: string;
2702
2726
  }
2703
2727
  declare const KdsSpinner: React__default.ForwardRefExoticComponent<KdsSpinnerProps & React__default.RefAttributes<HTMLDivElement>>;
2704
2728
 
2729
+ /**
2730
+ * Khipu Design System - SecureLoader Component
2731
+ *
2732
+ * Loader de pantalla completa para flujos de pago: anillo circular animado con
2733
+ * un candado centrado y, opcionalmente, dos líneas de texto (estado + detalle).
2734
+ *
2735
+ * El anillo es un arco fino (~2px) rotando, definido en `.kds-secure-loader-ring`.
2736
+ * El texto es opcional y se pasa por props (`title`/`message`) porque su contenido
2737
+ * lo provee el consumidor (i18n / estado de la operación).
2738
+ */
2739
+
2740
+ interface KdsSecureLoaderProps extends React__default.HTMLAttributes<HTMLDivElement> {
2741
+ /** Frase de estado (línea principal) mostrada sobre el spinner. */
2742
+ title?: string;
2743
+ /** Detalle/submensaje (color primario) bajo el título. */
2744
+ message?: string;
2745
+ }
2746
+ declare const KdsSecureLoader: React__default.ForwardRefExoticComponent<KdsSecureLoaderProps & React__default.RefAttributes<HTMLDivElement>>;
2747
+
2748
+ /**
2749
+ * Khipu Design System - CopyButton Component
2750
+ *
2751
+ * Botón-chip compacto que muestra un valor y lo copia al portapapeles al click.
2752
+ * Acción de copia inline (distinto de KdsCopyRow, que es una fila label+valor para
2753
+ * mostrar datos del destinatario/recap). Porta el look del copy button de khenshin:
2754
+ * fondo info suave, texto info-dark, icono copy info-main, esquinas redondeadas.
2755
+ */
2756
+
2757
+ interface KdsCopyButtonProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'children' | 'onClick'> {
2758
+ /** Valor mostrado y copiado al portapapeles. */
2759
+ value: string;
2760
+ /** Texto que reemplaza brevemente al valor cuando se copia. Default "Copiado". */
2761
+ copiedText?: string;
2762
+ }
2763
+ declare const KdsCopyButton: React__default.ForwardRefExoticComponent<KdsCopyButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
2764
+
2705
2765
  /**
2706
2766
  * Khipu Design System - LinearProgress Component
2707
2767
  *
@@ -2717,53 +2777,34 @@ declare const KdsLinearProgress: React__default.ForwardRefExoticComponent<KdsLin
2717
2777
  /**
2718
2778
  * Khipu Design System - Alert Component
2719
2779
  *
2720
- * An alert component built with native HTML and kds-* CSS classes.
2721
- * Matches the Figma design: Pagos Automáticos - MUI v610
2780
+ * Alert con icon opcional, content y close button.
2781
+ *
2782
+ * Specs (CSS-derived):
2783
+ * - `.kds-alert`: flex, align-items center, gap 8px, padding 16px, border-radius md, border 1px
2784
+ * - `.kds-alert-icon`: 24px, flex-shrink 0
2785
+ * - `.kds-alert-content`: flex 1, min-width 0 (permite ellipsis del texto)
2786
+ * - Variantes: kds-info / kds-success / kds-warning / kds-error
2787
+ * - `.kds-alert-inline` reduce padding y bottom-margin
2722
2788
  */
2723
2789
 
2724
2790
  type KdsAlertSeverity = 'success' | 'info' | 'warning' | 'error';
2725
2791
  interface KdsAlertProps extends React__default.HTMLAttributes<HTMLDivElement> {
2726
- /** Alert severity/type */
2792
+ /** Alert severity/type. */
2727
2793
  severity: KdsAlertSeverity;
2728
- /** Alert title */
2794
+ /** Alert title (negrita arriba). */
2729
2795
  title?: string;
2730
- /** Material Symbols icon name, e.g. "info" */
2731
- icon?: string;
2732
- /** Inline variant (compact display) */
2796
+ /**
2797
+ * Material Symbols icon name. Si es `true` (o se omite y hay otra prop), se usa el default por severity.
2798
+ * Pasar `false` para ocultar el icon. Pasar un string custom para override.
2799
+ */
2800
+ icon?: string | boolean;
2801
+ /** Inline variant (compact display, sin border-radius grande). */
2733
2802
  inline?: boolean;
2734
- /** Alert content */
2803
+ /** Alert body. */
2735
2804
  children: React__default.ReactNode;
2736
- /** Closable alert */
2805
+ /** Callback para cerrar — renderiza icon-button discreto a la derecha. */
2737
2806
  onClose?: () => void;
2738
2807
  }
2739
- /**
2740
- * Alert component for displaying important messages.
2741
- *
2742
- * Built with native HTML and kds-* CSS classes from the BeerCSS bundle.
2743
- *
2744
- * @example
2745
- * ```tsx
2746
- * // Info alert (like in subscription details)
2747
- * <KdsAlert severity="info">
2748
- * El tope mensual corresponde al monto máximo posible a cobrar mensualmente.
2749
- * </KdsAlert>
2750
- *
2751
- * // Success alert
2752
- * <KdsAlert severity="success" title="¡Todo listo!">
2753
- * Espera la confirmación por parte de tu banco
2754
- * </KdsAlert>
2755
- *
2756
- * // Warning alert
2757
- * <KdsAlert severity="warning" onClose={() => setOpen(false)}>
2758
- * Tu sesión expirará pronto
2759
- * </KdsAlert>
2760
- *
2761
- * // Error alert
2762
- * <KdsAlert severity="error">
2763
- * Ha ocurrido un error al procesar tu pago
2764
- * </KdsAlert>
2765
- * ```
2766
- */
2767
2808
  declare const KdsAlert: React__default.ForwardRefExoticComponent<KdsAlertProps & React__default.RefAttributes<HTMLDivElement>>;
2768
2809
 
2769
2810
  /**
@@ -2776,7 +2817,7 @@ declare const KdsAlert: React__default.ForwardRefExoticComponent<KdsAlertProps &
2776
2817
  /**
2777
2818
  * Custom Khipu typography variants that map to specific design tokens
2778
2819
  */
2779
- type KdsTypographyVariant = 'display1' | 'display2' | 'heading1' | 'heading2' | 'heading3' | 'body-large' | 'body' | 'body-small' | 'label' | 'label-small' | 'muted' | 'link';
2820
+ type KdsTypographyVariant = 'display1' | 'display2' | 'heading1' | 'heading2' | 'heading3' | 'body-large' | 'body' | 'body-small' | 'label' | 'label-small' | 'muted' | 'link' | 'strong';
2780
2821
  type ElementTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div' | 'label';
2781
2822
  interface KdsTypographyProps extends React__default.HTMLAttributes<HTMLElement> {
2782
2823
  /**
@@ -2817,10 +2858,27 @@ interface KdsTypographyProps extends React__default.HTMLAttributes<HTMLElement>
2817
2858
  */
2818
2859
  declare const KdsTypography: React__default.ForwardRefExoticComponent<KdsTypographyProps & React__default.RefAttributes<HTMLElement>>;
2819
2860
 
2861
+ /**
2862
+ * Khipu Design System - Tabs Component
2863
+ *
2864
+ * Matchea exactamente el markup que usa producción payment:
2865
+ *
2866
+ * <div class="kds-segmented-tabs" role="tablist">
2867
+ * <button type="button" class="active" role="tab" aria-selected="true">Personas</button>
2868
+ * <button type="button" role="tab" aria-selected="false">Empresas</button>
2869
+ * </div>
2870
+ *
2871
+ * Solo existe la variante segmented — producción payment no usa otra cosa, y el
2872
+ * "standard" Material Design 3 underline tab no está en el Khipu DS.
2873
+ *
2874
+ * @gsp `_choosePaymentMethodFormMaterial.gsp` (líneas 18-25)
2875
+ */
2876
+
2820
2877
  interface KdsTabsProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'> {
2878
+ /** Índice 0-based del tab activo. */
2821
2879
  activeIndex: number;
2880
+ /** Callback cuando cambia el tab activo. */
2822
2881
  onChange: (index: number) => void;
2823
- variant?: 'standard' | 'segmented';
2824
2882
  }
2825
2883
  declare const KdsTabs: React__default.ForwardRefExoticComponent<KdsTabsProps & React__default.RefAttributes<HTMLDivElement>>;
2826
2884
  interface KdsTabInternalProps {
@@ -2836,111 +2894,29 @@ interface KdsTabPanelProps extends React__default.HTMLAttributes<HTMLDivElement>
2836
2894
  declare const KdsTabPanel: React__default.ForwardRefExoticComponent<KdsTabPanelProps & React__default.RefAttributes<HTMLDivElement>>;
2837
2895
 
2838
2896
  /**
2839
- * Khipu Design System - LogoHeader Component
2840
- *
2841
- * A header bar component that displays the Khipu logo, a transaction code,
2842
- * and a close button. Used at the top of payment flow screens.
2843
- *
2844
- * Built with composable sub-components for maximum flexibility.
2845
- */
2846
-
2847
- interface KdsLogoHeaderProps extends React__default.HTMLAttributes<HTMLDivElement> {
2848
- /** Content - typically LogoHeader sub-components */
2849
- children?: React__default.ReactNode;
2850
- }
2851
- interface KdsLogoHeaderLogoProps extends React__default.HTMLAttributes<HTMLDivElement> {
2852
- /** Custom logo content. Defaults to Khipu text logo */
2853
- children?: React__default.ReactNode;
2854
- }
2855
- interface KdsLogoHeaderSeparatorProps extends React__default.HTMLAttributes<HTMLSpanElement> {
2856
- /** Separator character. Defaults to "|" */
2857
- children?: React__default.ReactNode;
2858
- }
2859
- interface KdsLogoHeaderCodeProps extends React__default.HTMLAttributes<HTMLSpanElement> {
2860
- /** Transaction or reference code to display */
2861
- children: React__default.ReactNode;
2862
- }
2863
- interface KdsLogoHeaderCloseButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
2864
- /** Callback fired when the close button is clicked */
2865
- onClose?: () => void;
2866
- }
2867
- /**
2868
- * Logo section of the LogoHeader.
2869
- *
2870
- * @example
2871
- * ```tsx
2872
- * <KdsLogoHeaderLogo />
2873
- *
2874
- * <KdsLogoHeaderLogo>
2875
- * <img src="/custom-logo.svg" alt="Custom Logo" />
2876
- * </KdsLogoHeaderLogo>
2877
- * ```
2878
- */
2879
- declare const KdsLogoHeaderLogo: React__default.ForwardRefExoticComponent<KdsLogoHeaderLogoProps & React__default.RefAttributes<HTMLDivElement>>;
2880
- /**
2881
- * Separator element between logo and code.
2882
- *
2883
- * @example
2884
- * ```tsx
2885
- * <KdsLogoHeaderSeparator />
2886
- *
2887
- * <KdsLogoHeaderSeparator>•</KdsLogoHeaderSeparator>
2888
- * ```
2889
- */
2890
- declare const KdsLogoHeaderSeparator: React__default.ForwardRefExoticComponent<KdsLogoHeaderSeparatorProps & React__default.RefAttributes<HTMLSpanElement>>;
2891
- /**
2892
- * Transaction code section.
2893
- *
2894
- * @example
2895
- * ```tsx
2896
- * <KdsLogoHeaderCode>HUSK-P7ZZ-XGYG</KdsLogoHeaderCode>
2897
- * ```
2898
- */
2899
- declare const KdsLogoHeaderCode: React__default.ForwardRefExoticComponent<KdsLogoHeaderCodeProps & React__default.RefAttributes<HTMLSpanElement>>;
2900
- /**
2901
- * Close button for the header.
2902
- *
2903
- * @example
2904
- * ```tsx
2905
- * <KdsLogoHeaderCloseButton onClose={() => handleClose()} />
2906
- * ```
2907
- */
2908
- declare const KdsLogoHeaderCloseButton: React__default.ForwardRefExoticComponent<KdsLogoHeaderCloseButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
2909
- /**
2910
- * LogoHeader bar component.
2897
+ * Khipu Design System - RadioGroup Component
2911
2898
  *
2912
- * A composable header component that can be used with sub-components
2913
- * for maximum flexibility, or with default children for quick usage.
2899
+ * Native HTML radio group with BeerCSS `.radio` class.
2914
2900
  *
2915
- * @example
2916
- * ```tsx
2917
- * // Composable usage
2918
- * <KdsLogoHeader>
2919
- * <KdsLogoHeaderLogo />
2920
- * <KdsLogoHeaderSeparator />
2921
- * <KdsLogoHeaderCode>HUSK-P7ZZ-XGYG</KdsLogoHeaderCode>
2922
- * <KdsLogoHeaderCloseButton onClose={() => handleClose()} />
2923
- * </KdsLogoHeader>
2924
- *
2925
- * // Simple usage with defaults
2926
- * <KdsLogoHeader>
2927
- * <KdsLogoHeaderLogo />
2928
- * <KdsLogoHeaderSeparator />
2929
- * <KdsLogoHeaderCode>ABC-1234-XYZ</KdsLogoHeaderCode>
2930
- * </KdsLogoHeader>
2931
- * ```
2932
- */
2933
- declare const KdsLogoHeader: React__default.ForwardRefExoticComponent<KdsLogoHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
2934
-
2935
- /**
2936
- * Khipu Design System - RadioGroup Component
2901
+ * Contrato BeerCSS:
2902
+ * <fieldset class="kds-radio-group">
2903
+ * <legend>Label</legend>
2904
+ * <label class="radio">
2905
+ * <input type="radio" name="x" value="a" />
2906
+ * <span>Opción A</span>
2907
+ * </label>
2908
+ * ...
2909
+ * </fieldset>
2937
2910
  *
2938
- * Native HTML radio group with BeerCSS styling.
2911
+ * Specs:
2912
+ * - Input oculto, sprite circular generado por `:is(.checkbox, .radio) > span::before`
2913
+ * - Tamaño default 18x18; modifiers `.small` (14px) / `.large` (22px)
2939
2914
  */
2940
2915
 
2941
2916
  interface KdsRadioOption {
2942
2917
  value: string;
2943
- label: string;
2918
+ /** Texto o nodo del label de la opción (permite contenido rico: montos, enlaces, tablas). */
2919
+ label: React__default.ReactNode;
2944
2920
  disabled?: boolean;
2945
2921
  }
2946
2922
  interface KdsRadioGroupProps extends Omit<React__default.FieldsetHTMLAttributes<HTMLFieldSetElement>, 'onChange'> {
@@ -2949,55 +2925,145 @@ interface KdsRadioGroupProps extends Omit<React__default.FieldsetHTMLAttributes<
2949
2925
  options: KdsRadioOption[];
2950
2926
  value?: string;
2951
2927
  onChange?: (value: string) => void;
2928
+ /** Tamaño del sprite del radio (aplicado a cada opción). */
2929
+ size?: 'small' | 'large';
2930
+ /**
2931
+ * Variante de presentación.
2932
+ * - `'default'`: filas simples (radio + texto).
2933
+ * - `'card'`: cada opción como fila con borde (estilo selección de banco/cuenta);
2934
+ * hover y opción seleccionada resaltada. Mantiene el control radio.
2935
+ * @default 'default'
2936
+ */
2937
+ variant?: 'default' | 'card';
2952
2938
  }
2953
2939
  declare const KdsRadioGroup: React__default.ForwardRefExoticComponent<KdsRadioGroupProps & React__default.RefAttributes<HTMLFieldSetElement>>;
2954
2940
 
2955
2941
  /**
2956
2942
  * Khipu Design System - Select Component
2957
2943
  *
2958
- * A select dropdown component built on Radix UI Select with BeerCSS field styling.
2944
+ * Native HTML `<select>` wrapped en el patrón BeerCSS `field label border`.
2945
+ * Matchea exactamente el markup que genera la taglib `mat:select` de payment.
2946
+ *
2947
+ * Markup canónico:
2948
+ *
2949
+ * <div class="field label border [prefix] [invalid|valid|info|warning]">
2950
+ * <i class="material-symbols-outlined">prefixIcon</i> // opcional
2951
+ * <select id="..." name="..." [required] [disabled]>
2952
+ * <option value="">Placeholder...</option> // opcional (noSelection)
2953
+ * <option value="bci">BCI</option>
2954
+ * ...
2955
+ * </select>
2956
+ * <label for="...">Banco *</label>
2957
+ * <span class="helper">errorMessage o help</span> // opcional
2958
+ * </div>
2959
+ *
2960
+ * BeerCSS dibuja el chevron automáticamente, el floating label, focus ring, etc.
2961
+ *
2962
+ * @gsp `mat:select` taglib (MaterialTagLib.groovy:260)
2959
2963
  */
2960
2964
 
2961
- interface KdsSelectProps {
2965
+ interface KdsSelectOption {
2966
+ /** Valor del `<option>` (string serializable). */
2962
2967
  value: string;
2963
- onValueChange: (value: string) => void;
2968
+ /** Texto visible del `<option>`. */
2969
+ label: string;
2970
+ /** Si está disabled. */
2971
+ disabled?: boolean;
2972
+ }
2973
+ interface KdsSelectProps extends Omit<React__default.SelectHTMLAttributes<HTMLSelectElement>, 'children'> {
2974
+ /** Floating label. */
2975
+ label: string;
2976
+ /** Lista de opciones del select. */
2977
+ options: KdsSelectOption[];
2978
+ /**
2979
+ * Texto del primer `<option>` con value="" (placeholder). Si está vacío, no se renderiza.
2980
+ * Equivalente a `noSelection` del taglib.
2981
+ */
2964
2982
  placeholder?: string;
2965
- label?: string;
2983
+ /** Helper text bajo el field (error o info). */
2984
+ helperText?: string;
2985
+ /** Estado inválido — aplica clase `.invalid` al wrapper. */
2966
2986
  error?: boolean;
2967
- helperText?: React__default.ReactNode;
2968
- disabled?: boolean;
2987
+ /** Material Symbols icon al inicio del field (aplica clase `.prefix`). */
2988
+ prefixIcon?: string;
2989
+ /** Full width (default: true). */
2969
2990
  fullWidth?: boolean;
2970
- children: React__default.ReactNode;
2971
- className?: string;
2972
2991
  }
2973
- interface KdsSelectItemProps extends Select.SelectItemProps {
2974
- children: React__default.ReactNode;
2975
- }
2976
- declare const KdsSelect: React__default.ForwardRefExoticComponent<KdsSelectProps & React__default.RefAttributes<HTMLDivElement>> & {
2977
- Item: React__default.ForwardRefExoticComponent<KdsSelectItemProps & React__default.RefAttributes<HTMLDivElement>>;
2978
- };
2992
+ declare const KdsSelect: React__default.ForwardRefExoticComponent<KdsSelectProps & React__default.RefAttributes<HTMLSelectElement>>;
2979
2993
 
2980
2994
  /**
2981
2995
  * Khipu Design System - Chip Component
2982
2996
  *
2983
- * Native HTML chip with BeerCSS kds-badge styling.
2997
+ * Chip/badge inline con color, icon opcional y close opcional (deletable).
2998
+ *
2999
+ * Specs (CSS-derived):
3000
+ * - `.kds-badge`: inline-flex, align-items center, gap 4px, padding 2px 8px, radius sm
3001
+ * - `font-size: xs`, `font-weight: medium`, `line-height: 1.5`
3002
+ * - Icon prefix `<i>`: 14px, inline
3003
+ * - Close button (`.kds-badge-close`): 16×16 circular discreto, NO usa kds-btn
3004
+ *
3005
+ * Variantes de color: primary | success | error | warning | info
2984
3006
  */
2985
3007
 
2986
3008
  type KdsChipColor = 'primary' | 'success' | 'error' | 'warning' | 'info';
2987
3009
  interface KdsChipProps extends React__default.HTMLAttributes<HTMLSpanElement> {
3010
+ /** Color variant. */
2988
3011
  color?: KdsChipColor;
3012
+ /** Material Symbol opcional al inicio del chip. */
2989
3013
  icon?: string;
3014
+ /**
3015
+ * Callback cuando se hace click en el icon de cerrar.
3016
+ * Si está definido, renderiza un icon-button discreto (NO usa kds-btn).
3017
+ */
2990
3018
  onDelete?: () => void;
2991
3019
  }
2992
3020
  declare const KdsChip: React__default.ForwardRefExoticComponent<KdsChipProps & React__default.RefAttributes<HTMLSpanElement>>;
2993
3021
 
3022
+ /**
3023
+ * Khipu Design System - Snackbar Component
3024
+ *
3025
+ * Matchea exactamente el markup que genera `Khipu.showSnackbar()` y
3026
+ * `initFlashMessages()` (`src/beercss/customizations/khipu-init.js`):
3027
+ *
3028
+ * <div class="snackbar active [info|success|error]"
3029
+ * data-auto-dismiss="true"
3030
+ * style="--kds-snackbar-duration: 5000ms">
3031
+ * <i class="material-symbols-outlined">[icon]</i>
3032
+ * <span class="max">message</span>
3033
+ * <button class="kds-snackbar-close" aria-label="Cerrar">
3034
+ * <i class="material-symbols-outlined">close</i>
3035
+ * </button>
3036
+ * </div>
3037
+ *
3038
+ * Features:
3039
+ * - Icon prefix automático según `type` (info / check_circle / error).
3040
+ * - Progress bar lineal en la parte inferior animado durante `duration` ms (CSS `::after`).
3041
+ * - Close button con estilo `.kds-snackbar-close` (icon-only, blanco semi-transparente).
3042
+ *
3043
+ * @gsp `_paymentFlashSnackbars.gsp` (markup base) + `khipu-init.js → initFlashMessages()` (close + dismiss timer)
3044
+ */
3045
+
2994
3046
  type KdsSnackbarType = 'success' | 'error' | 'info';
2995
- interface KdsSnackbarProps extends React__default.HTMLAttributes<HTMLDivElement> {
3047
+ interface KdsSnackbarProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'role'> {
3048
+ /** Mensaje del snackbar. */
2996
3049
  message: string;
3050
+ /** Variante semántica. Default `info`. */
2997
3051
  type?: KdsSnackbarType;
3052
+ /**
3053
+ * Duración en ms antes de auto-dismiss. Default `5000`.
3054
+ * También controla la duración del progress bar (CSS var `--kds-snackbar-duration`).
3055
+ * Pasa `0` para deshabilitar auto-dismiss (no progress bar).
3056
+ */
2998
3057
  duration?: number;
3058
+ /** Callback al cerrar (click en X o tras auto-dismiss). */
2999
3059
  onClose?: () => void;
3060
+ /** Controla visibilidad. Default `true`. */
3000
3061
  open?: boolean;
3062
+ /**
3063
+ * Material Symbol icon name. Si se omite, usa el default por `type`.
3064
+ * Pasa `false` para ocultar el icon prefix.
3065
+ */
3066
+ icon?: string | false;
3001
3067
  }
3002
3068
  declare const KdsSnackbar: React__default.ForwardRefExoticComponent<KdsSnackbarProps & React__default.RefAttributes<HTMLDivElement>>;
3003
3069
 
@@ -3052,7 +3118,7 @@ declare const KdsSectionNote: React__default.ForwardRefExoticComponent<KdsSectio
3052
3118
  * Native HTML status block with BeerCSS styling.
3053
3119
  */
3054
3120
 
3055
- type KdsStatusType = 'success' | 'pending' | 'warn' | 'error';
3121
+ type KdsStatusType = 'success' | 'pending' | 'warn' | 'error' | 'info';
3056
3122
  interface KdsStatusBlockProps extends React__default.HTMLAttributes<HTMLDivElement> {
3057
3123
  status: KdsStatusType;
3058
3124
  icon?: string;
@@ -3065,27 +3131,139 @@ declare const KdsStatusBlock: React__default.ForwardRefExoticComponent<KdsStatus
3065
3131
  /**
3066
3132
  * Khipu Design System - Stepper Component
3067
3133
  *
3068
- * Native HTML stepper with BeerCSS styling.
3134
+ * Matchea exactamente el markup del taglib `mat:stepper` de payment:
3135
+ *
3136
+ * <div class="kds-stepper">
3137
+ * <div class="kds-step [completed|current]">
3138
+ * <div class="kds-step-indicator"></div> <!-- vacío: número/check via CSS -->
3139
+ * <div class="kds-step-label">Label</div>
3140
+ * </div>
3141
+ * ...
3142
+ * </div>
3143
+ *
3144
+ * Specs CSS-driven:
3145
+ * - La línea conectora horizontal es `.kds-stepper::before` (NO un `<div>`).
3146
+ * - El check de completed viene de `.kds-step-indicator::after { content: "check" }`.
3147
+ * - El número del step está oculto (`font-size: 0`) — el design no usa números.
3148
+ *
3149
+ * @gsp `mat:stepper` taglib (MaterialTagLib.groovy:817)
3069
3150
  */
3070
3151
 
3071
3152
  interface KdsStepperProps extends React__default.HTMLAttributes<HTMLDivElement> {
3072
- steps: number;
3153
+ /** Labels de cada step. La longitud del array determina el número de pasos. */
3154
+ steps: string[];
3155
+ /**
3156
+ * Índice 0-based del step actual.
3157
+ * - Steps `< current` → `.completed` (verde con check)
3158
+ * - Step `== current` → `.current` (azul info)
3159
+ * - Steps `> current` → pending (gris)
3160
+ */
3073
3161
  current: number;
3074
3162
  }
3075
3163
  declare const KdsStepper: React__default.ForwardRefExoticComponent<KdsStepperProps & React__default.RefAttributes<HTMLDivElement>>;
3076
3164
 
3077
- interface KdsCopyRowProps extends React__default.HTMLAttributes<HTMLDivElement> {
3165
+ /**
3166
+ * Khipu Design System - CopyRow Component
3167
+ *
3168
+ * Fila clickeable que copia su `value` al portapapeles. El ROW completo es el botón.
3169
+ *
3170
+ * Markup canónico (mirrors `src/beercss/demo/payment-components.html`):
3171
+ *
3172
+ * <button class="kds-copy-row" data-copy="value">
3173
+ * <i class="material-symbols-outlined">content_copy</i> ← icon a la IZQUIERDA
3174
+ * <div>
3175
+ * <span class="kds-copy-row-label">Banco</span>
3176
+ * <span class="kds-copy-row-value">Banco Security</span>
3177
+ * </div>
3178
+ * <span class="kds-copy-toast">
3179
+ * <i class="material-symbols-outlined">check_circle</i> Copiado
3180
+ * </span>
3181
+ * </button>
3182
+ *
3183
+ * Cuando `.copied`:
3184
+ * - bg → success-soft, border → success-main
3185
+ * - `.kds-copy-toast` aparece (position absolute right, opacity 0 → 1)
3186
+ */
3187
+
3188
+ interface KdsCopyRowProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'children' | 'onClick'> {
3189
+ /** Label arriba (uppercase caption). */
3078
3190
  label: string;
3191
+ /** Valor mostrado y copiado al portapapeles. */
3079
3192
  value: string;
3193
+ /** Texto del toast cuando se copia. Default: "Copiado". */
3194
+ copiedText?: string;
3080
3195
  }
3081
- declare const KdsCopyRow: React__default.ForwardRefExoticComponent<KdsCopyRowProps & React__default.RefAttributes<HTMLDivElement>>;
3196
+ declare const KdsCopyRow: React__default.ForwardRefExoticComponent<KdsCopyRowProps & React__default.RefAttributes<HTMLButtonElement>>;
3197
+
3198
+ /**
3199
+ * Khipu Design System - CopyableTable Component
3200
+ *
3201
+ * Tabla compacta con filas que se copian individualmente al click, y un
3202
+ * botón "Copiar todos los datos" que cambia el color de todas las filas al copy.
3203
+ *
3204
+ * Variante `'grid'` (aditiva): grilla read-only de N celdas de texto por fila,
3205
+ * sin copy ni botón "Copiar todo". Las celdas reparten el ancho equitativamente.
3206
+ * Útil para mostrar datos dentro de opciones de radio. Soporta `disabled`
3207
+ * (atenúa el color del texto).
3208
+ *
3209
+ * Contrato HTML (matchea el CSS .kds-copyable-table del DS):
3210
+ * ```html
3211
+ * <div class="kds-copyable-table" id="destination-copy-list">
3212
+ * <div class="kds-copyable-table-row" data-copy="value-to-copy">
3213
+ * <span class="kds-key">Banco</span>
3214
+ * <span class="kds-value">Banco Security</span>
3215
+ * </div>
3216
+ * ...
3217
+ * </div>
3218
+ * <button class="kds-btn kds-btn-outlined kds-btn-block kds-copy-all-btn"
3219
+ * data-copy-all="#destination-copy-list">
3220
+ * <span class="kds-icon"><i class="material-symbols-outlined">content_copy</i></span>
3221
+ * <span>Copiar todos los datos</span>
3222
+ * </button>
3223
+ * ```
3224
+ *
3225
+ * Specs:
3226
+ * - Row: flex space-between, padding 10px 8px, border-top divider, font sm, cursor pointer
3227
+ * - Row hover: bg primary-faint + icon copy aparece en `.kds-value::after`
3228
+ * - Row `.copied`: bg success-soft, `.kds-value` color success-dark, icon → check
3229
+ * - Copy-all-btn: kds-btn-outlined-block + bg primary-faint
3230
+ * - Copy-all-btn `.copied`: bg success-soft
3231
+ */
3082
3232
 
3083
3233
  interface KdsCopyableTableRow {
3084
3234
  label: string;
3085
3235
  value: string;
3236
+ /** Override del valor a copiar (default: `value`). */
3237
+ copy?: string;
3086
3238
  }
3087
3239
  interface KdsCopyableTableProps extends React__default.HTMLAttributes<HTMLDivElement> {
3088
- rows: KdsCopyableTableRow[];
3240
+ /**
3241
+ * Filas key/value copiables (modo `'copyable'`). Opcional: default `[]`.
3242
+ * En modo `'grid'` no se usa; usá `gridRows` en su lugar.
3243
+ */
3244
+ rows?: KdsCopyableTableRow[];
3245
+ /**
3246
+ * Variante de la tabla.
3247
+ * - `'copyable'` (default): filas key/value que se copian individualmente al click.
3248
+ * - `'grid'`: grilla read-only de N celdas de texto por fila, sin copy ni botón
3249
+ * "Copiar todo". Útil para mostrar datos dentro de opciones de radio.
3250
+ */
3251
+ variant?: 'copyable' | 'grid';
3252
+ /**
3253
+ * Datos de la grilla en modo `'grid'`: cada fila es un array de textos de celda.
3254
+ * Las celdas se reparten el ancho equitativamente. Ignorado en modo `'copyable'`.
3255
+ */
3256
+ gridRows?: string[][];
3257
+ /**
3258
+ * Atenúa el color del texto de la grilla (modo `'grid'`). Sin efecto en `'copyable'`.
3259
+ */
3260
+ disabled?: boolean;
3261
+ /** Texto del botón "Copiar todo". Default: "Copiar todos los datos". */
3262
+ copyAllLabel?: string;
3263
+ /** Texto cuando se copió todo. Default: "Datos copiados". */
3264
+ copiedAllLabel?: string;
3265
+ /** Si `false`, no muestra el botón "Copiar todo". */
3266
+ showCopyAll?: boolean;
3089
3267
  }
3090
3268
  declare const KdsCopyableTable: React__default.ForwardRefExoticComponent<KdsCopyableTableProps & React__default.RefAttributes<HTMLDivElement>>;
3091
3269
 
@@ -3102,13 +3280,28 @@ interface KdsCountdownProps extends React__default.HTMLAttributes<HTMLDivElement
3102
3280
  }
3103
3281
  declare const KdsCountdown: React__default.ForwardRefExoticComponent<KdsCountdownProps & React__default.RefAttributes<HTMLDivElement>>;
3104
3282
 
3105
- type KdsSegmentedTabsProps = Omit<KdsTabsProps, 'variant'>;
3106
- declare const KdsSegmentedTabs: React$1.ForwardRefExoticComponent<KdsSegmentedTabsProps & React$1.RefAttributes<HTMLDivElement>>;
3283
+ /**
3284
+ * KdsSegmentedTabs alias semántico de `KdsTabs`.
3285
+ *
3286
+ * Mantenido por backwards-compat con código que importa `KdsSegmentedTabs`.
3287
+ * `KdsTabs` ahora ya renderiza directamente segmented (la única variante del DS).
3288
+ */
3289
+ type KdsSegmentedTabsProps = KdsTabsProps;
3290
+ declare const KdsSegmentedTabs: React$1.ForwardRefExoticComponent<KdsTabsProps & React$1.RefAttributes<HTMLDivElement>>;
3107
3291
 
3108
- interface KdsBankRowProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
3109
- name: string;
3292
+ interface KdsBankRowProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'name'> {
3293
+ /**
3294
+ * Contenido principal de la fila. Acepta texto o nodo — permite contenido en
3295
+ * columnas por elemento (p. ej. tipo de cuenta · Nº · saldo) para selección de cuentas.
3296
+ */
3297
+ name: React__default.ReactNode;
3110
3298
  logoUrl?: string;
3111
3299
  selected?: boolean;
3300
+ /**
3301
+ * Oculta el slot de logo/iniciales. Útil para filas sin marca (p. ej. selección
3302
+ * de cuenta de origen, que no tiene logo).
3303
+ */
3304
+ hideLogo?: boolean;
3112
3305
  }
3113
3306
  declare const KdsBankRow: React__default.ForwardRefExoticComponent<KdsBankRowProps & React__default.RefAttributes<HTMLButtonElement>>;
3114
3307
 
@@ -3164,15 +3357,50 @@ interface KdsInvoiceStickyProps extends React__default.HTMLAttributes<HTMLDivEle
3164
3357
  }
3165
3358
  declare const KdsInvoiceSticky: React__default.ForwardRefExoticComponent<KdsInvoiceStickyProps & React__default.RefAttributes<HTMLDivElement>>;
3166
3359
 
3360
+ /**
3361
+ * Khipu Design System - BottomSheet Component
3362
+ *
3363
+ * Bottom-sheet (modal que sube desde abajo en mobile, centrado en desktop) basado
3364
+ * en Radix Dialog. Único componente de modales del DS — `KdsModal` fue unificado aquí.
3365
+ *
3366
+ * Contrato HTML (matchea CSS `.kds-bottom-sheet*` de khipu-components.css):
3367
+ *
3368
+ * <div class="kds-bottom-sheet-scrim open">
3369
+ * <div class="kds-bottom-sheet">
3370
+ * <div class="kds-bottom-sheet-grabber" /> <!-- opcional -->
3371
+ * <button class="kds-bottom-sheet-close">X</button> <!-- opcional -->
3372
+ * <h2 class="kds-bottom-sheet-title">...</h2> <!-- opcional -->
3373
+ * <p class="kds-bottom-sheet-description">...</p> <!-- opcional -->
3374
+ * <div class="kds-bottom-sheet-body">children</div>
3375
+ * <div class="kds-bottom-sheet-actions">actions</div> <!-- opcional -->
3376
+ * </div>
3377
+ * </div>
3378
+ *
3379
+ * IMPORTANTE: el scrim DEBE llevar la clase `.open` SIEMPRE (Radix maneja mount/unmount).
3380
+ * Sin `.open`, el scrim queda `display: none` y no se ve.
3381
+ */
3382
+
3167
3383
  interface KdsBottomSheetProps {
3384
+ /** Controla la visibilidad. */
3168
3385
  open: boolean;
3386
+ /** Callback cuando se debe cerrar (close button / ESC / click fuera). */
3169
3387
  onClose: () => void;
3388
+ /** Título — renderiza `<h2 class="kds-bottom-sheet-title">`. */
3170
3389
  title?: string;
3390
+ /** Descripción opcional bajo el título (`<p class="kds-bottom-sheet-description">`). */
3391
+ description?: string;
3392
+ /** Contenido del body. */
3171
3393
  children: React__default.ReactNode;
3394
+ /** Botones de acción (footer). Renderiza dentro de `.kds-bottom-sheet-actions`. */
3172
3395
  actions?: React__default.ReactNode;
3173
- className?: string;
3174
- /** Portal container — pass a ref to mount inside a specific element instead of document.body */
3396
+ /** Mostrar grabber (handle) visual en el top. Default: true. */
3397
+ showGrabber?: boolean;
3398
+ /** Mostrar X de cierre en el top-right. Default: false. */
3399
+ showCloseButton?: boolean;
3400
+ /** Portal container — útil para Storybook o anchors específicos. */
3175
3401
  container?: HTMLElement | null;
3402
+ /** Clase adicional al sheet. */
3403
+ className?: string;
3176
3404
  }
3177
3405
  declare const KdsBottomSheet: React__default.ForwardRefExoticComponent<KdsBottomSheetProps & React__default.RefAttributes<HTMLDivElement>>;
3178
3406
 
@@ -3191,6 +3419,210 @@ interface KdsRecapListProps extends React__default.HTMLAttributes<HTMLUListEleme
3191
3419
  }
3192
3420
  declare const KdsRecapList: React__default.ForwardRefExoticComponent<KdsRecapListProps & React__default.RefAttributes<HTMLUListElement>>;
3193
3421
 
3422
+ interface KdsMontoRowProps extends React__default.HTMLAttributes<HTMLDivElement> {
3423
+ /** Título principal (e.g. "Monto a transferir"). */
3424
+ title: string;
3425
+ /** Valor destacado (e.g. "$3.300"). */
3426
+ value: string;
3427
+ /**
3428
+ * Texto secundario opcional bajo el título (deadline/subtitle).
3429
+ * Acepta un nodo React para incluir line-breaks o formato.
3430
+ */
3431
+ deadline?: React__default.ReactNode;
3432
+ }
3433
+ /**
3434
+ * KdsMontoRow — bloque destacado de monto con título + deadline opcional + valor.
3435
+ *
3436
+ * Layout (spec):
3437
+ * - `display: flex; justify-content: space-between`
3438
+ * - `padding: 14px 0 8px`
3439
+ * - `border-top: 1px dashed var(--kds-border-medium)`
3440
+ *
3441
+ * Tipografía:
3442
+ * - `.kds-monto-row-title`: `font-size: sm`, `font-weight: 500`
3443
+ * - `.kds-monto-row-deadline`: `font-size: xs`, `color: text-secondary`
3444
+ * - `.kds-monto-row-value`: `font-size: 24px`, `font-weight: 700`, `letter-spacing: tight`
3445
+ *
3446
+ * @gsp `_manualVerifyChileMaterial.gsp` y demás manualVerify
3447
+ * @css .kds-monto-row, .kds-monto-row-title, .kds-monto-row-deadline, .kds-monto-row-value
3448
+ */
3449
+ declare const KdsMontoRow: React__default.ForwardRefExoticComponent<KdsMontoRowProps & React__default.RefAttributes<HTMLDivElement>>;
3450
+
3451
+ interface KdsMerchantTileProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
3452
+ /** Nombre del merchant (usado para alt del logo o initials fallback). */
3453
+ name: string;
3454
+ /** URL del logo del merchant. Si está presente, renderiza `<img>` dentro del tile. */
3455
+ logoUrl?: string;
3456
+ /** Initials custom (2-3 letras). Si no se provee, usa las primeras 2 letras de `name`. */
3457
+ initials?: string;
3458
+ /** Variante compacta: 40×40 en vez de 56×56. */
3459
+ compact?: boolean;
3460
+ }
3461
+ /**
3462
+ * KdsMerchantTile — tile cuadrado con logo del comercio o initials.
3463
+ *
3464
+ * Layout (spec):
3465
+ * - `56 x 56` (default) / `40 x 40` (compact)
3466
+ * - `border-radius: var(--kds-radius-card)`
3467
+ * - `background: var(--kds-color-primary-deep)` (#5B3DB5)
3468
+ * - `color: white`, `display: grid; place-items: center`
3469
+ * - Initials: `font-size: xl` (20px), `font-weight: 700`, `letter-spacing: 0.02em`
3470
+ *
3471
+ * Variante logo:
3472
+ * - Agrega clase `.logo`, padding `var(--kds-spacing-0-5)` (4px)
3473
+ * - `<img>` interna: `object-fit: cover`, `border-radius: var(--kds-radius-md)`
3474
+ *
3475
+ * Compose with: este componente SOLO renderiza el tile cuadrado. Para el header
3476
+ * de comercio completo ("estás pagando a" + nombre), envolver en el patrón
3477
+ * `.kds-merchant`:
3478
+ * ```html
3479
+ * <div class="kds-merchant">
3480
+ * <!-- KdsMerchantTile → .kds-merchant-tile -->
3481
+ * <div class="kds-merchant-meta">
3482
+ * <span class="kds-merchant-label">Estás pagando a</span>
3483
+ * <strong>Comercial Santiago SpA</strong>
3484
+ * </div>
3485
+ * </div>
3486
+ * ```
3487
+ * Spacing canónico: `.kds-merchant` gap `var(--kds-spacing-1-75)`; label
3488
+ * `margin-bottom: var(--kds-spacing-0-25)`. Ver `Patterns/CSS-only → MerchantHeader`.
3489
+ *
3490
+ * @css .kds-merchant-tile, .kds-merchant-tile.logo, .kds-merchant.compact .kds-merchant-tile
3491
+ */
3492
+ declare const KdsMerchantTile: React__default.ForwardRefExoticComponent<KdsMerchantTileProps & React__default.RefAttributes<HTMLDivElement>>;
3493
+
3494
+ type KdsPaymentTotalVariant = 'default' | 'email';
3495
+ /**
3496
+ * Color tone for the amount value.
3497
+ * - `brand`: default Khipu purple (current behaviour).
3498
+ * - `info`: khipu-blue (#5A5FE0) — LigoPay QR / transfer flows.
3499
+ */
3500
+ type KdsPaymentTotalTone = 'brand' | 'info';
3501
+ interface KdsPaymentTotalProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'title'> {
3502
+ /**
3503
+ * Variante visual.
3504
+ * - `default`: monto destacado en color primario (QR / payment view).
3505
+ * - `email`: monto compacto en color de texto primario (email templates).
3506
+ * @default 'default'
3507
+ */
3508
+ variant?: KdsPaymentTotalVariant;
3509
+ /**
3510
+ * Tono de color del monto. Combinable con cualquier `variant`.
3511
+ * - `brand` (default): purple Khipu / texto primario según variante.
3512
+ * - `info`: khipu-blue (#5A5FE0) — pantallas QR/transfer de LigoPay.
3513
+ * @default 'brand'
3514
+ */
3515
+ tone?: KdsPaymentTotalTone;
3516
+ /**
3517
+ * Si `true`, aplica el modificador `kds-payment-total--centered`: remueve el
3518
+ * `padding-left` asimétrico (que existe por defecto para la vista QR de
3519
+ * LigoPay) y centra todo el texto interno. Combinable con `variant` y `tone`.
3520
+ * @default false
3521
+ */
3522
+ centered?: boolean;
3523
+ /**
3524
+ * Monto a mostrar.
3525
+ * - `number`: el componente formatea (entera + decimal) con `Intl.NumberFormat`.
3526
+ * - `string`: ya formateado (e.g. `"1,500.50"` o `"1500.50"`). Si contiene `.`,
3527
+ * la parte tras el punto se renderiza como superíndice decimal.
3528
+ */
3529
+ amount: number | string;
3530
+ /**
3531
+ * Símbolo de moneda. Default `'S/'` (sol peruano) para mantener paridad con el origen
3532
+ * en paylink-ligopay. Pásalo explícito para otras monedas (`'$'`, `'CLP$'`, etc.).
3533
+ * @default 'S/'
3534
+ */
3535
+ currency?: string;
3536
+ /**
3537
+ * Cantidad de decimales. `0` o `null` ocultan el superíndice decimal.
3538
+ * Aplica sólo cuando `amount` es `number` o cuando contiene un `.`.
3539
+ * @default 2
3540
+ */
3541
+ decimals?: number | null;
3542
+ /**
3543
+ * Locale BCP-47 para `Intl.NumberFormat` (separadores miles/decimal).
3544
+ * Aplica sólo cuando `amount` es `number`.
3545
+ * @default 'es-PE'
3546
+ */
3547
+ locale?: string;
3548
+ /**
3549
+ * Etiqueta sobre el monto (e.g. `"Monto a pagar"`).
3550
+ * @default 'Monto a pagar'
3551
+ */
3552
+ label?: React__default.ReactNode;
3553
+ /**
3554
+ * Título principal (desktop). En la variante `default` aparece arriba; en `email`
3555
+ * se omite. Pasa `null` para ocultarlo en `default` también.
3556
+ * @default 'Escanea el QR'
3557
+ */
3558
+ title?: React__default.ReactNode;
3559
+ /**
3560
+ * Título alternativo para mobile en variante `default`. En desktop se oculta vía CSS.
3561
+ * Pasa `null` para omitirlo.
3562
+ * @default 'Descarga el QR'
3563
+ */
3564
+ titleMobile?: React__default.ReactNode;
3565
+ }
3566
+ /**
3567
+ * KdsPaymentTotal — bloque de "monto a pagar" usado en pantallas de pago QR y emails de cobro.
3568
+ *
3569
+ * Portado desde el taglib `<kh:paymentTotal>` de paylink-ligopay
3570
+ * (`KhipuTagLib.groovy:131-177` + `materialize-config.css → .payment-total`).
3571
+ *
3572
+ * **Variantes:**
3573
+ * - `default`: amount grande (`3rem`) en color primario Khipu — vista QR de pago.
3574
+ * - `email`: amount compacto (`1.5rem`) en color texto primario — plantillas email.
3575
+ *
3576
+ * **Layout responsive (default):**
3577
+ * - Desktop: padding-left 80px, title visible (titleMobile oculto).
3578
+ * - Mobile (≤ 1024px): centrado, sólo titleMobile visible.
3579
+ * - La variante `email` mantiene alineación izquierda en todos los breakpoints.
3580
+ *
3581
+ * **Decimal handling:**
3582
+ * - Si `amount` es `number`, se formatea con `Intl.NumberFormat(locale)`.
3583
+ * - Si `amount` es `string` con `.`, la parte tras el punto va al `<sup>`.
3584
+ * - `decimals={0}` o `null` desactivan el superíndice.
3585
+ *
3586
+ * @gsp Origen: paylink-ligopay/grails-app/taglib/com/khipu/payment/paylink/ligopay/KhipuTagLib.groovy
3587
+ * @css .kds-payment-total, .kds-payment-total--email, .kds-payment-total-title,
3588
+ * .kds-payment-total-title-mobile, .kds-payment-label, .kds-payment-amount,
3589
+ * .kds-payment-total-decimal-sup
3590
+ */
3591
+ declare const KdsPaymentTotal: React__default.ForwardRefExoticComponent<KdsPaymentTotalProps & React__default.RefAttributes<HTMLDivElement>>;
3592
+
3593
+ interface KdsBillAttachmentProps extends Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'children'> {
3594
+ /** Nombre del archivo a descargar. */
3595
+ filename: string;
3596
+ /** URL absoluta o relativa del archivo. */
3597
+ href: string;
3598
+ /** Icon Material Symbols. Default: `attach_file`. */
3599
+ icon?: string;
3600
+ }
3601
+ /**
3602
+ * KdsBillAttachment — link de descarga para adjuntos de la factura/bill.
3603
+ *
3604
+ * Layout (spec):
3605
+ * - `display: inline-flex; align-items: center; justify-content: flex-start`
3606
+ * - `width: fit-content`
3607
+ * - `color: var(--kds-color-info-main)`, `font-size: sm` (14px), `font-weight: 500`
3608
+ * - `text-decoration: none` → hover `underline` solo en el span
3609
+ * - Icon: `font-size: lg` (16px)
3610
+ *
3611
+ * @gsp `mat:billAttachments` taglib (introducida en commit 1a8e228c9)
3612
+ * @css .kds-bill-attachment, .kds-bill-attachments
3613
+ */
3614
+ declare const KdsBillAttachment: React__default.ForwardRefExoticComponent<KdsBillAttachmentProps & React__default.RefAttributes<HTMLAnchorElement>>;
3615
+ interface KdsBillAttachmentsProps extends React__default.HTMLAttributes<HTMLDivElement> {
3616
+ }
3617
+ /**
3618
+ * KdsBillAttachments — contenedor vertical de varios `KdsBillAttachment`.
3619
+ *
3620
+ * Layout (spec):
3621
+ * - `display: flex; flex-direction: column`
3622
+ * - `gap: var(--kds-spacing-0-75)` (6px)
3623
+ */
3624
+ declare const KdsBillAttachments: React__default.ForwardRefExoticComponent<KdsBillAttachmentsProps & React__default.RefAttributes<HTMLDivElement>>;
3625
+
3194
3626
  declare function useCopyToClipboard(resetMs?: number): {
3195
3627
  copied: boolean;
3196
3628
  copy: (text: string) => Promise<void>;
@@ -3236,4 +3668,4 @@ declare function getContrastColor(hex: string): string;
3236
3668
  */
3237
3669
  declare function lighten(hex: string, amount: number): string;
3238
3670
 
3239
- export { type Colors, KdsAccordion, KdsAccordionDetails, type KdsAccordionDetailsProps, type KdsAccordionProps, KdsAccordionSummary, type KdsAccordionSummaryProps, KdsAlert, type KdsAlertProps, type KdsAlertSeverity, KdsBankList, type KdsBankListProps, KdsBankModal, type KdsBankModalProps, KdsBankRow, type KdsBankRowProps, KdsBottomSheet, type KdsBottomSheetProps, KdsButton, type KdsButtonProps, type KdsButtonSize, type KdsButtonVariant, KdsCard, KdsCardBody, KdsCardFooter, KdsCardHeader, KdsCardPlan, type KdsCardPlanProps, type KdsCardProps, type KdsCardSectionProps, KdsCardSelector, type KdsCardSelectorProps, type KdsCardVariant, KdsCheckbox, type KdsCheckboxProps, KdsChip, type KdsChipColor, type KdsChipProps, KdsCopyRow, type KdsCopyRowProps, KdsCopyableTable, type KdsCopyableTableProps, type KdsCopyableTableRow, KdsCountdown, type KdsCountdownProps, KdsDivider, type KdsDividerProps, KdsExpandPanel, type KdsExpandPanelProps, KdsInvoiceSticky, type KdsInvoiceStickyProps, KdsLinearProgress, type KdsLinearProgressProps, KdsLogoHeader, KdsLogoHeaderCloseButton, type KdsLogoHeaderCloseButtonProps, KdsLogoHeaderCode, type KdsLogoHeaderCodeProps, KdsLogoHeaderLogo, type KdsLogoHeaderLogoProps, type KdsLogoHeaderProps, KdsLogoHeaderSeparator, type KdsLogoHeaderSeparatorProps, KdsModal, type KdsModalProps, type KdsModalSize, KdsQrRow, type KdsQrRowProps, KdsRadioGroup, type KdsRadioGroupProps, type KdsRadioOption, type KdsRecapItem, KdsRecapList, type KdsRecapListProps, KdsSectionNote, type KdsSectionNoteProps, KdsSecureFooter, type KdsSecureFooterProps, KdsSegmentedTabs, type KdsSegmentedTabsProps, KdsSelect, type KdsSelectItemProps, type KdsSelectProps, KdsSnackbar, type KdsSnackbarProps, type KdsSnackbarType, KdsSpinner, type KdsSpinnerProps, type KdsSpinnerSize, KdsStatusBlock, type KdsStatusBlockProps, type KdsStatusType, KdsStepper, type KdsStepperProps, KdsTab, KdsTabPanel, type KdsTabPanelProps, type KdsTabProps, KdsTabs, type KdsTabsProps, KdsTextField, type KdsTextFieldProps, KdsThemeProvider, type KdsThemeProviderProps, KdsTooltip, type KdsTooltipPlacement, type KdsTooltipProps, KdsTypography, type KdsTypographyProps, type KdsTypographyVariant, type ThemeMode, type Tokens, type TokensByMode, type Typography as TypographyTokens, borderRadius, breakpoints, colors, colorsByMode, fontFamilies, fontSizes, fontWeights, getContrastColor, letterSpacings, lighten, lineHeights, semanticSpacing, shadows, spacing, tokens, tokensByMode, transitions, typography, useAutoHide, useCopyToClipboard, useCountdown, useTabsKeyboard, zIndex };
3671
+ export { type Colors, KdsAccordion, KdsAccordionDetails, type KdsAccordionDetailsProps, type KdsAccordionProps, KdsAccordionSummary, type KdsAccordionSummaryProps, KdsAlert, type KdsAlertProps, type KdsAlertSeverity, KdsBankList, type KdsBankListProps, KdsBankModal, type KdsBankModalProps, KdsBankRow, type KdsBankRowProps, KdsBillAttachment, type KdsBillAttachmentProps, KdsBillAttachments, type KdsBillAttachmentsProps, KdsBottomSheet, type KdsBottomSheetProps, KdsButton, type KdsButtonProps, type KdsButtonSize, type KdsButtonVariant, KdsCard, KdsCardBody, KdsCardFooter, KdsCardHeader, KdsCardPlan, type KdsCardPlanProps, type KdsCardProps, type KdsCardSectionProps, KdsCardSelector, type KdsCardSelectorProps, type KdsCardVariant, KdsCheckbox, type KdsCheckboxProps, KdsChip, type KdsChipColor, type KdsChipProps, KdsCopyButton, type KdsCopyButtonProps, KdsCopyRow, type KdsCopyRowProps, KdsCopyableTable, type KdsCopyableTableProps, type KdsCopyableTableRow, KdsCountdown, type KdsCountdownProps, KdsDivider, type KdsDividerProps, KdsExpandPanel, type KdsExpandPanelProps, KdsInvoiceSticky, type KdsInvoiceStickyProps, KdsLinearProgress, type KdsLinearProgressProps, KdsMerchantTile, type KdsMerchantTileProps, KdsMontoRow, type KdsMontoRowProps, KdsPaymentTotal, type KdsPaymentTotalProps, type KdsPaymentTotalVariant, KdsQrRow, type KdsQrRowProps, KdsRadioGroup, type KdsRadioGroupProps, type KdsRadioOption, type KdsRecapItem, KdsRecapList, type KdsRecapListProps, KdsSearchField, type KdsSearchFieldProps, KdsSectionNote, type KdsSectionNoteProps, KdsSecureFooter, type KdsSecureFooterProps, KdsSecureLoader, type KdsSecureLoaderProps, KdsSegmentedTabs, type KdsSegmentedTabsProps, KdsSelect, type KdsSelectOption, type KdsSelectProps, KdsSnackbar, type KdsSnackbarProps, type KdsSnackbarType, KdsSpinner, type KdsSpinnerProps, type KdsSpinnerSize, KdsStatusBlock, type KdsStatusBlockProps, type KdsStatusType, KdsStepper, type KdsStepperProps, KdsTab, KdsTabPanel, type KdsTabPanelProps, type KdsTabProps, KdsTabs, type KdsTabsProps, KdsTextField, type KdsTextFieldProps, KdsThemeProvider, type KdsThemeProviderProps, KdsTooltip, type KdsTooltipPlacement, type KdsTooltipProps, KdsTypography, type KdsTypographyProps, type KdsTypographyVariant, type ThemeMode, type Tokens, type TokensByMode, type Typography as TypographyTokens, borderRadius, breakpoints, colors, colorsByMode, fontFamilies, fontSizes, fontWeights, getContrastColor, letterSpacings, lighten, lineHeights, semanticSpacing, shadows, spacing, tokens, tokensByMode, transitions, typography, useAutoHide, useCopyToClipboard, useCountdown, useTabsKeyboard, zIndex };