@sunrise-upc/sales-static-components 4.2.0-beta.0 → 4.2.0-beta.2
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/README.md +8 -8
- package/dist/cjs/components/ButtonGroup/ButtonGroup.css +95 -95
- package/dist/cjs/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js +1 -1
- package/dist/cjs/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js.map +1 -1
- package/dist/cjs/components/DeviceGallery/DeviceGalleryList.js +1 -1
- package/dist/cjs/components/DeviceGallery/DeviceGalleryList.js.map +1 -1
- package/dist/cjs/components/FalconButton/falconButton.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/FalconHeader/BusinessCustomerLinkOut/BusinessCustomerLinkOut.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/MobileNavigation/MobileMenuItem/MobileMenuItem.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
- package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.css +20 -0
- package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js +1 -1
- package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js.map +1 -1
- package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.css +20 -0
- package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.js +1 -1
- package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardItemBenefits.js.map +1 -1
- package/dist/cjs/components/RibbonComponent/RibbonComponent.css +389 -389
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.css +68 -68
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js +1 -1
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js.map +1 -1
- package/dist/cjs/components/StageTeaserComponent/DoubleGrid/DoubleGridComponent.css +937 -937
- package/dist/cjs/components/StageTeaserComponent/SingleGrid/SingleGridRedefined.js.map +1 -1
- package/dist/cjs/components/StageTeaserV3/DoubleGrid/DoubleGridComponent.css +87 -87
- package/dist/cjs/components/StageTeaserV3/SingleGrid/SingleGridComponent.css +87 -87
- package/dist/cjs/components/StageTeaserV3/StageTeaserSwiperV3.css +4 -4
- package/dist/cjs/components/StageTeaserV3/StageTeaserSwiperV3Style.module.scss.css +4 -4
- package/dist/cjs/components/linecheck/AutoComplete.css +514 -515
- package/dist/cjs/components/linecheck/FiberUpgradeInfo.css +514 -515
- package/dist/cjs/components/linecheck/LineCheckV2.css +514 -515
- package/dist/cjs/components/linecheck/Success.css +514 -515
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +1 -1
- package/dist/cjs/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js.map +1 -1
- package/dist/cjs/node_modules/algoliasearch-helper/src/algoliasearch.helper.js +1 -1
- package/dist/cjs/node_modules/algoliasearch-helper/src/algoliasearch.helper.js.map +1 -1
- package/dist/cjs/node_modules/algoliasearch-helper/src/version.js +1 -1
- package/dist/cjs/node_modules/algoliasearch-helper/src/version.js.map +1 -1
- package/dist/cjs/node_modules/immer/dist/immer.js +1 -1
- package/dist/cjs/node_modules/immer/dist/immer.js.map +1 -1
- package/dist/cjs/node_modules/instantsearch.js/es/lib/utils/render-args.js +1 -1
- package/dist/cjs/node_modules/instantsearch.js/es/lib/utils/render-args.js.map +1 -1
- package/dist/cjs/node_modules/instantsearch.js/es/lib/version.js +1 -1
- package/dist/cjs/node_modules/instantsearch.js/es/lib/version.js.map +1 -1
- package/dist/cjs/node_modules/react-instantsearch-core/dist/es/version.js +1 -1
- package/dist/cjs/node_modules/react-instantsearch-core/dist/es/version.js.map +1 -1
- package/dist/cjs/utils/AnalyticUtils.js +1 -1
- package/dist/cjs/utils/AnalyticUtils.js.map +1 -1
- package/dist/esm/components/ButtonGroup/ButtonGroup.css +95 -95
- package/dist/esm/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js +1 -1
- package/dist/esm/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js.map +1 -1
- package/dist/esm/components/DeviceGallery/DeviceGalleryList.js +1 -1
- package/dist/esm/components/DeviceGallery/DeviceGalleryList.js.map +1 -1
- package/dist/esm/components/FalconMainNavigation/NavigationMenuItem/NavigationMenuItem.js +1 -1
- package/dist/esm/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
- package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.css +20 -0
- package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js +1 -1
- package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js.map +1 -1
- package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.css +20 -0
- package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.js +1 -1
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCardItem/InternetAndTvCardItem.js +1 -1
- package/dist/esm/components/RibbonComponent/RibbonComponent.css +389 -389
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.css +68 -68
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js +1 -1
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js.map +1 -1
- package/dist/esm/components/StageTeaserComponent/DoubleGrid/DoubleGridComponent.css +937 -937
- package/dist/esm/components/StageTeaserV3/DoubleGrid/DoubleGridComponent.css +87 -87
- package/dist/esm/components/StageTeaserV3/SingleGrid/SingleGridComponent.css +87 -87
- package/dist/esm/components/StageTeaserV3/StageTeaserSwiperV3.css +4 -4
- package/dist/esm/components/StageTeaserV3/StageTeaserSwiperV3Style.module.scss.css +4 -4
- package/dist/esm/components/linecheck/AutoComplete.css +514 -515
- package/dist/esm/components/linecheck/FiberUpgradeInfo.css +514 -515
- package/dist/esm/components/linecheck/LineCheckV2.css +514 -515
- package/dist/esm/components/linecheck/LineCheckV2.js +1 -1
- package/dist/esm/components/linecheck/Success.css +514 -515
- package/dist/esm/index.js +1 -1
- package/dist/esm/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +1 -1
- package/dist/esm/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js.map +1 -1
- package/dist/esm/node_modules/algoliasearch-helper/src/algoliasearch.helper.js +1 -1
- package/dist/esm/node_modules/algoliasearch-helper/src/algoliasearch.helper.js.map +1 -1
- package/dist/esm/node_modules/algoliasearch-helper/src/version.js +1 -1
- package/dist/esm/node_modules/algoliasearch-helper/src/version.js.map +1 -1
- package/dist/esm/node_modules/immer/dist/immer.js +1 -1
- package/dist/esm/node_modules/immer/dist/immer.js.map +1 -1
- package/dist/esm/node_modules/instantsearch.js/es/lib/utils/render-args.js +1 -1
- package/dist/esm/node_modules/instantsearch.js/es/lib/utils/render-args.js.map +1 -1
- package/dist/esm/node_modules/instantsearch.js/es/lib/version.js +1 -1
- package/dist/esm/node_modules/instantsearch.js/es/lib/version.js.map +1 -1
- package/dist/esm/node_modules/react-instantsearch-core/dist/es/version.js +1 -1
- package/dist/esm/node_modules/react-instantsearch-core/dist/es/version.js.map +1 -1
- package/dist/esm/utils/AnalyticUtils.js +1 -1
- package/dist/esm/utils/AnalyticUtils.js.map +1 -1
- package/dist/index.d.ts +54 -6
- package/dist/navigation.css +1087 -1087
- package/package.json +115 -115
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ interface TimerSchema {
|
|
|
14
14
|
expiryLabel: string;
|
|
15
15
|
timerColor?: string;
|
|
16
16
|
backgroundColor: string;
|
|
17
|
-
backgroundColorTransparency: number;
|
|
17
|
+
backgroundColorTransparency: number | string;
|
|
18
18
|
timerAlignment: string;
|
|
19
19
|
dayLabel: string;
|
|
20
20
|
hourLabel: string;
|
|
@@ -121,6 +121,7 @@ interface GlobalPromoRibbonSchema {
|
|
|
121
121
|
bannerLocation?: string;
|
|
122
122
|
buttons?: GlobalPromoRibbonButtonSchema[];
|
|
123
123
|
slimVersion?: boolean;
|
|
124
|
+
desktopBreakline?: boolean;
|
|
124
125
|
gradientBackgroundGlobal?: string;
|
|
125
126
|
customerType?: string | string[];
|
|
126
127
|
customerDeviceSegment?: string | string[];
|
|
@@ -381,11 +382,9 @@ interface DeviceGalleryListContent {
|
|
|
381
382
|
}
|
|
382
383
|
interface DeviceGalleryListProps {
|
|
383
384
|
content: DeviceGalleryListContent;
|
|
384
|
-
onEligibleItem?: (eventType: 'view' | 'select') => void;
|
|
385
|
-
onPrepareItemAnalytics?: (content: DeviceGalleryItemSchema) => void;
|
|
386
385
|
useFalconStyle?: boolean;
|
|
387
386
|
}
|
|
388
|
-
declare const DeviceGalleryList: ({ content,
|
|
387
|
+
declare const DeviceGalleryList: ({ content, useFalconStyle, }: DeviceGalleryListProps) => React.JSX.Element;
|
|
389
388
|
|
|
390
389
|
interface InternetAndTvCardItemSchema {
|
|
391
390
|
_uid: string;
|
|
@@ -842,5 +841,54 @@ declare class CartPropConfig {
|
|
|
842
841
|
static create: (p_config: CartPropConfigSchema) => void;
|
|
843
842
|
}
|
|
844
843
|
|
|
845
|
-
|
|
846
|
-
|
|
844
|
+
declare global {
|
|
845
|
+
interface Window {
|
|
846
|
+
appEventData: any;
|
|
847
|
+
dataLayer: any;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
declare const trackComponent: (title: string, targetLink: string | undefined, type: string, subType: string) => void;
|
|
851
|
+
declare const trackNewDatalayerEvent: (event: string, eventName: string, eventInfo?: any) => void;
|
|
852
|
+
declare const trackGADatalayerEvent: (event: string, eventName: string, eventInfo?: any) => void;
|
|
853
|
+
interface DeviceGalleryAnalyticsItem {
|
|
854
|
+
item_id: string;
|
|
855
|
+
item_name: string;
|
|
856
|
+
item_brand: string;
|
|
857
|
+
item_category: string;
|
|
858
|
+
item_category2: string;
|
|
859
|
+
item_category3: string;
|
|
860
|
+
item_category4: string;
|
|
861
|
+
item_category5: string;
|
|
862
|
+
item_list_id: string;
|
|
863
|
+
item_list_name: string;
|
|
864
|
+
item_variant: string;
|
|
865
|
+
price: number;
|
|
866
|
+
quantity: number;
|
|
867
|
+
}
|
|
868
|
+
declare const getDeviceGalleryAnalyticsItem: (content: {
|
|
869
|
+
title?: string;
|
|
870
|
+
}) => DeviceGalleryAnalyticsItem;
|
|
871
|
+
declare const trackDeviceGalleryEligibility: (eventType: "view" | "select", items: DeviceGalleryAnalyticsItem[], selectedItem?: DeviceGalleryAnalyticsItem) => void;
|
|
872
|
+
declare const getDeviceGallerySelectAnalyticsItem: (content: {
|
|
873
|
+
title?: string;
|
|
874
|
+
promoText?: string;
|
|
875
|
+
}, index: number) => DeviceGalleryAnalyticsItem & {
|
|
876
|
+
affiliation: string;
|
|
877
|
+
coupon: string;
|
|
878
|
+
discount: string;
|
|
879
|
+
index: number;
|
|
880
|
+
location_id: string;
|
|
881
|
+
};
|
|
882
|
+
declare const trackLineEvent: (address: string, eventAction: string, eventValue: string | number, id: string | undefined, type: string) => void;
|
|
883
|
+
declare const trackEvent: (eventAction: string, eventValue: string | number, type: string) => void;
|
|
884
|
+
declare const trackMessageEvent: (description: string, source: string, title: string, type: string, guid?: string, errorID?: string) => void;
|
|
885
|
+
interface ErrorEventInfoInterface {
|
|
886
|
+
message_type: string;
|
|
887
|
+
message_title: string;
|
|
888
|
+
message_source: string;
|
|
889
|
+
message_reason: string;
|
|
890
|
+
}
|
|
891
|
+
declare const trackErrorEvent: (message_type: string, message_title: string, message_source: string, message_reason: string) => void;
|
|
892
|
+
|
|
893
|
+
export { BadgeContainer, ButtonGroup, CartPropConfig, CustomerPropConfig, DeviceGalleryList, FalconButtonV3, FalconMainNavigation, GlobalPromoRibbon, ImageComponent, ImageWithText, ImageWithTextWrapper, InternetAndTvCards, InternetAndTvCardsBenefits, LineCheckV2, LinecheckBasicPropConfig, MinimizedHeader, PromoBubble, PromotionTeaser, QuickLinks, RibbonComponent, RibbonRenderer, SearchWrapper, StageTeaserComponent, StageTeaserV3, TextComponent, createCustomerGroupFetcher, createCustomerSegmentSync, customerGroup, dispatchCustomerSegmentRefreshEvent, extractCustomerGroupFromProfile, getCurrentCustomerSegment, getDeviceGalleryAnalyticsItem, getDeviceGallerySelectAnalyticsItem, hasCachedCustomerSegment, resolveCustomerGroup, setCustomerSegment, subscribeToCustomerSegmentRefresh, syncCustomerSegment, trackComponent, trackDeviceGalleryEligibility, trackErrorEvent, trackEvent, trackGADatalayerEvent, trackLineEvent, trackMessageEvent, trackNewDatalayerEvent };
|
|
894
|
+
export type { CartPropConfigSchema, CreateCustomerGroupFetcherOptions, CustomerProfileResponse, CustomerPropConfigSchema, CustomerSegmentRefreshDetail, CustomerSegmentSyncApi, CustomerSegmentSyncOptions, DeviceGalleryAnalyticsItem, DeviceGalleryItemSchema, DeviceGalleryListContent, DeviceGalleryListProps, ErrorEventInfoInterface, InternetAndTvCardItemSchema, InternetAndTvCardsContent, InternetAndTvCardsProps, LinecheckBasicPropConfigSchema, PromotionTeaserProps, PromotionTeaserSchema, QuickLinkItemSchema, QuickLinksContent, QuickLinksProps, ResolveCustomerGroupOptions, RibbonComponentSchema, RibbonRendererProps, StageTeaserSlideContent, StageTeaserSwiperContent, StageTeaserSwiperProps, StageTeaserV3Content, StageTeaserV3Props };
|