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

ialdama-components

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ialdama-components - npm Package Compare versions

Comparing version 0.0.33 to 0.0.34

2

dist/cjs/index.js

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

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var r=[{name:"primary",className:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"},{name:"secondary",className:"bg-green-200 hover:bg-green-300 text-white font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"},{name:"transparent",className:"bg-transparent hover:bg-white text-white hover:text-black font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"}];exports.Button=function(e){var o,a=e.children,i=e.onClick,l=e.className;e.disabled,e.size;var s=e.type,c=void 0===s?"primary":s,u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children","onClick","className","disabled","size","type"]),p=l?"".concat(l):null===(o=r.find((function(e){return e.name===c})))||void 0===o?void 0:o.className;return t.default.createElement("button",n({className:p},u,{onClick:i}),a)};
***************************************************************************** */var r=[{name:"primary",className:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"},{name:"secondary",className:"bg-green-200 hover:bg-green-300 text-white font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"},{name:"transparent",className:"bg-transparent hover:bg-white text-black hover:text-white font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"}];exports.Button=function(e){var o,a=e.children,i=e.onClick,l=e.className;e.disabled,e.size;var s=e.type,c=void 0===s?"primary":s,u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children","onClick","className","disabled","size","type"]),p=l?"".concat(l):null===(o=r.find((function(e){return e.name===c})))||void 0===o?void 0:o.className;return t.default.createElement("button",n({className:p},u,{onClick:i}),a)};
//# sourceMappingURL=index.js.map

@@ -15,3 +15,3 @@ import e from"react";

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var t=function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};function n(n){var o,a=n.children,i=n.onClick,l=n.className;n.disabled,n.size;var s=n.type,c=void 0===s?"primary":s,p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(n,["children","onClick","className","disabled","size","type"]),u=l?"".concat(l):null===(o=r.find((function(e){return e.name===c})))||void 0===o?void 0:o.className;return e.createElement("button",t({className:u},p,{onClick:i}),a)}var r=[{name:"primary",className:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"},{name:"secondary",className:"bg-green-200 hover:bg-green-300 text-white font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"},{name:"transparent",className:"bg-transparent hover:bg-white text-white hover:text-black font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"}];export{n as Button};
***************************************************************************** */var t=function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};function n(n){var o,a=n.children,i=n.onClick,l=n.className;n.disabled,n.size;var s=n.type,c=void 0===s?"primary":s,p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(n,["children","onClick","className","disabled","size","type"]),u=l?"".concat(l):null===(o=r.find((function(e){return e.name===c})))||void 0===o?void 0:o.className;return e.createElement("button",t({className:u},p,{onClick:i}),a)}var r=[{name:"primary",className:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"},{name:"secondary",className:"bg-green-200 hover:bg-green-300 text-white font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"},{name:"transparent",className:"bg-transparent hover:bg-white text-black hover:text-white font-bold py-2 px-4 rounded-lg transition duration-200 ease-in-out"}];export{n as Button};
//# sourceMappingURL=index.js.map
{
"name": "ialdama-components",
"version": "0.0.33",
"version": "0.0.34",
"description": "Simple tailwind components library",

@@ -11,2 +11,3 @@ "main": "dist/cjs/index.js",

"postinstall": "node postinstall.mjs",
"all": "npm run build && npm publish --access public",
"test": "echo \"Error: no test specified\" && exit 1"

@@ -13,0 +14,0 @@ },

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