carconnect-gatherleads-ui-lib 2.2.4 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -279,6 +279,8 @@ export declare interface FormConfig {
279
279
  size?: 'default' | 'sm' | 'lg' | 'xl' | 'icon';
280
280
  /** Clases CSS adicionales */
281
281
  className?: string;
282
+ /** Deshabilita el botón */
283
+ disabled?: boolean;
282
284
  /**Permite esconder el boton */
283
285
  showButton?: boolean;
284
286
  /** Icono izquierdo */
@@ -19987,7 +19987,7 @@ const _T = ({
19987
19987
  {
19988
19988
  type: "button",
19989
19989
  onClick: v,
19990
- disabled: p || s || n,
19990
+ disabled: p || s || e.actionButton.disabled,
19991
19991
  variant: e.actionButton.variant || "gather-outline",
19992
19992
  size: e.actionButton.size || "default",
19993
19993
  leftIcon: e.actionButton.leftIcon,
@@ -20008,7 +20008,7 @@ const _T = ({
20008
20008
  leftIcon: e.submitButton?.leftIcon,
20009
20009
  rightIcon: e.submitButton?.rightIcon,
20010
20010
  className: te("min-w-52", e.submitButton?.className),
20011
- children: e.submitButton?.text || "Enviar"
20011
+ children: e.submitButton?.text || e.submitButton?.children || "Enviar"
20012
20012
  }
20013
20013
  )
20014
20014
  ] })