@windstream/react-shared-components 0.2.19 → 0.2.20

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
 
@@ -65,7 +66,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
65
66
  size?: "slim" | "medium" | "large" | undefined;
66
67
  label?: string | undefined;
67
68
  errorText?: string | undefined;
68
- prefixIconName?: "search" | "location_on" | undefined;
69
+ prefixIconName?: "location_on" | "search" | undefined;
69
70
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
70
71
  prefixIconFill?: boolean | undefined;
71
72
  suffixIconFill?: boolean | 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";
@@ -353,7 +356,7 @@ type ButtonAsAnchor = ButtonCustomProps & Omit<AnchorHTMLAttributes<HTMLAnchorEl
353
356
  };
354
357
  type ButtonProps = ButtonAsButton | ButtonAsAnchor;
355
358
 
356
- declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
359
+ declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
357
360
 
358
361
  declare const Checklist: React__default.FC<ChecklistProps>;
359
362
 
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";