@iris.interactive/handcook 8.1.7 → 8.1.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.
@@ -1,7 +1,5 @@
1
1
  export default class e{constructor(){throw Error("Use `await Swiper.create()` instead of `new Swiper()`")}static async create(...e){let{default:t}=await import(/* @preserve
2
2
  * webpackChunkName: "scripts/hc_swiper_v11"
3
- * webpackMode: "weak"
4
3
  */"swiper-11/bundle");return await import(/* @preserve
5
4
  * webpackChunkName: "styles/hc_swiper_v11"
6
- * webpackMode: "weak"
7
5
  */"swiper-11/css/bundle"),new t(...e)}}
@@ -65,12 +65,13 @@ $viewport-borders: (
65
65
 
66
66
  /* Breakpoint
67
67
  / ================================================== */
68
- $breakpoint-desktop: 1000.1px; // min-width
69
- $breakpoint-xlarge: $container / (1-(($margin-xlarge/100%) * 2)) + 1; // min-width
70
- $breakpoint-large: $container / (1-(($margin-xlarge/100%) * 2)); // max-width
71
- $breakpoint-medium: 1000px; // max-width
72
- $breakpoint-small: 650px; // max-width
73
- $breakpoint-xsmall: 370px; // max-width
68
+ $breakpoint-desktop: 1000.1px;
69
+ $breakpoint-xlarge: $container / (1-(($margin-xlarge/100%) * 2)) + 1;
70
+ $breakpoint-large: $container / (1-(($margin-xlarge/100%) * 2));
71
+ $breakpoint-xmedium: 1024px;
72
+ $breakpoint-medium: 1000px;
73
+ $breakpoint-small: 650px;
74
+ $breakpoint-xsmall: 370px;
74
75
 
75
76
  /* Global
76
77
  / ================================================== */
@@ -16,7 +16,7 @@
16
16
 
17
17
  /* Breakpoints
18
18
  /* ============================================= */
19
- @mixin breakpoint($point) {
19
+ @mixin breakpoint($point, $type: max-width) {
20
20
 
21
21
  @if $point == "xlarge" {
22
22
  @media screen and (min-width: #{variables.$breakpoint-xlarge}) {
@@ -27,23 +27,27 @@
27
27
  @content;
28
28
  }
29
29
  } @else if $point == "large" {
30
- @media screen and (max-width: #{variables.$breakpoint-large}) {
30
+ @media screen and (#{$type}: #{variables.$breakpoint-large}) {
31
+ @content;
32
+ }
33
+ } @else if $point == "xmedium" {
34
+ @media screen and (#{$type}: #{variables.$breakpoint-xmedium}) {
31
35
  @content;
32
36
  }
33
37
  } @else if $point == "medium" {
34
- @media screen and (max-width: #{variables.$breakpoint-medium}) {
38
+ @media screen and (#{$type}: #{variables.$breakpoint-medium}) {
35
39
  @content;
36
40
  }
37
41
  } @else if $point == "small" {
38
- @media screen and (max-width: #{variables.$breakpoint-small}) {
42
+ @media screen and (#{$type}: #{variables.$breakpoint-small}) {
39
43
  @content;
40
44
  }
41
45
  } @else if $point == "xsmall" {
42
- @media screen and (max-width: #{variables.$breakpoint-xsmall}) {
46
+ @media screen and (#{$type}: #{variables.$breakpoint-xsmall}) {
43
47
  @content;
44
48
  }
45
49
  } @else {
46
- @media screen and (max-width: $point) {
50
+ @media screen and (#{$type}: $point) {
47
51
  @content;
48
52
  }
49
53
  }