@clicktap/ui 0.2.13 → 0.3.1

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.
@@ -1,3 +1,7 @@
1
- import { ButtonProps } from './types';
2
- export declare function Button({ children, isDisabled, isLoading, size, variant, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const Button: import("react").ForwardRefExoticComponent<import("react-aria-components").ButtonProps & {
3
+ isLoading?: boolean | undefined;
4
+ variant?: "outline" | "solid" | "ghost" | undefined;
5
+ size?: "sm" | "lg" | "md" | undefined;
6
+ } & import("react").RefAttributes<HTMLButtonElement>>;
3
7
  export default Button;
package/Modal/Modal.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { PropsWithChildren } from 'react';
2
- export declare function Modal(props: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
1
+ import { ModalRenderProps } from 'react-aria-components';
2
+ export declare function Modal(props: ModalRenderProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default Modal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TooltipProps } from '@nextui-org/tooltip';
2
- export declare function Tooltip({ children, ...props }: TooltipProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
3
4
  export default Tooltip;