@digital-b2c/coreui-kit 0.4.1 → 0.4.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/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +183 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +332 -7
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +29 -7
- package/dist/index.d.ts +29 -7
- package/dist/index.mjs +184 -45
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +99 -98
package/dist/index.css
CHANGED
|
@@ -16,6 +16,7 @@ html {
|
|
|
16
16
|
--color-white: #ffffff;
|
|
17
17
|
--color-black: #080808;
|
|
18
18
|
--color-gray: #4d4d4d;
|
|
19
|
+
--color-light-gray-2: #cecece;
|
|
19
20
|
--color-light-gray: #cec3c3;
|
|
20
21
|
--color-link: #0035ba;
|
|
21
22
|
--color-darkerbg: #f1f1f1;
|
|
@@ -513,7 +514,7 @@ a:hover {
|
|
|
513
514
|
.Card_module_card h3 {
|
|
514
515
|
color: var(--color-white);
|
|
515
516
|
}
|
|
516
|
-
.Card_module_card
|
|
517
|
+
.Card_module_card .Card_module_subtitle {
|
|
517
518
|
color: #cecece;
|
|
518
519
|
}
|
|
519
520
|
|
|
@@ -726,27 +727,107 @@ a:hover {
|
|
|
726
727
|
.CardCollection_module_card-collection .CardCollection_module_content {
|
|
727
728
|
margin-bottom: var(--spacing-xl);
|
|
728
729
|
}
|
|
729
|
-
.CardCollection_module_card-collection .CardCollection_module_wrapper {
|
|
730
|
+
.CardCollection_module_card-collection .CardCollection_module_wrapper .CardCollection_module_cardWrapper {
|
|
730
731
|
display: grid;
|
|
731
732
|
grid-template-columns: repeat(2, 1fr);
|
|
732
733
|
gap: var(--spacing-md);
|
|
733
734
|
}
|
|
734
|
-
.CardCollection_module_card-collection.CardCollection_module_threeCols .
|
|
735
|
+
.CardCollection_module_card-collection.CardCollection_module_threeCols .CardCollection_module_cardWrapper {
|
|
735
736
|
grid-template-columns: repeat(3, 1fr);
|
|
736
737
|
}
|
|
737
|
-
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper {
|
|
738
|
-
|
|
738
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper {
|
|
739
|
+
position: relative;
|
|
740
|
+
display: flex;
|
|
741
|
+
flex-wrap: wrap;
|
|
742
|
+
align-items: stretch;
|
|
743
|
+
max-height: none;
|
|
744
|
+
height: 296px;
|
|
745
|
+
overflow: hidden;
|
|
746
|
+
}
|
|
747
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_reveal-wrapper {
|
|
748
|
+
width: 100%;
|
|
749
|
+
height: 0;
|
|
750
|
+
overflow: hidden;
|
|
751
|
+
}
|
|
752
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_reveal-inner {
|
|
753
|
+
display: flex;
|
|
754
|
+
flex-wrap: wrap;
|
|
755
|
+
gap: var(--spacing-md);
|
|
756
|
+
width: 100%;
|
|
757
|
+
}
|
|
758
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_card {
|
|
759
|
+
display: flex;
|
|
760
|
+
flex-direction: column;
|
|
761
|
+
justify-content: flex-start;
|
|
762
|
+
min-height: 160px;
|
|
763
|
+
min-width: 258px;
|
|
764
|
+
flex: 1 1 calc(25% - var(--spacing-md));
|
|
765
|
+
position: relative;
|
|
766
|
+
overflow: hidden;
|
|
767
|
+
border-radius: 12px;
|
|
768
|
+
}
|
|
769
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_card:nth-child(n+5):nth-child(-n+8)::after {
|
|
770
|
+
content: "";
|
|
771
|
+
position: absolute;
|
|
772
|
+
inset: 0;
|
|
773
|
+
pointer-events: none;
|
|
774
|
+
background:
|
|
775
|
+
linear-gradient(
|
|
776
|
+
180deg,
|
|
777
|
+
rgba(0, 0, 0, 0) 0%,
|
|
778
|
+
rgb(0, 0, 0) 45%);
|
|
779
|
+
z-index: 3;
|
|
780
|
+
}
|
|
781
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_card h3,
|
|
782
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_card p {
|
|
783
|
+
position: relative;
|
|
784
|
+
z-index: 3;
|
|
785
|
+
color: var(--color-white);
|
|
786
|
+
}
|
|
787
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper.CardCollection_module_is-expanded .CardCollection_module_card::after {
|
|
788
|
+
opacity: 0;
|
|
789
|
+
transition: opacity 0.3s ease-out;
|
|
790
|
+
}
|
|
791
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_cta {
|
|
792
|
+
position: absolute;
|
|
793
|
+
bottom: 32px;
|
|
794
|
+
left: 50%;
|
|
795
|
+
transform: translateX(-50%);
|
|
796
|
+
z-index: 10;
|
|
739
797
|
}
|
|
740
798
|
@media (max-width: 768px) {
|
|
741
799
|
.CardCollection_module_card-collection {
|
|
742
800
|
padding: var(--spacing-lg);
|
|
743
801
|
}
|
|
744
|
-
.CardCollection_module_card-collection .CardCollection_module_wrapper {
|
|
802
|
+
.CardCollection_module_card-collection .CardCollection_module_wrapper .CardCollection_module_cardWrapper {
|
|
745
803
|
grid-template-columns: 1fr;
|
|
746
804
|
}
|
|
747
|
-
.CardCollection_module_card-collection.CardCollection_module_threeCols .CardCollection_module_wrapper {
|
|
805
|
+
.CardCollection_module_card-collection.CardCollection_module_threeCols .CardCollection_module_wrapper .CardCollection_module_cardWrapper {
|
|
748
806
|
grid-template-columns: 1fr;
|
|
749
807
|
}
|
|
808
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper {
|
|
809
|
+
overflow-x: auto;
|
|
810
|
+
overflow-y: hidden;
|
|
811
|
+
}
|
|
812
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper {
|
|
813
|
+
width: 1100px;
|
|
814
|
+
height: auto;
|
|
815
|
+
max-height: none;
|
|
816
|
+
gap: var(--spacing-md);
|
|
817
|
+
padding-bottom: var(--spacing-sm);
|
|
818
|
+
}
|
|
819
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_card {
|
|
820
|
+
flex: 1 1 calc(25% - var(--spacing-md));
|
|
821
|
+
min-height: auto;
|
|
822
|
+
}
|
|
823
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_reveal-wrapper,
|
|
824
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_reveal-inner {
|
|
825
|
+
display: contents;
|
|
826
|
+
}
|
|
827
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_cta,
|
|
828
|
+
.CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_card::after {
|
|
829
|
+
display: none;
|
|
830
|
+
}
|
|
750
831
|
}
|
|
751
832
|
|
|
752
833
|
/* src/widgets/ContactModule/ContactModule.module.scss */
|
|
@@ -825,6 +906,250 @@ a:hover {
|
|
|
825
906
|
}
|
|
826
907
|
}
|
|
827
908
|
|
|
909
|
+
/* src/widgets/Footer/Footer.module.scss */
|
|
910
|
+
.Footer_module_footer {
|
|
911
|
+
display: block;
|
|
912
|
+
width: 100%;
|
|
913
|
+
background-color: var(--color-black);
|
|
914
|
+
color: var(--color-white);
|
|
915
|
+
}
|
|
916
|
+
.Footer_module_container {
|
|
917
|
+
display: flex;
|
|
918
|
+
flex-direction: column;
|
|
919
|
+
gap: 80px;
|
|
920
|
+
padding-top: 48px;
|
|
921
|
+
padding-bottom: 48px;
|
|
922
|
+
}
|
|
923
|
+
@media (max-width: 768px) {
|
|
924
|
+
.Footer_module_container {
|
|
925
|
+
gap: 40px;
|
|
926
|
+
padding-top: 24px;
|
|
927
|
+
padding-bottom: 24px;
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
.Footer_module_support {
|
|
931
|
+
display: flex;
|
|
932
|
+
justify-content: space-between;
|
|
933
|
+
gap: 32px;
|
|
934
|
+
}
|
|
935
|
+
@media (max-width: 768px) {
|
|
936
|
+
.Footer_module_support {
|
|
937
|
+
flex-direction: column;
|
|
938
|
+
gap: 24px;
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
.Footer_module_support-group {
|
|
942
|
+
flex: 1;
|
|
943
|
+
}
|
|
944
|
+
.Footer_module_support-title {
|
|
945
|
+
font-size: var(--font-size-sm);
|
|
946
|
+
font-weight: var(--font-weight-bold);
|
|
947
|
+
text-transform: uppercase;
|
|
948
|
+
letter-spacing: 0.05em;
|
|
949
|
+
margin-bottom: 16px;
|
|
950
|
+
color: var(--color-white);
|
|
951
|
+
}
|
|
952
|
+
.Footer_module_support-list {
|
|
953
|
+
list-style: none;
|
|
954
|
+
padding: 0;
|
|
955
|
+
margin: 0;
|
|
956
|
+
display: flex;
|
|
957
|
+
flex-direction: column;
|
|
958
|
+
gap: 8px;
|
|
959
|
+
}
|
|
960
|
+
.Footer_module_support-item {
|
|
961
|
+
display: flex;
|
|
962
|
+
flex-direction: column;
|
|
963
|
+
gap: 2px;
|
|
964
|
+
}
|
|
965
|
+
.Footer_module_support-value {
|
|
966
|
+
font-size: var(--font-size-sm);
|
|
967
|
+
color: var(--color-white);
|
|
968
|
+
text-decoration: none;
|
|
969
|
+
}
|
|
970
|
+
.Footer_module_support-value:hover {
|
|
971
|
+
text-decoration: underline;
|
|
972
|
+
}
|
|
973
|
+
.Footer_module_bottom {
|
|
974
|
+
display: flex;
|
|
975
|
+
justify-content: space-between;
|
|
976
|
+
flex-wrap: wrap;
|
|
977
|
+
gap: clamp(32px, 4vw, 80px);
|
|
978
|
+
}
|
|
979
|
+
@media (max-width: 768px) {
|
|
980
|
+
.Footer_module_bottom {
|
|
981
|
+
flex-direction: column;
|
|
982
|
+
flex-wrap: nowrap;
|
|
983
|
+
align-items: center;
|
|
984
|
+
text-align: center;
|
|
985
|
+
gap: 55px;
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
.Footer_module_bottom-left {
|
|
989
|
+
display: flex;
|
|
990
|
+
flex-direction: column;
|
|
991
|
+
gap: 24px;
|
|
992
|
+
flex: 1 1 320px;
|
|
993
|
+
min-width: 0;
|
|
994
|
+
}
|
|
995
|
+
@media (max-width: 768px) {
|
|
996
|
+
.Footer_module_bottom-left {
|
|
997
|
+
display: contents;
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
.Footer_module_bottom-right {
|
|
1001
|
+
display: flex;
|
|
1002
|
+
flex-wrap: wrap;
|
|
1003
|
+
gap: clamp(24px, 6vw, 108px);
|
|
1004
|
+
min-width: 0;
|
|
1005
|
+
}
|
|
1006
|
+
@media (max-width: 768px) {
|
|
1007
|
+
.Footer_module_bottom-right {
|
|
1008
|
+
flex-direction: column;
|
|
1009
|
+
flex-wrap: nowrap;
|
|
1010
|
+
gap: 16px;
|
|
1011
|
+
align-items: center;
|
|
1012
|
+
order: 2;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
.Footer_module_supporters {
|
|
1016
|
+
position: relative;
|
|
1017
|
+
display: flex;
|
|
1018
|
+
flex-direction: row;
|
|
1019
|
+
align-items: center;
|
|
1020
|
+
gap: 32px;
|
|
1021
|
+
}
|
|
1022
|
+
@media (max-width: 768px) {
|
|
1023
|
+
.Footer_module_supporters {
|
|
1024
|
+
order: 1;
|
|
1025
|
+
flex-direction: column;
|
|
1026
|
+
align-items: center;
|
|
1027
|
+
gap: 16px;
|
|
1028
|
+
width: 50vw;
|
|
1029
|
+
margin-bottom: 1.5rem;
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
.Footer_module_supporters-label {
|
|
1033
|
+
font-size: var(--font-size-xs);
|
|
1034
|
+
font-weight: var(--font-weight-medium);
|
|
1035
|
+
text-transform: uppercase;
|
|
1036
|
+
letter-spacing: 0.1em;
|
|
1037
|
+
color: var(--color-light-gray-2);
|
|
1038
|
+
}
|
|
1039
|
+
@media (max-width: 768px) {
|
|
1040
|
+
.Footer_module_supporters-label {
|
|
1041
|
+
margin-bottom: var(--spacing-xl);
|
|
1042
|
+
font-size: var(--font-size-sm);
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
.Footer_module_supporters-logos {
|
|
1046
|
+
display: flex;
|
|
1047
|
+
align-items: center;
|
|
1048
|
+
gap: clamp(16px, 2vw, 32px);
|
|
1049
|
+
flex-wrap: nowrap;
|
|
1050
|
+
min-width: 0;
|
|
1051
|
+
}
|
|
1052
|
+
.Footer_module_supporters-logos img {
|
|
1053
|
+
height: clamp(18px, 2.5vw, 30px);
|
|
1054
|
+
width: auto;
|
|
1055
|
+
filter: brightness(0) invert(1);
|
|
1056
|
+
}
|
|
1057
|
+
@media (max-width: 768px) {
|
|
1058
|
+
.Footer_module_supporters-logos {
|
|
1059
|
+
flex-direction: column;
|
|
1060
|
+
flex-wrap: nowrap;
|
|
1061
|
+
align-items: center;
|
|
1062
|
+
justify-content: center;
|
|
1063
|
+
}
|
|
1064
|
+
.Footer_module_supporters-logos img {
|
|
1065
|
+
height: 2.5rem;
|
|
1066
|
+
width: auto;
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
.Footer_module_supporter-link-primary {
|
|
1070
|
+
display: flex;
|
|
1071
|
+
align-items: center;
|
|
1072
|
+
min-width: 0;
|
|
1073
|
+
flex-shrink: 1;
|
|
1074
|
+
}
|
|
1075
|
+
.Footer_module_supporter-link-primary img {
|
|
1076
|
+
height: auto;
|
|
1077
|
+
width: 60%;
|
|
1078
|
+
max-height: clamp(28px, 3.5vw, 50px);
|
|
1079
|
+
filter: brightness(0) invert(1);
|
|
1080
|
+
margin: auto;
|
|
1081
|
+
}
|
|
1082
|
+
@media (max-width: 768px) {
|
|
1083
|
+
.Footer_module_supporter-link-primary {
|
|
1084
|
+
margin-bottom: var(--spacing-xl);
|
|
1085
|
+
}
|
|
1086
|
+
.Footer_module_supporter-link-primary img {
|
|
1087
|
+
width: 80%;
|
|
1088
|
+
max-height: none;
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
.Footer_module_supporter-link {
|
|
1092
|
+
display: flex;
|
|
1093
|
+
align-items: center;
|
|
1094
|
+
min-width: 0;
|
|
1095
|
+
flex-shrink: 1;
|
|
1096
|
+
}
|
|
1097
|
+
.Footer_module_disclaimer {
|
|
1098
|
+
font-size: var(--font-size-xs);
|
|
1099
|
+
color: var(--color-light-gray);
|
|
1100
|
+
line-height: 1.5;
|
|
1101
|
+
margin-top: var(--spacing-xl);
|
|
1102
|
+
}
|
|
1103
|
+
@media (max-width: 768px) {
|
|
1104
|
+
.Footer_module_disclaimer {
|
|
1105
|
+
order: 3;
|
|
1106
|
+
max-width: 343px;
|
|
1107
|
+
text-align: left;
|
|
1108
|
+
font-size: var(--font-size-md);
|
|
1109
|
+
line-height: 150%;
|
|
1110
|
+
letter-spacing: -0.08px;
|
|
1111
|
+
margin-top: var(--spacing-xs);
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
.Footer_module_copyright {
|
|
1115
|
+
font-size: var(--font-size-xs);
|
|
1116
|
+
color: var(--color-light-gray);
|
|
1117
|
+
}
|
|
1118
|
+
@media (max-width: 768px) {
|
|
1119
|
+
.Footer_module_copyright {
|
|
1120
|
+
order: 4;
|
|
1121
|
+
text-align: left;
|
|
1122
|
+
max-width: 343px;
|
|
1123
|
+
font-size: var(--font-size-md);
|
|
1124
|
+
line-height: 150%;
|
|
1125
|
+
letter-spacing: -0.08px;
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
.Footer_module_nav-list {
|
|
1129
|
+
list-style: none;
|
|
1130
|
+
padding: 0;
|
|
1131
|
+
margin: 0;
|
|
1132
|
+
display: flex;
|
|
1133
|
+
flex-direction: column;
|
|
1134
|
+
gap: 16px;
|
|
1135
|
+
}
|
|
1136
|
+
@media (max-width: 768px) {
|
|
1137
|
+
.Footer_module_nav-list {
|
|
1138
|
+
align-items: center;
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
.Footer_module_nav-link {
|
|
1142
|
+
font-size: var(--font-size-md);
|
|
1143
|
+
line-height: 150%;
|
|
1144
|
+
letter-spacing: -0.08px;
|
|
1145
|
+
color: var(--color-light-gray);
|
|
1146
|
+
text-decoration: none;
|
|
1147
|
+
white-space: nowrap;
|
|
1148
|
+
}
|
|
1149
|
+
.Footer_module_nav-link:hover {
|
|
1150
|
+
text-decoration: underline;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
828
1153
|
/* src/widgets/HeroBanner/HeroBanner.module.scss */
|
|
829
1154
|
.HeroBanner_module_heroBanner {
|
|
830
1155
|
width: 100%;
|