@total_onion/onion-library 1.0.260 → 1.1.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/assembleAssetList.js +43 -0
- package/components/block-accent-image-v3/accent-image-v3-extra.scss +1 -1
- package/components/block-accent-image-v3/accent-image-v3.scss +2 -2
- package/components/block-accordion-v3/accordion-v3.scss +6 -6
- package/components/block-betterreviews-display-v3/betterreviews-display-v3-extra.scss +1 -1
- package/components/block-betterreviews-display-v3/betterreviews-display-v3.scss +5 -5
- package/components/block-block-interactions-v3/block-interactions-v3.scss +5 -5
- package/components/block-carousel-multi-layout-v3/carousel-multi-layout-v3.js +4 -5
- package/components/block-carousel-multi-layout-v3/carousel-multi-layout-v3.scss +6 -6
- package/components/block-cover-link-v3/cover-link-v3.scss +2 -2
- package/components/block-divider-v3/divider-v3.scss +5 -5
- package/components/block-form-selection-v3/form-selection-v3-extra.scss +1 -1
- package/components/block-form-selection-v3/form-selection-v3.scss +5 -5
- package/components/block-gradient-layer-v3/gradient-layer-v3.scss +3 -3
- package/components/block-group-container-v3/group-container-v3.js +0 -1
- package/components/block-group-container-v3/group-container-v3.scss +8 -8
- package/components/block-group-container-v3/group-container-v3.twig +0 -1
- package/components/block-lottie-content-v3/lottie-content-v3.scss +2 -2
- package/components/block-market-selector-v3/market-selector-v3.scss +5 -5
- package/components/block-modal-form-v3/modal-form-v3-extra.scss +3 -3
- package/components/block-modal-form-v3/modal-form-v3.scss +5 -5
- package/components/block-nav-menu-container-v3/nav-menu-container-v3.js +7 -7
- package/components/block-nav-menu-container-v3/nav-menu-container-v3.scss +2 -4
- package/components/block-post-info-v3/post-info-v3.scss +12 -12
- package/components/block-product-info-v3/product-info-v3.scss +9 -9
- package/components/block-section-separator-v3/section-separator-v3.scss +3 -3
- package/components/block-single-column-container-v3/single-column-container-v3.scss +2 -10
- package/components/block-single-responsive-image-v3/single-responsive-image-v3.scss +3 -3
- package/components/block-site-logo-container-v3/site-logo-container-v3.scss +5 -5
- package/components/block-site-title-and-tagline-v3/site-title-and-tagline-v3.scss +5 -5
- package/components/block-smash-balloon-social-media-v3/smash-balloon-social-media-v3.scss +2 -5
- package/components/block-social-networks-v3/social-networks-v3.scss +6 -6
- package/components/block-spacer-v3/spacer-v3.scss +2 -2
- package/components/block-standard-content-v3/standard-content-v3.scss +4 -4
- package/components/block-sticky-buy-cta-v3/sticky-buy-cta-v3.scss +2 -2
- package/components/block-sub-group-container-v3/sub-group-container-v3.scss +6 -6
- package/components/block-video-content-v3/video-content-v3.scss +4 -4
- package/components/component-accent-text-v3/accent-text-v3.scss +3 -3
- package/components/component-accordion-v3/accordion-v3.scss +38 -32
- package/components/component-animations-v3/animations-v3.scss +1 -1
- package/components/component-better-reviews-v3/better-reviews-v3.scss +3 -3
- package/components/component-block-padding-v3/block-padding-v3.scss +5 -5
- package/components/component-block-settings/block-settings.scss +1 -1
- package/components/component-block-settings-v3/block-settings-v3.scss +45 -0
- package/components/component-blockquote-v3/blockquote-v3.scss +3 -3
- package/components/component-box-shadow-v3/box-shadow-v3.scss +1 -1
- package/components/component-content-container-settings-v3/content-container-settings-v3.scss +4 -4
- package/components/component-content-container-v3/content-container-v3.scss +5 -8
- package/components/component-content-image-v3/content-image-v3.scss +8 -8
- package/components/component-element-positioning-v3/element-positioning-v3.scss +2 -2
- package/components/component-flex-layout-container-v3/flex-layout-container-v3.scss +3 -3
- package/components/component-gradient-overlay-v3/gradient-overlay-v3.scss +0 -2
- package/components/component-grid-layout-container-v3/grid-layout-container-v3.scss +3 -3
- package/components/component-grid-layout-element-v3/grid-layout-element-v3.scss +2 -2
- package/components/component-modal-popup-content/modal-popup-content.twig +5 -1
- package/components/component-nav-menu-v3/nav-menu-v3.scss +2 -2
- package/components/component-responsive-image-v3/responsive-image-v3.scss +11 -11
- package/components/component-social-media-share-v3/social-media-share-v3-extra.scss +1 -1
- package/components/component-social-media-share-v3/social-media-share-v3.scss +5 -5
- package/components/fields-animations-v3/animations-v3.scss +1 -1
- package/components/fields-content-container-settings-v3/content-container-settings-v3.scss +4 -4
- package/components/fields-content-container-v3/content-container-v3.scss +12 -38
- package/components/fields-core-critical-v3/core-critical-v3.scss +5 -5
- package/components/fields-core-css-modules-v3/core-css-modules-v3.scss +8 -10
- package/components/fields-core-css-sizing-vars-v3/core-css-sizing-vars-v3.scss +3 -3
- package/components/fields-core-cta-v3/core-cta-v3.scss +21 -24
- package/components/fields-core-functions-v3/core-functions-v3.scss +2 -4
- package/components/fields-core-generic-v3/core-generic-v3.scss +3 -3
- package/components/fields-core-mixins-v3/core-mixins-v3.scss +2 -2
- package/components/fields-core-root-variables-v3/core-root-variables-v3.scss +2 -2
- package/components/fields-core-typography-mixins-v3/core-typography-mixins-v3.scss +3 -3
- package/components/fields-core-typography-v3/core-typography-v3.scss +4 -4
- package/components/fields-modal-popup-content/group_689876f1ee3fc.json +388 -401
- package/components/fields-modal-popup-content/modal-popup-content.twig +5 -1
- package/createJsAssets-v3.js +7 -9
- package/esbuild.mjs +17 -12
- package/new-block-templates/template-swiper.js +4 -6
- package/new-block-templates/template-vue.js +10 -11
- package/package.json +9 -5
- package/public/assetList.mjs +31 -0
- package/public/block-accent-image-v3/accent-image-v3.css +0 -0
- package/public/block-accordion-v3/accordion-v3.css +398 -0
- package/public/block-betterreviews-display-v3/betterreviews-display-v3.css +94 -0
- package/public/block-block-interactions-v3/block-interactions-v3.css +34 -0
- package/public/block-carousel-multi-layout-v3/carousel-multi-layout-v3.css +180 -0
- package/public/block-cover-link-v3/cover-link-v3.css +0 -0
- package/public/block-divider-v3/divider-v3.css +74 -0
- package/public/block-form-selection-v3/form-selection-v3.css +32 -0
- package/public/block-gradient-layer-v3/gradient-layer-v3.css +52 -0
- package/public/block-group-container-v3/group-container-v3.css +323 -0
- package/public/block-lottie-content-v3/lottie-content-v3.css +0 -0
- package/public/block-market-selector-v3/market-selector-v3.css +139 -0
- package/public/block-modal-form-v3/modal-form-v3.css +0 -0
- package/public/block-nav-menu-container-v3/nav-menu-container-v3.css +3 -0
- package/public/block-post-info-v3/post-info-v3.css +1397 -0
- package/public/block-product-info-v3/product-info-v3.css +917 -0
- package/public/block-section-separator-v3/section-separator-v3.css +43 -0
- package/public/block-single-column-container-v3/single-column-container-v3.css +14 -0
- package/public/block-single-responsive-image-v3/single-responsive-image-v3.css +56 -0
- package/public/block-site-logo-container-v3/site-logo-container-v3.css +18 -0
- package/public/block-site-title-and-tagline-v3/site-title-and-tagline-v3.css +14 -0
- package/public/block-smash-balloon-social-media-v3/smash-balloon-social-media-v3.css +8 -0
- package/public/block-social-networks-v3/social-networks-v3.css +241 -0
- package/public/block-spacer-v3/spacer-v3.css +16 -0
- package/public/block-standard-content-v3/standard-content-v3.css +453 -0
- package/public/block-sticky-buy-cta-v3/sticky-buy-cta-v3.css +0 -0
- package/public/block-sub-group-container-v3/sub-group-container-v3.css +382 -0
- package/public/block-video-content-v3/video-content-v3.css +7 -0
- package/public/jsAssets.mjs +32 -0
- package/components/block-current-post-info-v3/group_681f29c027d42.json +0 -1766
- package/components/component-grid-gap-mults/grid-gap-mults.twig +0 -10
- package/public/block-back-to-top-button/back-to-top-button.js +0 -15
- package/public/block-divider/divider.js +0 -10
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
@use '
|
|
3
|
-
@use '
|
|
4
|
-
@use 'Assets/scss/theme/breakpoints';
|
|
1
|
+
@use '../fields-core-functions-v3/core-functions-v3';
|
|
2
|
+
@use '../fields-core-mixins-v3/core-mixins-v3';
|
|
3
|
+
@use '../../breakpoints';
|
|
5
4
|
|
|
6
5
|
@mixin ctaButtonStyles() {
|
|
7
6
|
[class*='cmpl-cta-style-'] {
|
|
@@ -14,9 +13,7 @@
|
|
|
14
13
|
align-items: center;
|
|
15
14
|
text-decoration-line: unset;
|
|
16
15
|
text-align: center;
|
|
17
|
-
transition:
|
|
18
|
-
background-color 0.1s,
|
|
19
|
-
border-colour 0.1s;
|
|
16
|
+
transition: background-color 0.1s, border-colour 0.1s;
|
|
20
17
|
|
|
21
18
|
&:hover,
|
|
22
19
|
&:active,
|
|
@@ -71,7 +68,7 @@
|
|
|
71
68
|
|
|
72
69
|
font-size: clamp(
|
|
73
70
|
var(--cta-style-font-size-min-mobile, 10px),
|
|
74
|
-
core-functions.fontSize(
|
|
71
|
+
core-functions-v3.fontSize(
|
|
75
72
|
var(--cta-style-#{$i}-font-size-mobile),
|
|
76
73
|
'mobile'
|
|
77
74
|
),
|
|
@@ -79,11 +76,11 @@
|
|
|
79
76
|
);
|
|
80
77
|
|
|
81
78
|
min-width: var(--cta-style-#{$i}-min-width-mobile);
|
|
82
|
-
padding: core-functions.fluidSize(
|
|
79
|
+
padding: core-functions-v3.fluidSize(
|
|
83
80
|
var(--cta-style-#{$i}-padding-block-mobile),
|
|
84
81
|
'mobile'
|
|
85
82
|
)
|
|
86
|
-
core-functions.fluidSize(
|
|
83
|
+
core-functions-v3.fluidSize(
|
|
87
84
|
var(--cta-style-#{$i}-padding-inline-mobile),
|
|
88
85
|
'mobile'
|
|
89
86
|
);
|
|
@@ -120,23 +117,23 @@
|
|
|
120
117
|
--cta-style-#{$i}-shadow-hover-position,
|
|
121
118
|
0
|
|
122
119
|
);
|
|
123
|
-
@include core-mixins.boxShadow();
|
|
120
|
+
@include core-mixins-v3.boxShadow();
|
|
124
121
|
|
|
125
|
-
@include core-mixins.device(breakpoints.$tabPortrait) {
|
|
122
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
126
123
|
font-size: clamp(
|
|
127
124
|
var(--cta-style-font-size-min-mobile, 10px),
|
|
128
|
-
core-functions.fontSize(
|
|
125
|
+
core-functions-v3.fontSize(
|
|
129
126
|
var(--cta-style-#{$i}-font-size-portrait),
|
|
130
127
|
'portrait'
|
|
131
128
|
),
|
|
132
129
|
var(--cta-style-font-size-max-mobile, 180px)
|
|
133
130
|
);
|
|
134
131
|
min-width: var(--cta-style-#{$i}-min-width-portrait);
|
|
135
|
-
padding: core-functions.fluidSize(
|
|
132
|
+
padding: core-functions-v3.fluidSize(
|
|
136
133
|
var(--cta-style-#{$i}-padding-block-portrait),
|
|
137
134
|
'portrait'
|
|
138
135
|
)
|
|
139
|
-
core-functions.fluidSize(
|
|
136
|
+
core-functions-v3.fluidSize(
|
|
140
137
|
var(--cta-style-#{$i}-padding-inline-portrait),
|
|
141
138
|
'portrait'
|
|
142
139
|
);
|
|
@@ -150,41 +147,41 @@
|
|
|
150
147
|
}
|
|
151
148
|
}
|
|
152
149
|
|
|
153
|
-
@include core-mixins.device(breakpoints.$tabLandscape) {
|
|
150
|
+
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
154
151
|
font-size: clamp(
|
|
155
152
|
var(--cta-style-font-size-min-desktop, 10px),
|
|
156
|
-
core-functions.fontSize(
|
|
153
|
+
core-functions-v3.fontSize(
|
|
157
154
|
var(--cta-style-#{$i}-font-size-landscape),
|
|
158
155
|
'landscape'
|
|
159
156
|
),
|
|
160
157
|
var(--cta-style-font-size-max-desktop, 180px)
|
|
161
158
|
);
|
|
162
159
|
min-width: var(--cta-style-#{$i}-min-width-landscape);
|
|
163
|
-
padding: core-functions.fluidSize(
|
|
160
|
+
padding: core-functions-v3.fluidSize(
|
|
164
161
|
var(--cta-style-#{$i}-padding-block-landscape),
|
|
165
162
|
'landscape'
|
|
166
163
|
)
|
|
167
|
-
core-functions.fluidSize(
|
|
164
|
+
core-functions-v3.fluidSize(
|
|
168
165
|
var(--cta-style-#{$i}-padding-inline-landscape),
|
|
169
166
|
'landscape'
|
|
170
167
|
);
|
|
171
168
|
}
|
|
172
169
|
|
|
173
|
-
@include core-mixins.device(breakpoints.$desktop) {
|
|
170
|
+
@include core-mixins-v3.device(breakpoints.$desktop) {
|
|
174
171
|
font-size: clamp(
|
|
175
172
|
var(--cta-style-font-size-min-desktop, 10px),
|
|
176
|
-
core-functions.fontSize(
|
|
173
|
+
core-functions-v3.fontSize(
|
|
177
174
|
var(--cta-style-#{$i}-font-size-desktop),
|
|
178
175
|
'desktop'
|
|
179
176
|
),
|
|
180
177
|
var(--cta-style-font-size-max-desktop, 180px)
|
|
181
178
|
);
|
|
182
179
|
min-width: var(--cta-style-#{$i}-min-width-desktop);
|
|
183
|
-
padding: core-functions.fluidSize(
|
|
180
|
+
padding: core-functions-v3.fluidSize(
|
|
184
181
|
var(--cta-style-#{$i}-padding-block-desktop),
|
|
185
182
|
'desktop'
|
|
186
183
|
)
|
|
187
|
-
core-functions.fluidSize(
|
|
184
|
+
core-functions-v3.fluidSize(
|
|
188
185
|
var(--cta-style-#{$i}-padding-inline-desktop),
|
|
189
186
|
'desktop'
|
|
190
187
|
);
|
|
@@ -217,7 +214,7 @@
|
|
|
217
214
|
);
|
|
218
215
|
}
|
|
219
216
|
|
|
220
|
-
@include core-mixins.device(breakpoints.$tabPortrait) {
|
|
217
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
221
218
|
background-color: var(
|
|
222
219
|
--cta-style-#{$i}-hover-background-colour
|
|
223
220
|
);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
@use 'Assets/scss/theme/breakpoints';
|
|
1
|
+
@use '../../breakpoints';
|
|
3
2
|
@use 'sass:math';
|
|
4
3
|
|
|
5
4
|
@function fontSize($size-px, $screen: '') {
|
|
@@ -8,8 +7,7 @@
|
|
|
8
7
|
(
|
|
9
8
|
($size-px / var(--desktop-design-reference)) *
|
|
10
9
|
var(--screen-width-static)
|
|
11
|
-
) *
|
|
12
|
-
var(--font-size-multiplier)
|
|
10
|
+
) * var(--font-size-multiplier)
|
|
13
11
|
);
|
|
14
12
|
} @else {
|
|
15
13
|
@return calc(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@use '
|
|
2
|
-
@use '
|
|
3
|
-
@use '
|
|
1
|
+
@use '../fields-core-mixins-v3/core-mixins-v3';
|
|
2
|
+
@use '../fields-core-typography-mixins-v3/core-typography-mixins-v3';
|
|
3
|
+
@use '../../breakpoints';
|
|
4
4
|
|
|
5
5
|
@mixin coreGenericV3() {
|
|
6
6
|
/* Box sizing rules */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use '
|
|
2
|
-
@use '
|
|
1
|
+
@use '../../breakpoints';
|
|
2
|
+
@use '../fields-core-functions-v3/core-functions-v3';
|
|
3
3
|
@use 'sass:math';
|
|
4
4
|
|
|
5
5
|
@mixin textStyle() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@use '
|
|
2
|
-
@use '
|
|
3
|
-
@use '
|
|
1
|
+
@use '../fields-core-functions-v3/core-functions-v3';
|
|
2
|
+
@use '../fields-core-mixins-v3/core-mixins-v3';
|
|
3
|
+
@use '../../breakpoints';
|
|
4
4
|
|
|
5
5
|
@mixin h-xl-size {
|
|
6
6
|
font-size: clamp(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use '
|
|
2
|
-
@use '
|
|
3
|
-
@use '
|
|
4
|
-
@use '
|
|
1
|
+
@use '../fields-core-mixins-v3/core-mixins-v3';
|
|
2
|
+
@use '../fields-core-typography-mixins-v3/core-typography-mixins-v3';
|
|
3
|
+
@use '../fields-core-functions-v3/core-functions-v3';
|
|
4
|
+
@use '../../breakpoints';
|
|
5
5
|
@use 'sass:math';
|
|
6
6
|
|
|
7
7
|
@mixin coreTypographyV3() {
|