eai-frontend-components 2.0.72 → 2.0.73

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
@@ -105,7 +105,7 @@ declare const BreadcrumbEllipsis: {
105
105
  };
106
106
 
107
107
  declare const buttonVariants: (props?: ({
108
- variant?: "default" | "secondary" | "destructive" | "outline" | "link" | "primary" | "ghost" | null | undefined;
108
+ variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "primary" | "ghost" | null | undefined;
109
109
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
110
110
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
111
111
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
package/dist/index.esm.js CHANGED
@@ -9401,7 +9401,7 @@ const FormInputDate = ({ control, name, label, subLabel, helpText, placeholder =
9401
9401
  if (onKeyUp) {
9402
9402
  onKeyUp(e);
9403
9403
  }
9404
- } }), jsx("div", { className: 'absolute left-3 top-1/2 -translate-y-1/2 cursor-pointer', children: jsxs(Popover, { open: open, onOpenChange: setOpen, children: [jsx(PopoverTrigger, { asChild: true, children: jsx(CalendarIcon, { size: 16, className: 'cursor-pointer text-gray-500' }) }), jsx(PopoverContent, { className: 'w-[250px] p-0', align: 'start', children: jsx(Calendar, { mode: 'single', locale: ptBR, required: true, selected: stringToDate(field.value) ?? new Date(), onSelect: (date) => {
9404
+ } }), jsx("div", { className: 'absolute left-3 top-1/2 -translate-y-1/2 cursor-pointer', children: disabled ? (jsx(CalendarIcon, { size: 16, className: 'cursor-pointer text-gray-500' })) : (jsxs(Popover, { open: open, onOpenChange: setOpen, children: [jsx(PopoverTrigger, { asChild: true, children: jsx(CalendarIcon, { size: 16, className: 'cursor-pointer text-gray-500' }) }), jsx(PopoverContent, { className: 'w-[250px] p-0', align: 'start', children: jsx(Calendar, { mode: 'single', locale: ptBR, required: true, selected: stringToDate(field.value) ?? new Date(), onSelect: (date) => {
9405
9405
  field.onChange(date ? date.toLocaleDateString('pt-BR') : '');
9406
9406
  if (onChange) {
9407
9407
  onChange({
@@ -9409,7 +9409,7 @@ const FormInputDate = ({ control, name, label, subLabel, helpText, placeholder =
9409
9409
  });
9410
9410
  }
9411
9411
  setOpen(false);
9412
- }, className: 'rounded-md', captionLayout: 'dropdown' }) })] }) })] }) }), formMessage(FormMessage)] })) }));
9412
+ }, className: 'rounded-md', captionLayout: 'dropdown' }) })] })) })] }) }), formMessage(FormMessage)] })) }));
9413
9413
  };
9414
9414
 
9415
9415
  const FormDataRange = ({ control, name, label, subLabel, helpText, placeholder, className, disabled, required, onChange, }) => {