@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;
package/build/index.d.ts CHANGED
@@ -1048,6 +1048,8 @@ type ButtonBaseProps = {
1048
1048
  collapse?: boolean;
1049
1049
  /** CSS Animation shorthand property */
1050
1050
  animation?: string;
1051
+ /** CSS Animation shorthand property for the icon */
1052
+ iconAnimation?: string;
1051
1053
  /** The function to be called when the button is clicked */
1052
1054
  onClick?: (event: MouseEvent$1) => void;
1053
1055
  /** Sets the text backgroundColor of the button */
@@ -1332,12 +1334,14 @@ type IconProps = {
1332
1334
  pointer?: boolean;
1333
1335
  /** Sets the color of the icon to the parent element's color */
1334
1336
  inheritColor?: boolean;
1337
+ /** CSS Animation shorthand property */
1338
+ animation?: string;
1335
1339
  /** Sets the style prop of the Icon wrapper element */
1336
1340
  style?: {
1337
1341
  [key: string]: string | number;
1338
1342
  };
1339
1343
  } & ConditionalProps & MarginPadding & As & DivAttributes;
1340
- declare const Icon: ({ name, svg, size, width, height, color, hoverColor, pointer, inheritColor, style, onClick, ...props }: IconProps) => react_jsx_runtime.JSX.Element | null;
1344
+ declare const Icon: ({ name, svg, size, width, height, color, hoverColor, pointer, inheritColor, animation, style, onClick, ...props }: IconProps) => react_jsx_runtime.JSX.Element | null;
1341
1345
 
1342
1346
  type IconType = IconNames | IconProps | ReactElement<IconProps> | ReactElement<TooltipProps>;
1343
1347
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "files": [
5
5
  "build/**/*"
6
6
  ],