@windstream/react-shared-components 0.2.80 → 0.2.81
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 +8 -0
- package/dist/contentful/index.esm.js +2 -2
- 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/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/contentful/blocks/address-input-banner/index.test.tsx +13 -0
- package/src/contentful/blocks/address-input-banner/index.tsx +5 -1
- package/src/contentful/blocks/address-input-banner/types.ts +3 -0
- package/src/contentful/blocks/button/index.test.tsx +45 -2
- package/src/contentful/blocks/button/index.tsx +13 -1
- package/src/contentful/blocks/button/types.ts +2 -0
- package/src/contentful/blocks/footer/index.test.tsx +65 -2
- package/src/contentful/blocks/footer/index.tsx +14 -4
- package/src/contentful/blocks/footer/types.ts +4 -0
- package/src/contentful/blocks/navigation/desktop-link-groups.tsx/index.test.tsx +26 -2
- package/src/contentful/blocks/navigation/desktop-link-groups.tsx/index.tsx +8 -2
- package/src/contentful/blocks/navigation/index.test.tsx +40 -2
- package/src/contentful/blocks/navigation/index.tsx +25 -5
- package/src/contentful/blocks/navigation/mobile-link-groups.tsx/index.test.tsx +14 -0
- package/src/contentful/blocks/navigation/mobile-link-groups.tsx/index.tsx +4 -1
- package/src/contentful/blocks/navigation/types.ts +5 -0
- package/src/types/micro-components.ts +6 -0
|
@@ -94,6 +94,8 @@ type ButtonProps = {
|
|
|
94
94
|
iconSize?: Size;
|
|
95
95
|
disableAnimation?: boolean;
|
|
96
96
|
animationType?: AnimationType | AnimationType[];
|
|
97
|
+
/** Extra DOM attribute props, spread onto the rendered link/button element. */
|
|
98
|
+
fieldProps?: Record<string, unknown>;
|
|
97
99
|
};
|
|
98
100
|
|
|
99
101
|
type CalloutCardType = "simple" | "blog" | "fullImage" | "floatingImage";
|
|
@@ -377,6 +379,8 @@ type FooterProps = {
|
|
|
377
379
|
terms?: string;
|
|
378
380
|
maxWidth?: boolean;
|
|
379
381
|
onClick?: (event: React__default.MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void;
|
|
382
|
+
/** Extra DOM attribute props, spread onto the respective rendered elements. */
|
|
383
|
+
fieldProps?: FieldProps<"body" | "terms" | "copyrights">;
|
|
380
384
|
};
|
|
381
385
|
|
|
382
386
|
declare const Footer: React__default.FC<FooterProps>;
|
|
@@ -475,6 +479,8 @@ interface Navigation$1 {
|
|
|
475
479
|
/** When true, renders the mobile hamburger navigation in the desktop
|
|
476
480
|
* viewport and hides the inline desktop nav. Defaults to false. */
|
|
477
481
|
enableHamburgerNavigationOnDesktop?: boolean;
|
|
482
|
+
/** Extra DOM attribute props, spread onto the respective rendered elements. */
|
|
483
|
+
fieldProps?: FieldProps<"logo" | "searchBarIcon" | "callNowCtaText" | "callNowCtaIcon">;
|
|
478
484
|
}
|
|
479
485
|
type NavigationProps = Navigation$1;
|
|
480
486
|
|
|
@@ -836,6 +842,8 @@ interface AddressInputBannerProps {
|
|
|
836
842
|
navHeight?: number;
|
|
837
843
|
isVisible?: boolean;
|
|
838
844
|
renderCheckPlans?: (overrides?: CheckPlansProps) => React__default.ReactNode;
|
|
845
|
+
/** Extra DOM attribute props, spread onto the respective rendered elements. */
|
|
846
|
+
fieldProps?: FieldProps<"title">;
|
|
839
847
|
}
|
|
840
848
|
|
|
841
849
|
declare const AddressInputBanner: FC<AddressInputBannerProps>;
|