@iris.interactive/handcook 2.9.38 → 2.9.40

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-2.9.38-blue.svg?cacheSeconds=2592000)
2
+ ![Version](https://img.shields.io/badge/version-2.9.40-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": "2.9.38",
3
+ "version": "2.9.40",
4
4
  "description": "The web cooking by IRIS Interactive",
5
5
  "main": "./public/scripts/index.js",
6
6
  "scripts": {
@@ -120,6 +120,11 @@ export class HcSlider {
120
120
  crossFade: true
121
121
  };
122
122
  }
123
+
124
+ if (this.slider.hasAttribute('data-hc-slider-infinite')) {
125
+ this.options['loop'] = true;
126
+ }
127
+
123
128
  this.options['watchOverflow'] = true;
124
129
  }
125
130
 
@@ -105,12 +105,19 @@ $font-size-extra-large--rem: var(--iris--global--font-size-extra-large--rem);
105
105
  $font-size-extra-large--small: var(--iris--global--font-size-extra-large--small);
106
106
  $font-size-extra-large--small--rem: var(--iris--global--font-size-extra-large--small--rem);
107
107
 
108
+
108
109
  //Cursor
109
110
  $cursor-color: var(--iris--cursor--color, #000);
110
111
 
112
+
111
113
  //Ripple effect
112
114
  $ripple-effect-color: var(--iris--ripple-effect--color, #aaa);
113
115
 
116
+
117
+ //Bottom bar
118
+ $customer-bottom-bar-height: var(--iris--customer-bottom-bar--height, 60px);
119
+
120
+
114
121
  //Icon
115
122
  $icon-color: var(--iris--icon--color);
116
123