@iris.interactive/handcook 4.0.9 → 4.0.12
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
|
-

|
|
3
3
|

|
|
4
4
|
[](#)
|
|
5
5
|
[](https://twitter.com/captain\_iris)
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ export class HcModal {
|
|
|
33
33
|
this.options.parentEl = this.options.parentEl !== null ? document.querySelector(this.options.parentEl) : (element.hasAttribute('data-hc-modal-parent') ? document.querySelector(element.getAttribute('data-hc-modal-parent')) : '');
|
|
34
34
|
this.options.autoFocus = element.hasAttribute('data-hc-modal-autofocus') ? true : false;
|
|
35
35
|
|
|
36
|
-
const item =
|
|
36
|
+
const item = `${ElementEnum.modal}[${element.hasAttribute('data-hc-src') ? 'data-hc-src' : 'href'}="${this.options.src}"]`;
|
|
37
37
|
Fancybox.bind(item, Object.assign(this.options, {
|
|
38
38
|
on: {
|
|
39
39
|
done: () => {
|
|
@@ -362,7 +362,7 @@ $secondary-button-background-color-hover: var(--iris--secondary-button--backgrou
|
|
|
362
362
|
$secondary-button-background-image: var(--iris--secondary-button--background-image, none);
|
|
363
363
|
$secondary-button-gradient-background-image-size: var(--iris--secondary-button--background-size, var(--iris--global--gradient-background-size, (200% 100%)));
|
|
364
364
|
$secondary-button-gradient-background-image-position: var(--iris--secondary-button--background-position, initial);
|
|
365
|
-
$secondary-button-gradient-background-image-position-hover: var(--iris--secondary-button--background-position-hover, (
|
|
365
|
+
$secondary-button-gradient-background-image-position-hover: var(--iris--secondary-button--background-position-hover, (right -1px bottom -1px));
|
|
366
366
|
$secondary-button-border: var(--iris--secondary-button--border, none);
|
|
367
367
|
$secondary-button-border-hover: var(--iris--secondary-button--border-hover, none);
|
|
368
368
|
$secondary-button-background-color--force: var(--iris--secondary-button--border-color, $secondary-button-background-color);
|