@total_onion/onion-library 1.0.216 → 1.0.217

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.
Files changed (23) hide show
  1. package/components/block-accent-image-v3/accent-image-v3.scss +1 -4
  2. package/components/block-accordion-v3/accordion-v3-extra.scss +2 -2
  3. package/components/block-block-interactions-v3/block-interactions-v3.scss +2 -2
  4. package/components/block-divider-v3/divider-v3.scss +0 -1
  5. package/components/block-gradient-layer-v3/gradient-layer-v3-extra.scss +0 -3
  6. package/components/block-gradient-layer-v3/gradient-layer-v3.scss +2 -5
  7. package/components/block-lottie-content-v3/lottie-content-v3-extra.scss +0 -3
  8. package/components/block-lottie-content-v3/lottie-content-v3.scss +1 -4
  9. package/components/block-market-selector-v3/market-selector-v3-extra.scss +0 -3
  10. package/components/block-market-selector-v3/market-selector-v3.js +0 -20
  11. package/components/block-market-selector-v3/market-selector-v3.scss +58 -65
  12. package/components/block-market-selector-v3/market-selector-v3.twig +16 -29
  13. package/components/block-product-info-v3/product-info-v3-extra.scss +0 -5
  14. package/components/block-product-info-v3/product-info-v3.scss +4 -4
  15. package/components/block-single-responsive-image-v3/single-responsive-image-v3.scss +2 -2
  16. package/components/block-spacer-v3/spacer-v3.scss +0 -1
  17. package/components/block-standard-content-v3/standard-content-v3.scss +2 -2
  18. package/components/block-sub-group-container-v3/sub-group-container-v3.scss +1 -1
  19. package/components/component-block-padding-v3/block-padding-v3.scss +62 -0
  20. package/components/component-blockquote-v3/blockquote-v3.scss +6 -7
  21. package/components/component-box-shadow-v3/box-shadow-v3.scss +12 -0
  22. package/components/component-content-container-settings-v3/content-container-settings-v3.scss +1 -1
  23. package/package.json +1 -1
@@ -1,7 +1,4 @@
1
- // @use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
2
- // @use 'Assets/scss/modules/library-modules/core-functions/core-functions';
3
- // @use 'Assets/scss/theme/breakpoints';
4
1
  @use 'Assets/scss/blocks/accent-image-v3/accent-image-v3-extra';
5
2
  .accent-image-v3 {
6
3
  @include accent-image-v3-extra.additionalStyles();
7
- }
4
+ }
@@ -1,5 +1,5 @@
1
- // @use 'NodeModules/@total_onion/onion-library/components/fields-core-mixins-v3/core-mixins-v3';
2
- // @use 'NodeModules/@total_onion/onion-library/components/fields-core-functions-v3/core-functions-v3';
1
+ // @use 'Assets/scss/modules/library-modules/core-mixins-v3/core-mixins-v3';
2
+ // @use 'Assets/scss/modules/library-modules/core-functions-v3/core-functions-v3';
3
3
  // @use 'Assets/scss/theme/breakpoints';
4
4
  @mixin additionalStyles() {
5
5
  }
@@ -1,5 +1,5 @@
1
- @use 'Assets/scss/modules/library-modules/core-mixins-v3/core-mixins-v3';
2
- @use 'Assets/scss/modules/library-modules/core-functions-v3/core-functions-v3';
1
+ @use 'NodeModules/@total_onion/onion-library/components/fields-core-mixins-v3/core-mixins-v3';
2
+ @use 'NodeModules/@total_onion/onion-library/components/fields-core-functions-v3/core-functions-v3';
3
3
  @use 'Assets/scss/theme/breakpoints';
4
4
  @use 'Assets/scss/blocks/block-interactions-v3/block-interactions-v3-extra';
5
5
  .block-interactions-v3 {
@@ -1,4 +1,3 @@
1
- // LIBRARY FILE - Do not modify/override here as your changes will be lost when the package is updated.
2
1
  @use 'NodeModules/@total_onion/onion-library/components/fields-core-mixins-v3/core-mixins-v3';
3
2
  @use 'NodeModules/@total_onion/onion-library/components/fields-core-functions-v3/core-functions-v3';
4
3
  @use 'Assets/scss/theme/breakpoints';
@@ -1,5 +1,2 @@
1
- // @use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
2
- // @use 'Assets/scss/modules/library-modules/core-functions/core-functions';
3
- // @use 'Assets/scss/theme/breakpoints';
4
1
  @mixin additionalStyles() {
5
2
  }
@@ -1,11 +1,8 @@
1
- // @use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
2
- // @use 'Assets/scss/modules/library-modules/core-functions/core-functions';
3
- // @use 'Assets/scss/theme/breakpoints';
4
- @use 'Assets/scss/modules/library-modules/gradient-overlay/gradient-overlay';
1
+ @use 'Assets/scss/modules/library-modules/gradient-overlay-v3/gradient-overlay-v3';
5
2
  @use 'Assets/scss/blocks/gradient-layer-v3/gradient-layer-v3-extra';
6
3
  .gradient-layer-v3 {
7
4
  display: grid;
8
5
  grid-template: 'main' / 1fr;
9
- @include gradient-overlay.gradientOverlay();
6
+ @include gradient-overlay-v3.gradientOverlay();
10
7
  @include gradient-layer-v3-extra.additionalStyles();
11
8
  }
@@ -1,5 +1,2 @@
1
- // @use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
2
- // @use 'Assets/scss/modules/library-modules/core-functions/core-functions';
3
- // @use 'Assets/scss/theme/breakpoints';
4
1
  @mixin additionalStyles() {
5
2
  }
@@ -1,7 +1,4 @@
1
- // @use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
2
- // @use 'Assets/scss/modules/library-modules/core-functions/core-functions';
3
- // @use 'Assets/scss/theme/breakpoints';
4
1
  @use 'Assets/scss/blocks/lottie-content-v3/lottie-content-v3-extra';
5
2
  .lottie-content-v3 {
6
3
  @include lottie-content-v3-extra.additionalStyles();
7
- }
4
+ }
@@ -1,5 +1,2 @@
1
- // @use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
2
- // @use 'Assets/scss/modules/library-modules/core-functions/core-functions';
3
- // @use 'Assets/scss/theme/breakpoints';
4
1
  @mixin additionalStyles() {
5
2
  }
@@ -1,26 +1,6 @@
1
1
  export default function marketselectorv3Js(options = {}) {
2
2
  try {
3
3
  const {block} = options;
4
- const marketSelectorPopupBtn = block.querySelector('.pop-up');
5
- const marketSelectorInlineBtn = block.querySelector('.inline');
6
- const marketSelectorModal = block.querySelector(
7
- '.market-selector-v3__modal-overlay'
8
- );
9
- const marketSelectorModalClose = block.querySelector(
10
- '.market-selector-v3__modal-close-button'
11
- );
12
- if (marketSelectorPopupBtn) {
13
- marketSelectorPopupBtn.addEventListener('click', (e) => {
14
- marketSelectorModal.style.display = 'flex';
15
- document.documentElement.classList.add('lock-position');
16
- });
17
- }
18
- if (marketSelectorModalClose) {
19
- marketSelectorModalClose.addEventListener('click', (e) => {
20
- marketSelectorModal.style.display = 'none';
21
- document.documentElement.classList.remove('lock-position');
22
- });
23
- }
24
4
  } catch (error) {
25
5
  console.error(error);
26
6
  }
@@ -1,78 +1,58 @@
1
- @use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
2
- @use 'Assets/scss/modules/library-modules/core-functions/core-functions';
1
+ @use 'NodeModules/@total_onion/onion-library/components/fields-core-mixins-v3/core-mixins-v3';
2
+ @use 'NodeModules/@total_onion/onion-library/components/fields-core-functions-v3/core-functions-v3';
3
3
  @use 'Assets/scss/theme/breakpoints';
4
4
  @use 'Assets/scss/blocks/market-selector-v3/market-selector-v3-extra';
5
5
  .market-selector-v3 {
6
- @include market-selector-v3-extra.additionalStyles();
7
6
  pointer-events: all;
8
- &__modal-overlay {
9
- display: none;
10
- position: fixed;
11
- top: 0;
12
- left: 0;
13
- width: 100%;
14
- height: 100vh;
15
- background: rgba(0, 0, 0, 0.6);
16
- justify-content: center;
17
- align-items: center;
18
- z-index: 1000;
7
+ display: grid;
8
+ background: #f6f6f0;
9
+ width: 100%;
10
+ height: 100%;
11
+ max-width: core-functions-v3.fluidSize(345);
12
+ max-height: core-functions-v3.fluidSize(500);
13
+ @include core-mixins-v3.device(breakpoints.$tabPortrait) {
14
+ max-width: core-functions-v3.fluidSize(725);
15
+ max-height: core-functions-v3.fluidSize(528);
19
16
  }
20
- &__modal {
21
- display: grid;
22
- background: #f6f6f0;
23
- width: 75%;
24
- height: 75%;
25
- grid-template:
26
- 'header'
27
- 'markets'
28
- 'markets'
29
- 'logo' / 1fr;
17
+ @include core-mixins-v3.device(breakpoints.$tabLandscape) {
18
+ max-width: core-functions-v3.fluidSize(1102);
19
+ max-height: core-functions-v3.fluidSize(528);
30
20
  }
21
+ grid-template:
22
+ 'header'
23
+ 'markets'
24
+ 'markets'
25
+ 'logo' / 1fr;
26
+
31
27
  &__modal-header-container {
32
28
  grid-area: header;
33
29
  display: grid;
34
30
  grid-auto-flow: column;
35
31
  align-items: center;
36
32
  height: min-content;
37
- padding: core-functions.fluidSize(15, 'mobile')
38
- core-functions.fluidSize(20, 'mobile');
39
- @include core-mixins.device(breakpoints.$tabPortrait) {
40
- padding: core-functions.fluidSize(30, 'portrait');
33
+ padding: core-functions-v3.fluidSize(15, 'mobile')
34
+ core-functions-v3.fluidSize(20, 'mobile');
35
+ @include core-mixins-v3.device(breakpoints.$tabPortrait) {
36
+ padding: core-functions-v3.fluidSize(30, 'portrait');
41
37
  }
42
- @include core-mixins.device(breakpoints.$tabLandscape) {
43
- padding: core-functions.fluidSize(30, 'desktop');
38
+ @include core-mixins-v3.device(breakpoints.$tabLandscape) {
39
+ padding: core-functions-v3.fluidSize(30, 'desktop');
44
40
  }
45
- border-bottom: solid 2px #00968f;
41
+ border-bottom: solid 1px #00968f;
46
42
  }
47
43
  &__modal-heading {
48
44
  color: #00968f;
49
45
  font-weight: 700;
50
46
  text-transform: uppercase;
51
- font-size: core-functions.fluidSize(20, 'mobile');
52
- line-height: core-functions.fluidSize(20, 'mobile');
53
- @include core-mixins.device(breakpoints.$tabPortrait) {
54
- font-size: core-functions.fluidSize(20, 'portrait');
55
- line-height: core-functions.fluidSize(20, 'portrait');
56
- }
57
- @include core-mixins.device(breakpoints.$tabLandscape) {
58
- font-size: core-functions.fluidSize(24, 'desktop');
59
- line-height: core-functions.fluidSize(24, 'desktop');
47
+ font-size: core-functions-v3.fluidSize(20, 'mobile');
48
+ line-height: core-functions-v3.fluidSize(20, 'mobile');
49
+ @include core-mixins-v3.device(breakpoints.$tabPortrait) {
50
+ font-size: core-functions-v3.fluidSize(20, 'portrait');
51
+ line-height: core-functions-v3.fluidSize(20, 'portrait');
60
52
  }
61
- }
62
- .market-selector-v3__modal-close-button {
63
- justify-self: flex-end;
64
- background-image: url('Assets/images/icon/close-modal-teal.svg');
65
- background-size: cover;
66
- background-color: transparent;
67
- cursor: pointer;
68
- width: 40px;
69
- height: 40px;
70
- border: unset;
71
- padding: unset;
72
- transition: transform 0.2s;
73
-
74
- &:hover {
75
- transform: scale(1.1);
53
+ @include core-mixins-v3.device(breakpoints.$tabLandscape) {
54
+ font-size: core-functions-v3.fluidSize(24, 'desktop');
55
+ line-height: core-functions-v3.fluidSize(24, 'desktop');
76
56
  }
77
57
  }
78
58
  &__modal-markets-container {
@@ -80,9 +60,17 @@
80
60
  display: grid;
81
61
  grid-template-columns: repeat(2, 1fr);
82
62
  grid-auto-rows: auto;
83
- place-items: center;
84
63
  text-transform: uppercase;
85
- @include core-mixins.device(breakpoints.$tabLandscape) {
64
+ place-items: flex-start;
65
+ gap: core-functions-v3.fluidSize(10);
66
+ padding: 0px core-functions-v3.fluidSize(15);
67
+ @include core-mixins-v3.device(breakpoints.$tabPortrait) {
68
+ padding: 0px core-functions-v3.fluidSize(35);
69
+ gap: core-functions-v3.fluidSize(10);
70
+ }
71
+ @include core-mixins-v3.device(breakpoints.$tabLandscape) {
72
+ padding: 0px core-functions-v3.fluidSize(100);
73
+ gap: core-functions-v3.fluidSize(20);
86
74
  grid-auto-flow: column;
87
75
  grid-template-columns: repeat(3, 1fr);
88
76
  grid-template-rows: repeat(4, 1fr);
@@ -93,17 +81,18 @@
93
81
  text-decoration: none;
94
82
  color: #2d2926;
95
83
  font-weight: 400;
96
- line-height: core-functions.fluidSize(20, 'mobile');
97
- font-size: core-functions.fluidSize(12, 'mobile');
84
+ line-height: core-functions-v3.fluidSize(20, 'mobile');
85
+ font-size: core-functions-v3.fluidSize(12, 'mobile');
98
86
  border-bottom: 2px solid transparent;
87
+ padding-bottom: core-functions-v3.fluidSize(2, 'static');
99
88
  transition: border 0.3s ease-out;
100
- @include core-mixins.device(breakpoints.$tabPortrait) {
101
- font-size: core-functions.fluidSize(16, 'portrait');
102
- line-height: core-functions.fluidSize(16, 'portrait');
89
+ @include core-mixins-v3.device(breakpoints.$tabPortrait) {
90
+ font-size: core-functions-v3.fluidSize(16, 'portrait');
91
+ line-height: core-functions-v3.fluidSize(16, 'portrait');
103
92
  }
104
- @include core-mixins.device(breakpoints.$tabLandscape) {
105
- font-size: core-functions.fluidSize(20, 'desktop');
106
- line-height: core-functions.fluidSize(16, 'desktop');
93
+ @include core-mixins-v3.device(breakpoints.$tabLandscape) {
94
+ font-size: core-functions-v3.fluidSize(20, 'desktop');
95
+ line-height: core-functions-v3.fluidSize(16, 'desktop');
107
96
  }
108
97
 
109
98
  &:hover {
@@ -125,4 +114,8 @@
125
114
  width: auto;
126
115
  }
127
116
  }
117
+ &__icon {
118
+ display: flex;
119
+ }
120
+ @include market-selector-v3-extra.additionalStyles();
128
121
  }
@@ -17,36 +17,23 @@
17
17
  }
18
18
  </style>
19
19
 
20
- <section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" data-assetkey="{{blockClassName}}">
21
- <a class="{{blockClassName}}__cta {{selectorType}}">
22
- {% set iconType = options.theme_cta_icons.cta_market_selector_icon %}
23
- {% set iconImage = get_image(iconType) %}
24
- {% set isSVG = iconImage.post_mime_type == 'image/svg+xml' %}
25
- <span class="{{blockClassName}}__icon">
26
- {{ isSVG ? get_raw_svg(iconImage.id) : '<img class="" src="' ~ iconImage.src ~ '">'}}
27
- </span>
28
- </a>
20
+ <section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade" {{dataAttributeEntryPoint}} data-loadjs="false" data-blockid="{{block.id}}" data-assetkey="{{blockClassName}}">
29
21
 
30
- <div class="{{blockClassName}}__modal-overlay">
31
- <div class="{{blockClassName}}__modal">
32
- <div class="{{blockClassName}}__modal-header-container">
33
- <h5 class="{{blockClassName}}__modal-heading">{{fields.heading_text}}</h5>
34
- <button class="{{blockClassName}}__modal-close-button"></button>
35
- </div>
36
- <div class="{{blockClassName}}__modal-markets-container">
37
- {% for language in languages %}
38
- <a class="{{blockClassName}}__market-link {{language['active'] ? "market-selector-v3__market-link--active" : ""}}" href=" {{ language[ 'url' ] }} " data-lang=" {{ language[ 'language_code' ] }} " aria-label=" view this page on the {{language[ 'native_name' ]}} market">{{ language[ 'native_name' ] }}</a>
39
- {% endfor %}
40
- </div>
41
- <div class="{{blockClassName}}__modal-logo-container">
42
- {% set logo = fields.logo %}
43
- {% set logoImage = get_image(logo) %}
44
- {% set isSVG = logoImage.post_mime_type == 'image/svg+xml' %}
45
- <span class="{{blockClassName}}__modal-logo">
46
- {{ isSVG ? get_raw_svg(logoImage.id) : '<img class="" src="' ~ logoImage.src ~ '">'}}
47
- </span>
48
- </div>
49
- </div>
22
+ <div class="{{blockClassName}}__modal-header-container">
23
+ <h5 class="{{blockClassName}}__modal-heading">{{fields.heading_text}}</h5>
24
+ </div>
25
+ <div class="{{blockClassName}}__modal-markets-container">
26
+ {% for language in languages %}
27
+ <a class="{{blockClassName}}__market-link {{language['active'] ? "market-selector-v3__market-link--active" : ""}}" href=" {{ language[ 'url' ] }} " data-lang=" {{ language[ 'language_code' ] }} " aria-label=" view this page on the {{language[ 'native_name' ]}} market">{{ language[ 'native_name' ] }}</a>
28
+ {% endfor %}
29
+ </div>
30
+ <div class="{{blockClassName}}__modal-logo-container">
31
+ {% set logo = fields.logo %}
32
+ {% set logoImage = get_image(logo) %}
33
+ {% set isSVG = logoImage.post_mime_type == 'image/svg+xml' %}
34
+ <span class="{{blockClassName}}__modal-logo">
35
+ {{ isSVG ? get_raw_svg(logoImage.id) : '<img class="" src="' ~ logoImage.src ~ '">'}}
36
+ </span>
50
37
  </div>
51
38
 
52
39
  {{htmlEntryPoint}}
@@ -1,8 +1,3 @@
1
- // @use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
2
- // @use 'Assets/scss/modules/library-modules/core-functions/core-functions';
3
- // @use 'Assets/scss/modules/library-modules/grid-layout-element/grid-layout-element';
4
- // @use 'Assets/scss/theme/breakpoints';
5
-
6
1
  @mixin additionalStyles {
7
2
  &:has(.post-info__post-cover-link.post-cover-link-hover-effect) {
8
3
  &:hover {
@@ -1,12 +1,12 @@
1
1
  @use 'NodeModules/@total_onion/onion-library/components/fields-core-mixins-v3/core-mixins-v3';
2
2
  @use 'NodeModules/@total_onion/onion-library/components/fields-core-functions-v3/core-functions-v3';
3
- @use 'Assets/scss/theme/breakpoints';
4
- @use 'Assets/scss/blocks/product-info-v3/product-info-v3-extra';
5
3
  @use 'NodeModules/@total_onion/onion-library/components/component-grid-layout-container-v3/grid-layout-container-v3';
6
4
  @use 'NodeModules/@total_onion/onion-library/components/component-grid-layout-element-v3/grid-layout-element-v3';
7
5
  @use 'NodeModules/@total_onion/onion-library/components/component-element-positioning-v3/element-positioning-v3';
8
- @use 'Assets/scss/modules/library-modules/gradient-overlay/gradient-overlay';
9
6
  @use 'NodeModules/@total_onion/onion-library/components/component-content-container-settings-v3/content-container-settings-v3';
7
+ @use 'NodeModules/@total_onion/onion-library/components/component-gradient-overlay-v3/gradient-overlay-v3';
8
+ @use 'Assets/scss/theme/breakpoints';
9
+ @use 'Assets/scss/blocks/product-info-v3/product-info-v3-extra';
10
10
 
11
11
  .product-info-v3 {
12
12
  display: grid;
@@ -75,7 +75,7 @@
75
75
  }
76
76
  &__gradient-overlay {
77
77
  height: 100%;
78
- @include gradient-overlay.gradientOverlay();
78
+ @include gradient-overlay-v3.gradientOverlay();
79
79
  }
80
80
  &__post-tags {
81
81
  pointer-events: none;
@@ -1,7 +1,7 @@
1
- @use 'Assets/scss/modules/library-modules/responsive-image/responsive-image';
1
+ @use 'NodeModules/@total_onion/onion-library/components/component-responsive-image-v3/responsive-image-v3';
2
2
  @use 'Assets/scss/blocks/single-responsive-image-v3/single-responsive-image-v3-extra';
3
3
 
4
4
  .single-responsive-image-v3 {
5
- @include responsive-image.responsiveImage();
5
+ @include responsive-image-v3.responsiveImage();
6
6
  }
7
7
  @include single-responsive-image-v3-extra.additionalStyles();
@@ -1,4 +1,3 @@
1
- // LIBRARY FILE - Do not modify/override here as your changes will be lost when the package is updated.
2
1
  @use 'NodeModules/@total_onion/onion-library/components/fields-core-mixins-v3/core-mixins-v3';
3
2
  @use 'Assets/scss/theme/breakpoints';
4
3
 
@@ -1,6 +1,6 @@
1
- @use 'Assets/scss/blocks/standard-content-v3/standard-content-v3-extra';
2
1
  @use 'NodeModules/@total_onion/onion-library/components/fields-core-mixins-v3/core-mixins-v3';
3
- @use 'Assets/scss/modules/library-modules/content-container-v3/content-container-v3';
2
+ @use 'NodeModules/@total_onion/onion-library/components/component-content-container-v3/content-container-v3';
3
+ @use 'Assets/scss/blocks/standard-content-v3/standard-content-v3-extra';
4
4
 
5
5
  .standard-content-v3 {
6
6
  display: grid;
@@ -1,7 +1,7 @@
1
1
  @use 'NodeModules/@total_onion/onion-library/components/component-grid-layout-element-v3/grid-layout-element-v3';
2
2
  @use 'NodeModules/@total_onion/onion-library/components/component-grid-layout-container-v3/grid-layout-container-v3';
3
3
  @use 'NodeModules/@total_onion/onion-library/components/component-flex-layout-container-v3/flex-layout-container-v3';
4
- @use 'Assets/scss/modules/library-modules/animations-v3/animations-v3';
4
+ @use 'NodeModules/@total_onion/onion-library/components/component-animations-v3/animations-v3';
5
5
  @use 'Assets/scss/blocks/sub-group-container-v3/sub-group-container-v3-extra';
6
6
  .sub-group-container-v3 {
7
7
  display: grid;
@@ -0,0 +1,62 @@
1
+ @use 'NodeModules/@total_onion/onion-library/components/fields-core-mixins-v3/core-mixins-v3';
2
+ @use 'NodeModules/@total_onion/onion-library/components/fields-core-functions-v3/core-functions-v3';
3
+ @use 'Assets/scss/theme/breakpoints';
4
+
5
+ @mixin blockPadding() {
6
+ .cmpl-block-padding {
7
+ padding: calc(
8
+ var(--global-inline-spacing) *
9
+ var(--padding-block-multiplier-mobile-top)
10
+ )
11
+ calc(
12
+ var(--global-inline-spacing) *
13
+ var(--padding-inline-multiplier-mobile-right)
14
+ )
15
+ calc(
16
+ var(--global-inline-spacing) *
17
+ var(--padding-block-multiplier-mobile-bottom)
18
+ )
19
+ calc(
20
+ var(--global-inline-spacing) *
21
+ var(--padding-inline-multiplier-mobile-left)
22
+ );
23
+
24
+ @include core-mixins.device(breakpoints.$tabPortrait) {
25
+ padding: calc(
26
+ var(--global-inline-spacing) *
27
+ var(--padding-block-multiplier-portrait-top)
28
+ )
29
+ calc(
30
+ var(--global-inline-spacing) *
31
+ var(--padding-inline-multiplier-portrait-right)
32
+ )
33
+ calc(
34
+ var(--global-inline-spacing) *
35
+ var(--padding-block-multiplier-portrait-bottom)
36
+ )
37
+ calc(
38
+ var(--global-inline-spacing) *
39
+ var(--padding-inline-multiplier-portrait-left)
40
+ );
41
+ }
42
+
43
+ @include core-mixins.device(breakpoints.$tabLandscape) {
44
+ padding: calc(
45
+ var(--global-inline-spacing) *
46
+ var(--padding-block-multiplier-desktop-top)
47
+ )
48
+ calc(
49
+ var(--global-inline-spacing) *
50
+ var(--padding-inline-multiplier-desktop-right)
51
+ )
52
+ calc(
53
+ var(--global-inline-spacing) *
54
+ var(--padding-block-multiplier-desktop-bottom)
55
+ )
56
+ calc(
57
+ var(--global-inline-spacing) *
58
+ var(--padding-inline-multiplier-desktop-left)
59
+ );
60
+ }
61
+ }
62
+ }
@@ -1,6 +1,5 @@
1
- // LIBRARY FILE - Do not modify/override here as your changes will be lost when the package is updated.
2
- @use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
3
- @use 'Assets/scss/modules/library-modules/core-functions/core-functions';
1
+ @use 'NodeModules/@total_onion/onion-library/components/fields-core-mixins-v3/core-mixins-v3';
2
+ @use 'NodeModules/@total_onion/onion-library/components/fields-core-functions-v3/core-functions-v3';
4
3
  @use 'Assets/scss/theme/breakpoints';
5
4
 
6
5
  @mixin blockquoteV3() {
@@ -8,7 +7,7 @@
8
7
  display: flex;
9
8
  flex-direction: column;
10
9
  font-weight: unset;
11
- gap: core-functions.fluidSize(20, 'static');
10
+ gap: core-functions-v3.fluidSize(20, 'static');
12
11
  &::before {
13
12
  content: unset;
14
13
  }
@@ -20,13 +19,13 @@
20
19
  text-transform: var(--default-text-transform-mobile);
21
20
  text-align: var(--default-text-align-mobile);
22
21
  color: var(--default-text-colour-mobile);
23
- -webkit-text-stroke: core-functions.fontSize(
22
+ -webkit-text-stroke: core-functions-v3.fontSize(
24
23
  var(--text-stroke-width),
25
24
  'static'
26
25
  )
27
26
  var(--text-stroke-colour);
28
27
 
29
- @include core-mixins.device(breakpoints.$tabLandscape) {
28
+ @include core-mixins-v3.device(breakpoints.$tabLandscape) {
30
29
  font-weight: var(--default-font-weight-desktop);
31
30
  text-transform: var(--default-text-transform-desktop);
32
31
  text-align: var(--default-text-align-desktop);
@@ -48,7 +47,7 @@
48
47
  footer {
49
48
  align-self: var(--footer-align);
50
49
  color: var(--default-text-colour-mobile);
51
- @include core-mixins.device(breakpoints.$tabLandscape) {
50
+ @include core-mixins-v3.device(breakpoints.$tabLandscape) {
52
51
  color: var(--default-text-colour-desktop);
53
52
  }
54
53
  }
@@ -0,0 +1,12 @@
1
+ @use 'NodeModules/@total_onion/onion-library/components/fields-core-functions-v3/core-functions-v3';
2
+
3
+ @mixin boxShadow() {
4
+ box-shadow: core-functions-v3.fluidSize(
5
+ var(--box-shadow-offset-x),
6
+ 'static'
7
+ )
8
+ core-functions-v3.fluidSize(var(--box-shadow-offset-y), 'static')
9
+ core-functions-v3.fluidSize(var(--box-shadow-blur), 'static')
10
+ core-functions-v3.fluidSize(var(--box-shadow-spread), 'static')
11
+ var(--box-shadow-colour);
12
+ }
@@ -1,7 +1,7 @@
1
- @use 'Assets/scss/theme/breakpoints';
2
1
  @use 'NodeModules/@total_onion/onion-library/components/fields-core-mixins-v3/core-mixins-v3';
3
2
  @use 'NodeModules/@total_onion/onion-library/components/fields-core-functions-v3/core-functions-v3';
4
3
  @use 'Assets/scss/modules/library-modules/box-shadow/box-shadow';
4
+ @use 'Assets/scss/theme/breakpoints';
5
5
 
6
6
  @mixin contentContainerSettingsV3() {
7
7
  &__inner-container {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "1.0.216",
3
+ "version": "1.0.217",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {