@littlemissrobot/sass-functions
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "@littlemissrobot/sass-functions", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Little Miss Robot sass functions library that helps execute reusable and complex tasks.", | ||
@@ -5,0 +5,0 @@ "main": "index.scss", |
@@ -489,2 +489,27 @@ # Little Miss Robot - Sass functions | ||
#### none-destructive-merge($parent-map, $child-map) | ||
Merge 2 maps together, but respect and preserve the order of the keys in $parent-map and attack any unique keys at the end. | ||
Parameters: | ||
- **$parent-map**: The first map to merge | ||
- **$child-map**: The second map to merge | ||
```scss | ||
@use "@littlemissrobot/sass-functions/lib/map" as _map; | ||
$map1: ( | ||
font-size: 16px, | ||
line-height: 24px, | ||
); | ||
$map2: ( | ||
line-height: 30px, | ||
font-size: 24px, | ||
); | ||
_map.none-destructive-merge($map1, $map2); | ||
``` | ||
#### reverse($map) | ||
@@ -796,3 +821,4 @@ | ||
Converts a value from unit value to another. Supported conversions (at the moment) are: | ||
Converts a value from unit value to another. Supported conversions (at the | ||
moment) are: | ||
@@ -799,0 +825,0 @@ - From px to: |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41321
46
936