@total_onion/onion-library 2.0.149 → 2.0.151
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/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-link-widget.vue +4 -1
- package/components/block-raw-html-v3/raw-html-v3.js +7 -0
- package/components/block-raw-html-v3/raw-html-v3.scss +2 -0
- package/createDynamicBlockScss-v3.js +0 -1
- package/package.json +1 -1
- package/public/assetList.mjs +1 -1
- package/public/block-post-type-filter-grid-v3/post-type-filter-grid-v3.js +11 -11
- package/public/dynamicBlockScss-v3.scss +1 -0
- package/public/jsAssets.mjs +1 -1
- package/public/block-video-content-v3/video-content-v3.js +0 -11
- package/public/components/block-accent-image-v3/accent-image-v3.css +0 -0
- package/public/components/block-accent-image-v3/accent-image-v3.js +0 -7
- package/public/components/block-accordion-v3/accordion-v3.css +0 -474
- package/public/components/block-accordion-v3/accordion-v3.js +0 -117
- package/public/components/block-back-to-top-button-v3/back-to-top-button-v3.css +0 -62
- package/public/components/block-back-to-top-button-v3/back-to-top-button-v3.js +0 -12
- package/public/components/block-betterreviews-display-v3/betterreviews-display-v3.css +0 -96
- package/public/components/block-betterreviews-display-v3/betterreviews-display-v3.js +0 -7
- package/public/components/block-block-interactions-v3/block-interactions-v3.css +0 -34
- package/public/components/block-block-interactions-v3/block-interactions-v3.js +0 -44
- package/public/components/block-carousel-multi-layout-v3/carousel-multi-layout-v3.css +0 -928
- package/public/components/block-carousel-multi-layout-v3/carousel-multi-layout-v3.js +0 -169
- package/public/components/block-cocktail-recipe-v3/cocktail-recipe-v3.css +0 -317
- package/public/components/block-cocktail-recipe-v3/cocktail-recipe-v3.js +0 -93
- package/public/components/block-cover-link-v3/cover-link-v3.css +0 -0
- package/public/components/block-cover-link-v3/cover-link-v3.js +0 -7
- package/public/components/block-divider-v3/divider-v3.css +0 -74
- package/public/components/block-divider-v3/divider-v3.js +0 -7
- package/public/components/block-featured-image-gallery-v3/featured-image-gallery-v3.css +0 -102
- package/public/components/block-featured-image-gallery-v3/featured-image-gallery-v3.js +0 -44
- package/public/components/block-form-selection-v3/form-selection-v3.css +0 -32
- package/public/components/block-form-selection-v3/form-selection-v3.js +0 -61
- package/public/components/block-gradient-layer-v3/gradient-layer-v3.css +0 -52
- package/public/components/block-gradient-layer-v3/gradient-layer-v3.js +0 -7
- package/public/components/block-group-container-v3/group-container-v3.css +0 -323
- package/public/components/block-group-container-v3/group-container-v3.js +0 -7
- package/public/components/block-lottie-content-v3/lottie-content-v3.css +0 -0
- package/public/components/block-lottie-content-v3/lottie-content-v3.js +0 -25
- package/public/components/block-market-selector-v3/market-selector-v3.css +0 -139
- package/public/components/block-market-selector-v3/market-selector-v3.js +0 -7
- package/public/components/block-modal-form-v3/modal-form-v3.css +0 -0
- package/public/components/block-modal-form-v3/modal-form-v3.js +0 -44
- package/public/components/block-modal-form-v3/modal-form-v3.scss.css +0 -0
- package/public/components/block-nav-menu-container-v3/nav-menu-container-v3.css +0 -3
- package/public/components/block-nav-menu-container-v3/nav-menu-container-v3.js +0 -7
- package/public/components/block-post-info-v3/post-info-v3.css +0 -1310
- package/public/components/block-post-info-v3/post-info-v3.js +0 -7
- package/public/components/block-post-info-v3/post-info-v3.scss.css +0 -1310
- package/public/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.css +0 -859
- package/public/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.js +0 -13
- package/public/components/block-product-info-v3/product-info-v3.css +0 -993
- package/public/components/block-product-info-v3/product-info-v3.js +0 -7
- package/public/components/block-product-info-v3/product-info-v3.scss.css +0 -993
- package/public/components/block-responsive-table-v3/responsive-table-v3.css +0 -48
- package/public/components/block-responsive-table-v3/responsive-table-v3.js +0 -7
- package/public/components/block-scrolling-banner-v3/scrolling-banner-v3.css +0 -85
- package/public/components/block-scrolling-banner-v3/scrolling-banner-v3.js +0 -106
- package/public/components/block-section-separator-v3/section-separator-v3.css +0 -43
- package/public/components/block-section-separator-v3/section-separator-v3.js +0 -7
- package/public/components/block-single-column-container-v3/single-column-container-v3.css +0 -14
- package/public/components/block-single-column-container-v3/single-column-container-v3.js +0 -7
- package/public/components/block-single-responsive-image-v3/single-responsive-image-v3.css +0 -60
- package/public/components/block-single-responsive-image-v3/single-responsive-image-v3.js +0 -7
- package/public/components/block-site-copyright-notice-v3/site-copyright-notice-v3.css +0 -0
- package/public/components/block-site-copyright-notice-v3/site-copyright-notice-v3.js +0 -7
- package/public/components/block-site-logo-container-v3/site-logo-container-v3.css +0 -18
- package/public/components/block-site-logo-container-v3/site-logo-container-v3.js +0 -7
- package/public/components/block-site-title-and-tagline-v3/site-title-and-tagline-v3.css +0 -14
- package/public/components/block-site-title-and-tagline-v3/site-title-and-tagline-v3.js +0 -7
- package/public/components/block-smash-balloon-social-media-v3/smash-balloon-social-media-v3.css +0 -25
- package/public/components/block-smash-balloon-social-media-v3/smash-balloon-social-media-v3.js +0 -8
- package/public/components/block-social-networks-v3/social-networks-v3.css +0 -74
- package/public/components/block-social-networks-v3/social-networks-v3.js +0 -7
- package/public/components/block-spacer-v3/spacer-v3.css +0 -16
- package/public/components/block-spacer-v3/spacer-v3.js +0 -2
- package/public/components/block-spacer-v3/spacer-v3.scss.css +0 -16
- package/public/components/block-spotify-embed-v3/spotify-embed-v3.css +0 -7
- package/public/components/block-spotify-embed-v3/spotify-embed-v3.js +0 -7
- package/public/components/block-standard-content-v3/standard-content-v3.css +0 -529
- package/public/components/block-standard-content-v3/standard-content-v3.js +0 -7
- package/public/components/block-sticky-buy-cta-v3/sticky-buy-cta-v3.css +0 -0
- package/public/components/block-sticky-buy-cta-v3/sticky-buy-cta-v3.js +0 -7
- package/public/components/block-sub-group-container-v3/sub-group-container-v3.css +0 -308
- package/public/components/block-sub-group-container-v3/sub-group-container-v3.js +0 -2
- package/public/components/block-video-content-v3/video-content-v3.css +0 -105
- package/public/components/block-video-content-v3/video-content-v3.js +0 -11
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
.market-selector-v3 {
|
|
2
|
-
pointer-events: all;
|
|
3
|
-
display: grid;
|
|
4
|
-
background: #f6f6f0;
|
|
5
|
-
width: 100%;
|
|
6
|
-
height: 100%;
|
|
7
|
-
max-width: calc(345 / var(--design-reference) * var(--screen-width));
|
|
8
|
-
max-height: calc(500 / var(--design-reference) * var(--screen-width));
|
|
9
|
-
}
|
|
10
|
-
@media screen and (min-width: 768px) {
|
|
11
|
-
.market-selector-v3 {
|
|
12
|
-
max-width: calc(725 / var(--design-reference) * var(--screen-width));
|
|
13
|
-
max-height: calc(528 / var(--design-reference) * var(--screen-width));
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
@media screen and (min-width: 1024px) {
|
|
17
|
-
.market-selector-v3 {
|
|
18
|
-
max-width: calc(1102 / var(--design-reference) * var(--screen-width));
|
|
19
|
-
max-height: calc(528 / var(--design-reference) * var(--screen-width));
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.market-selector-v3 {
|
|
23
|
-
grid-template: "header" "markets" "markets" "logo"/1fr;
|
|
24
|
-
}
|
|
25
|
-
.market-selector-v3__modal-header-container {
|
|
26
|
-
grid-area: header;
|
|
27
|
-
display: grid;
|
|
28
|
-
grid-auto-flow: column;
|
|
29
|
-
align-items: center;
|
|
30
|
-
height: -moz-min-content;
|
|
31
|
-
height: min-content;
|
|
32
|
-
padding: calc(15 / var(--design-reference) * var(--screen-width)) calc(20 / var(--design-reference) * var(--screen-width));
|
|
33
|
-
}
|
|
34
|
-
@media screen and (min-width: 768px) {
|
|
35
|
-
.market-selector-v3__modal-header-container {
|
|
36
|
-
padding: calc(30 / var(--design-reference) * var(--screen-width));
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
@media screen and (min-width: 1024px) {
|
|
40
|
-
.market-selector-v3__modal-header-container {
|
|
41
|
-
padding: calc(30 / var(--design-reference) * var(--screen-width));
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
.market-selector-v3__modal-header-container {
|
|
45
|
-
border-bottom: solid 1px #00968f;
|
|
46
|
-
}
|
|
47
|
-
.market-selector-v3__modal-heading {
|
|
48
|
-
color: #00968f;
|
|
49
|
-
font-weight: 700;
|
|
50
|
-
text-transform: uppercase;
|
|
51
|
-
font-size: calc(20 / var(--design-reference) * var(--screen-width));
|
|
52
|
-
line-height: calc(20 / var(--design-reference) * var(--screen-width));
|
|
53
|
-
}
|
|
54
|
-
@media screen and (min-width: 768px) {
|
|
55
|
-
.market-selector-v3__modal-heading {
|
|
56
|
-
font-size: calc(20 / var(--design-reference) * var(--screen-width));
|
|
57
|
-
line-height: calc(20 / var(--design-reference) * var(--screen-width));
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
@media screen and (min-width: 1024px) {
|
|
61
|
-
.market-selector-v3__modal-heading {
|
|
62
|
-
font-size: calc(24 / var(--design-reference) * var(--screen-width));
|
|
63
|
-
line-height: calc(24 / var(--design-reference) * var(--screen-width));
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
.market-selector-v3__modal-markets-container {
|
|
67
|
-
grid-area: markets;
|
|
68
|
-
display: grid;
|
|
69
|
-
grid-template-columns: repeat(2, 1fr);
|
|
70
|
-
grid-auto-rows: auto;
|
|
71
|
-
text-transform: uppercase;
|
|
72
|
-
align-items: flex-start;
|
|
73
|
-
justify-items: flex-start;
|
|
74
|
-
place-items: flex-start;
|
|
75
|
-
grid-gap: calc(10 / var(--design-reference) * var(--screen-width));
|
|
76
|
-
gap: calc(10 / var(--design-reference) * var(--screen-width));
|
|
77
|
-
padding: 0px calc(15 / var(--design-reference) * var(--screen-width));
|
|
78
|
-
}
|
|
79
|
-
@media screen and (min-width: 768px) {
|
|
80
|
-
.market-selector-v3__modal-markets-container {
|
|
81
|
-
padding: 0px calc(35 / var(--design-reference) * var(--screen-width));
|
|
82
|
-
gap: calc(10 / var(--design-reference) * var(--screen-width));
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
@media screen and (min-width: 1024px) {
|
|
86
|
-
.market-selector-v3__modal-markets-container {
|
|
87
|
-
padding: 0px calc(100 / var(--design-reference) * var(--screen-width));
|
|
88
|
-
gap: calc(20 / var(--design-reference) * var(--screen-width));
|
|
89
|
-
grid-auto-flow: column;
|
|
90
|
-
grid-template-columns: repeat(3, 1fr);
|
|
91
|
-
grid-template-rows: repeat(4, 1fr);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
.market-selector-v3 a.market-selector-v3__market-link,
|
|
95
|
-
.market-selector-v3 a.market-selector-v3__market-link--active {
|
|
96
|
-
-webkit-text-decoration: none;
|
|
97
|
-
text-decoration: none;
|
|
98
|
-
color: #2d2926;
|
|
99
|
-
font-weight: 400;
|
|
100
|
-
line-height: calc(20 / var(--design-reference) * var(--screen-width));
|
|
101
|
-
font-size: calc(12 / var(--design-reference) * var(--screen-width));
|
|
102
|
-
border-bottom: 2px solid transparent;
|
|
103
|
-
padding-bottom: calc(2 / var(--desktop-design-reference) * var(--screen-width-static));
|
|
104
|
-
transition: border 0.3s ease-out;
|
|
105
|
-
}
|
|
106
|
-
@media screen and (min-width: 768px) {
|
|
107
|
-
.market-selector-v3 a.market-selector-v3__market-link,
|
|
108
|
-
.market-selector-v3 a.market-selector-v3__market-link--active {
|
|
109
|
-
font-size: calc(16 / var(--design-reference) * var(--screen-width));
|
|
110
|
-
line-height: calc(16 / var(--design-reference) * var(--screen-width));
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
@media screen and (min-width: 1024px) {
|
|
114
|
-
.market-selector-v3 a.market-selector-v3__market-link,
|
|
115
|
-
.market-selector-v3 a.market-selector-v3__market-link--active {
|
|
116
|
-
font-size: calc(20 / var(--design-reference) * var(--screen-width));
|
|
117
|
-
line-height: calc(16 / var(--design-reference) * var(--screen-width));
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
.market-selector-v3 a.market-selector-v3__market-link:hover,
|
|
121
|
-
.market-selector-v3 a.market-selector-v3__market-link--active:hover {
|
|
122
|
-
border-bottom: 2px solid #00968f;
|
|
123
|
-
}
|
|
124
|
-
.market-selector-v3 a.market-selector-v3__market-link--active {
|
|
125
|
-
color: #00968f;
|
|
126
|
-
font-weight: 700;
|
|
127
|
-
}
|
|
128
|
-
.market-selector-v3__modal-logo-container {
|
|
129
|
-
grid-area: logo;
|
|
130
|
-
display: flex;
|
|
131
|
-
justify-content: flex-end;
|
|
132
|
-
align-items: flex-end;
|
|
133
|
-
}
|
|
134
|
-
.market-selector-v3__modal-logo img {
|
|
135
|
-
width: auto;
|
|
136
|
-
}
|
|
137
|
-
.market-selector-v3__icon {
|
|
138
|
-
display: flex;
|
|
139
|
-
}
|
|
File without changes
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export default function modalformv3Js(options = {}) {
|
|
2
|
-
try {
|
|
3
|
-
let validateFormFields = function(block2) {
|
|
4
|
-
const inputs = block2.querySelectorAll(
|
|
5
|
-
".cdb_form_field input, .cdb_form_field select, .cdb_form_gdpr_information input, .cdb_form_privacypolicy_information input"
|
|
6
|
-
);
|
|
7
|
-
inputs.forEach((input) => {
|
|
8
|
-
const wrapper = input.closest(".cdb_form_field, .cdb_form_gdpr_information, .cdb_form_privacypolicy_information");
|
|
9
|
-
if (!wrapper) return;
|
|
10
|
-
wrapper.classList.remove("invalid");
|
|
11
|
-
if (!input.hasAttribute("required")) return;
|
|
12
|
-
if (input.type === "checkbox") {
|
|
13
|
-
if (!input.checked) {
|
|
14
|
-
wrapper.classList.add("invalid");
|
|
15
|
-
}
|
|
16
|
-
input.addEventListener("change", () => {
|
|
17
|
-
if (input.checked) {
|
|
18
|
-
wrapper.classList.remove("invalid");
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
} else {
|
|
22
|
-
if (!input.value.trim()) {
|
|
23
|
-
wrapper.classList.add("invalid");
|
|
24
|
-
}
|
|
25
|
-
input.addEventListener("input", () => {
|
|
26
|
-
if (input.value.trim()) {
|
|
27
|
-
wrapper.classList.remove("invalid");
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
const { block } = options;
|
|
34
|
-
const submit = block.querySelector(
|
|
35
|
-
".cdb-submit"
|
|
36
|
-
);
|
|
37
|
-
submit.classList.add("cmpl-cta-style-11", "cmpl-cta-animation-style-1");
|
|
38
|
-
submit.addEventListener("click", (e) => {
|
|
39
|
-
validateFormFields(block);
|
|
40
|
-
});
|
|
41
|
-
} catch (error) {
|
|
42
|
-
console.error(error);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
File without changes
|