@iris.interactive/handcook 7.0.7 → 7.0.9

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-7.0.7-blue.svg?cacheSeconds=2592000)
2
+ ![Version](https://img.shields.io/badge/version-7.0.9-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": "7.0.7",
3
+ "version": "7.0.9",
4
4
  "description": "The web cooking by IRIS Interactive",
5
5
  "main": "./public/scripts/index.js",
6
6
  "scripts": {
@@ -186,6 +186,7 @@ $h1-font-size-small--rem: var(--iris--h1--font-size--small--rem);
186
186
  $h1-color: var(--iris--h1--color);
187
187
  $h1-text-align: var(--iris--h1--text-align);
188
188
  $h1-text-transform: var(--iris--h1--text-transform);
189
+ $h1-font-style: var(--iris--h1--font-style, normal);
189
190
 
190
191
  $h2-font-family: var(--iris--h2--font-family);
191
192
  $h2-font-weight: var(--iris--h2--font-weight, 400);
@@ -196,6 +197,7 @@ $h2-font-size-small--rem: var(--iris--h2--font-size--small--rem);
196
197
  $h2-color: var(--iris--h2--color);
197
198
  $h2-text-align: var(--iris--h2--text-align);
198
199
  $h2-text-transform: var(--iris--h2--text-transform);
200
+ $h2-font-style: var(--iris--h2--font-style, normal);
199
201
 
200
202
  $h3-font-family: var(--iris--h3--font-family);
201
203
  $h3-font-weight: var(--iris--h3--font-weight, 400);
@@ -208,6 +210,7 @@ $h3-font-size-small--rem: var(--iris--h3--font-size--small--rem);
208
210
  $h3-color: var(--iris--h3--color);
209
211
  $h3-text-align: var(--iris--h3--text-align);
210
212
  $h3-text-transform: var(--iris--h3--text-transform);
213
+ $h3-font-style: var(--iris--h3--font-style, normal);
211
214
 
212
215
  $h4-font-family: var(--iris--h4--font-family);
213
216
  $h4-font-weight: var(--iris--h4--font-weight, 400);
@@ -220,6 +223,7 @@ $h4-font-size-small--rem: var(--iris--h4--font-size--small--rem);
220
223
  $h4-color: var(--iris--h4--color);
221
224
  $h4-text-align: var(--iris--h4--text-align);
222
225
  $h4-text-transform: var(--iris--h4--text-transform);
226
+ $h4-font-style: var(--iris--h4--font-style, normal);
223
227
 
224
228
  $h5-font-family: var(--iris--h5--font-family);
225
229
  $h5-font-weight: var(--iris--h5--font-weight, 400);
@@ -232,6 +236,7 @@ $h5-font-size-small--rem: var(--iris--h5--font-size--small--rem);
232
236
  $h5-color: var(--iris--h5--color);
233
237
  $h5-text-align: var(--iris--h5--text-align);
234
238
  $h5-text-transform: var(--iris--h5--text-transform);
239
+ $h5-font-style: var(--iris--h5--font-style, normal);
235
240
 
236
241
  $h6-font-family: var(--iris--h6--font-family);
237
242
  $h6-font-weight: var(--iris--h6--font-weight, 400);
@@ -244,6 +249,7 @@ $h6-font-size-small--rem: var(--iris--h6--font-size--small--rem);
244
249
  $h6-color: var(--iris--h6--color);
245
250
  $h6-text-align: var(--iris--h6--text-align);
246
251
  $h6-text-transform: var(--iris--h6--text-transform);
252
+ $h6-font-style: var(--iris--h6--font-style, normal);
247
253
 
248
254
 
249
255
  //Over-title
@@ -258,7 +264,7 @@ $over-title-font-size-small--rem: var(--iris--over-title--font-size--small--rem,
258
264
  $over-title-color: var(--iris--over-title--color, $color);
259
265
  $over-title-text-align: var(--iris--over-title--text-align, left);
260
266
  $over-title-text-transform: var(--iris--over-title--text-transform, none);
261
-
267
+ $over-title-font-style: var(--iris--over-title--font-style, normal);
262
268
 
263
269
  // Appearance
264
270
  $appearance-color: var(--iris--appearance--color, var(--iris--global--color));
@@ -26,7 +26,7 @@
26
26
 
27
27
  /* Adaptive height block
28
28
  /* ============================================= */
29
- @mixin adaptive-height($padding : 115%, $padding-medium : 0, $padding-small : 0, $padding-xsmall:0) {
29
+ @mixin adaptive-height($padding : 115%, $padding-medium : 0, $padding-small : 0, $padding-xsmall:0, $object-fit-position: absolute) {
30
30
  position: relative;
31
31
  overflow: hidden;
32
32
 
@@ -57,7 +57,7 @@
57
57
  // TODO
58
58
  img:not(.emoji) {
59
59
  margin: 0 auto;
60
- @include object-fit(absolute);
60
+ @include object-fit($object-fit-position);
61
61
  @include transition(0.4s);
62
62
  }
63
63
  }
@@ -113,7 +113,6 @@
113
113
  bottom: 0;
114
114
  left: 0;
115
115
  z-index: 1;
116
- pointer-events: auto;
117
116
  content: "";
118
117
  background-color: transparent;
119
118
  }
@@ -25,4 +25,4 @@
25
25
  * @author Lucas ROCHE
26
26
  * @date 28/01/2022 07:41
27
27
  * @copyright Copyright (c) 2002-2022 IRIS Interactive, Inc. (http://www.iris-interactive.fr)
28
- */.stretched-link:before{background-color:transparent;bottom:0;content:"";left:0;pointer-events:auto;position:absolute;right:0;top:0;z-index:1}.list-flex{display:flex;flex-wrap:wrap;margin-bottom:0}.list-flex>*{list-style-type:none;margin:0 5px 10px 0}.list-flex>:last-child{margin-right:0}@keyframes loader{to{transform:rotate(1turn)}}@keyframes fade{0%{opacity:0}to{opacity:1}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.text-icon{align-items:center;display:inline-flex;gap:5px}.text-icon--start{align-items:flex-start}.hover-item img{transition:.2s ease;will-change:transform}.hover-item:hover img{transform:scale(1.02)}.is-open{color:#009e55}.soon-close{color:#ff890e}.is-close{color:#f33}.fi--color:before,.fi-color:after{color:var(--iris--icon--color)}.font-size-xsmall{font-size:var(--iris--global--font-size-xsmall--rem)}.font-size-small{font-size:var(--iris--global--font-size-small--rem)}.font-size-regular{font-size:var(--iris--global--font-size-regular--rem)}@media screen and (max-width:650px){.font-size-regular{font-size:var(--iris--global--font-size-regular--small--rem)}}.font-size-large{font-size:var(--iris--global--font-size-large--rem)}@media screen and (max-width:650px){.font-size-large{font-size:var(--iris--global--font-size-large--small--rem)}}.font-size-xlarge{font-size:var(--iris--global--font-size-extra-large--rem)}@media screen and (max-width:650px){.font-size-xlarge{font-size:var(--iris--global--font-size-extra-large--small--rem)}}.align-items--bottom,.align-items--end{align-items:flex-end}.align-items--start,.align-items--top{align-items:flex-start}.align-items--center{align-items:center}
28
+ */.stretched-link:before{background-color:transparent;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:1}.list-flex{display:flex;flex-wrap:wrap;margin-bottom:0}.list-flex>*{list-style-type:none;margin:0 5px 10px 0}.list-flex>:last-child{margin-right:0}@keyframes loader{to{transform:rotate(1turn)}}@keyframes fade{0%{opacity:0}to{opacity:1}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.text-icon{align-items:center;display:inline-flex;gap:5px}.text-icon--start{align-items:flex-start}.hover-item img{transition:.2s ease;will-change:transform}.hover-item:hover img{transform:scale(1.02)}.is-open{color:#009e55}.soon-close{color:#ff890e}.is-close{color:#f33}.fi--color:before,.fi-color:after{color:var(--iris--icon--color)}.font-size-xsmall{font-size:var(--iris--global--font-size-xsmall--rem)}.font-size-small{font-size:var(--iris--global--font-size-small--rem)}.font-size-regular{font-size:var(--iris--global--font-size-regular--rem)}@media screen and (max-width:650px){.font-size-regular{font-size:var(--iris--global--font-size-regular--small--rem)}}.font-size-large{font-size:var(--iris--global--font-size-large--rem)}@media screen and (max-width:650px){.font-size-large{font-size:var(--iris--global--font-size-large--small--rem)}}.font-size-xlarge{font-size:var(--iris--global--font-size-extra-large--rem)}@media screen and (max-width:650px){.font-size-xlarge{font-size:var(--iris--global--font-size-extra-large--small--rem)}}.align-items--bottom,.align-items--end{align-items:flex-end}.align-items--start,.align-items--top{align-items:flex-start}.align-items--center{align-items:center}