New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jouwomgeving/ui-button

Package Overview
Dependencies
Maintainers
4
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jouwomgeving/ui-button - npm Package Compare versions

Comparing version 0.0.2-alpha.ef7bf050 to 0.0.2-alpha.f2206543

2

dist/bundle.js

@@ -1,1 +0,1 @@

module.exports=function(e){function t(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,t,r){Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1728)}({0:function(e,t){e.exports=require("react")},1521:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var u=r(1525),o=n(u),l=r(1523),s=n(l),a=function(e){var t=(0,s.default)(e);return function(r,n){return(0,o.default)(!1,t,e,r,n)}};t.default=a},1522:function(e,t){"use strict";t.__esModule=!0;var r=function(e){return Boolean(e&&e.prototype&&"object"==typeof e.prototype.isReactComponent)};t.default=r},1523:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var u=r(1522),o=n(u),l=function(e){return Boolean(!("function"!=typeof e||(0,o.default)(e)||e.defaultProps||e.contextTypes||e.propTypes))};t.default=l},1524:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var u=r(273),o=n(u),l=r(1521),s=n(l),a=function(e){return function(t){var r=(0,s.default)(t);return function(t){return r(e(t))}}};t.default=(0,o.default)(a,"mapProps")},1525:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(0),l=n(o),s=function(e,t,r,n,o){if(!e&&t)return r(o?u({},n,{children:o}):n);var s=r;return o?l.default.createElement(s,n,o):l.default.createElement(s,n)};t.default=s},1526:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(273),l=n(o),s=r(1524),a=n(s),i=function(e){return(0,a.default)(function(t){return u({},t,"function"==typeof e?e(t):e)})};t.default=(0,l.default)(i,"withProps")},1728:function(e,t,r){e.exports=r(324)},270:function(e,t){e.exports={Button:"styles---Button---25D3lXM0v3","Button-content":"styles---Button-content---asVnwoKVUB",disabled:"styles---disabled---3PoLxXbX54","Button-prefix":"styles---Button-prefix---2euxsm0f9H","Button-suffix":"styles---Button-suffix---2gXk2xDd2X",primary:"styles---primary---2056tWq_dO",secondary:"styles---secondary---2Z3NI1Cc1l",Group:"styles---Group---3t-HwF1Tyd","Group-item":"styles---Group-item---xJZUVqgF9W",horizontal:"styles---horizontal---1pcjxyKpP6",vertical:"styles---vertical---3BrjxVdYND"}},272:function(e,t,r){var n,u;!function(){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var u=typeof n;if("string"===u||"number"===u)e.push(this&&this[n]||n);else if(Array.isArray(n))e.push(r.apply(this,n));else if("object"===u)for(var l in n)o.call(n,l)&&n[l]&&e.push(this&&this[l]||l)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=r:(n=[],u=function(){return r}.apply(t,n),!(void 0!==u&&(e.exports=u)))}()},273:function(e,t,r){"use strict";t.__esModule=!0;var n=function(e,t){arguments.length<=2||void 0===arguments[2]||arguments[2],!(arguments.length<=3||void 0===arguments[3])&&arguments[3];return e};t.default=n},324:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var u=r(335),o=n(u),l=r(336),s=n(l);e.exports={"default":o.default,Button:o.default,Group:s.default}},335:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),o=n(u),l=r(272),s=n(l),a=r(1526),i=n(a),f=r(270),c=n(f),d=s.default.bind(c.default),p=(0,i.default)(function(e){var t=e.prefix,r=e.suffix;return{prefix:t?o.default.createElement("span",{className:c.default["Button-prefix"]},t):null,suffix:r?o.default.createElement("span",{className:c.default["Button-suffix"]},r):null}}),y=p(function(e){var t=e.type,r=e.label,n=e.disabled,u=e.onClick,l=e.prefix,s=e.suffix;return o.default.createElement("div",{role:"button",onClick:u,disabled:n,tabIndex:"0",className:d("Button",t,{disabled:n})},l,o.default.createElement("span",{className:d("Button-content",{disabled:n})},r),s)});y.propTypes={type:u.PropTypes.oneOf(["primary","secondary","success","error"]).isRequired,label:u.PropTypes.string,disabled:u.PropTypes.bool,onClick:u.PropTypes.func,suffix:u.PropTypes.element,prefix:u.PropTypes.element},y.defaultProps={type:"primary",disabled:!1},t.default=y},336:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function u(e){var t=e.children,r=e.direction;return l.default.createElement("div",{className:c("Group",r)},l.default.Children.map(t,function(e,t){return l.default.createElement("div",{key:t,className:c("Group-item",r)},e)}))}Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),l=n(o),s=r(272),a=n(s),i=r(270),f=n(i),c=a.default.bind(f.default);u.propTypes={children:o.PropTypes.any,direction:o.PropTypes.oneOf(["vertical","horizontal"])},u.defaultProps={direction:"vertical"},t.default=u}});
module.exports=function(e){function t(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,t,r){Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1946)}({0:function(e,t){e.exports=require("react")},1614:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var u=r(1618),o=n(u),l=r(1616),s=n(l),a=function(e){var t=(0,s.default)(e);return function(r,n){return(0,o.default)(!1,t,e,r,n)}};t.default=a},1615:function(e,t){"use strict";t.__esModule=!0;var r=function(e){return Boolean(e&&e.prototype&&"object"==typeof e.prototype.isReactComponent)};t.default=r},1616:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var u=r(1615),o=n(u),l=function(e){return Boolean(!("function"!=typeof e||(0,o.default)(e)||e.defaultProps||e.contextTypes||e.propTypes))};t.default=l},1617:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var u=r(316),o=n(u),l=r(1614),s=n(l),a=function(e){return function(t){var r=(0,s.default)(t);return function(t){return r(e(t))}}};t.default=(0,o.default)(a,"mapProps")},1618:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(0),l=n(o),s=function(e,t,r,n,o){if(!e&&t)return r(o?u({},n,{children:o}):n);var s=r;return o?l.default.createElement(s,n,o):l.default.createElement(s,n)};t.default=s},1619:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(316),l=n(o),s=r(1617),a=n(s),i=function(e){return(0,a.default)(function(t){return u({},t,"function"==typeof e?e(t):e)})};t.default=(0,l.default)(i,"withProps")},1946:function(e,t,r){e.exports=r(410)},311:function(e,t){e.exports={Button:"styles---Button---25D3lXM0v3","Button-content":"styles---Button-content---asVnwoKVUB",disabled:"styles---disabled---3PoLxXbX54","Button-prefix":"styles---Button-prefix---2euxsm0f9H","Button-suffix":"styles---Button-suffix---2gXk2xDd2X",primary:"styles---primary---2056tWq_dO",secondary:"styles---secondary---2Z3NI1Cc1l",Group:"styles---Group---3t-HwF1Tyd","Group-item":"styles---Group-item---xJZUVqgF9W",horizontal:"styles---horizontal---1pcjxyKpP6",vertical:"styles---vertical---3BrjxVdYND"}},315:function(e,t,r){var n,u;!function(){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var u=typeof n;if("string"===u||"number"===u)e.push(this&&this[n]||n);else if(Array.isArray(n))e.push(r.apply(this,n));else if("object"===u)for(var l in n)o.call(n,l)&&n[l]&&e.push(this&&this[l]||l)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=r:(n=[],u=function(){return r}.apply(t,n),!(void 0!==u&&(e.exports=u)))}()},316:function(e,t,r){"use strict";t.__esModule=!0;var n=function(e,t){arguments.length<=2||void 0===arguments[2]||arguments[2],!(arguments.length<=3||void 0===arguments[3])&&arguments[3];return e};t.default=n},410:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var u=r(423),o=n(u),l=r(424),s=n(l);e.exports={"default":o.default,Button:o.default,Group:s.default}},423:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),o=n(u),l=r(315),s=n(l),a=r(1619),i=n(a),f=r(311),c=n(f),d=s.default.bind(c.default),p=(0,i.default)(function(e){var t=e.prefix,r=e.suffix;return{prefix:t?o.default.createElement("span",{className:c.default["Button-prefix"]},t):null,suffix:r?o.default.createElement("span",{className:c.default["Button-suffix"]},r):null}}),y=p(function(e){var t=e.type,r=e.label,n=e.disabled,u=e.onClick,l=e.prefix,s=e.suffix;return o.default.createElement("div",{role:"button",onClick:u,disabled:n,tabIndex:"0",className:d("Button",t,{disabled:n})},l,o.default.createElement("span",{className:d("Button-content",{disabled:n})},r),s)});y.propTypes={type:u.PropTypes.oneOf(["primary","secondary","success","error"]).isRequired,label:u.PropTypes.string,disabled:u.PropTypes.bool,onClick:u.PropTypes.func,suffix:u.PropTypes.element,prefix:u.PropTypes.element},y.defaultProps={type:"primary",disabled:!1},t.default=y},424:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function u(e){var t=e.children,r=e.direction;return l.default.createElement("div",{className:c("Group",r)},l.default.Children.map(t,function(e,t){return l.default.createElement("div",{key:t,className:c("Group-item",r)},e)}))}Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),l=n(o),s=r(315),a=n(s),i=r(311),f=n(i),c=a.default.bind(f.default);u.propTypes={children:o.PropTypes.any,direction:o.PropTypes.oneOf(["vertical","horizontal"])},u.defaultProps={direction:"vertical"},t.default=u}});
{
"name": "@jouwomgeving/ui-button",
"version": "0.0.2-alpha.ef7bf050",
"version": "0.0.2-alpha.f2206543",
"license": "MIT",

@@ -18,3 +18,3 @@ "author": "Jouw Omgeving B.V. (https://www.jouwomgeving.nl/)",

"devDependencies": {
"@jouwomgeving/ui-icon": "^0.0.1-alpha.ef7bf050"
"@jouwomgeving/ui-icon": "^0.0.1-alpha.f2206543"
},

@@ -21,0 +21,0 @@ "dependencies": {

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