@sunrise-upc/sales-static-components 5.1.0-beta.7 → 5.1.0-beta.8
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../../utils/AnalyticsConstants.js"),t=require("../../utils/AnalyticUtils.js"),l=require("storyblok-rich-text-react-renderer");exports.default=i=>e.jsx("div",{children:l.render(i.content,{markResolvers:{link:l=>{const
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../../utils/AnalyticsConstants.js"),t=require("../../utils/AnalyticUtils.js"),l=require("storyblok-rich-text-react-renderer");exports.default=i=>e.jsx("div",{children:l.render(i.content,{markResolvers:{link:(l,n)=>{const{href:a,target:s,linktype:o}=n;return"email"===o?e.jsx("a",{href:`mailto:${a}`,target:null===s||"_self"===s?"_top":"_blank",children:l}):i.isIFrame?e.jsx("a",{href:a,target:null===s||"_self"===s?"_top":"_blank",children:l}):e.jsx("a",{href:a,target:null===s?"":s,onClick:()=>(e=>{["help","hilfe","aide","aiuto"].some(r=>e.includes(r))&&t.trackNewDatalayerEvent(r.GAEVENT,r.CONTACTHELPCENTERCLICK,{component:r.TEXTLINK})})(a),children:l})}}})});
|
|
2
2
|
//# sourceMappingURL=richText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"richText.js","sources":["../../../../../src/components/RichText/richText.tsx"],"sourcesContent":[null],"names":["props","_jsx","children","render","content","markResolvers","link","
|
|
1
|
+
{"version":3,"file":"richText.js","sources":["../../../../../src/components/RichText/richText.tsx"],"sourcesContent":[null],"names":["props","_jsx","children","render","content","markResolvers","link","attrs","href","target","linktype","isIFrame","onClick","some","condition","includes","trackNewDatalayerEvent","GAEVENT","CONTACTHELPCENTERCLICK","component","TEXTLINK","handleClickTracking"],"mappings":"gQAWgDA,GAY5CC,EAAAA,IAAA,MAAA,CAAAC,SACGC,EAAAA,OAAOH,EAAMI,QAAS,CACrBC,cAAe,CACbC,KAAM,CAACJ,EAAqBK,KAC1B,MAAMC,KAAEA,EAAIC,OAAEA,EAAMC,SAAEA,GAAaH,EAEnC,MAAiB,UAAbG,EAGAT,EAAAA,IAAA,IAAA,CACEO,KAAM,UAAUA,IAChBC,OAAmB,OAAXA,GAA8B,UAAXA,EAAqB,OAAS,SAAQP,SAEhEA,IAMHF,EAAMW,SAENV,EAAAA,IAAA,IAAA,CAAGO,KAAMA,EAAMC,OAAmB,OAAXA,GAA8B,UAAXA,EAAqB,OAAS,SAAQP,SAC7EA,IAMLD,EAAAA,IAAA,IAAA,CACEO,KAAMA,EACNC,OAAmB,OAAXA,EAAkB,GAAKA,EAC/BG,QAAS,IA1CK,CAACJ,IACR,CAAC,OAAQ,QAAS,OAAQ,SACRK,KAAMC,GAAcN,EAAKO,SAASD,KAErEE,EAAAA,uBAAuBC,EAAAA,QAASC,yBAAwB,CACtDC,UAAWC,EAAAA,YAqCYC,CAAoBb,GAAKN,SAEvCA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import{TEXTLINK as e,CONTACTHELPCENTERCLICK as r,GAEVENT as l}from"../../utils/AnalyticsConstants.js";import{trackNewDatalayerEvent as i}from"../../utils/AnalyticUtils.js";import{render as n}from"storyblok-rich-text-react-renderer";const o=o=>t("div",{children:n(o.content,{markResolvers:{link:n=>{const
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{TEXTLINK as e,CONTACTHELPCENTERCLICK as r,GAEVENT as l}from"../../utils/AnalyticsConstants.js";import{trackNewDatalayerEvent as i}from"../../utils/AnalyticUtils.js";import{render as n}from"storyblok-rich-text-react-renderer";const o=o=>t("div",{children:n(o.content,{markResolvers:{link:(n,a)=>{const{href:s,target:c,linktype:m}=a;return"email"===m?t("a",{href:`mailto:${s}`,target:null===c||"_self"===c?"_top":"_blank",children:n}):o.isIFrame?t("a",{href:s,target:null===c||"_self"===c?"_top":"_blank",children:n}):t("a",{href:s,target:null===c?"":c,onClick:()=>(t=>{["help","hilfe","aide","aiuto"].some(e=>t.includes(e))&&i(l,r,{component:e})})(s),children:n})}}})});export{o as default};
|
|
2
2
|
//# sourceMappingURL=richText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"richText.js","sources":["../../../../../src/components/RichText/richText.tsx"],"sourcesContent":[null],"names":["RichText","props","_jsx","children","render","content","markResolvers","link","
|
|
1
|
+
{"version":3,"file":"richText.js","sources":["../../../../../src/components/RichText/richText.tsx"],"sourcesContent":[null],"names":["RichText","props","_jsx","children","render","content","markResolvers","link","attrs","href","target","linktype","isIFrame","onClick","some","condition","includes","trackNewDatalayerEvent","GAEVENT","CONTACTHELPCENTERCLICK","component","TEXTLINK","handleClickTracking"],"mappings":"gRAWA,MAAMA,EAA0CC,GAY5CC,EAAA,MAAA,CAAAC,SACGC,EAAOH,EAAMI,QAAS,CACrBC,cAAe,CACbC,KAAM,CAACJ,EAAqBK,KAC1B,MAAMC,KAAEA,EAAIC,OAAEA,EAAMC,SAAEA,GAAaH,EAEnC,MAAiB,UAAbG,EAGAT,EAAA,IAAA,CACEO,KAAM,UAAUA,IAChBC,OAAmB,OAAXA,GAA8B,UAAXA,EAAqB,OAAS,SAAQP,SAEhEA,IAMHF,EAAMW,SAENV,EAAA,IAAA,CAAGO,KAAMA,EAAMC,OAAmB,OAAXA,GAA8B,UAAXA,EAAqB,OAAS,SAAQP,SAC7EA,IAMLD,EAAA,IAAA,CACEO,KAAMA,EACNC,OAAmB,OAAXA,EAAkB,GAAKA,EAC/BG,QAAS,IA1CK,CAACJ,IACR,CAAC,OAAQ,QAAS,OAAQ,SACRK,KAAMC,GAAcN,EAAKO,SAASD,KAErEE,EAAuBC,EAASC,EAAwB,CACtDC,UAAWC,KAqCYC,CAAoBb,GAAKN,SAEvCA"}
|
package/dist/navigation.css
CHANGED
|
@@ -1,3 +1,137 @@
|
|
|
1
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/MinimizedHeader/MinimizedHeader.module.scss */
|
|
2
|
+
/* center a block element */
|
|
3
|
+
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
4
|
+
/* setting styles in separate formats for cross browser support */
|
|
5
|
+
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
6
|
+
/* vertically center alilgn any HTML element */
|
|
7
|
+
/* add basePath to assets */
|
|
8
|
+
@media (min-width: 768px) {
|
|
9
|
+
.MinimizedHeader-module__outer___JOzJC {
|
|
10
|
+
background-color: #ffffff;
|
|
11
|
+
border-top: 4px solid #da291c;
|
|
12
|
+
box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
|
|
13
|
+
height: 72px;
|
|
14
|
+
}
|
|
15
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
16
|
+
position: fixed;
|
|
17
|
+
top: 0;
|
|
18
|
+
left: 0;
|
|
19
|
+
padding: 4px 8px;
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
z-index: 10000;
|
|
22
|
+
color: #5f5955;
|
|
23
|
+
background: #ffffff;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
@media (min-width: 768px) and (max-width: 850px) {
|
|
27
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
28
|
+
padding: 0 4px;
|
|
29
|
+
font-size: 8px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
@media (min-width: 768px) {
|
|
33
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X {
|
|
34
|
+
width: 100%;
|
|
35
|
+
display: inline-block;
|
|
36
|
+
}
|
|
37
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO {
|
|
38
|
+
display: flex;
|
|
39
|
+
float: left;
|
|
40
|
+
align-items: center;
|
|
41
|
+
margin: 10px 0;
|
|
42
|
+
}
|
|
43
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
|
|
44
|
+
padding-left: 10px;
|
|
45
|
+
}
|
|
46
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
|
|
47
|
+
float: right;
|
|
48
|
+
display: flex;
|
|
49
|
+
margin: 24px 0 24px 0;
|
|
50
|
+
}
|
|
51
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
|
|
52
|
+
background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
|
|
53
|
+
background-repeat: no-repeat;
|
|
54
|
+
background-size: contain;
|
|
55
|
+
display: block;
|
|
56
|
+
height: 24px;
|
|
57
|
+
margin-right: 6px;
|
|
58
|
+
width: 24px;
|
|
59
|
+
}
|
|
60
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
|
|
61
|
+
color: #da291c;
|
|
62
|
+
font-weight: 700;
|
|
63
|
+
font-size: 18px;
|
|
64
|
+
line-height: 24px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
@media (max-width: 767px) {
|
|
68
|
+
.MinimizedHeader-module__outer___JOzJC {
|
|
69
|
+
background-color: #ffffff;
|
|
70
|
+
border-top: 4px solid #da291c;
|
|
71
|
+
box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
|
|
72
|
+
height: 48px;
|
|
73
|
+
}
|
|
74
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X {
|
|
75
|
+
width: 100%;
|
|
76
|
+
display: inline-block;
|
|
77
|
+
}
|
|
78
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO {
|
|
79
|
+
display: flex;
|
|
80
|
+
float: left;
|
|
81
|
+
}
|
|
82
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J {
|
|
83
|
+
margin-top: 12px;
|
|
84
|
+
}
|
|
85
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J > img {
|
|
86
|
+
height: 24px;
|
|
87
|
+
width: 24px;
|
|
88
|
+
float: left;
|
|
89
|
+
}
|
|
90
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
|
|
91
|
+
margin-top: 8px;
|
|
92
|
+
padding-left: 6px;
|
|
93
|
+
}
|
|
94
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 > img {
|
|
95
|
+
height: 20px;
|
|
96
|
+
}
|
|
97
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
|
|
98
|
+
float: right;
|
|
99
|
+
display: flex;
|
|
100
|
+
margin: 12px 0 12px 0;
|
|
101
|
+
}
|
|
102
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
|
|
103
|
+
background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
|
|
104
|
+
background-repeat: no-repeat;
|
|
105
|
+
background-size: contain;
|
|
106
|
+
display: block;
|
|
107
|
+
height: 20px;
|
|
108
|
+
margin-right: 6px;
|
|
109
|
+
width: 20px;
|
|
110
|
+
}
|
|
111
|
+
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
|
|
112
|
+
color: #da291c;
|
|
113
|
+
font-weight: 700;
|
|
114
|
+
font-size: 18px;
|
|
115
|
+
line-height: 24px;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
.MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
119
|
+
position: fixed;
|
|
120
|
+
top: 0;
|
|
121
|
+
left: 0;
|
|
122
|
+
padding: 4px 8px;
|
|
123
|
+
font-size: 14px;
|
|
124
|
+
z-index: 10000;
|
|
125
|
+
color: #5f5955;
|
|
126
|
+
background: #ffffff;
|
|
127
|
+
}
|
|
128
|
+
@media (max-width: 850px) {
|
|
129
|
+
.MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
130
|
+
padding: 0 4px;
|
|
131
|
+
font-size: 8px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
1
135
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartItems/CartItems.module.scss */
|
|
2
136
|
/* center a block element */
|
|
3
137
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
@@ -847,138 +981,121 @@
|
|
|
847
981
|
visibility: visible;
|
|
848
982
|
}
|
|
849
983
|
|
|
850
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/
|
|
984
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartOverlay.module.scss */
|
|
851
985
|
/* center a block element */
|
|
852
986
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
853
987
|
/* setting styles in separate formats for cross browser support */
|
|
854
988
|
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
855
989
|
/* vertically center alilgn any HTML element */
|
|
856
990
|
/* add basePath to assets */
|
|
857
|
-
|
|
858
|
-
.
|
|
859
|
-
|
|
860
|
-
border-top: 4px solid #da291c;
|
|
861
|
-
box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
|
|
862
|
-
height: 72px;
|
|
863
|
-
}
|
|
864
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__s20-header__version-number___vI9Rr {
|
|
865
|
-
position: fixed;
|
|
866
|
-
top: 0;
|
|
867
|
-
left: 0;
|
|
868
|
-
padding: 4px 8px;
|
|
869
|
-
font-size: 14px;
|
|
870
|
-
z-index: 10000;
|
|
871
|
-
color: #5f5955;
|
|
872
|
-
background: #ffffff;
|
|
873
|
-
}
|
|
991
|
+
.cart-overlay-panel.offcanvas {
|
|
992
|
+
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
993
|
+
z-index: 2147483002;
|
|
874
994
|
}
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
995
|
+
|
|
996
|
+
.cart-overlay-panel .offcanvas-header {
|
|
997
|
+
padding: 20px 16px;
|
|
998
|
+
gap: 24px;
|
|
999
|
+
align-items: center;
|
|
1000
|
+
background: #ffffff;
|
|
1001
|
+
border-bottom: 1px solid #e6e3df;
|
|
880
1002
|
}
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
float: right;
|
|
897
|
-
display: flex;
|
|
898
|
-
margin: 24px 0 24px 0;
|
|
1003
|
+
|
|
1004
|
+
.cart-overlay-panel .offcanvas-title {
|
|
1005
|
+
display: flex;
|
|
1006
|
+
flex-direction: column;
|
|
1007
|
+
align-items: flex-start;
|
|
1008
|
+
gap: 2px;
|
|
1009
|
+
font-size: 24px;
|
|
1010
|
+
line-height: 32px;
|
|
1011
|
+
font-weight: 700;
|
|
1012
|
+
color: #3d3935;
|
|
1013
|
+
}
|
|
1014
|
+
@media (max-width: 1023px) {
|
|
1015
|
+
.cart-overlay-panel .offcanvas-title {
|
|
1016
|
+
font-size: 20px;
|
|
1017
|
+
line-height: 28px;
|
|
899
1018
|
}
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
.cart-overlay-panel .btn-close {
|
|
1022
|
+
opacity: 0.7;
|
|
1023
|
+
width: 20px;
|
|
1024
|
+
height: 20px;
|
|
1025
|
+
}
|
|
1026
|
+
.cart-overlay-panel .btn-close:hover {
|
|
1027
|
+
opacity: 1;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.cart-overlay-panel .offcanvas-body {
|
|
1031
|
+
padding: 0;
|
|
1032
|
+
overflow-y: auto;
|
|
1033
|
+
display: flex;
|
|
1034
|
+
flex-direction: column;
|
|
1035
|
+
background: #f7f6f5;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.cart-overlay-panel.offcanvas-bottom {
|
|
1039
|
+
border-radius: 8px 8px 0 0 !important;
|
|
1040
|
+
width: 100% !important;
|
|
1041
|
+
overflow: hidden;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.CartOverlay-module__backdrop___lMc-O {
|
|
1045
|
+
position: fixed;
|
|
1046
|
+
inset: 0;
|
|
1047
|
+
z-index: 1040;
|
|
1048
|
+
background: rgba(42, 42, 42, 0.7);
|
|
1049
|
+
animation: CartOverlay-module__fadeIn___G8JYJ 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
@keyframes CartOverlay-module__fadeIn___G8JYJ {
|
|
1053
|
+
from {
|
|
1054
|
+
opacity: 0;
|
|
908
1055
|
}
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
font-weight: 700;
|
|
912
|
-
font-size: 18px;
|
|
913
|
-
line-height: 24px;
|
|
1056
|
+
to {
|
|
1057
|
+
opacity: 1;
|
|
914
1058
|
}
|
|
915
1059
|
}
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
box-shadow: 0px 2px 4px rgba(87, 84, 82, 0.2);
|
|
921
|
-
height: 48px;
|
|
922
|
-
}
|
|
923
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X {
|
|
924
|
-
width: 100%;
|
|
925
|
-
display: inline-block;
|
|
926
|
-
}
|
|
927
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO {
|
|
928
|
-
display: flex;
|
|
929
|
-
float: left;
|
|
930
|
-
}
|
|
931
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J {
|
|
932
|
-
margin-top: 12px;
|
|
933
|
-
}
|
|
934
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__icon___wYr8J > img {
|
|
935
|
-
height: 24px;
|
|
936
|
-
width: 24px;
|
|
937
|
-
float: left;
|
|
938
|
-
}
|
|
939
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 {
|
|
940
|
-
margin-top: 8px;
|
|
941
|
-
padding-left: 6px;
|
|
942
|
-
}
|
|
943
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__wrap___rUhGO .MinimizedHeader-module__title___4dK49 > img {
|
|
944
|
-
height: 20px;
|
|
945
|
-
}
|
|
946
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- {
|
|
947
|
-
float: right;
|
|
948
|
-
display: flex;
|
|
949
|
-
margin: 12px 0 12px 0;
|
|
950
|
-
}
|
|
951
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-icon___LlK8O {
|
|
952
|
-
background-image: url("/ecom-int/HeaderIcons/new_profile_icon1.svg");
|
|
953
|
-
background-repeat: no-repeat;
|
|
954
|
-
background-size: contain;
|
|
955
|
-
display: block;
|
|
956
|
-
height: 20px;
|
|
957
|
-
margin-right: 6px;
|
|
958
|
-
width: 20px;
|
|
959
|
-
}
|
|
960
|
-
.MinimizedHeader-module__outer___JOzJC .MinimizedHeader-module__align___yv11X .MinimizedHeader-module__after-login___-BGe- .MinimizedHeader-module__profile-name___Kh-fd {
|
|
961
|
-
color: #da291c;
|
|
962
|
-
font-weight: 700;
|
|
963
|
-
font-size: 18px;
|
|
964
|
-
line-height: 24px;
|
|
965
|
-
}
|
|
1060
|
+
.CartOverlay-module__footer___OwJpW {
|
|
1061
|
+
padding: 16px 24px;
|
|
1062
|
+
border-top: 1px solid #d2d2d2;
|
|
1063
|
+
background-color: #ffffff;
|
|
966
1064
|
}
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
background:
|
|
1065
|
+
|
|
1066
|
+
.CartOverlay-module__dismissButton___57qsq {
|
|
1067
|
+
display: flex;
|
|
1068
|
+
align-items: center;
|
|
1069
|
+
justify-content: center;
|
|
1070
|
+
width: 100%;
|
|
1071
|
+
padding: 14px 24px;
|
|
1072
|
+
gap: 8px;
|
|
1073
|
+
background: none;
|
|
1074
|
+
border: 2px solid #da291c;
|
|
1075
|
+
border-radius: 28px;
|
|
1076
|
+
font-size: 16px;
|
|
1077
|
+
line-height: 24px;
|
|
1078
|
+
font-weight: 600;
|
|
1079
|
+
color: #da291c;
|
|
1080
|
+
text-align: center;
|
|
1081
|
+
cursor: pointer;
|
|
1082
|
+
transition: background-color 0.15s ease;
|
|
976
1083
|
}
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
1084
|
+
.CartOverlay-module__dismissButton___57qsq:hover {
|
|
1085
|
+
background-color: rgba(218, 41, 28, 0.05);
|
|
1086
|
+
}
|
|
1087
|
+
.CartOverlay-module__dismissButton___57qsq:focus-visible {
|
|
1088
|
+
outline: 2px solid #da291c;
|
|
1089
|
+
outline-offset: 2px;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
.CartOverlay-module__errorMessage___ylBiH {
|
|
1093
|
+
margin: auto 24px;
|
|
1094
|
+
padding: 16px;
|
|
1095
|
+
font-size: 20px;
|
|
1096
|
+
line-height: 28px;
|
|
1097
|
+
color: #3d3935;
|
|
1098
|
+
text-align: center;
|
|
982
1099
|
}
|
|
983
1100
|
|
|
984
1101
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/FalconHeader/LocaleSelector/LocaleSelector.module.scss */
|
|
@@ -1777,6 +1894,92 @@
|
|
|
1777
1894
|
background-color: #1f1f1f;
|
|
1778
1895
|
}
|
|
1779
1896
|
|
|
1897
|
+
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.module.scss */
|
|
1898
|
+
/* center a block element */
|
|
1899
|
+
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1900
|
+
/* setting styles in separate formats for cross browser support */
|
|
1901
|
+
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1902
|
+
/* vertically center alilgn any HTML element */
|
|
1903
|
+
/* add basePath to assets */
|
|
1904
|
+
.CartClearConfirm-module__overlay___sxCOO {
|
|
1905
|
+
position: absolute;
|
|
1906
|
+
inset: 0;
|
|
1907
|
+
z-index: 10;
|
|
1908
|
+
background: rgba(42, 42, 42, 0.8);
|
|
1909
|
+
display: flex;
|
|
1910
|
+
align-items: center;
|
|
1911
|
+
justify-content: center;
|
|
1912
|
+
padding: 24px;
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
.CartClearConfirm-module__dialog___UWokE {
|
|
1916
|
+
background: transparent;
|
|
1917
|
+
border-radius: 16px;
|
|
1918
|
+
padding: 24px;
|
|
1919
|
+
width: 100%;
|
|
1920
|
+
max-width: 320px;
|
|
1921
|
+
display: flex;
|
|
1922
|
+
flex-direction: column;
|
|
1923
|
+
gap: 24px;
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
.CartClearConfirm-module__message___vd9VO {
|
|
1927
|
+
font-size: 18px;
|
|
1928
|
+
line-height: 26px;
|
|
1929
|
+
font-weight: 700;
|
|
1930
|
+
color: #ffffff;
|
|
1931
|
+
text-align: center;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
.CartClearConfirm-module__actions___X0-0w {
|
|
1935
|
+
display: flex;
|
|
1936
|
+
gap: 12px;
|
|
1937
|
+
}
|
|
1938
|
+
.CartClearConfirm-module__actions___X0-0w button {
|
|
1939
|
+
padding: 10px 24px;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
.CartClearConfirm-module__cancelButton___LYopb {
|
|
1943
|
+
flex: 1;
|
|
1944
|
+
background: none;
|
|
1945
|
+
border: 2px solid #ffffff;
|
|
1946
|
+
border-radius: 28px;
|
|
1947
|
+
font-size: 16px;
|
|
1948
|
+
line-height: 24px;
|
|
1949
|
+
font-weight: 600;
|
|
1950
|
+
color: #ffffff;
|
|
1951
|
+
cursor: pointer;
|
|
1952
|
+
transition: background-color 0.15s ease;
|
|
1953
|
+
}
|
|
1954
|
+
.CartClearConfirm-module__cancelButton___LYopb:hover {
|
|
1955
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
1956
|
+
}
|
|
1957
|
+
.CartClearConfirm-module__cancelButton___LYopb:focus-visible {
|
|
1958
|
+
outline: 2px solid #ffffff;
|
|
1959
|
+
outline-offset: 2px;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
.CartClearConfirm-module__confirmButton___KgPKy {
|
|
1963
|
+
flex: 1;
|
|
1964
|
+
background: #ffffff;
|
|
1965
|
+
border: 2px solid #ffffff;
|
|
1966
|
+
border-radius: 28px;
|
|
1967
|
+
font-size: 16px;
|
|
1968
|
+
line-height: 24px;
|
|
1969
|
+
font-weight: 600;
|
|
1970
|
+
color: #3d3935;
|
|
1971
|
+
cursor: pointer;
|
|
1972
|
+
transition: background-color 0.15s ease;
|
|
1973
|
+
}
|
|
1974
|
+
.CartClearConfirm-module__confirmButton___KgPKy:hover {
|
|
1975
|
+
background-color: #e6e3df;
|
|
1976
|
+
border-color: #e6e3df;
|
|
1977
|
+
}
|
|
1978
|
+
.CartClearConfirm-module__confirmButton___KgPKy:focus-visible {
|
|
1979
|
+
outline: 2px solid #ffffff;
|
|
1980
|
+
outline-offset: 2px;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1780
1983
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/SubNavigation/SubNavigation.module.scss */
|
|
1781
1984
|
/* center a block element */
|
|
1782
1985
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
@@ -1887,209 +2090,6 @@
|
|
|
1887
2090
|
border: none;
|
|
1888
2091
|
}
|
|
1889
2092
|
|
|
1890
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartOverlay.module.scss */
|
|
1891
|
-
/* center a block element */
|
|
1892
|
-
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1893
|
-
/* setting styles in separate formats for cross browser support */
|
|
1894
|
-
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
1895
|
-
/* vertically center alilgn any HTML element */
|
|
1896
|
-
/* add basePath to assets */
|
|
1897
|
-
.cart-overlay-panel.offcanvas {
|
|
1898
|
-
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
1899
|
-
z-index: 2147483002;
|
|
1900
|
-
}
|
|
1901
|
-
|
|
1902
|
-
.cart-overlay-panel .offcanvas-header {
|
|
1903
|
-
padding: 20px 16px;
|
|
1904
|
-
gap: 24px;
|
|
1905
|
-
align-items: center;
|
|
1906
|
-
background: #ffffff;
|
|
1907
|
-
border-bottom: 1px solid #e6e3df;
|
|
1908
|
-
}
|
|
1909
|
-
|
|
1910
|
-
.cart-overlay-panel .offcanvas-title {
|
|
1911
|
-
display: flex;
|
|
1912
|
-
flex-direction: column;
|
|
1913
|
-
align-items: flex-start;
|
|
1914
|
-
gap: 2px;
|
|
1915
|
-
font-size: 24px;
|
|
1916
|
-
line-height: 32px;
|
|
1917
|
-
font-weight: 700;
|
|
1918
|
-
color: #3d3935;
|
|
1919
|
-
}
|
|
1920
|
-
@media (max-width: 1023px) {
|
|
1921
|
-
.cart-overlay-panel .offcanvas-title {
|
|
1922
|
-
font-size: 20px;
|
|
1923
|
-
line-height: 28px;
|
|
1924
|
-
}
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
.cart-overlay-panel .btn-close {
|
|
1928
|
-
opacity: 0.7;
|
|
1929
|
-
width: 20px;
|
|
1930
|
-
height: 20px;
|
|
1931
|
-
}
|
|
1932
|
-
.cart-overlay-panel .btn-close:hover {
|
|
1933
|
-
opacity: 1;
|
|
1934
|
-
}
|
|
1935
|
-
|
|
1936
|
-
.cart-overlay-panel .offcanvas-body {
|
|
1937
|
-
padding: 0;
|
|
1938
|
-
overflow-y: auto;
|
|
1939
|
-
display: flex;
|
|
1940
|
-
flex-direction: column;
|
|
1941
|
-
background: #f7f6f5;
|
|
1942
|
-
}
|
|
1943
|
-
|
|
1944
|
-
.cart-overlay-panel.offcanvas-bottom {
|
|
1945
|
-
border-radius: 8px 8px 0 0 !important;
|
|
1946
|
-
width: 100% !important;
|
|
1947
|
-
overflow: hidden;
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
|
-
.CartOverlay-module__backdrop___lMc-O {
|
|
1951
|
-
position: fixed;
|
|
1952
|
-
inset: 0;
|
|
1953
|
-
z-index: 1040;
|
|
1954
|
-
background: rgba(42, 42, 42, 0.7);
|
|
1955
|
-
animation: CartOverlay-module__fadeIn___G8JYJ 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
1956
|
-
}
|
|
1957
|
-
|
|
1958
|
-
@keyframes CartOverlay-module__fadeIn___G8JYJ {
|
|
1959
|
-
from {
|
|
1960
|
-
opacity: 0;
|
|
1961
|
-
}
|
|
1962
|
-
to {
|
|
1963
|
-
opacity: 1;
|
|
1964
|
-
}
|
|
1965
|
-
}
|
|
1966
|
-
.CartOverlay-module__footer___OwJpW {
|
|
1967
|
-
padding: 16px 24px;
|
|
1968
|
-
border-top: 1px solid #d2d2d2;
|
|
1969
|
-
background-color: #ffffff;
|
|
1970
|
-
}
|
|
1971
|
-
|
|
1972
|
-
.CartOverlay-module__dismissButton___57qsq {
|
|
1973
|
-
display: flex;
|
|
1974
|
-
align-items: center;
|
|
1975
|
-
justify-content: center;
|
|
1976
|
-
width: 100%;
|
|
1977
|
-
padding: 14px 24px;
|
|
1978
|
-
gap: 8px;
|
|
1979
|
-
background: none;
|
|
1980
|
-
border: 2px solid #da291c;
|
|
1981
|
-
border-radius: 28px;
|
|
1982
|
-
font-size: 16px;
|
|
1983
|
-
line-height: 24px;
|
|
1984
|
-
font-weight: 600;
|
|
1985
|
-
color: #da291c;
|
|
1986
|
-
text-align: center;
|
|
1987
|
-
cursor: pointer;
|
|
1988
|
-
transition: background-color 0.15s ease;
|
|
1989
|
-
}
|
|
1990
|
-
.CartOverlay-module__dismissButton___57qsq:hover {
|
|
1991
|
-
background-color: rgba(218, 41, 28, 0.05);
|
|
1992
|
-
}
|
|
1993
|
-
.CartOverlay-module__dismissButton___57qsq:focus-visible {
|
|
1994
|
-
outline: 2px solid #da291c;
|
|
1995
|
-
outline-offset: 2px;
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
|
-
.CartOverlay-module__errorMessage___ylBiH {
|
|
1999
|
-
margin: auto 24px;
|
|
2000
|
-
padding: 16px;
|
|
2001
|
-
font-size: 20px;
|
|
2002
|
-
line-height: 28px;
|
|
2003
|
-
color: #3d3935;
|
|
2004
|
-
text-align: center;
|
|
2005
|
-
}
|
|
2006
|
-
|
|
2007
|
-
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.module.scss */
|
|
2008
|
-
/* center a block element */
|
|
2009
|
-
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
2010
|
-
/* setting styles in separate formats for cross browser support */
|
|
2011
|
-
/* specify the max width for an element and apply ellipses and truncate the overflow */
|
|
2012
|
-
/* vertically center alilgn any HTML element */
|
|
2013
|
-
/* add basePath to assets */
|
|
2014
|
-
.CartClearConfirm-module__overlay___sxCOO {
|
|
2015
|
-
position: absolute;
|
|
2016
|
-
inset: 0;
|
|
2017
|
-
z-index: 10;
|
|
2018
|
-
background: rgba(42, 42, 42, 0.8);
|
|
2019
|
-
display: flex;
|
|
2020
|
-
align-items: center;
|
|
2021
|
-
justify-content: center;
|
|
2022
|
-
padding: 24px;
|
|
2023
|
-
}
|
|
2024
|
-
|
|
2025
|
-
.CartClearConfirm-module__dialog___UWokE {
|
|
2026
|
-
background: transparent;
|
|
2027
|
-
border-radius: 16px;
|
|
2028
|
-
padding: 24px;
|
|
2029
|
-
width: 100%;
|
|
2030
|
-
max-width: 320px;
|
|
2031
|
-
display: flex;
|
|
2032
|
-
flex-direction: column;
|
|
2033
|
-
gap: 24px;
|
|
2034
|
-
}
|
|
2035
|
-
|
|
2036
|
-
.CartClearConfirm-module__message___vd9VO {
|
|
2037
|
-
font-size: 18px;
|
|
2038
|
-
line-height: 26px;
|
|
2039
|
-
font-weight: 700;
|
|
2040
|
-
color: #ffffff;
|
|
2041
|
-
text-align: center;
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2044
|
-
.CartClearConfirm-module__actions___X0-0w {
|
|
2045
|
-
display: flex;
|
|
2046
|
-
gap: 12px;
|
|
2047
|
-
}
|
|
2048
|
-
.CartClearConfirm-module__actions___X0-0w button {
|
|
2049
|
-
padding: 10px 24px;
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
|
-
.CartClearConfirm-module__cancelButton___LYopb {
|
|
2053
|
-
flex: 1;
|
|
2054
|
-
background: none;
|
|
2055
|
-
border: 2px solid #ffffff;
|
|
2056
|
-
border-radius: 28px;
|
|
2057
|
-
font-size: 16px;
|
|
2058
|
-
line-height: 24px;
|
|
2059
|
-
font-weight: 600;
|
|
2060
|
-
color: #ffffff;
|
|
2061
|
-
cursor: pointer;
|
|
2062
|
-
transition: background-color 0.15s ease;
|
|
2063
|
-
}
|
|
2064
|
-
.CartClearConfirm-module__cancelButton___LYopb:hover {
|
|
2065
|
-
background-color: rgba(255, 255, 255, 0.1);
|
|
2066
|
-
}
|
|
2067
|
-
.CartClearConfirm-module__cancelButton___LYopb:focus-visible {
|
|
2068
|
-
outline: 2px solid #ffffff;
|
|
2069
|
-
outline-offset: 2px;
|
|
2070
|
-
}
|
|
2071
|
-
|
|
2072
|
-
.CartClearConfirm-module__confirmButton___KgPKy {
|
|
2073
|
-
flex: 1;
|
|
2074
|
-
background: #ffffff;
|
|
2075
|
-
border: 2px solid #ffffff;
|
|
2076
|
-
border-radius: 28px;
|
|
2077
|
-
font-size: 16px;
|
|
2078
|
-
line-height: 24px;
|
|
2079
|
-
font-weight: 600;
|
|
2080
|
-
color: #3d3935;
|
|
2081
|
-
cursor: pointer;
|
|
2082
|
-
transition: background-color 0.15s ease;
|
|
2083
|
-
}
|
|
2084
|
-
.CartClearConfirm-module__confirmButton___KgPKy:hover {
|
|
2085
|
-
background-color: #e6e3df;
|
|
2086
|
-
border-color: #e6e3df;
|
|
2087
|
-
}
|
|
2088
|
-
.CartClearConfirm-module__confirmButton___KgPKy:focus-visible {
|
|
2089
|
-
outline: 2px solid #ffffff;
|
|
2090
|
-
outline-offset: 2px;
|
|
2091
|
-
}
|
|
2092
|
-
|
|
2093
2093
|
/* /Users/filipe.cruz2/Projects/sunrise-ch-b2c-sales-static-components/src/components/FalconMainNavigation/MobileNavigation/MobileSubNavigation/MobileSubNavigation.module.scss */
|
|
2094
2094
|
/* center a block element */
|
|
2095
2095
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sunrise-upc/sales-static-components",
|
|
3
|
-
"version": "5.1.0-beta.
|
|
3
|
+
"version": "5.1.0-beta.8",
|
|
4
4
|
"description": "Static Reusable Components Library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"typescript": "^5.9.2"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
|
-
"react": "^19.
|
|
99
|
-
"react-dom": "^19.
|
|
98
|
+
"react": "^19.1.0",
|
|
99
|
+
"react-dom": "^19.1.0",
|
|
100
100
|
"react-bootstrap": "^2.10.10",
|
|
101
101
|
"storyblok-rich-text-react-renderer": "^3.0.1"
|
|
102
102
|
},
|