platformicons
Advanced tools
Comparing version 3.5.2 to 3.7.6
@@ -1,1 +0,3 @@ | ||
export { default } from "./platformIcon"; | ||
export { default as PlatformIcon } from "./platformIcon"; | ||
export { preloadIcons } from "./preload"; | ||
export declare const platforms: string[]; |
@@ -1,2 +0,2 @@ | ||
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o])}return a}).apply(this,arguments)}var e={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-awslambda":"aws","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-csharp":"csharp","dotnet-blazor":"blazor","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-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",kotlin:"kotlin","kotlin-android":"android",native:"nativec",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-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","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"};function o(a){return a.replace(".","-")}function r(a){var t=o(a);return e[t]||(t.includes("-")?n(t):"default")}function n(a){return r(o(a).split("-")[0])}export default function(e){var o=e.platform,s=e.size,i=void 0===s?20:s,p=e.format,c=void 0===p?"sm":p,l=e.radius,d=void 0===l?3:l,u=e.withLanguageIcon,y=e.languageIconStyles,v=void 0===y?{}:y,g=e.style,h=void 0===g?{}:g,f=function(a,t){if(null==a)return{};var e,o,r={},n=Object.keys(a);for(o=0;o<n.length;o++)t.indexOf(e=n[o])>=0||(r[e]=a[e]);return r}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=r(o),b=require("../"+("lg"===c?"svg_80x80":"svg")+"/"+j+".svg"),m=n(o),x=require("../svg/"+m+".svg");return u&&m!==j&&"default"!==m?a.createElement("div",Object.assign({},f,{style:t({position:"relative"},h)}),a.createElement("img",{src:b,width:i,height:i,style:{borderRadius:d+"px"}}),a.createElement("img",{src:x,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},v)})):a.createElement("img",Object.assign({src:b,width:i,height:i},f,{style:t({borderRadius:d+"px"},h)}))} | ||
import a from"react";function t(){return(t=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 e={android:"android",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-astro":"astro","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-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",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",windows:"windows"};function n(a){return a.replace(".","-")}function r(a){var t=n(a);return e[t]||(t.includes("-")?o(t):"default")}function o(a){return r(n(a).split("-")[0])}var s=function(e){var n,s,i=e.platform,p=e.size,c=void 0===p?20:p,l=e.format,u=void 0===l?"sm":l,d=e.radius,h=void 0===d?3:d,y=e.withLanguageIcon,v=e.languageIconStyles,g=void 0===v?{}:v,f=e.style,b=void 0===f?{}:f,j=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}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),m=r(i),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+m+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=o(i),q=require("../svg/"+k+".svg"),O=null!=(s=null==q?void 0:q.default)?s:q;return y&&k!==m&&"default"!==k?a.createElement("div",Object.assign({},j,{style:t({position:"relative"},b)}),a.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),a.createElement("img",{src:O,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},g)})):a.createElement("img",Object.assign({src:x,width:c,height:c},j,{style:t({borderRadius:h+"px"},b)}))};function i(a){var t,n=(a?[a]:["lg","sm"]).map(function(a){return Object.values(e).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,n.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}var p=Object.keys(e);export{s as PlatformIcon,p as platforms,i as preloadIcons}; | ||
//# sourceMappingURL=index.esm.js.map |
@@ -1,2 +0,2 @@ | ||
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 o in e)Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o])}return a}).apply(this,arguments)}var o={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-awslambda":"aws","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-csharp":"csharp","dotnet-blazor":"blazor","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-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",kotlin:"kotlin","kotlin-android":"android",native:"nativec",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-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","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"};function r(a){return a.replace(".","-")}function n(a){var t=r(a);return o[t]||(t.includes("-")?s(t):"default")}function s(a){return n(r(a).split("-")[0])}module.exports=function(a){var o=a.platform,r=a.size,i=void 0===r?20:r,p=a.format,c=void 0===p?"sm":p,l=a.radius,d=void 0===l?3:l,u=a.withLanguageIcon,y=a.languageIconStyles,v=void 0===y?{}:y,g=a.style,h=void 0===g?{}:g,f=function(a,t){if(null==a)return{};var e,o,r={},n=Object.keys(a);for(o=0;o<n.length;o++)t.indexOf(e=n[o])>=0||(r[e]=a[e]);return r}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=n(o),b=require("../"+("lg"===c?"svg_80x80":"svg")+"/"+j+".svg"),m=s(o),x=require("../svg/"+m+".svg");return u&&m!==j&&"default"!==m?t.createElement("div",Object.assign({},f,{style:e({position:"relative"},h)}),t.createElement("img",{src:b,width:i,height:i,style:{borderRadius:d+"px"}}),t.createElement("img",{src:x,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},v)})):t.createElement("img",Object.assign({src:b,width:i,height:i},f,{style:e({borderRadius:d+"px"},h)}))}; | ||
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",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-astro":"astro","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-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",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",windows:"windows"};function o(a){return a.replace(".","-")}function r(a){var t=o(a);return n[t]||(t.includes("-")?s(t):"default")}function s(a){return r(o(a).split("-")[0])}var i=Object.keys(n);exports.PlatformIcon=function(a){var n,o,i=a.platform,p=a.size,c=void 0===p?20:p,l=a.format,u=void 0===l?"sm":l,d=a.radius,h=void 0===d?3:d,y=a.withLanguageIcon,v=a.languageIconStyles,g=void 0===v?{}:v,f=a.style,b=void 0===f?{}:f,j=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),m=r(i),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+m+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=s(i),q=require("../svg/"+k+".svg"),O=null!=(o=null==q?void 0:q.default)?o:q;return y&&k!==m&&"default"!==k?t.createElement("div",Object.assign({},j,{style:e({position:"relative"},b)}),t.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),t.createElement("img",{src:O,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},g)})):t.createElement("img",Object.assign({src:x,width:c,height:c},j,{style:e({borderRadius:h+"px"},b)}))},exports.platforms=i,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}))}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o])}return a}).apply(this,arguments)}const e={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-awslambda":"aws","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-csharp":"csharp","dotnet-blazor":"blazor","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-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",kotlin:"kotlin","kotlin-android":"android",native:"nativec",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-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","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"};function o(a){return a.replace(".","-")}function n(a){const t=o(a);return e[t]||(t.includes("-")?r(t):"default")}function r(a){const[t]=o(a).split("-");return n(t)}export default e=>{let{platform:o,size:s=20,format:p="sm",radius:i=3,withLanguageIcon:c,languageIconStyles:l={},style:d={}}=e,u=function(a,t){if(null==a)return{};var e,o,n={},r=Object.keys(a);for(o=0;o<r.length;o++)t.indexOf(e=r[o])>=0||(n[e]=a[e]);return n}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]);const y=n(o),g=require(`../${"lg"===p?"svg_80x80":"svg"}/${y}.svg`),h=r(o),v=require(`../svg/${h}.svg`);return c&&h!==y&&"default"!==h?a.createElement("div",Object.assign({},u,{style:t({position:"relative"},d)}),a.createElement("img",{src:g,width:s,height:s,style:{borderRadius:i+"px"}}),a.createElement("img",{src:v,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},l)})):a.createElement("img",Object.assign({src:g,width:s,height:s},u,{style:t({borderRadius:i+"px"},d)}))}; | ||
import a from"react";function t(){return(t=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)}const e={android:"android",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-astro":"astro","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-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",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",windows:"windows"};function n(a){return a.replace(".","-")}function o(a){const t=n(a);return e[t]||(t.includes("-")?r(t):"default")}function r(a){const[t]=n(a).split("-");return o(t)}const s=e=>{var n,s;let{platform:i,size:c=20,format:p="sm",radius:l=3,withLanguageIcon:u,languageIconStyles:d={},style:h={}}=e,y=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]);const g=o(i),v=require(`../${"lg"===p?"svg_80x80":"svg"}/${g}.svg`),f=null!=(n=null==v?void 0:v.default)?n:v,b=r(i),j=require(`../svg/${b}.svg`),m=null!=(s=null==j?void 0:j.default)?s:j;return u&&b!==g&&"default"!==b?a.createElement("div",Object.assign({},y,{style:t({position:"relative"},h)}),a.createElement("img",{src:f,width:c,height:c,style:{borderRadius:l+"px"}}),a.createElement("img",{src:m,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},d)})):a.createElement("img",Object.assign({src:f,width:c,height:c},y,{style:t({borderRadius:l+"px"},h)}))};function i(a){var t;const n=(a?[a]:["lg","sm"]).map(a=>Object.values(e).map(t=>require(`../${"lg"===a?"svg_80x80":"svg"}/${t}.svg`))).flat();null==(t=document.querySelector("head"))||t.append(...n.map(a=>{const t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}const c=Object.keys(e);export{s as PlatformIcon,c as platforms,i as preloadIcons}; | ||
//# sourceMappingURL=index.modern.js.map |
@@ -1,2 +0,2 @@ | ||
!function(t,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("react")):"function"==typeof define&&define.amd?define(["react"],a):(t=t||self).platformicons=a(t.react)}(this,function(t){function a(){return(a=Object.assign||function(t){for(var a=1;a<arguments.length;a++){var e=arguments[a];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t}).apply(this,arguments)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var e={android:"android",apple:"apple",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-awslambda":"aws","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-csharp":"csharp","dotnet-blazor":"blazor","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-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-nextjs":"nextjs","javascript-react":"react","javascript-vue":"vue",kotlin:"kotlin","kotlin-android":"android",native:"nativec",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-flask":"flask","python-gcpfunctions":"gcp","python-pylons":"python","python-pyramid":"pyramid","python-pythonawslambda":"aws","python-rq":"redis","python-sanic":"python","python-serverless":"serverless","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"};function o(t){return t.replace(".","-")}function n(t){var a=o(t);return e[a]||(a.includes("-")?r(a):"default")}function r(t){return n(o(t).split("-")[0])}return function(e){var o=e.platform,s=e.size,i=void 0===s?20:s,p=e.format,c=void 0===p?"sm":p,l=e.radius,d=void 0===l?3:l,u=e.withLanguageIcon,y=e.languageIconStyles,h=void 0===y?{}:y,v=e.style,g=void 0===v?{}:v,f=function(t,a){if(null==t)return{};var e,o,n={},r=Object.keys(t);for(o=0;o<r.length;o++)a.indexOf(e=r[o])>=0||(n[e]=t[e]);return n}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=n(o),b=require("../"+("lg"===c?"svg_80x80":"svg")+"/"+j+".svg"),m=r(o),x=require("../svg/"+m+".svg");return u&&m!==j&&"default"!==m?t.createElement("div",Object.assign({},f,{style:a({position:"relative"},g)}),t.createElement("img",{src:b,width:i,height:i,style:{borderRadius:d+"px"}}),t.createElement("img",{src:x,style:a({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},h)})):t.createElement("img",Object.assign({src:b,width:i,height:i},f,{style:a({borderRadius:d+"px"},g)}))}}); | ||
!function(a,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((a=a||self).platformicons={},a.react)}(this,function(a,t){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)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n={android:"android",apple:"apple",bun:"bun",capacitor:"capacitor",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",electron:"electron",elixir:"elixir",flutter:"flutter",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo",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-astro":"astro","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-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",linux:"linux",native:"nativec","native-qt":"qt",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-gcpfunctions":"gcp-functions","node-koa":"koa","node-serverlesscloud":"serverless",perl:"perl",php:"php","php-laravel":"laravel","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qt:"qt","react-native":"react-native",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",windows:"windows"};function o(a){return a.replace(".","-")}function r(a){var t=o(a);return n[t]||(t.includes("-")?s(t):"default")}function s(a){return r(o(a).split("-")[0])}var i=Object.keys(n);a.PlatformIcon=function(a){var n,o,i=a.platform,p=a.size,c=void 0===p?20:p,l=a.format,u=void 0===l?"sm":l,d=a.radius,h=void 0===d?3:d,y=a.withLanguageIcon,v=a.languageIconStyles,g=void 0===v?{}:v,f=a.style,b=void 0===f?{}:f,m=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),j=r(i),w=require("../"+("lg"===u?"svg_80x80":"svg")+"/"+j+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=s(i),q=require("../svg/"+k+".svg"),O=null!=(o=null==q?void 0:q.default)?o:q;return y&&k!==j&&"default"!==k?t.createElement("div",Object.assign({},m,{style:e({position:"relative"},b)}),t.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),t.createElement("img",{src:O,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},g)})):t.createElement("img",Object.assign({src:x,width:c,height:c},m,{style:e({borderRadius:h+"px"},b)}))},a.platforms=i,a.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}))}}); | ||
//# sourceMappingURL=index.umd.js.map |
import React from "react"; | ||
export declare const PLATFORM_TO_ICON: { | ||
readonly android: "android"; | ||
readonly apple: "apple"; | ||
readonly bun: "bun"; | ||
readonly capacitor: "capacitor"; | ||
readonly clojure: "clojure"; | ||
readonly cocoa: "apple"; | ||
readonly "cocoa-objc": "apple"; | ||
readonly "cocoa-swift": "swift"; | ||
readonly cordova: "cordova"; | ||
readonly cloudflare: "cloudflare"; | ||
readonly cpp: "cpp"; | ||
readonly cryengine: "cryengine"; | ||
readonly csharp: "csharp"; | ||
readonly "csharp-aspnetcore": "csharp"; | ||
readonly dart: "dart"; | ||
readonly default: "default"; | ||
readonly dotnet: "dotnet"; | ||
readonly "dotnet-aspnetcore": "dotnet"; | ||
readonly "dotnet-aspnet": "dotnet"; | ||
readonly "dotnet-awslambda": "awslambda"; | ||
readonly "dotnet-blazor": "blazor"; | ||
readonly "dotnet-csharp": "csharp"; | ||
readonly "dotnet-gcpfunctions": "gcp-functions"; | ||
readonly "dotnet-maui": "maui"; | ||
readonly "dotnet-uno": "uno"; | ||
readonly "dotnet-xamarin": "xamarin"; | ||
readonly dotnetcore: "dotnetcore"; | ||
readonly dotnetfx: "dotnetfx"; | ||
readonly electron: "electron"; | ||
readonly elixir: "elixir"; | ||
readonly flutter: "flutter"; | ||
readonly fsharp: "fsharp"; | ||
readonly git: "git"; | ||
readonly go: "go"; | ||
readonly "go-echo": "echo"; | ||
readonly godot: "godot"; | ||
readonly java: "java"; | ||
readonly "java-appengine": "app-engine"; | ||
readonly "java-android": "android"; | ||
readonly "java-log4j": "java"; | ||
readonly "java-log4j2": "java"; | ||
readonly "java-logback": "logback"; | ||
readonly "java-logging": "java"; | ||
readonly "java-spring": "spring"; | ||
readonly "java-spring-boot": "springboot"; | ||
readonly javascript: "javascript"; | ||
readonly "javascript-astro": "astro"; | ||
readonly "javascript-angular": "angularjs"; | ||
readonly "javascript-angularjs": "angularjs"; | ||
readonly "javascript-backbone": "backbone"; | ||
readonly "javascript-browser": "javascript"; | ||
readonly "javascript-capacitor": "capacitor"; | ||
readonly "javascript-cordova": "cordova"; | ||
readonly "javascript-electron": "electron"; | ||
readonly "javascript-ember": "ember"; | ||
readonly "javascript-gatsby": "gatsby"; | ||
readonly "javascript-ionic": "ionic"; | ||
readonly "javascript-nextjs": "nextjs"; | ||
readonly "javascript-react": "react"; | ||
readonly "javascript-remix": "remix"; | ||
readonly "javascript-svelte": "svelte"; | ||
readonly "javascript-sveltekit": "svelte"; | ||
readonly "javascript-vue": "vue"; | ||
readonly "javascript-wasm": "wasm"; | ||
readonly ionic: "ionic"; | ||
readonly kotlin: "kotlin"; | ||
readonly "kotlin-android": "android"; | ||
readonly linux: "linux"; | ||
readonly native: "nativec"; | ||
readonly "native-qt": "qt"; | ||
readonly node: "nodejs"; | ||
readonly "node-awslambda": "awslambda"; | ||
readonly "node-azurefunctions": "azure-functions"; | ||
readonly "node-connect": "connect"; | ||
readonly "node-express": "express"; | ||
readonly "node-gcpfunctions": "gcp-functions"; | ||
readonly "node-koa": "koa"; | ||
readonly "node-serverlesscloud": "serverless"; | ||
readonly perl: "perl"; | ||
readonly php: "php"; | ||
readonly "php-laravel": "laravel"; | ||
readonly "php-monolog": "php"; | ||
readonly "php-symfony2": "symfony"; | ||
readonly "php-symfony": "symfony"; | ||
readonly python: "python"; | ||
readonly "python-aiohttp": "aiohttp"; | ||
readonly "python-airflow": "apache-airflow"; | ||
readonly "python-ariadne": "ariadne"; | ||
readonly "python-asyncpg": "postgresql"; | ||
readonly "python-awslambda": "awslambda"; | ||
readonly "python-azurefunctions": "azure-functions"; | ||
readonly "python-beam": "apache-beam"; | ||
readonly "python-boto3": "aws"; | ||
readonly "python-bottle": "bottle"; | ||
readonly "python-celery": "celery"; | ||
readonly "python-chalice": "chalice"; | ||
readonly "python-clickhouse-driver": "clickhouse"; | ||
readonly "python-django": "django"; | ||
readonly "python-falcon": "falcon"; | ||
readonly "python-fastapi": "fastapi"; | ||
readonly "python-flask": "flask"; | ||
readonly "python-gcpfunctions": "gcp-functions"; | ||
readonly "python-gnu_backtrace": "gnu"; | ||
readonly "python-gql": "graphql"; | ||
readonly "python-graphene": "graphene"; | ||
readonly "python-grpc": "grpc"; | ||
readonly "python-httpx": "httpx"; | ||
readonly "python-huey": "huey"; | ||
readonly "python-loguru": "loguru"; | ||
readonly "python-pylons": "python"; | ||
readonly "python-pymongo": "mongodb"; | ||
readonly "python-pyramid": "pyramid"; | ||
readonly "python-pythonawslambda": "awslambda"; | ||
readonly "python-quart": "quart"; | ||
readonly "python-redis": "redis"; | ||
readonly "python-rq": "redis"; | ||
readonly "python-sanic": "sanic"; | ||
readonly "python-serverless": "serverless"; | ||
readonly "python-starlette": "starlette"; | ||
readonly "python-strawberry": "strawberry"; | ||
readonly "python-spark": "apache-spark"; | ||
readonly "python-sqlalchemy": "sqlalchemy"; | ||
readonly "python-tornado": "tornado"; | ||
readonly "python-tryton": "tryton"; | ||
readonly qt: "qt"; | ||
readonly "react-native": "react-native"; | ||
readonly ruby: "ruby"; | ||
readonly "ruby-rack": "ruby"; | ||
readonly "ruby-rails": "rails"; | ||
readonly "ruby-sinatra": "sinatra"; | ||
readonly rust: "rust"; | ||
readonly "rust-actix": "actix"; | ||
readonly scala: "scala"; | ||
readonly stride3d: "stride3d"; | ||
readonly swift: "swift"; | ||
readonly unity: "unity"; | ||
readonly ue4: "unreal"; | ||
readonly unreal: "unreal"; | ||
readonly unrealengine: "unreal"; | ||
readonly visualbasic: "visual-basic"; | ||
readonly windows: "windows"; | ||
}; | ||
declare type Props = React.HTMLAttributes<HTMLDivElement | HTMLImageElement> & { | ||
@@ -3,0 +146,0 @@ platform: string; |
{ | ||
"name": "platformicons", | ||
"version": "3.5.2", | ||
"description": "Web platform and framework icon set.", | ||
"version": "3.7.6", | ||
"description": "Web Platform and Framework Logo Set", | ||
"main": "build/index.js", | ||
"types": "build/index.d.ts", | ||
"files": [ | ||
"build/", | ||
"svg/", | ||
"svg_80x80/" | ||
], | ||
"source": "src/index.tsx", | ||
@@ -28,16 +34,18 @@ "repository": { | ||
"peerDependencies": { | ||
"react": "^16 || ^17", | ||
"react-dom": "^16 || ^17" | ||
"react": "*" | ||
}, | ||
"devDependencies": { | ||
"microbundle": "^0.12.4", | ||
"react": "^16 || ^17", | ||
"react-dom": "^16 || ^17", | ||
"react": "^17", | ||
"react-dom": "^17", | ||
"typescript": "^4.0.2" | ||
}, | ||
"dependencies": { | ||
"@types/react": "^16 || ^17", | ||
"@types/react-dom": "^16 || ^17", | ||
"@types/node": "*" | ||
"@types/node": "*", | ||
"@types/react": "*" | ||
}, | ||
"volta": { | ||
"node": "16.13.1", | ||
"yarn": "1.22.5" | ||
} | ||
} |
@@ -1,4 +0,20 @@ | ||
Platformicons | ||
============= | ||
# Platformicons | ||
A set of platform and framework icons from the people behind https://sentry.io. | ||
## SVG Versions | ||
There are two kinds of icons in this collection: | ||
- The icons in `/svg` are for smaller rendering sizes. They can have a solid background to achieve high contrast to make them easier to "read" in smaller sizes. | ||
- The icons in `/svg_80x80` are for bigger rendering sizes. They can have a transparent background. | ||
## Publishing Changes | ||
Platformicons uses GitHub Actions to publish changes. You don’t need to update the version in `package.json` since that’s done automatically. | ||
1. Make a change but don’t update the version in package.json | ||
2. Merge with Master | ||
3. Head to the [Release workflow](https://github.com/getsentry/platformicons/actions/workflows/release.yml) and then run the workflow | ||
4. This will create an issue in [getsentry/publish](https://github.com/getsentry/publish/issues) | ||
5. Add the accepted label to publish |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
857850
3
243
21
251
12
1
+ Added@types/react@19.0.4(transitive)
+ Addedreact@19.0.0(transitive)
- Removed@types/react-dom@^16 || ^17
- Removed@types/prop-types@15.7.14(transitive)
- Removed@types/react@17.0.83(transitive)
- Removed@types/react-dom@17.0.26(transitive)
- Removed@types/scheduler@0.16.8(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedreact@17.0.2(transitive)
- Removedreact-dom@17.0.2(transitive)
- Removedscheduler@0.20.2(transitive)
Updated@types/react@*