@sunrise-upc/sales-static-components 4.2.0-beta.0 → 4.2.0-beta.1

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.
Files changed (90) hide show
  1. package/README.md +8 -8
  2. package/dist/cjs/components/ButtonGroup/ButtonGroup.css +95 -95
  3. package/dist/cjs/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js +1 -1
  4. package/dist/cjs/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js.map +1 -1
  5. package/dist/cjs/components/DeviceGallery/DeviceGalleryList.js +1 -1
  6. package/dist/cjs/components/DeviceGallery/DeviceGalleryList.js.map +1 -1
  7. package/dist/cjs/components/FalconButton/falconButton.js.map +1 -1
  8. package/dist/cjs/components/FalconMainNavigation/FalconHeader/BusinessCustomerLinkOut/BusinessCustomerLinkOut.js.map +1 -1
  9. package/dist/cjs/components/FalconMainNavigation/MobileNavigation/MobileMenuItem/MobileMenuItem.js.map +1 -1
  10. package/dist/cjs/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
  11. package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.css +20 -0
  12. package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js +1 -1
  13. package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js.map +1 -1
  14. package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.css +20 -0
  15. package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.js +1 -1
  16. package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardItemBenefits.js.map +1 -1
  17. package/dist/cjs/components/RibbonComponent/RibbonComponent.css +389 -389
  18. package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.css +68 -68
  19. package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js +1 -1
  20. package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js.map +1 -1
  21. package/dist/cjs/components/StageTeaserComponent/DoubleGrid/DoubleGridComponent.css +937 -937
  22. package/dist/cjs/components/StageTeaserComponent/SingleGrid/SingleGridRedefined.js.map +1 -1
  23. package/dist/cjs/components/StageTeaserV3/DoubleGrid/DoubleGridComponent.css +87 -87
  24. package/dist/cjs/components/StageTeaserV3/SingleGrid/SingleGridComponent.css +87 -87
  25. package/dist/cjs/components/linecheck/AutoComplete.css +514 -515
  26. package/dist/cjs/components/linecheck/FiberUpgradeInfo.css +514 -515
  27. package/dist/cjs/components/linecheck/LineCheckV2.css +514 -515
  28. package/dist/cjs/components/linecheck/Success.css +514 -515
  29. package/dist/cjs/index.js +1 -1
  30. package/dist/cjs/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +1 -1
  31. package/dist/cjs/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js.map +1 -1
  32. package/dist/cjs/node_modules/algoliasearch-helper/src/algoliasearch.helper.js +1 -1
  33. package/dist/cjs/node_modules/algoliasearch-helper/src/algoliasearch.helper.js.map +1 -1
  34. package/dist/cjs/node_modules/algoliasearch-helper/src/version.js +1 -1
  35. package/dist/cjs/node_modules/algoliasearch-helper/src/version.js.map +1 -1
  36. package/dist/cjs/node_modules/immer/dist/immer.js +1 -1
  37. package/dist/cjs/node_modules/immer/dist/immer.js.map +1 -1
  38. package/dist/cjs/node_modules/instantsearch.js/es/lib/utils/render-args.js +1 -1
  39. package/dist/cjs/node_modules/instantsearch.js/es/lib/utils/render-args.js.map +1 -1
  40. package/dist/cjs/node_modules/instantsearch.js/es/lib/version.js +1 -1
  41. package/dist/cjs/node_modules/instantsearch.js/es/lib/version.js.map +1 -1
  42. package/dist/cjs/node_modules/react-instantsearch-core/dist/es/version.js +1 -1
  43. package/dist/cjs/node_modules/react-instantsearch-core/dist/es/version.js.map +1 -1
  44. package/dist/cjs/utils/AnalyticUtils.js +1 -1
  45. package/dist/cjs/utils/AnalyticUtils.js.map +1 -1
  46. package/dist/esm/components/ButtonGroup/ButtonGroup.css +95 -95
  47. package/dist/esm/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js +1 -1
  48. package/dist/esm/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js.map +1 -1
  49. package/dist/esm/components/DeviceGallery/DeviceGalleryList.js +1 -1
  50. package/dist/esm/components/DeviceGallery/DeviceGalleryList.js.map +1 -1
  51. package/dist/esm/components/FalconMainNavigation/NavigationMenuItem/NavigationMenuItem.js +1 -1
  52. package/dist/esm/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
  53. package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.css +20 -0
  54. package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js +1 -1
  55. package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js.map +1 -1
  56. package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.css +20 -0
  57. package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.js +1 -1
  58. package/dist/esm/components/InternetAndTvCards/InternetAndTvCardItem/InternetAndTvCardItem.js +1 -1
  59. package/dist/esm/components/RibbonComponent/RibbonComponent.css +389 -389
  60. package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.css +68 -68
  61. package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js +1 -1
  62. package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js.map +1 -1
  63. package/dist/esm/components/StageTeaserComponent/DoubleGrid/DoubleGridComponent.css +937 -937
  64. package/dist/esm/components/StageTeaserV3/DoubleGrid/DoubleGridComponent.css +87 -87
  65. package/dist/esm/components/StageTeaserV3/SingleGrid/SingleGridComponent.css +87 -87
  66. package/dist/esm/components/linecheck/AutoComplete.css +514 -515
  67. package/dist/esm/components/linecheck/FiberUpgradeInfo.css +514 -515
  68. package/dist/esm/components/linecheck/LineCheckV2.css +514 -515
  69. package/dist/esm/components/linecheck/LineCheckV2.js +1 -1
  70. package/dist/esm/components/linecheck/Success.css +514 -515
  71. package/dist/esm/index.js +1 -1
  72. package/dist/esm/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +1 -1
  73. package/dist/esm/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js.map +1 -1
  74. package/dist/esm/node_modules/algoliasearch-helper/src/algoliasearch.helper.js +1 -1
  75. package/dist/esm/node_modules/algoliasearch-helper/src/algoliasearch.helper.js.map +1 -1
  76. package/dist/esm/node_modules/algoliasearch-helper/src/version.js +1 -1
  77. package/dist/esm/node_modules/algoliasearch-helper/src/version.js.map +1 -1
  78. package/dist/esm/node_modules/immer/dist/immer.js +1 -1
  79. package/dist/esm/node_modules/immer/dist/immer.js.map +1 -1
  80. package/dist/esm/node_modules/instantsearch.js/es/lib/utils/render-args.js +1 -1
  81. package/dist/esm/node_modules/instantsearch.js/es/lib/utils/render-args.js.map +1 -1
  82. package/dist/esm/node_modules/instantsearch.js/es/lib/version.js +1 -1
  83. package/dist/esm/node_modules/instantsearch.js/es/lib/version.js.map +1 -1
  84. package/dist/esm/node_modules/react-instantsearch-core/dist/es/version.js +1 -1
  85. package/dist/esm/node_modules/react-instantsearch-core/dist/es/version.js.map +1 -1
  86. package/dist/esm/utils/AnalyticUtils.js +1 -1
  87. package/dist/esm/utils/AnalyticUtils.js.map +1 -1
  88. package/dist/index.d.ts +54 -6
  89. package/dist/navigation.css +105 -105
  90. 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, onEligibleItem, onPrepareItemAnalytics, useFalconStyle, }: DeviceGalleryListProps) => React.JSX.Element;
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
- 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, hasCachedCustomerSegment, resolveCustomerGroup, setCustomerSegment, subscribeToCustomerSegmentRefresh, syncCustomerSegment };
846
- export type { CartPropConfigSchema, CreateCustomerGroupFetcherOptions, CustomerProfileResponse, CustomerPropConfigSchema, CustomerSegmentRefreshDetail, CustomerSegmentSyncApi, CustomerSegmentSyncOptions, DeviceGalleryItemSchema, DeviceGalleryListContent, DeviceGalleryListProps, InternetAndTvCardItemSchema, InternetAndTvCardsContent, InternetAndTvCardsProps, LinecheckBasicPropConfigSchema, PromotionTeaserProps, PromotionTeaserSchema, QuickLinkItemSchema, QuickLinksContent, QuickLinksProps, ResolveCustomerGroupOptions, RibbonComponentSchema, RibbonRendererProps, StageTeaserSlideContent, StageTeaserSwiperContent, StageTeaserSwiperProps, StageTeaserV3Content, StageTeaserV3Props };
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 };
@@ -1,4 +1,4 @@
1
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\FalconMainNavigation.module.scss */
1
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconMainNavigation.module.scss */
2
2
  /* center a block element */
3
3
  /* use this to any of the pseudo elements as these are the mandatory properties */
4
4
  /* setting styles in separate formats for cross browser support */
@@ -318,7 +318,7 @@
318
318
  }
319
319
  }
320
320
 
321
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\ResponsiveRow\row.module.scss */
321
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/ResponsiveRow/row.module.scss */
322
322
  /* center a block element */
323
323
  /* use this to any of the pseudo elements as these are the mandatory properties */
324
324
  /* setting styles in separate formats for cross browser support */
@@ -353,7 +353,7 @@
353
353
  }
354
354
  }
355
355
 
356
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\InteractiveHamburger\InteractiveHamburger.module.scss */
356
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/InteractiveHamburger/InteractiveHamburger.module.scss */
357
357
  /* center a block element */
358
358
  /* use this to any of the pseudo elements as these are the mandatory properties */
359
359
  /* setting styles in separate formats for cross browser support */
@@ -395,7 +395,7 @@
395
395
  width: 24px;
396
396
  }
397
397
 
398
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\FalconHeader\FalconHeader.module.scss */
398
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/FalconHeader.module.scss */
399
399
  /* center a block element */
400
400
  /* use this to any of the pseudo elements as these are the mandatory properties */
401
401
  /* setting styles in separate formats for cross browser support */
@@ -474,7 +474,7 @@
474
474
  color: #ffffff;
475
475
  }
476
476
 
477
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\NavigationMenuItem\NavigationMenuItem.module.scss */
477
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/NavigationMenuItem/NavigationMenuItem.module.scss */
478
478
  /* center a block element */
479
479
  /* use this to any of the pseudo elements as these are the mandatory properties */
480
480
  /* setting styles in separate formats for cross browser support */
@@ -556,7 +556,7 @@
556
556
  position: relative;
557
557
  }
558
558
 
559
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\MobileNavigation\MobileNavigation.module.scss */
559
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/MobileNavigation/MobileNavigation.module.scss */
560
560
  /* center a block element */
561
561
  /* use this to any of the pseudo elements as these are the mandatory properties */
562
562
  /* setting styles in separate formats for cross browser support */
@@ -664,7 +664,7 @@
664
664
  visibility: visible;
665
665
  }
666
666
 
667
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartOverlay.module.scss */
667
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartOverlay.module.scss */
668
668
  /* center a block element */
669
669
  /* use this to any of the pseudo elements as these are the mandatory properties */
670
670
  /* setting styles in separate formats for cross browser support */
@@ -781,7 +781,7 @@
781
781
  text-align: center;
782
782
  }
783
783
 
784
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\MinimizedHeader\MinimizedHeader.module.scss */
784
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/MinimizedHeader/MinimizedHeader.module.scss */
785
785
  /* center a block element */
786
786
  /* use this to any of the pseudo elements as these are the mandatory properties */
787
787
  /* setting styles in separate formats for cross browser support */
@@ -915,7 +915,7 @@
915
915
  }
916
916
  }
917
917
 
918
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\FalconHeader\LocaleSelector\LocaleSelector.module.scss */
918
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/LocaleSelector/LocaleSelector.module.scss */
919
919
  /* center a block element */
920
920
  /* use this to any of the pseudo elements as these are the mandatory properties */
921
921
  /* setting styles in separate formats for cross browser support */
@@ -1062,7 +1062,7 @@
1062
1062
  }
1063
1063
  }
1064
1064
 
1065
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\ProfileLinkOut\ProfileLinkOut.module.scss */
1065
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.module.scss */
1066
1066
  /* center a block element */
1067
1067
  /* use this to any of the pseudo elements as these are the mandatory properties */
1068
1068
  /* setting styles in separate formats for cross browser support */
@@ -1303,7 +1303,7 @@
1303
1303
  }
1304
1304
  }
1305
1305
 
1306
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartDotLoader\CartDotLoader.module.scss */
1306
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartDotLoader/CartDotLoader.module.scss */
1307
1307
  /* center a block element */
1308
1308
  /* use this to any of the pseudo elements as these are the mandatory properties */
1309
1309
  /* setting styles in separate formats for cross browser support */
@@ -1365,7 +1365,7 @@
1365
1365
  text-align: center;
1366
1366
  }
1367
1367
 
1368
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartHeader\CartHeader.module.scss */
1368
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.module.scss */
1369
1369
  /* center a block element */
1370
1370
  /* use this to any of the pseudo elements as these are the mandatory properties */
1371
1371
  /* setting styles in separate formats for cross browser support */
@@ -1413,7 +1413,7 @@
1413
1413
  border-radius: 2px;
1414
1414
  }
1415
1415
 
1416
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\MobileNavigation\MobileMenuItem\MobileMenuItem.module.scss */
1416
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/MobileNavigation/MobileMenuItem/MobileMenuItem.module.scss */
1417
1417
  /* center a block element */
1418
1418
  /* use this to any of the pseudo elements as these are the mandatory properties */
1419
1419
  /* setting styles in separate formats for cross browser support */
@@ -1471,7 +1471,7 @@
1471
1471
  filter: brightness(0) invert(0.9);
1472
1472
  }
1473
1473
 
1474
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartFooter\CartFooter.module.scss */
1474
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartFooter/CartFooter.module.scss */
1475
1475
  /* center a block element */
1476
1476
  /* use this to any of the pseudo elements as these are the mandatory properties */
1477
1477
  /* setting styles in separate formats for cross browser support */
@@ -1542,7 +1542,7 @@
1542
1542
  text-decoration: none;
1543
1543
  }
1544
1544
 
1545
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\EmptyCart\EmptyCart.module.scss */
1545
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/EmptyCart/EmptyCart.module.scss */
1546
1546
  /* center a block element */
1547
1547
  /* use this to any of the pseudo elements as these are the mandatory properties */
1548
1548
  /* setting styles in separate formats for cross browser support */
@@ -1624,7 +1624,7 @@
1624
1624
  line-height: 1.3;
1625
1625
  }
1626
1626
 
1627
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\FalconHeader\BusinessCustomerLinkOut\BusinessCustomerLinkOut.module.scss */
1627
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/BusinessCustomerLinkOut/BusinessCustomerLinkOut.module.scss */
1628
1628
  /* center a block element */
1629
1629
  /* use this to any of the pseudo elements as these are the mandatory properties */
1630
1630
  /* setting styles in separate formats for cross browser support */
@@ -1711,93 +1711,7 @@
1711
1711
  background-color: #1f1f1f;
1712
1712
  }
1713
1713
 
1714
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartClearConfirm\CartClearConfirm.module.scss */
1715
- /* center a block element */
1716
- /* use this to any of the pseudo elements as these are the mandatory properties */
1717
- /* setting styles in separate formats for cross browser support */
1718
- /* specify the max width for an element and apply ellipses and truncate the overflow */
1719
- /* vertically center alilgn any HTML element */
1720
- /* add basePath to assets */
1721
- .CartClearConfirm-module__overlay___sxCOO {
1722
- position: absolute;
1723
- inset: 0;
1724
- z-index: 10;
1725
- background: rgba(42, 42, 42, 0.8);
1726
- display: flex;
1727
- align-items: center;
1728
- justify-content: center;
1729
- padding: 24px;
1730
- }
1731
-
1732
- .CartClearConfirm-module__dialog___UWokE {
1733
- background: transparent;
1734
- border-radius: 16px;
1735
- padding: 24px;
1736
- width: 100%;
1737
- max-width: 320px;
1738
- display: flex;
1739
- flex-direction: column;
1740
- gap: 24px;
1741
- }
1742
-
1743
- .CartClearConfirm-module__message___vd9VO {
1744
- font-size: 18px;
1745
- line-height: 26px;
1746
- font-weight: 700;
1747
- color: #ffffff;
1748
- text-align: center;
1749
- }
1750
-
1751
- .CartClearConfirm-module__actions___X0-0w {
1752
- display: flex;
1753
- gap: 12px;
1754
- }
1755
- .CartClearConfirm-module__actions___X0-0w button {
1756
- padding: 10px 24px;
1757
- }
1758
-
1759
- .CartClearConfirm-module__cancelButton___LYopb {
1760
- flex: 1;
1761
- background: none;
1762
- border: 2px solid #ffffff;
1763
- border-radius: 28px;
1764
- font-size: 16px;
1765
- line-height: 24px;
1766
- font-weight: 600;
1767
- color: #ffffff;
1768
- cursor: pointer;
1769
- transition: background-color 0.15s ease;
1770
- }
1771
- .CartClearConfirm-module__cancelButton___LYopb:hover {
1772
- background-color: rgba(255, 255, 255, 0.1);
1773
- }
1774
- .CartClearConfirm-module__cancelButton___LYopb:focus-visible {
1775
- outline: 2px solid #ffffff;
1776
- outline-offset: 2px;
1777
- }
1778
-
1779
- .CartClearConfirm-module__confirmButton___KgPKy {
1780
- flex: 1;
1781
- background: #ffffff;
1782
- border: 2px solid #ffffff;
1783
- border-radius: 28px;
1784
- font-size: 16px;
1785
- line-height: 24px;
1786
- font-weight: 600;
1787
- color: #3d3935;
1788
- cursor: pointer;
1789
- transition: background-color 0.15s ease;
1790
- }
1791
- .CartClearConfirm-module__confirmButton___KgPKy:hover {
1792
- background-color: #e6e3df;
1793
- border-color: #e6e3df;
1794
- }
1795
- .CartClearConfirm-module__confirmButton___KgPKy:focus-visible {
1796
- outline: 2px solid #ffffff;
1797
- outline-offset: 2px;
1798
- }
1799
-
1800
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\SubNavigation\SubNavigation.module.scss */
1714
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/SubNavigation/SubNavigation.module.scss */
1801
1715
  /* center a block element */
1802
1716
  /* use this to any of the pseudo elements as these are the mandatory properties */
1803
1717
  /* setting styles in separate formats for cross browser support */
@@ -1907,7 +1821,7 @@
1907
1821
  border: none;
1908
1822
  }
1909
1823
 
1910
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartItems\CartItems.module.scss */
1824
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartItems/CartItems.module.scss */
1911
1825
  /* center a block element */
1912
1826
  /* use this to any of the pseudo elements as these are the mandatory properties */
1913
1827
  /* setting styles in separate formats for cross browser support */
@@ -2066,7 +1980,93 @@
2066
1980
  }
2067
1981
  }
2068
1982
 
2069
- /* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Mobile\Persistent cart\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\MobileNavigation\MobileSubNavigation\MobileSubNavigation.module.scss */
1983
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.module.scss */
1984
+ /* center a block element */
1985
+ /* use this to any of the pseudo elements as these are the mandatory properties */
1986
+ /* setting styles in separate formats for cross browser support */
1987
+ /* specify the max width for an element and apply ellipses and truncate the overflow */
1988
+ /* vertically center alilgn any HTML element */
1989
+ /* add basePath to assets */
1990
+ .CartClearConfirm-module__overlay___sxCOO {
1991
+ position: absolute;
1992
+ inset: 0;
1993
+ z-index: 10;
1994
+ background: rgba(42, 42, 42, 0.8);
1995
+ display: flex;
1996
+ align-items: center;
1997
+ justify-content: center;
1998
+ padding: 24px;
1999
+ }
2000
+
2001
+ .CartClearConfirm-module__dialog___UWokE {
2002
+ background: transparent;
2003
+ border-radius: 16px;
2004
+ padding: 24px;
2005
+ width: 100%;
2006
+ max-width: 320px;
2007
+ display: flex;
2008
+ flex-direction: column;
2009
+ gap: 24px;
2010
+ }
2011
+
2012
+ .CartClearConfirm-module__message___vd9VO {
2013
+ font-size: 18px;
2014
+ line-height: 26px;
2015
+ font-weight: 700;
2016
+ color: #ffffff;
2017
+ text-align: center;
2018
+ }
2019
+
2020
+ .CartClearConfirm-module__actions___X0-0w {
2021
+ display: flex;
2022
+ gap: 12px;
2023
+ }
2024
+ .CartClearConfirm-module__actions___X0-0w button {
2025
+ padding: 10px 24px;
2026
+ }
2027
+
2028
+ .CartClearConfirm-module__cancelButton___LYopb {
2029
+ flex: 1;
2030
+ background: none;
2031
+ border: 2px solid #ffffff;
2032
+ border-radius: 28px;
2033
+ font-size: 16px;
2034
+ line-height: 24px;
2035
+ font-weight: 600;
2036
+ color: #ffffff;
2037
+ cursor: pointer;
2038
+ transition: background-color 0.15s ease;
2039
+ }
2040
+ .CartClearConfirm-module__cancelButton___LYopb:hover {
2041
+ background-color: rgba(255, 255, 255, 0.1);
2042
+ }
2043
+ .CartClearConfirm-module__cancelButton___LYopb:focus-visible {
2044
+ outline: 2px solid #ffffff;
2045
+ outline-offset: 2px;
2046
+ }
2047
+
2048
+ .CartClearConfirm-module__confirmButton___KgPKy {
2049
+ flex: 1;
2050
+ background: #ffffff;
2051
+ border: 2px solid #ffffff;
2052
+ border-radius: 28px;
2053
+ font-size: 16px;
2054
+ line-height: 24px;
2055
+ font-weight: 600;
2056
+ color: #3d3935;
2057
+ cursor: pointer;
2058
+ transition: background-color 0.15s ease;
2059
+ }
2060
+ .CartClearConfirm-module__confirmButton___KgPKy:hover {
2061
+ background-color: #e6e3df;
2062
+ border-color: #e6e3df;
2063
+ }
2064
+ .CartClearConfirm-module__confirmButton___KgPKy:focus-visible {
2065
+ outline: 2px solid #ffffff;
2066
+ outline-offset: 2px;
2067
+ }
2068
+
2069
+ /* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/MobileNavigation/MobileSubNavigation/MobileSubNavigation.module.scss */
2070
2070
  /* center a block element */
2071
2071
  /* use this to any of the pseudo elements as these are the mandatory properties */
2072
2072
  /* setting styles in separate formats for cross browser support */
package/package.json CHANGED
@@ -1,115 +1,115 @@
1
- {
2
- "name": "@sunrise-upc/sales-static-components",
3
- "version": "4.2.0-beta.0",
4
- "description": "Static Reusable Components Library",
5
- "type": "module",
6
- "main": "dist/cjs/index.js",
7
- "module": "dist/esm/index.js",
8
- "exports": {
9
- ".": {
10
- "import": "./dist/esm/index.js",
11
- "require": "./dist/cjs/index.js",
12
- "types": "./dist/index.d.ts"
13
- },
14
- "./GlobalPromoRibbon": {
15
- "import": "./dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js",
16
- "require": "./dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js",
17
- "types": "./dist/index.d.ts"
18
- },
19
- "./RibbonRenderer": {
20
- "import": "./dist/esm/components/RibbonRenderer/RibbonRenderer.js",
21
- "require": "./dist/cjs/components/RibbonRenderer/RibbonRenderer.js",
22
- "types": "./dist/index.d.ts"
23
- },
24
- "./InternetAndTvCardsBenefits": {
25
- "import": "./dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js",
26
- "require": "./dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js",
27
- "types": "./dist/index.d.ts"
28
- },
29
- "./navigation.css": "./dist/navigation.css"
30
- },
31
- "sideEffects": [
32
- "**/*.css",
33
- "**/*.scss"
34
- ],
35
- "files": [
36
- "dist",
37
- "package.json"
38
- ],
39
- "typings": "dist/index.d.ts",
40
- "typesVersions": {
41
- "*": {
42
- "RibbonRenderer": [
43
- "dist/index.d.ts"
44
- ],
45
- "GlobalPromoRibbon": [
46
- "dist/index.d.ts"
47
- ],
48
- "InternetAndTvCardsBenefits": [
49
- "dist/index.d.ts"
50
- ]
51
- }
52
- },
53
- "scripts": {
54
- "test": "echo \"Error: no test specified\" && exit 1",
55
- "clean": "rimraf dist",
56
- "build": "npm run clean && rollup -c",
57
- "prepare": "npm run build",
58
- "dev": "npm run clean && rollup -c -w",
59
- "prepatch": "npm --no-git-tag-version version prepatch",
60
- "release:major": "npm version major && npm publish --access public --tag latest",
61
- "release:minor": "npm version minor && npm publish --access public --tag latest",
62
- "release:patch": "npm version patch && npm publish --access public --tag latest",
63
- "release:prepatch": "npm version prepatch --preid=beta && npm publish --access public --tag latest",
64
- "release:prerelease": "npm version prerelease --preid=beta && npm publish --access public --tag latest",
65
- "release:beta:minor": "npm version preminor --preid=beta && npm publish --access public --tag beta"
66
- },
67
- "repository": {
68
- "type": "git",
69
- "url": "git+https://Angles_Kathirvel@bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components.git"
70
- },
71
- "author": "Angles Kathirvel",
72
- "license": "ISC",
73
- "bugs": {
74
- "url": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components/issues"
75
- },
76
- "homepage": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components#readme",
77
- "devDependencies": {
78
- "@rollup/plugin-commonjs": "^29.0.0",
79
- "@rollup/plugin-json": "^6.1.0",
80
- "@rollup/plugin-node-resolve": "^16.0.3",
81
- "@rollup/plugin-terser": "^0.4.4",
82
- "@rollup/plugin-typescript": "^12.3.0",
83
- "@types/js-cookie": "^3.0.6",
84
- "@types/node": "^24.6.0",
85
- "@types/react": "^19.1.13",
86
- "@types/react-dom": "^19.1.9",
87
- "rimraf": "^6.0.1",
88
- "rollup": "^4.56.0",
89
- "rollup-plugin-dts": "^6.3.0",
90
- "rollup-plugin-peer-deps-external": "^2.2.4",
91
- "postcss": "^8.5.3",
92
- "postcss-modules": "^6.0.0",
93
- "sass": "^1.93.0",
94
- "tslib": "^2.8.1",
95
- "typescript": "^5.9.2"
96
- },
97
- "peerDependencies": {
98
- "react": "^19.1.0",
99
- "react-dom": "^19.1.0",
100
- "react-bootstrap": "^2.10.10",
101
- "storyblok-rich-text-react-renderer": "^3.0.1"
102
- },
103
- "dependencies": {
104
- "@sunrise-upc/ajax-lib": "^3.0.0",
105
- "@sunrise-upc/sun-b2c-search-lib": "^2.0.0",
106
- "axios": "^1.12.2",
107
- "cookies-next": "^6.1.0",
108
- "fitty": "^2.4.2",
109
- "js-cookie": "^3.0.5",
110
- "react-loading-skeleton": "^3.5.0",
111
- "react-multi-carousel": "^2.8.5",
112
- "uuid": "^13.0.0",
113
- "swiper": "^12.1.4"
114
- }
115
- }
1
+ {
2
+ "name": "@sunrise-upc/sales-static-components",
3
+ "version": "4.2.0-beta.1",
4
+ "description": "Static Reusable Components Library",
5
+ "type": "module",
6
+ "main": "dist/cjs/index.js",
7
+ "module": "dist/esm/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/esm/index.js",
11
+ "require": "./dist/cjs/index.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./GlobalPromoRibbon": {
15
+ "import": "./dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js",
16
+ "require": "./dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js",
17
+ "types": "./dist/index.d.ts"
18
+ },
19
+ "./RibbonRenderer": {
20
+ "import": "./dist/esm/components/RibbonRenderer/RibbonRenderer.js",
21
+ "require": "./dist/cjs/components/RibbonRenderer/RibbonRenderer.js",
22
+ "types": "./dist/index.d.ts"
23
+ },
24
+ "./InternetAndTvCardsBenefits": {
25
+ "import": "./dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js",
26
+ "require": "./dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js",
27
+ "types": "./dist/index.d.ts"
28
+ },
29
+ "./navigation.css": "./dist/navigation.css"
30
+ },
31
+ "sideEffects": [
32
+ "**/*.css",
33
+ "**/*.scss"
34
+ ],
35
+ "files": [
36
+ "dist",
37
+ "package.json"
38
+ ],
39
+ "typings": "dist/index.d.ts",
40
+ "typesVersions": {
41
+ "*": {
42
+ "RibbonRenderer": [
43
+ "dist/index.d.ts"
44
+ ],
45
+ "GlobalPromoRibbon": [
46
+ "dist/index.d.ts"
47
+ ],
48
+ "InternetAndTvCardsBenefits": [
49
+ "dist/index.d.ts"
50
+ ]
51
+ }
52
+ },
53
+ "scripts": {
54
+ "test": "echo \"Error: no test specified\" && exit 1",
55
+ "clean": "rimraf dist",
56
+ "build": "npm run clean && rollup -c",
57
+ "prepare": "npm run build",
58
+ "dev": "npm run clean && rollup -c -w",
59
+ "prepatch": "npm --no-git-tag-version version prepatch",
60
+ "release:major": "npm version major && npm publish --access public --tag latest",
61
+ "release:minor": "npm version minor && npm publish --access public --tag latest",
62
+ "release:patch": "npm version patch && npm publish --access public --tag latest",
63
+ "release:prepatch": "npm version prepatch --preid=beta && npm publish --access public --tag latest",
64
+ "release:prerelease": "npm version prerelease --preid=beta && npm publish --access public --tag latest",
65
+ "release:beta:minor": "npm version preminor --preid=beta && npm publish --access public --tag beta"
66
+ },
67
+ "repository": {
68
+ "type": "git",
69
+ "url": "git+https://Angles_Kathirvel@bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components.git"
70
+ },
71
+ "author": "Angles Kathirvel",
72
+ "license": "ISC",
73
+ "bugs": {
74
+ "url": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components/issues"
75
+ },
76
+ "homepage": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components#readme",
77
+ "devDependencies": {
78
+ "@rollup/plugin-commonjs": "^29.0.0",
79
+ "@rollup/plugin-json": "^6.1.0",
80
+ "@rollup/plugin-node-resolve": "^16.0.3",
81
+ "@rollup/plugin-terser": "^0.4.4",
82
+ "@rollup/plugin-typescript": "^12.3.0",
83
+ "@types/js-cookie": "^3.0.6",
84
+ "@types/node": "^24.6.0",
85
+ "@types/react": "^19.1.13",
86
+ "@types/react-dom": "^19.1.9",
87
+ "rimraf": "^6.0.1",
88
+ "rollup": "^4.56.0",
89
+ "rollup-plugin-dts": "^6.3.0",
90
+ "rollup-plugin-peer-deps-external": "^2.2.4",
91
+ "postcss": "^8.5.3",
92
+ "postcss-modules": "^6.0.0",
93
+ "sass": "^1.93.0",
94
+ "tslib": "^2.8.1",
95
+ "typescript": "^5.9.2"
96
+ },
97
+ "peerDependencies": {
98
+ "react": "^19.1.0",
99
+ "react-dom": "^19.1.0",
100
+ "react-bootstrap": "^2.10.10",
101
+ "storyblok-rich-text-react-renderer": "^3.0.1"
102
+ },
103
+ "dependencies": {
104
+ "@sunrise-upc/ajax-lib": "^3.0.0",
105
+ "@sunrise-upc/sun-b2c-search-lib": "^2.0.0",
106
+ "axios": "^1.12.2",
107
+ "cookies-next": "^6.1.0",
108
+ "fitty": "^2.4.2",
109
+ "js-cookie": "^3.0.5",
110
+ "react-loading-skeleton": "^3.5.0",
111
+ "react-multi-carousel": "^2.8.5",
112
+ "uuid": "^13.0.0",
113
+ "swiper": "^12.1.4"
114
+ }
115
+ }