@windstream/react-shared-components 0.2.19 → 0.2.21

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/core.d.ts CHANGED
@@ -24,6 +24,7 @@ import { HTMLMotionProps } from 'framer-motion';
24
24
  import { ClassValue } from 'clsx';
25
25
  export { ClassValue, clsx } from 'clsx';
26
26
  import { IconName as IconName$1, Size as Size$2, Fill as Fill$1 } from '@shared/components/material-icon/types';
27
+ import { AnimationType as AnimationType$1 } from '@shared/components/animation-wrapper';
27
28
 
28
29
  declare const Button: React$1.ForwardRefExoticComponent<ButtonProps$1 & React$1.RefAttributes<HTMLButtonElement>>;
29
30
 
@@ -61,15 +62,15 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
61
62
 
62
63
  declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
63
64
  declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
64
- state?: "default" | "focus" | "active" | "hover" | "filled" | "error" | undefined;
65
- size?: "slim" | "medium" | "large" | undefined;
65
+ state?: "default" | "error" | "filled" | "active" | "focus" | "hover" | undefined;
66
+ size?: "medium" | "large" | "slim" | undefined;
66
67
  label?: string | undefined;
67
68
  errorText?: string | undefined;
68
69
  prefixIconName?: "search" | "location_on" | undefined;
69
70
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
70
71
  prefixIconFill?: boolean | undefined;
71
72
  suffixIconFill?: boolean | undefined;
72
- suffixIconName?: "visibility" | "visibility_off" | "lock" | undefined;
73
+ suffixIconName?: "visibility" | "lock" | "visibility_off" | undefined;
73
74
  suffixIconSize?: 20 | 24 | 40 | 48 | undefined;
74
75
  containerClassName?: string | undefined;
75
76
  prefixIconClassName?: string | undefined;
@@ -343,6 +344,8 @@ type ButtonCustomProps = {
343
344
  iconName?: IconName$1;
344
345
  iconSize?: Size$2;
345
346
  iconFill?: Fill$1;
347
+ disableAnimation?: boolean;
348
+ animationType?: AnimationType$1 | AnimationType$1[];
346
349
  };
347
350
  type ButtonAsButton = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className"> & {
348
351
  as?: "button";
package/dist/index.d.ts CHANGED
@@ -24,6 +24,7 @@ import { HTMLMotionProps } from 'framer-motion';
24
24
  import { ClassValue } from 'clsx';
25
25
  export { ClassValue, clsx } from 'clsx';
26
26
  import { IconName as IconName$1, Size as Size$2, Fill as Fill$1 } from '@shared/components/material-icon/types';
27
+ import { AnimationType as AnimationType$1 } from '@shared/components/animation-wrapper';
27
28
 
28
29
  declare const Button: React$1.ForwardRefExoticComponent<ButtonProps$1 & React$1.RefAttributes<HTMLButtonElement>>;
29
30
 
@@ -343,6 +344,8 @@ type ButtonCustomProps = {
343
344
  iconName?: IconName$1;
344
345
  iconSize?: Size$2;
345
346
  iconFill?: Fill$1;
347
+ disableAnimation?: boolean;
348
+ animationType?: AnimationType$1 | AnimationType$1[];
346
349
  };
347
350
  type ButtonAsButton = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className"> & {
348
351
  as?: "button";