@tds/core-decorative-icon
Advanced tools
Comparing version 2.7.0 to 2.7.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.7.1](https://github.com/telusdigital/tds/compare/@tds/core-decorative-icon@2.7.0...@tds/core-decorative-icon@2.7.1) (2021-01-15) | ||
**Note:** Version bump only for package @tds/core-decorative-icon | ||
# [2.7.0](https://github.com/telusdigital/tds/compare/@tds/core-decorative-icon@2.6.7...@tds/core-decorative-icon@2.7.0) (2020-10-02) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@tds/core-decorative-icon", | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"description": "An icon used for visual aesthetics only", | ||
@@ -30,6 +30,6 @@ "main": "index.cjs.js", | ||
"@tds/core-colours": "^2.2.1", | ||
"@tds/util-helpers": "^1.5.1", | ||
"@tds/util-helpers": "^1.6.0", | ||
"prop-types": "^15.5.10" | ||
}, | ||
"gitHead": "622553b7a753e9a5b9cbbfb2c9f8d61b623c157f" | ||
"gitHead": "7e200d67011651c14f894191e0667af9817d2377" | ||
} |
@@ -6,3 +6,3 @@ import React from 'react' | ||
import { colorTelusPurple, colorGreyShark, colorWhite } from '@tds/core-colours' | ||
import { safeRest } from '@tds/util-helpers' | ||
import { safeRest, pixelToRem } from '@tds/util-helpers' | ||
@@ -25,3 +25,3 @@ import { warn } from '../../shared/utils/warn' | ||
const svgSize = ({ size }) => ({ | ||
'& > svg': { width: `${size / 16}rem`, height: `${size / 16}rem` }, | ||
'& > svg': { width: pixelToRem(size), height: pixelToRem(size) }, | ||
}) | ||
@@ -28,0 +28,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1275513
Updated@tds/util-helpers@^1.6.0