@windstream/react-shared-components 0.0.30 → 0.0.32

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
@@ -4,6 +4,7 @@ export { ButtonHTMLAttributes, CSSProperties, ReactNode } from 'react';
4
4
  import { ButtonProps as ButtonProps$1 } from '@shared/components/button/types';
5
5
  export { ButtonProps } from '@shared/components/button/types';
6
6
  import { ImageProps as ImageProps$1 } from '@shared/components/image/types';
7
+ import { ImageProps as ImageProps$2 } from 'next/image';
7
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
9
  import { CallButtonProps } from '@shared/components/call-button/types';
9
10
  export { CallButtonProps } from '@shared/components/call-button/types';
@@ -60,7 +61,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
60
61
  size?: "slim" | "medium" | "large" | undefined;
61
62
  label?: string | undefined;
62
63
  errorText?: string | undefined;
63
- prefixIconName?: "location_on" | "search" | undefined;
64
+ prefixIconName?: "search" | "location_on" | undefined;
64
65
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
65
66
  prefixIconFill?: boolean | undefined;
66
67
  suffixIconFill?: boolean | undefined;
@@ -101,6 +102,11 @@ interface ImageProps extends ImageComponentProps {
101
102
 
102
103
  declare const Image: React$1.ForwardRefExoticComponent<ImageProps$1 & React$1.RefAttributes<HTMLImageElement>>;
103
104
 
105
+ interface NextImageComponentProps extends ImageProps$2 {
106
+ className?: string;
107
+ }
108
+ declare const NextImage: React$1.ForwardRefExoticComponent<NextImageComponentProps & React$1.RefAttributes<HTMLImageElement>>;
109
+
104
110
  interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
105
111
  /** Content to render inside the link */
106
112
  children: ReactNode;
@@ -415,5 +421,5 @@ declare function useBodyScrollLock(isOpen: boolean, hideScrollOnIsOpenFalse: boo
415
421
  */
416
422
  declare const cx: (...val: ClassValue[]) => string;
417
423
 
418
- export { Accordion, AlertCard, BrandButton, Button, CallButton, Checkbox, Checklist, Collapse, Divider, Image, Input, InputField, Link, List, ListItem, MaterialIcon, Modal, PageSkeleton, RadioButton, SeeMore, Select, SelectPlanButton, Skeleton, Spinner, Text, Input as TextInput, Tooltip, ViewCartButton, cx, useBodyScrollLock };
419
- export type { AlertCardProps, Animation, ButtonProps as BrandButtonProps, ButtonSizeT, ButtonVariantsT, CheckboxProps, CollapsibleProps, DividerProps, FilterOptions, IconName, IconProps, ImageComponentProps, ImageProps, InputFieldProps, InputProps, LinkProps, ListItemProps, ListProps, ModalProps, RadioButtonProps, ResponsiveSize, SelectOption, SelectPlanButtonProps, SelectProps, Shape, Size, SkeletonProps, SpinnerProps, TextProps, TextVariant, ToolTipProps, ViewCartButtonProps };
424
+ export { Accordion, AlertCard, BrandButton, Button, CallButton, Checkbox, Checklist, Collapse, Divider, Image, Input, InputField, Link, List, ListItem, MaterialIcon, Modal, NextImage, PageSkeleton, RadioButton, SeeMore, Select, SelectPlanButton, Skeleton, Spinner, Text, Input as TextInput, Tooltip, ViewCartButton, cx, useBodyScrollLock };
425
+ export type { AlertCardProps, Animation, ButtonProps as BrandButtonProps, ButtonSizeT, ButtonVariantsT, CheckboxProps, CollapsibleProps, DividerProps, FilterOptions, IconName, IconProps, ImageComponentProps, ImageProps, InputFieldProps, InputProps, LinkProps, ListItemProps, ListProps, ModalProps, NextImageComponentProps, RadioButtonProps, ResponsiveSize, SelectOption, SelectPlanButtonProps, SelectProps, Shape, Size, SkeletonProps, SpinnerProps, TextProps, TextVariant, ToolTipProps, ViewCartButtonProps };
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export { ButtonHTMLAttributes, CSSProperties, ReactNode } from 'react';
4
4
  import { ButtonProps as ButtonProps$1 } from '@shared/components/button/types';
5
5
  export { ButtonProps } from '@shared/components/button/types';
6
6
  import { ImageProps as ImageProps$1 } from '@shared/components/image/types';
7
+ import { ImageProps as ImageProps$2 } from 'next/image';
7
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
9
  import { CallButtonProps } from '@shared/components/call-button/types';
9
10
  export { CallButtonProps } from '@shared/components/call-button/types';
@@ -60,7 +61,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
60
61
  size?: "slim" | "medium" | "large" | undefined;
61
62
  label?: string | undefined;
62
63
  errorText?: string | undefined;
63
- prefixIconName?: "search" | "location_on" | undefined;
64
+ prefixIconName?: "location_on" | "search" | undefined;
64
65
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
65
66
  prefixIconFill?: boolean | undefined;
66
67
  suffixIconFill?: boolean | undefined;
@@ -101,6 +102,11 @@ interface ImageProps extends ImageComponentProps {
101
102
 
102
103
  declare const Image: React$1.ForwardRefExoticComponent<ImageProps$1 & React$1.RefAttributes<HTMLImageElement>>;
103
104
 
105
+ interface NextImageComponentProps extends ImageProps$2 {
106
+ className?: string;
107
+ }
108
+ declare const NextImage: React$1.ForwardRefExoticComponent<NextImageComponentProps & React$1.RefAttributes<HTMLImageElement>>;
109
+
104
110
  interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
105
111
  /** Content to render inside the link */
106
112
  children: ReactNode;
@@ -415,5 +421,5 @@ declare function useBodyScrollLock(isOpen: boolean, hideScrollOnIsOpenFalse: boo
415
421
  */
416
422
  declare const cx: (...val: ClassValue[]) => string;
417
423
 
418
- export { Accordion, AlertCard, BrandButton, Button, CallButton, Checkbox, Checklist, Collapse, Divider, Image, Input, InputField, Link, List, ListItem, MaterialIcon, Modal, PageSkeleton, RadioButton, SeeMore, Select, SelectPlanButton, Skeleton, Spinner, Text, Input as TextInput, Tooltip, ViewCartButton, cx, useBodyScrollLock };
419
- export type { AlertCardProps, Animation, ButtonProps as BrandButtonProps, ButtonSizeT, ButtonVariantsT, CheckboxProps, CollapsibleProps, DividerProps, FilterOptions, IconName, IconProps, ImageComponentProps, ImageProps, InputFieldProps, InputProps, LinkProps, ListItemProps, ListProps, ModalProps, RadioButtonProps, ResponsiveSize, SelectOption, SelectPlanButtonProps, SelectProps, Shape, Size, SkeletonProps, SpinnerProps, TextProps, TextVariant, ToolTipProps, ViewCartButtonProps };
424
+ export { Accordion, AlertCard, BrandButton, Button, CallButton, Checkbox, Checklist, Collapse, Divider, Image, Input, InputField, Link, List, ListItem, MaterialIcon, Modal, NextImage, PageSkeleton, RadioButton, SeeMore, Select, SelectPlanButton, Skeleton, Spinner, Text, Input as TextInput, Tooltip, ViewCartButton, cx, useBodyScrollLock };
425
+ export type { AlertCardProps, Animation, ButtonProps as BrandButtonProps, ButtonSizeT, ButtonVariantsT, CheckboxProps, CollapsibleProps, DividerProps, FilterOptions, IconName, IconProps, ImageComponentProps, ImageProps, InputFieldProps, InputProps, LinkProps, ListItemProps, ListProps, ModalProps, NextImageComponentProps, RadioButtonProps, ResponsiveSize, SelectOption, SelectPlanButtonProps, SelectProps, Shape, Size, SkeletonProps, SpinnerProps, TextProps, TextVariant, ToolTipProps, ViewCartButtonProps };