@iris.interactive/handcook 7.2.1-beta → 7.2.3-beta

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Welcome to HandCook 👨‍🍳
2
- ![Version](https://img.shields.io/badge/version-7.2.1-beta-blue.svg?cacheSeconds=2592000)
2
+ ![Version](https://img.shields.io/badge/version-7.2.3-beta-blue.svg?cacheSeconds=2592000)
3
3
  ![Prerequisite](https://img.shields.io/badge/node-%3E%3D%2012.14.0-blue.svg)
4
4
  [![License: UNLICENSED](https://img.shields.io/badge/License-UNLICENSED-yellow.svg)](#)
5
5
  [![Twitter: captain\_iris](https://img.shields.io/twitter/follow/captain\_iris.svg?style=social)](https://twitter.com/captain\_iris)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iris.interactive/handcook",
3
- "version": "7.2.1-beta",
3
+ "version": "7.2.3-beta",
4
4
  "description": "The web cooking by IRIS Interactive",
5
5
  "main": "./public/scripts/index.js",
6
6
  "scripts": {
@@ -286,11 +286,11 @@ export class HcSlider {
286
286
 
287
287
  //Remove tabindex
288
288
  if (this.slider.hasAttribute('data-hc-slider-disable-arrows-focus')) {
289
- swiper.$el.find('.hc-slider-buttons > *').removeAttr('tabindex');
289
+ $(swiper.el).find('.hc-slider-buttons > *').removeAttr('tabindex');
290
290
  }
291
291
 
292
292
  if (this.slider.hasAttribute('data-hc-slider-disable-pagination-focus')) {
293
- swiper.$el.find('.hc-slider-pagination > *').removeAttr('tabindex');
293
+ $(swiper.el).find('.hc-slider-pagination > *').removeAttr('tabindex');
294
294
  }
295
295
  },
296
296
  slideChangeTransitionEnd: (swiper) => {
@@ -574,13 +574,16 @@ $roadtrip-topbar-link-color: var(--iris--roadtrip-topbar--color-link);
574
574
  $roadtrip-topbar-link-color-hover: var(--iris--roadtrip-topbar--color-link-hover);
575
575
 
576
576
  // Eco Bar
577
- $ecobar-color: var(--iris--ecobar--color);
578
- $ecobar-background-color: var(--iris--ecobar--background-color);
579
- $ecobar-highlight-background-color: var(--iris--ecobar--highlight--background-color);
580
577
  $ecobar-tab-position-x: var(--iris--ecobar--tab--position-x);
581
578
  $ecobar-tab-position-x-small: var(--iris--ecobar--tab--position-x--small);
582
579
  $ecobar-font-size: var(--iris--ecobar--font-size);
583
580
  $ecobar-font-size--rem: var(--iris--ecobar--font-size--rem);
581
+ $ecobar-color-main: var(--iris--ecobar--color, #fff);
582
+ $ecobar-background-color-main: var(--iris--ecobar--background-color, #000);
583
+ $ecobar-alternative-color-main: var(--iris--ecobar--highlight--background-color, #000);
584
+ $ecobar-color-secondary: var(--iris--ecobar--color--secondary, #fff);
585
+ $ecobar-background-color-secondary: var(--iris--ecobar--background-color--secondary, $ecobar-alternative-color-main);
586
+ $ecobar-alternative-color-secondary: var(--iris--ecobar--alternative-color--secondary, $ecobar-color-main);
584
587
 
585
588
  //Comments
586
589
  $comments-form-field-background-color: var(--iris--comments-form-field--background-color);