lumina-sass 2.1.3 → 2.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lumina-sass",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "description": "Lumina Sass design tokens, mixins and public sub-modules (flexbox, color, mix).",
5
5
  "main": "src/_index.sass",
6
6
  "sass": "src/_index.sass",
@@ -1,7 +1,7 @@
1
1
  @use '../color/_index' as color
2
2
 
3
3
 
4
- $academic: ('school': (icon: "\F62F"), 'diploma': (icon: "\F153"))
4
+ $academic: ('school': (icon: "\F671"), 'diploma': (icon: "\F11D"))
5
5
  $utility-inputs: ('color': (icon: '\F4B0'), 'hidden': (icon: '\F0E7'))
6
6
  $boolean-controls: ('radio': (icon: '\F110'), 'checkbox': (icon: '\F272'))
7
7
  $video-controls: ('play-video': (icon: '\F4F4'), 'pause-video': (icon: '\F4C4'))
@@ -1,5 +1,6 @@
1
1
  @use 'sass:map' as map
2
2
  @use "sass:list" as list
3
+ @use "sass:meta" as meta
3
4
  @use '../color/base' as base
4
5
  @use '../map/inputs' as inputs
5
6
  @use '../map/icons' as icon-map
@@ -39,7 +40,7 @@
39
40
  font-family: $font-family
40
41
  @else
41
42
  $names: $name
42
- @if type-of($name) != 'list'
43
+ @if meta.type-of($name) != 'list'
43
44
  $names: ($name)
44
45
 
45
46
  @each $single in $names
@@ -78,7 +79,7 @@
78
79
  @if list.index($list, $name)
79
80
  $category: $cat
80
81
 
81
- @if $category == null
82
+ @if $category == null and meta.type-of($name) == 'string'
82
83
  @warn "Input '#{$name}' not found in inputs map. Check inputs/_inputs.sass for valid names."
83
84
 
84
85
  input[type="#{$name}"]