@windstream/react-shared-components 0.2.81 → 0.2.82
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 +3 -1
- 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 +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/contentful/blocks/anchored-bottom-banner/index.test.tsx +35 -0
- package/src/contentful/blocks/anchored-bottom-banner/index.tsx +32 -16
- package/src/contentful/blocks/anchored-bottom-banner/types.ts +18 -1
|
@@ -874,6 +874,7 @@ interface DynamicTabsT {
|
|
|
874
874
|
declare function DynamicTabs(props: DynamicTabsT): react_jsx_runtime.JSX.Element;
|
|
875
875
|
|
|
876
876
|
type ScheduledMessageDay = "ALL" | "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT";
|
|
877
|
+
type AnchoredBannerBackgroundColor = "navy" | "yellow" | "green" | "purple" | "blue" | "white" | (string & {});
|
|
877
878
|
interface ScheduledMessage {
|
|
878
879
|
id?: string;
|
|
879
880
|
scheduledStart?: string;
|
|
@@ -891,7 +892,7 @@ interface ScheduledMessage {
|
|
|
891
892
|
}
|
|
892
893
|
interface AnchoredBottomBannerProps {
|
|
893
894
|
ctaSuffixText?: string;
|
|
894
|
-
backgroundColor?:
|
|
895
|
+
backgroundColor?: AnchoredBannerBackgroundColor;
|
|
895
896
|
iconName?: string;
|
|
896
897
|
boxShadow?: boolean;
|
|
897
898
|
ctaButtonLabel?: string;
|
|
@@ -902,6 +903,7 @@ interface AnchoredBottomBannerProps {
|
|
|
902
903
|
countdownStartDateTime?: string;
|
|
903
904
|
countdownEndDateTime?: string;
|
|
904
905
|
scheduledMessages?: ScheduledMessage[];
|
|
906
|
+
initialNowMs?: number;
|
|
905
907
|
onResolved?: (result: {
|
|
906
908
|
hasActiveMessage: boolean;
|
|
907
909
|
activeMessage?: ScheduledMessage;
|