platformicons 5.3.1 → 5.3.4

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/README.md CHANGED
@@ -2,3 +2,12 @@ Platformicons
2
2
  =============
3
3
 
4
4
  A set of platform and framework icons from the people behind https://sentry.io.
5
+
6
+ ## Publishing Changes
7
+ Platformicons uses GitHub Actions to publish changes. You don’t need to update the version in `package.json` since that’s done automatically.
8
+
9
+ 1. Make a change but don’t update the version in package.json
10
+ 2. Merge with Master
11
+ 3. Head to the [Release workflow](https://github.com/getsentry/platformicons/actions/workflows/release.yml) and then run the workflow
12
+ 4. This will create an issue in [getsentry/publish](https://github.com/getsentry/publish/issues)
13
+ 5. Add the accepted label to publish
package/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
- var a,t=(a=require("react"))&&"object"==typeof a&&"default"in a?a.default:a;function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var n={android:"android",apple:"apple",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"aws","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",go:"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-vue":"vue",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-awslambda":"aws","python-azurefunctions":"azure","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","python-starlette":"starlette","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",svelte:"svelte",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal"};function r(a){return a.replace(".","-")}function o(a){var t=r(a);return n[t]||(t.includes("-")?i(t):"default")}function i(a){return o(r(a).split("-")[0])}exports.PlatformIcon=function(a){var n,r,s=a.platform,p=a.size,c=void 0===p?20:p,l=a.format,d=void 0===l?"sm":l,u=a.radius,v=void 0===u?3:u,g=a.withLanguageIcon,y=a.languageIconStyles,h=void 0===y?{}:y,f=a.style,j=void 0===f?{}:f,m=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=o(s),x=require("../"+("lg"===d?"svg_80x80":"svg")+"/"+b+".svg"),w=null!=(n=null==x?void 0:x.default)?n:x,k=i(s),q=require("../svg/"+k+".svg"),z=null!=(r=null==q?void 0:q.default)?r:q;return g&&k!==b&&"default"!==k?t.createElement("div",Object.assign({},m,{style:e({position:"relative"},j)}),t.createElement("img",{src:w,width:c,height:c,style:{borderRadius:v+"px"}}),t.createElement("img",{src:z,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},h)})):t.createElement("img",Object.assign({src:w,width:c,height:c},m,{style:e({borderRadius:v+"px"},j)}))},exports.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))};
1
+ var a,t=(a=require("react"))&&"object"==typeof a&&"default"in a?a.default:a;function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var n={android:"android",apple:"apple",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"aws","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",go:"go",godot:"godot",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-ionic":"ionic","javascript-nextjs":"nextjs","javascript-react":"react","javascript-remix":"remix","javascript-svelte":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"aws","node-azurefunctions":"azure","node-connect":"nodejs","node-express":"express","node-gcpfunctions":"gcp","node-koa":"koa",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-awslambda":"aws","python-azurefunctions":"azure","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","python-starlette":"starlette","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react",ruby:"ruby","ruby-rack":"ruby","ruby-rails":"rails","ruby-sinatra":"sinatra",rust:"rust","rust-actix":"actix",scala:"scala",stride3d:"stride3d",swift:"swift",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic"};function r(a){return a.replace(".","-")}function o(a){var t=r(a);return n[t]||(t.includes("-")?i(t):"default")}function i(a){return o(r(a).split("-")[0])}exports.PlatformIcon=function(a){var n,r,s=a.platform,c=a.size,p=void 0===c?20:c,l=a.format,u=void 0===l?"sm":l,d=a.radius,v=void 0===d?3:d,g=a.withLanguageIcon,y=a.languageIconStyles,h=void 0===y?{}:y,f=a.style,j=void 0===f?{}:f,m=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=o(s),x=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+b+".svg"),w=null!=(n=null==x?void 0:x.default)?n:x,k=i(s),q=require("../svg/"+k+".svg"),z=null!=(r=null==q?void 0:q.default)?r:q;return g&&k!==b&&"default"!==k?t.createElement("div",Object.assign({},m,{style:e({position:"relative"},j)}),t.createElement("img",{src:w,width:p,height:p,style:{borderRadius:v+"px"}}),t.createElement("img",{src:z,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},h)})):t.createElement("img",Object.assign({src:w,width:p,height:p},m,{style:e({borderRadius:v+"px"},j)}))},exports.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))};
2
2
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "platformicons",
3
- "version": "5.3.1",
3
+ "version": "5.3.4",
4
4
  "description": "Web Platform and Framework Logo Set",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -39,5 +39,9 @@
39
39
  "@types/node": "*",
40
40
  "@types/react": "^16 || ^17",
41
41
  "@types/react-dom": "^16 || ^17"
42
+ },
43
+ "volta": {
44
+ "node": "16.13.1",
45
+ "yarn": "1.22.5"
42
46
  }
43
47
  }
@@ -56,7 +56,9 @@ export const PLATFORM_TO_ICON = {
56
56
  "javascript-nextjs": "nextjs",
57
57
  "javascript-react": "react",
58
58
  "javascript-remix": "remix",
59
+ "javascript-svelte": "svelte",
59
60
  "javascript-vue": "vue",
61
+ "javascript-wasm": "wasm",
60
62
  ionic: "ionic",
61
63
  kotlin: "kotlin",
62
64
  "kotlin-android": "android",
@@ -106,13 +108,13 @@ export const PLATFORM_TO_ICON = {
106
108
  "rust-actix": "actix",
107
109
  scala: "scala",
108
110
  stride3d: "stride3d",
109
- svelte: "svelte",
110
111
  swift: "swift",
111
112
  unity: "unity",
112
113
  // This will be deprecated in favor of 'unrealengine'
113
114
  ue4: "unreal",
114
115
  unreal: "unreal",
115
116
  unrealengine: "unreal",
117
+ visualbasic: "visual-basic",
116
118
  // Don't add new platforms down here!
117
119
  // Please add them where they belong alphabetically
118
120
  } as const;
@@ -0,0 +1,12 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_1_6)">
3
+ <rect width="20" height="20" fill="#004E8C"/>
4
+ <path d="M20 20L0 0V20H20Z" fill="#00629C"/>
5
+ <path d="M10.5075 5.03953L6.86145 15H5.56768L2 5.03953H3.29377L6.03814 12.9447C6.11655 13.2213 6.19496 13.5375 6.23417 13.8142H6.27338C6.31258 13.498 6.39099 13.2213 6.50861 12.9051L9.29218 5L10.5075 5.03953V5.03953ZM11.9189 15V5.03953H14.7417C15.4866 5 16.1923 5.23715 16.7804 5.67194C17.2901 6.06719 17.5645 6.69961 17.5253 7.33202C17.5253 7.84585 17.3685 8.35968 17.0548 8.79447C16.7412 9.22925 16.3099 9.54546 15.8003 9.66403V9.70356C16.3883 9.74308 16.9764 10.0198 17.4077 10.4545C17.7997 10.9289 18.035 11.5217 17.9958 12.1146C18.035 12.9051 17.6821 13.6561 17.094 14.17C16.4667 14.7233 15.6434 15 14.8201 14.9605H11.9189V15ZM13.0951 6.10672V9.3083H14.2713C14.8201 9.34783 15.3298 9.1502 15.7611 8.83399C16.1139 8.51779 16.3491 8.04348 16.3099 7.52964C16.3099 6.58103 15.6826 6.06719 14.4281 6.06719L13.0951 6.10672V6.10672ZM13.0951 10.336V13.9328H14.6633C15.2122 13.9723 15.8003 13.7747 16.2315 13.4585C16.6236 13.1423 16.8196 12.6285 16.7804 12.1146C16.7804 10.9289 15.9963 10.336 14.3889 10.336H13.0951Z" fill="white"/>
6
+ </g>
7
+ <defs>
8
+ <clipPath id="clip0_1_6">
9
+ <rect width="20" height="20" fill="white"/>
10
+ </clipPath>
11
+ </defs>
12
+ </svg>
package/svg/wasm.svg ADDED
@@ -0,0 +1 @@
1
+ <svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path d="M0 0h20v20H0V0Z" fill="#654FF0"/><path d="M7.817 13.681 6.682 8.066h-.02l-1.227 5.615H3.87L2.1 5.431h1.544L4.7 11.046h.02l1.273-5.615h1.444l1.143 5.684h.02l1.206-5.684h1.516l-1.969 8.25H7.817Zm8.502 0-.527-1.836h-2.778l-.405 1.836h-1.544l1.997-8.25h2.436l2.427 8.25H16.32Z" fill="#fff"/><path d="m13.99 7.464-.673 3.028h2.097l-.774-3.028h-.65Z" fill="#654FF0"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h20v20H0z"/></clipPath></defs></svg>
@@ -0,0 +1,12 @@
1
+ <svg width="80" height="80" viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_1_2)">
3
+ <path d="M80 40C80 51.375 75.25 61.625 67.625 69H67.5C60.375 75.875 50.625 80 40 80C17.875 80 0 62.125 0 40C0 29.375 4.125 19.625 11 12.5C18.375 4.75 28.625 0 40 0C62.125 0 80 17.875 80 40Z" fill="#004E8C"/>
4
+ <path d="M68.75 67.75C68.375 68.125 68 68.625 67.625 69H67.5C60.375 75.875 50.625 80 40 80C17.875 80 0 62.125 0 40C0 29.375 4.125 19.625 11 12.5C11.375 12.125 11.75 11.75 12.25 11.375L68.75 67.75Z" fill="#0064A1"/>
5
+ <path d="M41.625 24.25L30 55.75H25.875L14.5 24.25H18.625L27.375 49.25C27.625 50.125 27.875 51.125 28 52H28.125C28.25 51 28.5 50.125 28.875 49.125L37.75 24.125L41.625 24.25V24.25ZM46.125 55.75V24.25H55.125C57.5 24.125 59.75 24.875 61.625 26.25C63.25 27.5 64.125 29.5 64 31.5C64 33.125 63.5 34.75 62.5 36.125C61.5 37.5 60.125 38.5 58.5 38.875V39C60.375 39.125 62.25 40 63.625 41.375C64.875 42.875 65.625 44.75 65.5 46.625C65.625 49.125 64.5 51.5 62.625 53.125C60.625 54.875 58 55.75 55.375 55.625H46.125V55.75ZM49.875 27.625V37.75H53.625C55.375 37.875 57 37.25 58.375 36.25C59.5 35.25 60.25 33.75 60.125 32.125C60.125 29.125 58.125 27.5 54.125 27.5L49.875 27.625V27.625ZM49.875 41V52.375H54.875C56.625 52.5 58.5 51.875 59.875 50.875C61.125 49.875 61.75 48.25 61.625 46.625C61.625 42.875 59.125 41 54 41H49.875Z" fill="white"/>
6
+ </g>
7
+ <defs>
8
+ <clipPath id="clip0_1_2">
9
+ <rect width="80" height="80" fill="white"/>
10
+ </clipPath>
11
+ </defs>
12
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg width="81" height="80" viewBox="0 0 81 80" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_1_36)">
3
+ <path d="M50.1436 0C50.1436 0.141238 50.1436 0.282475 50.1436 0.431147C50.1436 2.86398 49.1771 5.19717 47.4568 6.91745C45.7366 8.63772 43.4034 9.60416 40.9705 9.60416C38.5377 9.60416 36.2045 8.63772 34.4842 6.91745C32.764 5.19717 31.7975 2.86398 31.7975 0.431147C31.7975 0.282475 31.7975 0.141238 31.7975 0H0.992841V80H80.9928V0H50.1436ZM39.1716 71.4365L35.2764 52.1613H35.2095L30.9947 71.4365H25.6277L19.547 43.1147H24.8471L28.4747 62.3899H28.5416L32.9126 43.1147H37.8707L41.7957 62.6278H41.8626L46.0031 43.1147H51.2066L44.4495 71.4365H39.1716ZM68.3558 71.4365L66.5494 65.1329H57.0122L55.6221 71.4365H50.322L57.1757 43.1147H65.5385L73.8715 71.4365H68.3558Z" fill="#654FF0"/>
4
+ <path d="M60.3647 50.0948L58.0529 60.4869H65.2486L62.5948 50.0948H60.3647Z" fill="#654FF0"/>
5
+ </g>
6
+ <defs>
7
+ <clipPath id="clip0_1_36">
8
+ <rect width="80" height="80" fill="white" transform="translate(0.992841)"/>
9
+ </clipPath>
10
+ </defs>
11
+ </svg>