@wavv/ui 1.8.4 → 1.8.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.
@@ -31,6 +31,8 @@ type ButtonBaseProps = {
31
31
  collapse?: boolean;
32
32
  /** CSS Animation shorthand property */
33
33
  animation?: string;
34
+ /** CSS Animation shorthand property for the icon */
35
+ iconAnimation?: string;
34
36
  /** The function to be called when the button is clicked */
35
37
  onClick?: (event: MouseEvent) => void;
36
38
  /** Sets the text backgroundColor of the button */
@@ -27,10 +27,12 @@ export type IconProps = {
27
27
  pointer?: boolean;
28
28
  /** Sets the color of the icon to the parent element's color */
29
29
  inheritColor?: boolean;
30
+ /** CSS Animation shorthand property */
31
+ animation?: string;
30
32
  /** Sets the style prop of the Icon wrapper element */
31
33
  style?: {
32
34
  [key: string]: string | number;
33
35
  };
34
36
  } & ConditionalProps & MarginPadding & As & DivAttributes;
35
- declare const Icon: ({ name, svg, size, width, height, color, hoverColor, pointer, inheritColor, style, onClick, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element | null;
37
+ declare const Icon: ({ name, svg, size, width, height, color, hoverColor, pointer, inheritColor, animation, style, onClick, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element | null;
36
38
  export default Icon;