@total_onion/onion-library 2.0.141 → 2.0.143

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.
@@ -13,8 +13,8 @@ export default function carouselmultilayoutv3Js(options = {}) {
13
13
  const {Swiper} = values[0][0];
14
14
 
15
15
  const dataAttributes = block.dataset;
16
- const slidesDesktopFull = Number(dataAttributes.desktopslidesfull);
17
16
  const slidesDesktop = Number(dataAttributes.desktopslides);
17
+ const slidesDesktopFull = Number(dataAttributes.desktopslidesfull) || slidesDesktop;
18
18
  const slidesTablet = Number(dataAttributes.tabletslides);
19
19
  const slidesMobile = Number(dataAttributes.mobileslides);
20
20
  const slidesOffsetDesktopBefore = Number(
@@ -16,6 +16,8 @@
16
16
  font-size: core-functions-v3.fontSize(80);
17
17
  font-weight: 500;
18
18
  text-transform: uppercase;
19
+ text-box-edge: cap alphabetic;
20
+ text-box-trim: trim-both;
19
21
 
20
22
  @include core-mixins-v3.device(breakpoints.$tabPortrait) {
21
23
  font-size: core-functions-v3.fontSize(160);
@@ -290,6 +292,8 @@
290
292
  font-weight: 500;
291
293
  text-transform: uppercase;
292
294
  padding-block: core-functions-v3.fluidSize(10);
295
+ text-box-edge: cap alphabetic;
296
+ text-box-trim: trim-both;
293
297
 
294
298
  @include core-mixins-v3.device(breakpoints.$tabPortrait) {
295
299
  padding-block: core-functions-v3.fluidSize(40);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.141",
3
+ "version": "2.0.143",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {