@windstream/react-shared-components 0.2.70 → 0.2.72
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.d.ts +14 -1
- package/dist/contentful/index.esm.js +1 -1
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +2 -2
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/select-plan-button/index.tsx +2 -2
- package/src/components/select-plan-button/types.ts +1 -1
- package/src/components/video-link/vimeo-embed.test.tsx +14 -0
- package/src/contentful/blocks/cards/product-card/index.test.tsx +48 -9
- package/src/contentful/blocks/cards/product-card/index.tsx +3 -1
- package/src/contentful/blocks/cards/product-card/types.ts +2 -1
- package/src/contentful/blocks/carousel/helper.test.tsx +43 -2
- package/src/contentful/blocks/carousel/helper.tsx +26 -3
- package/src/contentful/blocks/carousel/index.test.tsx +72 -2
- package/src/contentful/blocks/carousel/index.tsx +10 -1
- package/src/contentful/blocks/carousel/types.ts +12 -0
- package/src/contentful/blocks/primary-hero/index.tsx +51 -18
- package/src/contentful/blocks/primary-hero/types.ts +17 -0
- package/src/types/field-props.ts +9 -0
package/dist/core.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
|
|
|
71
71
|
size?: "slim" | "medium" | "large" | undefined;
|
|
72
72
|
label?: string | undefined;
|
|
73
73
|
errorText?: string | undefined;
|
|
74
|
-
prefixIconName?: "
|
|
74
|
+
prefixIconName?: "search" | "location_on" | undefined;
|
|
75
75
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
76
76
|
prefixIconFill?: boolean | undefined;
|
|
77
77
|
suffixIconFill?: boolean | undefined;
|
|
@@ -464,7 +464,7 @@ declare const RadioButton: React__default.FC<RadioButtonProps>;
|
|
|
464
464
|
declare const SeeMore: React.FC<SeeMoreProps>;
|
|
465
465
|
|
|
466
466
|
type SelectPlanButtonProps = {
|
|
467
|
-
onSelect: () => void;
|
|
467
|
+
onSelect: (event: React__default.MouseEvent<HTMLElement>) => void;
|
|
468
468
|
speed: string;
|
|
469
469
|
techType?: string;
|
|
470
470
|
isMax?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -423,7 +423,7 @@ type ButtonAsAnchor = ButtonCustomProps & Omit<AnchorHTMLAttributes<HTMLAnchorEl
|
|
|
423
423
|
};
|
|
424
424
|
type ButtonProps = ButtonAsButton | ButtonAsAnchor;
|
|
425
425
|
|
|
426
|
-
declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<
|
|
426
|
+
declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
427
427
|
|
|
428
428
|
declare const Checklist: React__default.FC<ChecklistProps>;
|
|
429
429
|
|
|
@@ -464,7 +464,7 @@ declare const RadioButton: React__default.FC<RadioButtonProps>;
|
|
|
464
464
|
declare const SeeMore: React.FC<SeeMoreProps>;
|
|
465
465
|
|
|
466
466
|
type SelectPlanButtonProps = {
|
|
467
|
-
onSelect: () => void;
|
|
467
|
+
onSelect: (event: React__default.MouseEvent<HTMLElement>) => void;
|
|
468
468
|
speed: string;
|
|
469
469
|
techType?: string;
|
|
470
470
|
isMax?: boolean;
|