@sorocraft/ui 1.0.83 → 1.0.85

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.
@@ -2,6 +2,7 @@
2
2
  @use "./variables.scss" as *;
3
3
  @use "./functions/toRem.scss" as functions;
4
4
  @use "sass:list";
5
+ @use "sass:map";
5
6
 
6
7
  @mixin flexCentered {
7
8
  display: flex;
@@ -195,6 +196,6 @@ $xxl: 1440px;
195
196
  }
196
197
 
197
198
  @mixin avatar-size($size) {
198
- width: functions.toRem(map-get($avatar-sizes, $size));
199
- height: functions.toRem(map-get($avatar-sizes, $size));
199
+ width: functions.toRem(map.get($avatar-sizes, $size));
200
+ height: functions.toRem(map.get($avatar-sizes, $size));
200
201
  }
@@ -1,3 +1,5 @@
1
+ @use "sass:map";
2
+
1
3
  $breakpoints: (
2
4
  mobile-xs: 320px,
3
5
  mobile-sm: 480px,
@@ -12,8 +14,8 @@ $breakpoints: (
12
14
 
13
15
  // Enhanced media query mixin
14
16
  @mixin media($type, $start, $end: null) {
15
- $start-value: map-get($breakpoints, $start);
16
- $end-value: if($end, map-get($breakpoints, $end), null);
17
+ $start-value: map.get($breakpoints, $start);
18
+ $end-value: if($end, map.get($breakpoints, $end), null);
17
19
 
18
20
  @if $type == "range" and $start-value and $end-value {
19
21
  @media (min-width: #{$start-value}) and (max-width: #{$end-value}) {