@sc-360-v2/storefront-cms-library 0.3.42 → 0.3.44
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/builder.js +1 -1
- package/dist/cart-details.scss +350 -44
- package/dist/cart-summary.scss +1347 -167
- package/dist/checkout.scss +196 -5
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layouter-pro-item.scss +41 -5
- package/dist/layouter-pro.scss +2 -2
- package/dist/order-status.scss +1108 -202
- package/dist/overflow-module.scss +4 -3
- package/dist/responsive-behaviour.scss +7 -1
- package/dist/section.scss +1 -1
- package/dist/types/builder/tools/element-edit/addProductsTab.d.ts +538 -458
- package/dist/types/builder/tools/element-edit/allocationDetails.d.ts +7 -1
- package/dist/types/builder/tools/element-edit/cartAttributes.d.ts +641 -97
- package/dist/types/builder/tools/element-edit/cartDetails.d.ts +96 -12
- package/dist/types/builder/tools/element-edit/common.d.ts +3 -0
- package/dist/types/builder/tools/element-edit/layouter-pro-item.d.ts +22 -1
- package/dist/types/builder/tools/element-edit/orderStatus.d.ts +128 -66
- package/dist/types/builder/tools/element-edit/variantPicker.d.ts +903 -0
- package/package.json +1 -1
package/dist/checkout.scss
CHANGED
|
@@ -753,7 +753,7 @@ $dark-color: #343a40;
|
|
|
753
753
|
&_shipping_option_container {
|
|
754
754
|
display: flex;
|
|
755
755
|
flex-direction: column;
|
|
756
|
-
gap:
|
|
756
|
+
gap: 6px;
|
|
757
757
|
|
|
758
758
|
@media (max-width: 500px) {
|
|
759
759
|
flex-direction: row;
|
|
@@ -896,13 +896,14 @@ $dark-color: #343a40;
|
|
|
896
896
|
|
|
897
897
|
@media (min-width: 768px) {
|
|
898
898
|
grid-template-columns: 1fr 1fr;
|
|
899
|
+
gap: 32px;
|
|
899
900
|
}
|
|
900
901
|
}
|
|
901
902
|
|
|
902
903
|
&__group {
|
|
903
904
|
display: flex;
|
|
904
905
|
flex-direction: column;
|
|
905
|
-
gap:
|
|
906
|
+
gap: 4px;
|
|
906
907
|
|
|
907
908
|
.chk_shipping_method_heading {
|
|
908
909
|
color: var(--_ctm-dn-sg-md-dn-hg-dn-cr);
|
|
@@ -1007,6 +1008,18 @@ $dark-color: #343a40;
|
|
|
1007
1008
|
border-color: #2563eb;
|
|
1008
1009
|
}
|
|
1009
1010
|
}
|
|
1011
|
+
|
|
1012
|
+
// order level shipping
|
|
1013
|
+
.order_level_shipping {
|
|
1014
|
+
display: flex;
|
|
1015
|
+
gap: 24px;
|
|
1016
|
+
.order_level_shipping_img {
|
|
1017
|
+
width: 120px;
|
|
1018
|
+
height: 120px;
|
|
1019
|
+
background-color: var(--_gray-100);
|
|
1020
|
+
border-radius: 6px;
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1010
1023
|
}
|
|
1011
1024
|
|
|
1012
1025
|
.chk_payment-options {
|
|
@@ -1100,7 +1113,7 @@ $dark-color: #343a40;
|
|
|
1100
1113
|
|
|
1101
1114
|
&_left_container {
|
|
1102
1115
|
display: flex;
|
|
1103
|
-
gap:
|
|
1116
|
+
gap: 12px;
|
|
1104
1117
|
align-items: flex-start;
|
|
1105
1118
|
|
|
1106
1119
|
@media (max-width: 500px) {
|
|
@@ -1163,7 +1176,6 @@ $dark-color: #343a40;
|
|
|
1163
1176
|
&__info_wrapper {
|
|
1164
1177
|
display: flex;
|
|
1165
1178
|
flex-direction: column;
|
|
1166
|
-
gap: var(--_ctm-lt-ll-ad-it-gp);
|
|
1167
1179
|
white-space: nowrap;
|
|
1168
1180
|
|
|
1169
1181
|
.chk_payment_options_name {
|
|
@@ -1312,6 +1324,9 @@ $dark-color: #343a40;
|
|
|
1312
1324
|
line-height: var(--_ctm-dn-pt-os-dn-pt-hg-dn-le-ht);
|
|
1313
1325
|
letter-spacing: var(--_ctm-dn-pt-os-dn-pt-hg-dn-lr-sg);
|
|
1314
1326
|
text-decoration: var(--_ctm-dn-pt-os-dn-pt-hg-dn-ue);
|
|
1327
|
+
&.pl_0 {
|
|
1328
|
+
padding-left: 0px;
|
|
1329
|
+
}
|
|
1315
1330
|
}
|
|
1316
1331
|
|
|
1317
1332
|
&_form_wrapper {
|
|
@@ -1753,7 +1768,6 @@ $dark-color: #343a40;
|
|
|
1753
1768
|
gap: 6px;
|
|
1754
1769
|
background-color: var(--_ctm-dn-pt-os-dn-ne-dn-bd-cr);
|
|
1755
1770
|
border-color: var(--_ctm-dn-pt-os-dn-ne-dn-br-cr);
|
|
1756
|
-
border-radius: var(--_ctm-dn-pt-os-dn-ne-dn-br-rs);
|
|
1757
1771
|
border-style: var(--_ctm-dn-pt-os-dn-ne-dn-br-se);
|
|
1758
1772
|
border-width: var(--_ctm-dn-pt-os-dn-ne-dn-br-wh);
|
|
1759
1773
|
color: var(--_ctm-dn-pt-os-dn-ne-dn-cr);
|
|
@@ -1920,3 +1934,180 @@ $dark-color: #343a40;
|
|
|
1920
1934
|
}
|
|
1921
1935
|
}
|
|
1922
1936
|
}
|
|
1937
|
+
|
|
1938
|
+
// credit card form syles
|
|
1939
|
+
.chk_cred_form_details {
|
|
1940
|
+
border-top: 1px solid var(--_gray-300);
|
|
1941
|
+
padding: 16px;
|
|
1942
|
+
.chk_basic_form_title {
|
|
1943
|
+
font-size: 14px;
|
|
1944
|
+
margin-bottom: 16px;
|
|
1945
|
+
font-weight: 600;
|
|
1946
|
+
}
|
|
1947
|
+
.chk_form_fields {
|
|
1948
|
+
h3 {
|
|
1949
|
+
font-size: 14px;
|
|
1950
|
+
margin-bottom: 8px;
|
|
1951
|
+
}
|
|
1952
|
+
display: flex;
|
|
1953
|
+
flex-direction: column;
|
|
1954
|
+
gap: 24px;
|
|
1955
|
+
width: 500px;
|
|
1956
|
+
.chk_form_field {
|
|
1957
|
+
width: 100%;
|
|
1958
|
+
&.expiry_details {
|
|
1959
|
+
width: 80px;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
display: flex;
|
|
1963
|
+
flex-direction: column;
|
|
1964
|
+
gap: 6px;
|
|
1965
|
+
width: 100%;
|
|
1966
|
+
|
|
1967
|
+
.chk_form_field_label {
|
|
1968
|
+
font-size: 14px;
|
|
1969
|
+
color: var(--_gray-600);
|
|
1970
|
+
}
|
|
1971
|
+
.chk_form_field_inp {
|
|
1972
|
+
height: 40px;
|
|
1973
|
+
border: 1px solid var(--_gray-300);
|
|
1974
|
+
border-radius: 4px;
|
|
1975
|
+
padding-inline: 10px;
|
|
1976
|
+
&:placeholder-shown {
|
|
1977
|
+
color: var(--_gray-400);
|
|
1978
|
+
padding-left: 16px;
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
.error_msg {
|
|
1982
|
+
display: block;
|
|
1983
|
+
color: var(--_error-700);
|
|
1984
|
+
font-size: 12px;
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
.checkbox {
|
|
1989
|
+
width: auto;
|
|
1990
|
+
|
|
1991
|
+
label {
|
|
1992
|
+
display: flex;
|
|
1993
|
+
align-items: center;
|
|
1994
|
+
gap: 8px;
|
|
1995
|
+
cursor: pointer;
|
|
1996
|
+
position: relative;
|
|
1997
|
+
user-select: none;
|
|
1998
|
+
|
|
1999
|
+
input[type="checkbox"] {
|
|
2000
|
+
display: none;
|
|
2001
|
+
|
|
2002
|
+
&:checked + .custom-checkbox::after {
|
|
2003
|
+
opacity: 1;
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
.custom-checkbox {
|
|
2008
|
+
width: 16px;
|
|
2009
|
+
height: 16px;
|
|
2010
|
+
border: 2px solid var(--_primary-400);
|
|
2011
|
+
border-radius: 4px;
|
|
2012
|
+
position: relative;
|
|
2013
|
+
display: inline-block;
|
|
2014
|
+
box-sizing: border-box;
|
|
2015
|
+
|
|
2016
|
+
&::after {
|
|
2017
|
+
content: "";
|
|
2018
|
+
position: absolute;
|
|
2019
|
+
left: 3px;
|
|
2020
|
+
top: 0px;
|
|
2021
|
+
width: 4px;
|
|
2022
|
+
height: 8px;
|
|
2023
|
+
border: solid var(--_primary-400);
|
|
2024
|
+
border-width: 0 1px 1px 0;
|
|
2025
|
+
transform: rotate(45deg);
|
|
2026
|
+
opacity: 0;
|
|
2027
|
+
transition: opacity 0.2s ease-in-out;
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
.expiry_details {
|
|
2033
|
+
display: flex;
|
|
2034
|
+
gap: 12px;
|
|
2035
|
+
.cvv_inp {
|
|
2036
|
+
width: 110px;
|
|
2037
|
+
}
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
// giftcard form styles
|
|
2043
|
+
.chk_gift_card_details {
|
|
2044
|
+
border-top: 1px solid var(--_gray-300);
|
|
2045
|
+
padding: 16px;
|
|
2046
|
+
.chk_gift_card_form {
|
|
2047
|
+
display: flex;
|
|
2048
|
+
flex-direction: column;
|
|
2049
|
+
gap: 16px;
|
|
2050
|
+
max-width: 480px;
|
|
2051
|
+
.chk_gift_cart_form_title {
|
|
2052
|
+
font-size: 14px;
|
|
2053
|
+
font-weight: 600;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
.chk_gift_form_fields {
|
|
2057
|
+
display: flex;
|
|
2058
|
+
gap: 12px;
|
|
2059
|
+
width: 100%;
|
|
2060
|
+
.chk_gift_inp_field {
|
|
2061
|
+
display: flex;
|
|
2062
|
+
flex-direction: column;
|
|
2063
|
+
gap: 6px;
|
|
2064
|
+
width: 100%;
|
|
2065
|
+
label {
|
|
2066
|
+
color: var(--_gray-600);
|
|
2067
|
+
}
|
|
2068
|
+
.chk_gift_inp {
|
|
2069
|
+
border: 1px solid var(--_gray-300);
|
|
2070
|
+
border-radius: 6px;
|
|
2071
|
+
height: 40px;
|
|
2072
|
+
padding-inline: 10px;
|
|
2073
|
+
}
|
|
2074
|
+
&.pin {
|
|
2075
|
+
width: 110px;
|
|
2076
|
+
}
|
|
2077
|
+
.error_msg {
|
|
2078
|
+
display: block;
|
|
2079
|
+
color: var(--_error-700);
|
|
2080
|
+
font-size: 12px;
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
.error_msg {
|
|
2084
|
+
color: var(--_error-700);
|
|
2085
|
+
font-size: 14px;
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
.chk_form_actions {
|
|
2091
|
+
display: flex;
|
|
2092
|
+
gap: 12px;
|
|
2093
|
+
.chk_sav_btn {
|
|
2094
|
+
padding: 12px 16px;
|
|
2095
|
+
background-color: var(--_primary-400);
|
|
2096
|
+
border-radius: 6px;
|
|
2097
|
+
color: var(--_base-white);
|
|
2098
|
+
&:hover {
|
|
2099
|
+
background-color: var(--_primary-500);
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
.chk_can_btn {
|
|
2103
|
+
padding: 12px 16px;
|
|
2104
|
+
background-color: transparent;
|
|
2105
|
+
border-radius: 6px;
|
|
2106
|
+
color: var(--_gray-600);
|
|
2107
|
+
padding-inline: 10px;
|
|
2108
|
+
&:hover {
|
|
2109
|
+
background-color: var(--_gray-50);
|
|
2110
|
+
color: var(--_gray-900);
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
}
|