@spectrum-web-components/iconset
Advanced tools
Comparing version 1.1.0-beta.2 to 1.1.0-beta.3
{ | ||
"name": "@spectrum-web-components/iconset", | ||
"version": "1.1.0-beta.2", | ||
"version": "1.1.0-beta.3", | ||
"publishConfig": { | ||
@@ -63,3 +63,3 @@ "access": "public" | ||
"dependencies": { | ||
"@spectrum-web-components/base": "^1.1.0-beta.2" | ||
"@spectrum-web-components/base": "^1.1.0-beta.3" | ||
}, | ||
@@ -75,3 +75,3 @@ "types": "./src/index.d.ts", | ||
], | ||
"gitHead": "27f569bbd20ad49019bebb53cc75f77bb492f331" | ||
"gitHead": "9d79419696003194fccabbed8b2d41c9e3d6cc85" | ||
} |
@@ -197,6 +197,8 @@ "use strict"; | ||
const iconVersion = this.spectrumVersion === 2 ? "s2" : "s1"; | ||
matchingIcons = matchingIcons.filter((icon) => { | ||
const iconName = icon.name.replace(/\s/g, "").toLowerCase(); | ||
return iconsList[iconVersion].includes(iconName); | ||
}); | ||
if (this.name === "workflow") { | ||
matchingIcons = matchingIcons.filter((icon) => { | ||
const iconName = icon.name.replace(/\s/g, "").toLowerCase(); | ||
return iconsList[iconVersion].includes(iconName); | ||
}); | ||
} | ||
return html` | ||
@@ -203,0 +205,0 @@ <div class="search" part="search"> |
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
101764
745