@windstream/react-shared-components 0.1.95 → 0.1.97

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
@@ -23,6 +23,7 @@ import { CheckPlansProps } from '@shared/types/micro-components';
23
23
  import { HTMLMotionProps } from 'framer-motion';
24
24
  import { ClassValue } from 'clsx';
25
25
  export { ClassValue, clsx } from 'clsx';
26
+ import { IconName as IconName$1, Size as Size$2, Fill as Fill$1 } from '@shared/components/material-icon/types';
26
27
 
27
28
  declare const Button: React$1.ForwardRefExoticComponent<ButtonProps$1 & React$1.RefAttributes<HTMLButtonElement>>;
28
29
 
@@ -337,6 +338,9 @@ type ButtonCustomProps = {
337
338
  fullWidth?: boolean;
338
339
  buttonClassName?: string;
339
340
  size?: ResponsiveSize;
341
+ iconName?: IconName$1;
342
+ iconSize?: Size$2;
343
+ iconFill?: Fill$1;
340
344
  };
341
345
  type ButtonAsButton = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className"> & {
342
346
  as?: "button";
@@ -421,7 +425,7 @@ declare namespace Tooltip {
421
425
  var displayName: string;
422
426
  }
423
427
 
424
- type AnimationType = "scale" | "shadow" | "lift" | "opacity" | "grow";
428
+ type AnimationType = "scale" | "shadow" | "lift" | "opacity" | "grow" | "pop";
425
429
  interface AnimationWrapperProps extends Omit<HTMLMotionProps<"div">, "children"> {
426
430
  children: ReactElement;
427
431
  animationType?: AnimationType | AnimationType[];
package/dist/index.d.ts CHANGED
@@ -23,6 +23,7 @@ import { CheckPlansProps } from '@shared/types/micro-components';
23
23
  import { HTMLMotionProps } from 'framer-motion';
24
24
  import { ClassValue } from 'clsx';
25
25
  export { ClassValue, clsx } from 'clsx';
26
+ import { IconName as IconName$1, Size as Size$2, Fill as Fill$1 } from '@shared/components/material-icon/types';
26
27
 
27
28
  declare const Button: React$1.ForwardRefExoticComponent<ButtonProps$1 & React$1.RefAttributes<HTMLButtonElement>>;
28
29
 
@@ -64,7 +65,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
64
65
  size?: "slim" | "medium" | "large" | undefined;
65
66
  label?: string | undefined;
66
67
  errorText?: string | undefined;
67
- prefixIconName?: "location_on" | "search" | undefined;
68
+ prefixIconName?: "search" | "location_on" | undefined;
68
69
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
69
70
  prefixIconFill?: boolean | undefined;
70
71
  suffixIconFill?: boolean | undefined;
@@ -337,6 +338,9 @@ type ButtonCustomProps = {
337
338
  fullWidth?: boolean;
338
339
  buttonClassName?: string;
339
340
  size?: ResponsiveSize;
341
+ iconName?: IconName$1;
342
+ iconSize?: Size$2;
343
+ iconFill?: Fill$1;
340
344
  };
341
345
  type ButtonAsButton = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className"> & {
342
346
  as?: "button";
@@ -347,7 +351,7 @@ type ButtonAsAnchor = ButtonCustomProps & Omit<AnchorHTMLAttributes<HTMLAnchorEl
347
351
  };
348
352
  type ButtonProps = ButtonAsButton | ButtonAsAnchor;
349
353
 
350
- declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
354
+ declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
351
355
 
352
356
  declare const Checklist: React__default.FC<ChecklistProps>;
353
357
 
@@ -421,7 +425,7 @@ declare namespace Tooltip {
421
425
  var displayName: string;
422
426
  }
423
427
 
424
- type AnimationType = "scale" | "shadow" | "lift" | "opacity" | "grow";
428
+ type AnimationType = "scale" | "shadow" | "lift" | "opacity" | "grow" | "pop";
425
429
  interface AnimationWrapperProps extends Omit<HTMLMotionProps<"div">, "children"> {
426
430
  children: ReactElement;
427
431
  animationType?: AnimationType | AnimationType[];