@iris.interactive/handcook 2.9.36 → 2.9.38
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
|
@@ -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,6 +105,11 @@ $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
|
+
//Cursor
|
|
109
|
+
$cursor-color: var(--iris--cursor--color, #000);
|
|
110
|
+
|
|
111
|
+
//Ripple effect
|
|
112
|
+
$ripple-effect-color: var(--iris--ripple-effect--color, #aaa);
|
|
108
113
|
|
|
109
114
|
//Icon
|
|
110
115
|
$icon-color: var(--iris--icon--color);
|