Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-tech-stack

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tech-stack - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

dist/cjs/index.js

@@ -15,3 +15,3 @@ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),e=function(){return e=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},e.apply(this,arguments)};

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */!function(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}}('/*! tailwindcss v3.0.23 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mb-4{margin-bottom:1rem}.mr-4{margin-right:1rem}.flex{display:flex}.table{display:table}.grid{display:grid}.h-8{height:2rem}.w-8{width:2rem}.w-10{width:2.5rem}.max-w-xs{max-width:20rem}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.rounded{border-radius:.25rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.align-top{vertical-align:top}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-medium{font-weight:500}.text-neutral-800{--tw-text-opacity:1;color:rgb(38 38 38/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:-translate-y-1:hover{--tw-translate-y:-0.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}@media (min-width:768px){.md\\:flex{display:flex}.md\\:flex-wrap{flex-wrap:wrap}}');var r=function(r){var o=t.jsx("div",{});return r.logo&&(o=t.jsx("div",e({className:"w-8 h-8"},{children:t.jsx("img",{src:r.logo})}))),t.jsxs("div",e({className:"md:flex md:flex-wrap grid place-items-center"},{children:[o,t.jsx("div",e({className:"text-neutral-800 px-1"},{children:r.name}))]}))},o=function(o,a){var i="".concat(o[0].type,"-").concat(o[0].status);return t.jsx("div",e({className:"flex flex-wrap"},{children:o.filter((function(t){return t.status==a})).map((function(o){return function(o){return o.url?t.jsx("a",e({href:o.url,className:"shadow-md \\\n transition ease-in-out duration-300 \\\n hover:-translate-y-1 hover:shadow-xl \\\n rounded bg-white max-w-xs p-4 mb-4 mr-4 space-x-2 > * + *"},{children:r(o)}),o.name):t.jsx("div",e({className:"rounded bg-white max-w-xs p-4 mb-4 mr-4 space-x-2 > * + *"},{children:r(o)}),o.name)}(o)}))}),i)};exports.Stack=function(r){var a=r.items,i=r.headers,n=void 0===i?["use","investigate","deprecated"]:i,s=r.bgColorFrom,l=void 0===s?"#15803D":s,d=r.bgColorTo,c=void 0===d?"#ECFCCB":d,p=r.headerColor,w=void 0===p?"#FFFFFF":p,h=r.typeColor,m=void 0===h?"#FFFFFF":h,u=function(t){for(var e={},r=0,o=t;r<o.length;r++){var a=o[r];a.type in e?e[a.type].push(a):e[a.type]=[a]}return e}(a),x=Object.keys(u);return t.jsx("div",{children:t.jsxs("table",e({className:"rounded bg-gradient-to-r",style:{backgroundImage:"linear-gradient(to right, ".concat(l,", ").concat(c,")")}},{children:[t.jsx("thead",{children:t.jsxs("tr",e({className:"font-medium text-lg",style:{color:w}},{children:[t.jsx("td",{className:"w-10 pt-4"}),n.map((function(r){return t.jsx("td",e({className:"pt-4"},{children:r.charAt(0).toUpperCase()+r.slice(1)}),r)}))]}))}),t.jsx("tbody",{children:x.map((function(r){return function(r,a,i){if(0==r.length)return t.jsx("tr",{});var n=r[0].type;return t.jsxs("tr",{children:[t.jsx("td",e({className:"p-4 text-center",style:{writingMode:"sideways-lr",color:i}},{children:n})),a.map((function(a){return t.jsx("td",e({className:"p-4 align-top"},{children:o(r,a)}),a)}))]},n)}(u[r],n,m)}))})]}))})};
***************************************************************************** */!function(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}}('/*! tailwindcss v3.0.23 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mb-4{margin-bottom:1rem}.mr-4{margin-right:1rem}.flex{display:flex}.table{display:table}.grid{display:grid}.h-8{height:2rem}.w-8{width:2rem}.w-10{width:2.5rem}.max-w-xs{max-width:20rem}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.rounded{border-radius:.25rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.align-top{vertical-align:top}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-medium{font-weight:500}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:-translate-y-1:hover{--tw-translate-y:-0.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}@media (min-width:768px){.md\\:flex{display:flex}.md\\:flex-wrap{flex-wrap:wrap}}');var r=function(r){var o=t.jsx("div",{});return r.logo&&(o=t.jsx("div",e({className:"w-8 h-8"},{children:t.jsx("img",{src:r.logo})}))),t.jsxs("div",e({className:"md:flex md:flex-wrap grid place-items-center"},{children:[o,t.jsx("div",e({className:"px-1"},{children:r.name}))]}))},o=function(o,a){var i="".concat(o[0].type,"-").concat(o[0].status);return t.jsx("div",e({className:"flex flex-wrap"},{children:o.filter((function(t){return t.status==a})).map((function(o){return function(o){var a="#262626",i="#FFFFFF";return o.color&&(a=o.color),o.bgColor&&(i=o.bgColor),o.url?t.jsx("a",e({href:o.url,className:"shadow-md \\\n transition ease-in-out duration-300 \\\n hover:-translate-y-1 hover:shadow-xl \\\n rounded bg-white max-w-xs p-4 mb-4 mr-4 space-x-2 > * + *",style:{color:a,backgroundColor:i}},{children:r(o)}),o.name):t.jsx("div",e({className:"rounded bg-white max-w-xs p-4 mb-4 mr-4 space-x-2 > * + *",style:{color:a,backgroundColor:i}},{children:r(o)}),o.name)}(o)}))}),i)};exports.Stack=function(r){var a=r.items,i=r.headers,n=void 0===i?["use","investigate","deprecated"]:i,s=r.bgColorFrom,l=void 0===s?"#15803D":s,d=r.bgColorTo,c=void 0===d?"#ECFCCB":d,p=r.headerColor,w=void 0===p?"#FFFFFF":p,h=r.typeColor,m=void 0===h?"#FFFFFF":h,u=function(t){for(var e={},r=0,o=t;r<o.length;r++){var a=o[r];a.type in e?e[a.type].push(a):e[a.type]=[a]}return e}(a),b=Object.keys(u);return t.jsx("div",{children:t.jsxs("table",e({className:"rounded bg-gradient-to-r",style:{backgroundImage:"linear-gradient(to right, ".concat(l,", ").concat(c,")")}},{children:[t.jsx("thead",{children:t.jsxs("tr",e({className:"font-medium text-lg",style:{color:w}},{children:[t.jsx("td",{className:"w-10 pt-4"}),n.map((function(r){return t.jsx("td",e({className:"pt-4"},{children:r.charAt(0).toUpperCase()+r.slice(1)}),r)}))]}))}),t.jsx("tbody",{children:b.map((function(r){return function(r,a,i){if(0==r.length)return t.jsx("tr",{});var n=r[0].type;return t.jsxs("tr",{children:[t.jsx("td",e({className:"p-4 text-center",style:{writingMode:"sideways-lr",color:i}},{children:n})),a.map((function(a){return t.jsx("td",e({className:"p-4 align-top"},{children:o(r,a)}),a)}))]},n)}(u[r],n,m)}))})]}))})};
//# sourceMappingURL=index.js.map

@@ -7,2 +7,4 @@ export interface Item {

url?: string;
bgColor?: string;
color?: string;
}

@@ -9,0 +11,0 @@ export interface StackMapbyType {

@@ -15,3 +15,3 @@ import{jsx as t,jsxs as e}from"react/jsx-runtime";

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var r=function(){return r=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},r.apply(this,arguments)};!function(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}}('/*! tailwindcss v3.0.23 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mb-4{margin-bottom:1rem}.mr-4{margin-right:1rem}.flex{display:flex}.table{display:table}.grid{display:grid}.h-8{height:2rem}.w-8{width:2rem}.w-10{width:2.5rem}.max-w-xs{max-width:20rem}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.rounded{border-radius:.25rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.align-top{vertical-align:top}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-medium{font-weight:500}.text-neutral-800{--tw-text-opacity:1;color:rgb(38 38 38/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:-translate-y-1:hover{--tw-translate-y:-0.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}@media (min-width:768px){.md\\:flex{display:flex}.md\\:flex-wrap{flex-wrap:wrap}}');var o=function(o){var a=t("div",{});return o.logo&&(a=t("div",r({className:"w-8 h-8"},{children:t("img",{src:o.logo})}))),e("div",r({className:"md:flex md:flex-wrap grid place-items-center"},{children:[a,t("div",r({className:"text-neutral-800 px-1"},{children:o.name}))]}))},a=function(e,a){var i="".concat(e[0].type,"-").concat(e[0].status);return t("div",r({className:"flex flex-wrap"},{children:e.filter((function(t){return t.status==a})).map((function(e){return function(e){return e.url?t("a",r({href:e.url,className:"shadow-md \\\n transition ease-in-out duration-300 \\\n hover:-translate-y-1 hover:shadow-xl \\\n rounded bg-white max-w-xs p-4 mb-4 mr-4 space-x-2 > * + *"},{children:o(e)}),e.name):t("div",r({className:"rounded bg-white max-w-xs p-4 mb-4 mr-4 space-x-2 > * + *"},{children:o(e)}),e.name)}(e)}))}),i)},i=function(o){var i=o.items,n=o.headers,s=void 0===n?["use","investigate","deprecated"]:n,l=o.bgColorFrom,d=void 0===l?"#15803D":l,c=o.bgColorTo,p=void 0===c?"#ECFCCB":c,w=o.headerColor,h=void 0===w?"#FFFFFF":w,m=o.typeColor,u=void 0===m?"#FFFFFF":m,b=function(t){for(var e={},r=0,o=t;r<o.length;r++){var a=o[r];a.type in e?e[a.type].push(a):e[a.type]=[a]}return e}(i),g=Object.keys(b);return t("div",{children:e("table",r({className:"rounded bg-gradient-to-r",style:{backgroundImage:"linear-gradient(to right, ".concat(d,", ").concat(p,")")}},{children:[t("thead",{children:e("tr",r({className:"font-medium text-lg",style:{color:h}},{children:[t("td",{className:"w-10 pt-4"}),s.map((function(e){return t("td",r({className:"pt-4"},{children:e.charAt(0).toUpperCase()+e.slice(1)}),e)}))]}))}),t("tbody",{children:g.map((function(o){return function(o,i,n){if(0==o.length)return t("tr",{});var s=o[0].type;return e("tr",{children:[t("td",r({className:"p-4 text-center",style:{writingMode:"sideways-lr",color:n}},{children:s})),i.map((function(e){return t("td",r({className:"p-4 align-top"},{children:a(o,e)}),e)}))]},s)}(b[o],s,u)}))})]}))})};export{i as Stack};
***************************************************************************** */var r=function(){return r=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},r.apply(this,arguments)};!function(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}}('/*! tailwindcss v3.0.23 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mb-4{margin-bottom:1rem}.mr-4{margin-right:1rem}.flex{display:flex}.table{display:table}.grid{display:grid}.h-8{height:2rem}.w-8{width:2rem}.w-10{width:2.5rem}.max-w-xs{max-width:20rem}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.rounded{border-radius:.25rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.align-top{vertical-align:top}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-medium{font-weight:500}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:-translate-y-1:hover{--tw-translate-y:-0.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}@media (min-width:768px){.md\\:flex{display:flex}.md\\:flex-wrap{flex-wrap:wrap}}');var o=function(o){var a=t("div",{});return o.logo&&(a=t("div",r({className:"w-8 h-8"},{children:t("img",{src:o.logo})}))),e("div",r({className:"md:flex md:flex-wrap grid place-items-center"},{children:[a,t("div",r({className:"px-1"},{children:o.name}))]}))},a=function(e,a){var i="".concat(e[0].type,"-").concat(e[0].status);return t("div",r({className:"flex flex-wrap"},{children:e.filter((function(t){return t.status==a})).map((function(e){return function(e){var a="#262626",i="#FFFFFF";return e.color&&(a=e.color),e.bgColor&&(i=e.bgColor),e.url?t("a",r({href:e.url,className:"shadow-md \\\n transition ease-in-out duration-300 \\\n hover:-translate-y-1 hover:shadow-xl \\\n rounded bg-white max-w-xs p-4 mb-4 mr-4 space-x-2 > * + *",style:{color:a,backgroundColor:i}},{children:o(e)}),e.name):t("div",r({className:"rounded bg-white max-w-xs p-4 mb-4 mr-4 space-x-2 > * + *",style:{color:a,backgroundColor:i}},{children:o(e)}),e.name)}(e)}))}),i)},i=function(o){var i=o.items,n=o.headers,s=void 0===n?["use","investigate","deprecated"]:n,l=o.bgColorFrom,d=void 0===l?"#15803D":l,c=o.bgColorTo,p=void 0===c?"#ECFCCB":c,w=o.headerColor,h=void 0===w?"#FFFFFF":w,m=o.typeColor,u=void 0===m?"#FFFFFF":m,b=function(t){for(var e={},r=0,o=t;r<o.length;r++){var a=o[r];a.type in e?e[a.type].push(a):e[a.type]=[a]}return e}(i),g=Object.keys(b);return t("div",{children:e("table",r({className:"rounded bg-gradient-to-r",style:{backgroundImage:"linear-gradient(to right, ".concat(d,", ").concat(p,")")}},{children:[t("thead",{children:e("tr",r({className:"font-medium text-lg",style:{color:h}},{children:[t("td",{className:"w-10 pt-4"}),s.map((function(e){return t("td",r({className:"pt-4"},{children:e.charAt(0).toUpperCase()+e.slice(1)}),e)}))]}))}),t("tbody",{children:g.map((function(o){return function(o,i,n){if(0==o.length)return t("tr",{});var s=o[0].type;return e("tr",{children:[t("td",r({className:"p-4 text-center",style:{writingMode:"sideways-lr",color:n}},{children:s})),i.map((function(e){return t("td",r({className:"p-4 align-top"},{children:a(o,e)}),e)}))]},s)}(b[o],s,u)}))})]}))})};export{i as Stack};
//# sourceMappingURL=index.js.map

@@ -7,2 +7,4 @@ export interface Item {

url?: string;
bgColor?: string;
color?: string;
}

@@ -9,0 +11,0 @@ export interface StackMapbyType {

@@ -8,2 +8,4 @@ /// <reference types="react" />

url?: string;
bgColor?: string;
color?: string;
}

@@ -10,0 +12,0 @@

{
"name": "react-tech-stack",
"version": "0.1.2",
"version": "0.1.3",
"devDependencies": {

@@ -5,0 +5,0 @@ "@rollup/plugin-commonjs": "^21.0.3",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc