tech-stack-icons 3.1.4 → 3.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/dist/index.js +3 -3
- package/package.json +5 -3
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import a from"react";var i={adobe:{keywords:["Graphic Design","Digital Marketing","Creative Cloud","Multimedia Software","Photo Editing"],svg:{light:`<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 5H37.1232L0 95.4114V5ZM62.4131 5H100V94.2498L62.4131 5ZM50.1936 39.5707L70.6892 93.7872H58.005L49.2653 76.6185H35.3441L50.1936 39.5707Z" fill="#CC2229"/>
|
|
3
3
|
</svg>
|
|
4
4
|
`,dark:`<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -18096,7 +18096,7 @@
|
|
|
18096
18096
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M56.1 12.8L53.2 14.5L52.5 13.3L50.8 14.3L50 12.8L47.4 14.3L46.5 12.8L46.2 13L45.3 11.4L44.9 11.7L44 10.2L5.5 32.5L6.7 34.5999L7.1 34.2999L8 35.7999L8.3 35.5999L9.2 37.2L9.6 37L10.2 38L10.3 37.9L10.9 38.9L12.1 41L57.4 15L56.1 12.8ZM72.5 56.5H55.7V58.2H34.4L88.7 26.7999L82.7 16.3L81.5 17L80.7 15.6L67 23.4L67.8 24.8L22.6 51L28.6 61.5L28.8 61.4V64.5999H33.2V69.9H64.6V64.5999H69.3V58.2999H72.3V56.5H72.5Z" fill="#474747"/>
|
|
18097
18097
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M79.5 10H21.3L0 31.2L48.3 89.4L52.2 85.1L100 31.4L79.5 10ZM77.4 15L93.2 31.5L48.5 81.7L6.7 31.5L23.3 15H77.4Z" fill="#606060"/>
|
|
18098
18098
|
</svg>
|
|
18099
|
-
`}}};var
|
|
18099
|
+
`}}};var f=i,s=`
|
|
18100
18100
|
.7bd9d5c2-f372-4334-8686-d18151710c53-tech-stack-icons {
|
|
18101
18101
|
display: inline-block;
|
|
18102
18102
|
}
|
|
@@ -18104,4 +18104,4 @@
|
|
|
18104
18104
|
width: 100%;
|
|
18105
18105
|
height: 100%;
|
|
18106
18106
|
}
|
|
18107
|
-
`,
|
|
18107
|
+
`,L="tech-stack-icons-style",h=({name:C,variant:e="light",className:o,style:t})=>{let n=f[C];if(!n)return console.error(`Icon with name "${C}" not found.`),null;let d=n.svg?.[e];if(!d)return console.error(`SVG variant "${e}" not found for icon "${C}".`),null;if(typeof window<"u"&&!document.getElementById(L)){let l=document.createElement("style");l.id=L,l.innerHTML=s,document.head.appendChild(l)}let p=["7bd9d5c2-f372-4334-8686-d18151710c53-tech-stack-icons",o].filter(Boolean).join(" ");return a.createElement("span",{className:p,style:t,dangerouslySetInnerHTML:{__html:d}})},V=h;export{V as default};
|
package/package.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tech-stack-icons",
|
|
3
|
-
"version": "3.1.
|
|
4
|
-
"type": "module",
|
|
3
|
+
"version": "3.1.5",
|
|
5
4
|
"main": "dist/index.js",
|
|
6
5
|
"types": "dist/index.d.ts",
|
|
7
6
|
"scripts": {
|
|
8
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
-
"build": "npm run build:types && esbuild src/index.tsx --bundle --minify --
|
|
8
|
+
"build": "npm run build:types && esbuild src/index.tsx --bundle --minify --format=esm --target=es2020 --outdir=dist --external:react --external:react-dom",
|
|
10
9
|
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist"
|
|
11
10
|
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist/"
|
|
13
|
+
],
|
|
12
14
|
"keywords": [
|
|
13
15
|
"tech stack icons",
|
|
14
16
|
"icons",
|