@mirantes-micro/foundation-design-system 1.0.63 → 1.0.65

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,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { ReactNode, ChangeEvent, KeyboardEvent, MouseEventHandler, CSSProperties } from 'react';
2
+ import React__default, { ReactNode, ChangeEvent, KeyboardEvent } from 'react';
3
3
  import { QueryClient } from '@tanstack/react-query';
4
4
  import { AxiosInstance } from 'axios';
5
5
 
@@ -336,23 +336,13 @@ type ButtonProps = {
336
336
  };
337
337
  declare function Button({ children, className, disabled, isLoading, onClick, type, }: ButtonProps): React__default.JSX.Element;
338
338
 
339
- interface IMirantesButton extends React.ButtonHTMLAttributes<HTMLButtonElement> {
340
- type?: "button" | "submit";
341
- className?: string;
342
- onClick?: (e?: any) => void;
343
- onMouseDown?: MouseEventHandler<HTMLButtonElement>;
344
- onMouseUp?: MouseEventHandler<HTMLButtonElement>;
339
+ interface IMirantesButton extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
345
340
  label?: string;
346
341
  isLoading?: boolean;
347
- disabled?: boolean;
348
- leftElement?: ReactNode;
349
- rightElement?: ReactNode;
350
- children?: ReactNode;
351
- style?: CSSProperties;
352
- id?: string;
353
- align?: 'center' | 'left' | 'right';
342
+ leftElement?: React__default.ReactNode;
343
+ rightElement?: React__default.ReactNode;
344
+ align?: "left" | "center" | "right";
354
345
  }
355
-
356
346
  declare const MirantesButton: React__default.ForwardRefExoticComponent<IMirantesButton & React__default.RefAttributes<HTMLButtonElement>>;
357
347
 
358
348
  interface IDropdownProps {