@iris.interactive/handcook 2.9.29 → 2.9.30

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.29-blue.svg?cacheSeconds=2592000)
2
+ ![Version](https://img.shields.io/badge/version-2.9.30-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.29",
3
+ "version": "2.9.30",
4
4
  "description": "The web cooking by IRIS Interactive",
5
5
  "main": "./public/scripts/index.js",
6
6
  "scripts": {
@@ -37,6 +37,6 @@
37
37
  "swiper": "8.0.6",
38
38
  "tippy.js": "^6.3.7",
39
39
  "vanilla-lazyload": "^17.6.1",
40
- "sal.js": "^0.8.5"
40
+ "scrollreveal": "^4.0.9"
41
41
  }
42
42
  }
package/public/index.html CHANGED
@@ -417,16 +417,16 @@
417
417
  </div>
418
418
  </div>
419
419
  </article>
420
- <article data-hc-noscroll-reveal data-hc-scroll-reveal-parent="slide-up" class="component__wrapper" style="display: grid; grid-template-columns: repeat(3, 1fr); grid-gap:30px;">
421
- <div style="height: 300px; background: #000"></div>
422
- <div style=" height: 300px; background: #000"></div>
423
- <div style="height: 300px; background: #000"></div>
424
- <div style="height: 300px; background: #000"></div>
425
- <div style="height: 300px; background: #000"></div>
426
- <div style="--sal-duration: 3s;height: 300px; background: #000"></div>
427
- <div style="--sal-duration: 3s; height: 300px; background: #000"></div>
428
- <div style="--sal-duration: 3s; height: 300px; background: #000"></div>
429
- <div style="--sal-duration: 3s; height: 300px; background: #000"></div>
420
+ <article data-hc-noscroll-reveal data-hc-scroll-reveal-parent data-hc-scroll-reveal-delay="0.1" class="component__wrapper" style="display: grid; grid-template-columns: repeat(3, 1fr); grid-gap:30px;">
421
+ <div style="--hc-scroll-reveal-delay: 0.1s; height: 300px; background: #000"></div>
422
+ <div style="--hc-scroll-reveal-delay: 0.2s; height: 300px; background: #000"></div>
423
+ <div style="--hc-scroll-reveal-delay: 0.3s; height: 300px; background: #000"></div>
424
+ <div style="--hc-scroll-reveal-delay: 0.4s; height: 300px; background: #000"></div>
425
+ <div style="--hc-scroll-reveal-delay: 0.5s; height: 300px; background: #000"></div>
426
+ <div style="--hc-scroll-reveal-delay: 0.6s; height: 300px; background: #000"></div>
427
+ <div style="--hc-scroll-reveal-delay: 0.7s; height: 300px; background: #000"></div>
428
+ <div style="--hc-scroll-reveal-delay: 0.8s; height: 300px; background: #000"></div>
429
+ <div style="--hc-scroll-reveal-delay: 0.9s; height: 300px; background: #000"></div>
430
430
  </article>
431
431
  </section>
432
432
  </main>
@@ -13,8 +13,9 @@
13
13
  * @copyright Copyright (c) 2002-2022 IRIS Interactive, Inc. (http://www.iris-interactive.fr)
14
14
  */
15
15
 
16
- import sal from 'sal.js'
17
- import './scroll-reveal.component.scss';
16
+ /*import sal from 'sal.js'
17
+ import './scroll-reveal.component.scss';*/
18
+ import ScrollReveal from 'scrollreveal'
18
19
  import ElementEnum from "../../enumerators/element.enum";
19
20
 
20
21
  export class HcScrollReveal {
@@ -35,11 +36,18 @@ export class HcScrollReveal {
35
36
  });
36
37
  });
37
38
 
38
- sal({
39
+ ScrollReveal().reveal('[data-hc-scroll-reveal]', {
40
+ distance: '20px',
41
+ delay: 500,
42
+ duration: 1000,
43
+ interval: 100
44
+ });
45
+
46
+ /*sal({
39
47
  threshold: 0.1,
40
48
  selector: '[data-hc-scroll-reveal]',
41
49
  animateClassName: 'scroll-reveal-animate'
42
- });
50
+ });*/
43
51
  }
44
52
  }
45
53
 
@@ -0,0 +1,130 @@
1
+ /*! @license Rematrix v0.3.0
2
+
3
+ Copyright 2018 Julian Lloyd.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
22
+ */
23
+
24
+ /*! @license ScrollReveal v4.0.9
25
+
26
+ Copyright 2021 Fisssion LLC.
27
+
28
+ Licensed under the GNU General Public License 3.0 for
29
+ compatible open source projects and non-commercial use.
30
+
31
+ For commercial sites, themes, projects, and applications,
32
+ keep your source code private/proprietary by purchasing
33
+ a commercial license from https://scrollrevealjs.org/
34
+ */
35
+
36
+ /*! @license Tealight v0.3.6
37
+
38
+ Copyright 2018 Fisssion LLC.
39
+
40
+ Permission is hereby granted, free of charge, to any person obtaining a copy
41
+ of this software and associated documentation files (the "Software"), to deal
42
+ in the Software without restriction, including without limitation the rights
43
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
44
+ copies of the Software, and to permit persons to whom the Software is
45
+ furnished to do so, subject to the following conditions:
46
+
47
+ The above copyright notice and this permission notice shall be included in all
48
+ copies or substantial portions of the Software.
49
+
50
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
51
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
52
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
53
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
54
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
55
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
56
+ SOFTWARE.
57
+
58
+ */
59
+
60
+ /*! @license is-dom-node v1.0.4
61
+
62
+ Copyright 2018 Fisssion LLC.
63
+
64
+ Permission is hereby granted, free of charge, to any person obtaining a copy
65
+ of this software and associated documentation files (the "Software"), to deal
66
+ in the Software without restriction, including without limitation the rights
67
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
68
+ copies of the Software, and to permit persons to whom the Software is
69
+ furnished to do so, subject to the following conditions:
70
+
71
+ The above copyright notice and this permission notice shall be included in all
72
+ copies or substantial portions of the Software.
73
+
74
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
75
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
76
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
77
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
78
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
79
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
80
+ SOFTWARE.
81
+
82
+ */
83
+
84
+ /*! @license is-dom-node-list v1.2.1
85
+
86
+ Copyright 2018 Fisssion LLC.
87
+
88
+ Permission is hereby granted, free of charge, to any person obtaining a copy
89
+ of this software and associated documentation files (the "Software"), to deal
90
+ in the Software without restriction, including without limitation the rights
91
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
92
+ copies of the Software, and to permit persons to whom the Software is
93
+ furnished to do so, subject to the following conditions:
94
+
95
+ The above copyright notice and this permission notice shall be included in all
96
+ copies or substantial portions of the Software.
97
+
98
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
99
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
100
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
101
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
102
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
103
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
104
+ SOFTWARE.
105
+
106
+ */
107
+
108
+ /*! @license miniraf v1.0.0
109
+
110
+ Copyright 2018 Fisssion LLC.
111
+
112
+ Permission is hereby granted, free of charge, to any person obtaining a copy
113
+ of this software and associated documentation files (the "Software"), to deal
114
+ in the Software without restriction, including without limitation the rights
115
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
116
+ copies of the Software, and to permit persons to whom the Software is
117
+ furnished to do so, subject to the following conditions:
118
+
119
+ The above copyright notice and this permission notice shall be included in all
120
+ copies or substantial portions of the Software.
121
+
122
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
123
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
124
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
125
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
126
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
127
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
128
+ SOFTWARE.
129
+
130
+ */