@dynamic-labs/iconic
Advanced tools
Comparing version 0.1.40 to 0.1.41
{ | ||
"name": "@dynamic-labs/iconic", | ||
"version": "0.1.40", | ||
"version": "0.1.41", | ||
"description": "A library of icons used by Dynamic Lab's SDK, served via CDN", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -106,3 +106,3 @@ "use strict"; | ||
exports.OnePasswordIcon = (0, Iconic_1.createIconic)({ | ||
iconName: 'onePassword', | ||
iconName: 'one-password', | ||
alt: 'onePassword', | ||
@@ -112,5 +112,5 @@ sourcePath: 'icons/social/onePassword.svg' | ||
exports.OnePasswordDarkIcon = (0, Iconic_1.createIconic)({ | ||
iconName: 'onePassword-dark', | ||
iconName: 'one-password-dark', | ||
alt: 'onePassword-dark', | ||
sourcePath: 'icons/social/onePassword-dark.svg' | ||
}); |
{ | ||
"name": "@dynamic-labs/iconic", | ||
"version": "0.1.40", | ||
"version": "0.1.41", | ||
"description": "A library of icons used by Dynamic Lab's SDK, served via CDN", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
### Adding an icon | ||
1. Add the SVG file to the appropriate folder | ||
1. Add a `createIconic` compomenent to the `index.ts` in that folder for that icon | ||
1. Add a `createIconic` compomenent to the `index.ts` in that folder for that icon (iconName should be lowercase) | ||
1. Bump the version in package.json | ||
@@ -6,0 +6,0 @@ 1. run `nvm use` |
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
37662