@windstream/react-shared-components 0.0.31 → 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/contentful/index.esm.js +1 -1
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +1 -1
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +9 -3
- package/dist/index.d.ts +8 -2
- package/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/contentful/blocks/find-kinetic/index.tsx +1 -1
- package/src/index.ts +3 -0
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';
|
|
@@ -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;
|
|
@@ -325,7 +331,7 @@ type ButtonCustomProps = {
|
|
|
325
331
|
};
|
|
326
332
|
type ButtonProps = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className">;
|
|
327
333
|
|
|
328
|
-
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
334
|
+
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "children"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
329
335
|
|
|
330
336
|
declare const Checklist: React__default.FC<ChecklistProps>;
|
|
331
337
|
|
|
@@ -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';
|
|
@@ -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 };
|