@digital-b2c/coreui-kit 0.2.1 → 0.3.0
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/index.cjs +79 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +270 -34
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +80 -27
- package/dist/index.mjs.map +1 -1
- package/dist/instrument-sans-VYC4K7BH.woff2 +0 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1,3 +1,183 @@
|
|
|
1
|
+
/* src/styles/index.scss */
|
|
2
|
+
*,
|
|
3
|
+
*::before,
|
|
4
|
+
*::after {
|
|
5
|
+
margin: 0;
|
|
6
|
+
padding: 0;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
}
|
|
9
|
+
html {
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
color-scheme: light dark;
|
|
12
|
+
-webkit-font-smoothing: antialiased;
|
|
13
|
+
-webkit-text-size-adjust: none;
|
|
14
|
+
text-size-adjust: none;
|
|
15
|
+
}
|
|
16
|
+
:root {
|
|
17
|
+
--color-white: #ffffff;
|
|
18
|
+
--color-black: #080808;
|
|
19
|
+
--color-gray: #4d4d4d;
|
|
20
|
+
--color-light-gray: #cec3c3;
|
|
21
|
+
--color-link: #0035ba;
|
|
22
|
+
--color-darkerbg: #f1f1f1;
|
|
23
|
+
--color-gradient-black:
|
|
24
|
+
radial-gradient(
|
|
25
|
+
98.36% 208.67% at 2.71% 100%,
|
|
26
|
+
#000000 0%,
|
|
27
|
+
#171717 57.8%,
|
|
28
|
+
#1a1a1a 99.99%);
|
|
29
|
+
--color-gradient-graytowhite:
|
|
30
|
+
linear-gradient(
|
|
31
|
+
360deg,
|
|
32
|
+
#ffffff 0%,
|
|
33
|
+
#f3f3f3 100%);
|
|
34
|
+
--color-gradient-white:
|
|
35
|
+
linear-gradient(
|
|
36
|
+
89.48deg,
|
|
37
|
+
rgba(255, 255, 255, 0.25) -2.75%,
|
|
38
|
+
rgba(153, 153, 153, 0) 187.82%),
|
|
39
|
+
linear-gradient(
|
|
40
|
+
0deg,
|
|
41
|
+
rgba(0, 0, 0, 0),
|
|
42
|
+
rgba(0, 0, 0, 0));
|
|
43
|
+
--color-lenscrafter-blue: #192c50;
|
|
44
|
+
--color-lenscrafter-desctext: #475673;
|
|
45
|
+
--color-foreyes-brown: #ad634a;
|
|
46
|
+
--color-foreyes-icontext: #a52e0d;
|
|
47
|
+
--color-foreyes-desctext: #884634;
|
|
48
|
+
--color-targetoptical-red: #d71b32;
|
|
49
|
+
--color-targetoptical-icontext: #65131d;
|
|
50
|
+
--color-targetoptical-desctext: #84424a;
|
|
51
|
+
--color-pearlevision-green: #5c9541;
|
|
52
|
+
--color-pearlevision-icontext: #19300e;
|
|
53
|
+
--color-pearlevision-desctext: #47593e;
|
|
54
|
+
--spacing-sm: 0.5rem;
|
|
55
|
+
--spacing-md: 1rem;
|
|
56
|
+
--spacing-lg: 1.5rem;
|
|
57
|
+
--spacing-xl: 2rem;
|
|
58
|
+
--spacing-2xl: 2.5rem;
|
|
59
|
+
--spacing-3xl: 3rem;
|
|
60
|
+
--spacing-4xl: 3.5rem;
|
|
61
|
+
--spacing-5xl: 4rem;
|
|
62
|
+
--spacing-6xl: 4.5rem;
|
|
63
|
+
--spacing-7xl: 5rem;
|
|
64
|
+
--font-family-primary: Instrument Sans, sans-serif;
|
|
65
|
+
--font-weight-regular: 400;
|
|
66
|
+
--font-weight-medium: 500;
|
|
67
|
+
--font-weight-bold: 600;
|
|
68
|
+
--font-size-xs: 0.75rem;
|
|
69
|
+
--font-size-sm: 0.875rem;
|
|
70
|
+
--font-size-md: 1rem;
|
|
71
|
+
--font-size-lg: 1.25rem;
|
|
72
|
+
--font-size-xl: 1.5rem;
|
|
73
|
+
--font-size-2xl: 2rem;
|
|
74
|
+
--font-size-3xl: 2.25rem;
|
|
75
|
+
--font-size-4xl: 2.5rem;
|
|
76
|
+
--line-height-normal: 1.5;
|
|
77
|
+
--line-height-tight-1: 1.4;
|
|
78
|
+
--line-height-tight-2: 1.33;
|
|
79
|
+
--line-height-tight-3: 1.25;
|
|
80
|
+
--line-height-tight-4: 1.2;
|
|
81
|
+
--line-height-tight-5: 1.17;
|
|
82
|
+
}
|
|
83
|
+
@font-face {
|
|
84
|
+
font-family: "Instrument Sans";
|
|
85
|
+
font-weight: 400 700;
|
|
86
|
+
font-style: normal;
|
|
87
|
+
font-display: swap;
|
|
88
|
+
src: url("./instrument-sans-VYC4K7BH.woff2") format("woff2");
|
|
89
|
+
}
|
|
90
|
+
html,
|
|
91
|
+
body {
|
|
92
|
+
font-family: "Instrument Sans", sans-serif;
|
|
93
|
+
font-size: 1rem;
|
|
94
|
+
font-weight: 500;
|
|
95
|
+
line-height: 1.5;
|
|
96
|
+
color: #4d4d4d;
|
|
97
|
+
}
|
|
98
|
+
h1,
|
|
99
|
+
.h1 {
|
|
100
|
+
font-size: 2.5rem;
|
|
101
|
+
font-weight: 600;
|
|
102
|
+
line-height: 1.17;
|
|
103
|
+
}
|
|
104
|
+
@media (max-width: 768px) {
|
|
105
|
+
h1,
|
|
106
|
+
.h1 {
|
|
107
|
+
font-size: 2rem;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
h2,
|
|
111
|
+
.h2 {
|
|
112
|
+
font-size: 2.25rem;
|
|
113
|
+
font-weight: 600;
|
|
114
|
+
line-height: 1.2;
|
|
115
|
+
}
|
|
116
|
+
@media (max-width: 768px) {
|
|
117
|
+
h2,
|
|
118
|
+
.h2 {
|
|
119
|
+
font-size: 1.5rem;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
h3,
|
|
123
|
+
.h3 {
|
|
124
|
+
font-size: 2rem;
|
|
125
|
+
font-weight: 600;
|
|
126
|
+
line-height: 1.25;
|
|
127
|
+
}
|
|
128
|
+
@media (max-width: 768px) {
|
|
129
|
+
h3,
|
|
130
|
+
.h3 {
|
|
131
|
+
font-size: 1.25rem;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
h4,
|
|
135
|
+
.h4 {
|
|
136
|
+
font-size: 1.5rem;
|
|
137
|
+
font-weight: 600;
|
|
138
|
+
line-height: 1.33;
|
|
139
|
+
}
|
|
140
|
+
@media (max-width: 768px) {
|
|
141
|
+
h4,
|
|
142
|
+
.h4 {
|
|
143
|
+
font-size: 18px;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
.subheading {
|
|
147
|
+
font-size: 1.25rem;
|
|
148
|
+
font-weight: 500;
|
|
149
|
+
line-height: 1.4;
|
|
150
|
+
}
|
|
151
|
+
@media (max-width: 768px) {
|
|
152
|
+
.subheading {
|
|
153
|
+
font-size: 18px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
p,
|
|
157
|
+
.body {
|
|
158
|
+
font-size: 1rem;
|
|
159
|
+
font-weight: 500;
|
|
160
|
+
line-height: 1.5;
|
|
161
|
+
}
|
|
162
|
+
small,
|
|
163
|
+
.small {
|
|
164
|
+
font-size: 0.875rem;
|
|
165
|
+
font-weight: 500;
|
|
166
|
+
line-height: 1.5;
|
|
167
|
+
}
|
|
168
|
+
.smallest {
|
|
169
|
+
font-size: 0.75rem;
|
|
170
|
+
font-weight: 500;
|
|
171
|
+
line-height: 1.5;
|
|
172
|
+
}
|
|
173
|
+
a {
|
|
174
|
+
color: var(--color-link);
|
|
175
|
+
text-decoration: none;
|
|
176
|
+
}
|
|
177
|
+
a:hover {
|
|
178
|
+
text-decoration: underline;
|
|
179
|
+
}
|
|
180
|
+
|
|
1
181
|
/* src/components/Picture/Picture.module.scss */
|
|
2
182
|
.Picture_module_image-desktop {
|
|
3
183
|
display: block;
|
|
@@ -364,6 +544,7 @@
|
|
|
364
544
|
.InfoCard_module_info-card .InfoCard_module_header {
|
|
365
545
|
display: flex;
|
|
366
546
|
flex-direction: row;
|
|
547
|
+
align-items: center;
|
|
367
548
|
gap: var(--spacing-md);
|
|
368
549
|
color: var(--color-black);
|
|
369
550
|
}
|
|
@@ -434,10 +615,16 @@
|
|
|
434
615
|
/* src/components/primitives/Container/Container.module.scss */
|
|
435
616
|
.Container_module_container {
|
|
436
617
|
width: 100%;
|
|
437
|
-
max-width:
|
|
618
|
+
max-width: 1312px;
|
|
438
619
|
overflow: visible;
|
|
439
620
|
margin: 0 auto;
|
|
440
621
|
position: relative;
|
|
622
|
+
padding: var(--spacing-3xl) var(--spacing-md);
|
|
623
|
+
}
|
|
624
|
+
@media (max-width: 768px) {
|
|
625
|
+
.Container_module_container {
|
|
626
|
+
padding: var(--spacing-lg) var(--spacing-md);
|
|
627
|
+
}
|
|
441
628
|
}
|
|
442
629
|
|
|
443
630
|
/* src/components/PracticeCard/PracticeCard.module.scss */
|
|
@@ -527,7 +714,7 @@
|
|
|
527
714
|
.CardCollection_module_card-collection {
|
|
528
715
|
display: block;
|
|
529
716
|
width: 100%;
|
|
530
|
-
|
|
717
|
+
background-color: var(--color-white);
|
|
531
718
|
}
|
|
532
719
|
.CardCollection_module_card-collection h2 {
|
|
533
720
|
color: var(--color-black);
|
|
@@ -561,9 +748,50 @@
|
|
|
561
748
|
|
|
562
749
|
/* src/widgets/ContactModule/ContactModule.module.scss */
|
|
563
750
|
.ContactModule_module_contact-module {
|
|
564
|
-
width: 100%;
|
|
565
751
|
display: block;
|
|
752
|
+
width: 100%;
|
|
753
|
+
background-color: var(--color-white);
|
|
566
754
|
padding-top: 96px;
|
|
755
|
+
position: relative;
|
|
756
|
+
}
|
|
757
|
+
.ContactModule_module_contact-module .ContactModule_module_blur {
|
|
758
|
+
z-index: 2;
|
|
759
|
+
opacity: 1;
|
|
760
|
+
transition: opacity 0.2s ease;
|
|
761
|
+
position: absolute;
|
|
762
|
+
inset: 0;
|
|
763
|
+
backdrop-filter: blur(4px);
|
|
764
|
+
mask-image:
|
|
765
|
+
radial-gradient(
|
|
766
|
+
ellipse at 50% 90%,
|
|
767
|
+
rgb(0, 0, 0) 50%,
|
|
768
|
+
rgba(0, 0, 0, 0) 100%);
|
|
769
|
+
-webkit-mask-image:
|
|
770
|
+
radial-gradient(
|
|
771
|
+
ellipse at 50% 90%,
|
|
772
|
+
rgb(0, 0, 0) 50%,
|
|
773
|
+
rgba(0, 0, 0, 0) 100%);
|
|
774
|
+
}
|
|
775
|
+
.ContactModule_module_contact-module .ContactModule_module_blur--hidden {
|
|
776
|
+
opacity: 0;
|
|
777
|
+
}
|
|
778
|
+
@media (max-width: 768px) {
|
|
779
|
+
.ContactModule_module_contact-module .ContactModule_module_blur {
|
|
780
|
+
mask-image:
|
|
781
|
+
radial-gradient(
|
|
782
|
+
circle at 50% 12%,
|
|
783
|
+
rgba(0, 0, 0, 0) 0%,
|
|
784
|
+
rgb(0, 0, 0) 25%);
|
|
785
|
+
-webkit-mask-image:
|
|
786
|
+
radial-gradient(
|
|
787
|
+
circle at 50% 12%,
|
|
788
|
+
rgba(0, 0, 0, 0) 0%,
|
|
789
|
+
rgb(0, 0, 0) 25%);
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
.ContactModule_module_contact-module .ContactModule_module_container {
|
|
793
|
+
padding: 0;
|
|
794
|
+
z-index: 1;
|
|
567
795
|
}
|
|
568
796
|
.ContactModule_module_contact-module .ContactModule_module_container,
|
|
569
797
|
.ContactModule_module_contact-module .ContactModule_module_wrapper,
|
|
@@ -608,6 +836,9 @@
|
|
|
608
836
|
max-width: 75%;
|
|
609
837
|
}
|
|
610
838
|
}
|
|
839
|
+
.ContactModule_module_contact-module .ContactModule_module_subtitle {
|
|
840
|
+
max-width: 500px;
|
|
841
|
+
}
|
|
611
842
|
@media (max-width: 768px) {
|
|
612
843
|
.ContactModule_module_contact-module .ContactModule_module_image {
|
|
613
844
|
max-width: 80%;
|
|
@@ -755,6 +986,7 @@
|
|
|
755
986
|
|
|
756
987
|
/* src/widgets/MiniBanner/MiniBanner.module.scss */
|
|
757
988
|
.MiniBanner_module_minibanner {
|
|
989
|
+
display: block;
|
|
758
990
|
width: 100%;
|
|
759
991
|
background-color: #f3f3f3;
|
|
760
992
|
min-height: 192px;
|
|
@@ -780,13 +1012,10 @@
|
|
|
780
1012
|
align-items: center;
|
|
781
1013
|
justify-content: center;
|
|
782
1014
|
gap: var(--spacing-lg);
|
|
783
|
-
padding: var(--spacing-3xl) 0;
|
|
784
1015
|
z-index: 2;
|
|
785
1016
|
}
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
padding: var(--spacing-3xl) var(--spacing-md);
|
|
789
|
-
}
|
|
1017
|
+
.MiniBanner_module_minibanner .MiniBanner_module_container * {
|
|
1018
|
+
max-width: 100%;
|
|
790
1019
|
}
|
|
791
1020
|
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG {
|
|
792
1021
|
color: var(--color-black);
|
|
@@ -803,14 +1032,22 @@
|
|
|
803
1032
|
|
|
804
1033
|
/* src/widgets/MiniSectionCta/MiniSectionCta.module.scss */
|
|
805
1034
|
.MiniSectionCta_module_miniSectionCta {
|
|
1035
|
+
display: block;
|
|
806
1036
|
width: 100%;
|
|
1037
|
+
background-color: var(--color-white);
|
|
807
1038
|
}
|
|
808
|
-
.MiniSectionCta_module_miniSectionCta .
|
|
1039
|
+
.MiniSectionCta_module_miniSectionCta .MiniSectionCta_module_wrapper {
|
|
809
1040
|
display: flex;
|
|
810
1041
|
flex-direction: row;
|
|
811
1042
|
justify-content: space-between;
|
|
812
1043
|
gap: var(--spacing-md);
|
|
813
|
-
padding:
|
|
1044
|
+
padding: 0;
|
|
1045
|
+
}
|
|
1046
|
+
@media (max-width: 768px) {
|
|
1047
|
+
.MiniSectionCta_module_miniSectionCta .MiniSectionCta_module_wrapper {
|
|
1048
|
+
flex-direction: column;
|
|
1049
|
+
padding: var(--spacing-lg) var(--spacing-md);
|
|
1050
|
+
}
|
|
814
1051
|
}
|
|
815
1052
|
.MiniSectionCta_module_miniSectionCta .MiniSectionCta_module_col {
|
|
816
1053
|
display: flex;
|
|
@@ -821,7 +1058,7 @@
|
|
|
821
1058
|
color: var(--color-black);
|
|
822
1059
|
}
|
|
823
1060
|
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_BgColorBlack {
|
|
824
|
-
background: var(--color-black);
|
|
1061
|
+
background-color: var(--color-black);
|
|
825
1062
|
color: var(--color-white);
|
|
826
1063
|
}
|
|
827
1064
|
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_BgColorBlack h2 {
|
|
@@ -830,6 +1067,11 @@
|
|
|
830
1067
|
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_BgColorBlack .subheading {
|
|
831
1068
|
color: #cecece;
|
|
832
1069
|
}
|
|
1070
|
+
@media (max-width: 768px) {
|
|
1071
|
+
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_BgColorBlack {
|
|
1072
|
+
text-align: center;
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
833
1075
|
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_infoCallout .MiniSectionCta_module_col {
|
|
834
1076
|
flex-direction: row;
|
|
835
1077
|
gap: 112px;
|
|
@@ -838,24 +1080,7 @@
|
|
|
838
1080
|
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_infoCallout h2 {
|
|
839
1081
|
min-width: fit-content;
|
|
840
1082
|
}
|
|
841
|
-
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_miniTextCenterCta .MiniSectionCta_module_container {
|
|
842
|
-
flex-direction: column;
|
|
843
|
-
align-items: center;
|
|
844
|
-
}
|
|
845
1083
|
@media (max-width: 768px) {
|
|
846
|
-
.MiniSectionCta_module_miniSectionCta .MiniSectionCta_module_container {
|
|
847
|
-
flex-direction: column;
|
|
848
|
-
padding: var(--spacing-lg) var(--spacing-md);
|
|
849
|
-
}
|
|
850
|
-
.MiniSectionCta_module_miniSectionCta .MiniSectionCta_module_cta {
|
|
851
|
-
width: 100%;
|
|
852
|
-
}
|
|
853
|
-
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_BgColorBlack {
|
|
854
|
-
text-align: center;
|
|
855
|
-
}
|
|
856
|
-
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_BgColorGrey {
|
|
857
|
-
text-align: center;
|
|
858
|
-
}
|
|
859
1084
|
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_infoCallout .MiniSectionCta_module_col {
|
|
860
1085
|
flex-direction: column;
|
|
861
1086
|
gap: var(--spacing-md);
|
|
@@ -866,6 +1091,18 @@
|
|
|
866
1091
|
font-weight: var(--font-weight-medium);
|
|
867
1092
|
line-height: var(--line-height-tight-1);
|
|
868
1093
|
}
|
|
1094
|
+
}
|
|
1095
|
+
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_miniTextCenterCta .MiniSectionCta_module_wrapper {
|
|
1096
|
+
flex-direction: column;
|
|
1097
|
+
align-items: center;
|
|
1098
|
+
}
|
|
1099
|
+
@media (max-width: 768px) {
|
|
1100
|
+
.MiniSectionCta_module_miniSectionCta .MiniSectionCta_module_cta {
|
|
1101
|
+
width: 100%;
|
|
1102
|
+
}
|
|
1103
|
+
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_BgColorGrey {
|
|
1104
|
+
text-align: center;
|
|
1105
|
+
}
|
|
869
1106
|
.MiniSectionCta_module_miniSectionCta.MiniSectionCta_module_miniTextCenterCta .MiniSectionCta_module_col {
|
|
870
1107
|
width: 100%;
|
|
871
1108
|
}
|
|
@@ -875,12 +1112,7 @@
|
|
|
875
1112
|
.PracticePathCards_module_practice-path-cards {
|
|
876
1113
|
display: block;
|
|
877
1114
|
width: 100%;
|
|
878
|
-
|
|
879
|
-
}
|
|
880
|
-
@media (max-width: 768px) {
|
|
881
|
-
.PracticePathCards_module_practice-path-cards {
|
|
882
|
-
padding: var(--spacing-lg) var(--spacing-md);
|
|
883
|
-
}
|
|
1115
|
+
background-color: var(--color-white);
|
|
884
1116
|
}
|
|
885
1117
|
.PracticePathCards_module_practice-path-cards h2 {
|
|
886
1118
|
color: var(--color-black);
|
|
@@ -936,7 +1168,9 @@
|
|
|
936
1168
|
|
|
937
1169
|
/* src/widgets/Teaser5050With3Text/Teaser5050With3Text.module.scss */
|
|
938
1170
|
.Teaser5050With3Text_module_teaser5050-3text {
|
|
1171
|
+
display: block;
|
|
939
1172
|
width: 100%;
|
|
1173
|
+
background-color: var(--color-white);
|
|
940
1174
|
}
|
|
941
1175
|
.Teaser5050With3Text_module_teaser5050-3text .Teaser5050With3Text_module_container {
|
|
942
1176
|
display: flex;
|
|
@@ -983,7 +1217,9 @@
|
|
|
983
1217
|
|
|
984
1218
|
/* src/widgets/Teaser5050WithCta/Teaser5050WithCta.module.scss */
|
|
985
1219
|
.Teaser5050WithCta_module_teaser5050 {
|
|
1220
|
+
display: block;
|
|
986
1221
|
width: 100%;
|
|
1222
|
+
background-color: var(--color-white);
|
|
987
1223
|
}
|
|
988
1224
|
.Teaser5050WithCta_module_teaser5050 .Teaser5050WithCta_module_container {
|
|
989
1225
|
display: flex;
|