@iris.interactive/handcook 5.0.0 → 5.0.2

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-5.0.0-blue.svg?cacheSeconds=2592000)
2
+ ![Version](https://img.shields.io/badge/version-5.0.2-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": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "description": "The web cooking by IRIS Interactive",
5
5
  "main": "./public/scripts/index.js",
6
6
  "scripts": {
@@ -57,13 +57,13 @@ export class HcOverlay {
57
57
 
58
58
  show(element) {
59
59
  element.classList.add('hc-overlay-show');
60
- //lock scroll
60
+ document.body.classList.add('hc-overlay-lock');
61
61
  document.dispatchEvent(this.showEvent);
62
62
  }
63
63
 
64
64
  close(element) {
65
65
  element.classList.remove('hc-overlay-show');
66
- //unlock scroll
66
+ document.body.classList.remove('hc-overlay-lock');
67
67
  document.dispatchEvent(this.hideEvent);
68
68
  }
69
69
 
@@ -70,4 +70,8 @@
70
70
  top: var(--hc-overlay-close--top, 30px);
71
71
  cursor: pointer;
72
72
  }
73
+ }
74
+
75
+ .hc-overlay-lock {
76
+ overflow: hidden;
73
77
  }
@@ -338,6 +338,8 @@ $button-gradient-background-image-position: var(--iris--button--background-posit
338
338
  $button-gradient-background-image-position-hover: var(--iris--button--background-position-hover, (bottom right, top right));
339
339
  $button-border: var(--iris--button--border, none);
340
340
  $button-border-hover: var(--iris--button--border-hover, none);
341
+ $button-border-color: var(--iris--button--border-color);
342
+ $button-border-color-hover: var(--iris--button--border-color-hover);
341
343
  $button-background-color--force: var(--iris--button--border-color, $button-background-color);
342
344
  $button-background-color-hover--force: var(--iris--button--border-color-hover, $button-background-color-hover);
343
345