@iris.interactive/handcook 2.9.37 → 2.9.39

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.37-blue.svg?cacheSeconds=2592000)
2
+ ![Version](https://img.shields.io/badge/version-2.9.39-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.37",
3
+ "version": "2.9.39",
4
4
  "description": "The web cooking by IRIS Interactive",
5
5
  "main": "./public/scripts/index.js",
6
6
  "scripts": {
@@ -120,6 +120,7 @@ export class HcSlider {
120
120
  crossFade: true
121
121
  };
122
122
  }
123
+ this.options['watchOverflow'] = true;
123
124
  }
124
125
 
125
126
  buildDom() {
@@ -197,6 +198,10 @@ export class HcSlider {
197
198
  swiper.$el.find('.swiper-slide-active').addClass('hc-slider-slide-active');
198
199
  swiper.$el.find('.swiper-slide-next').addClass('hc-slider-slide-next');
199
200
  swiper.$el.find('.swiper-slide-prev').addClass('hc-slider-slide-prev');
201
+
202
+ if (swiper.isLocked) {
203
+ swiper.$el.addClass('hc-slider-lock');
204
+ }
200
205
  },
201
206
  slideChangeTransitionEnd: (swiper) => {
202
207
 
@@ -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