essy-react-controls
Advanced tools
Comparing version 1.0.38 to 1.0.39
@@ -1,1 +0,1 @@ | ||
module.exports=function(e){var a={};function t(n){if(a[n])return a[n].exports;var o=a[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var o in e)t.d(n,o,function(a){return e[a]}.bind(null,o));return n},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=6)}([function(e,a){e.exports=require("prop-types")},function(e,a){e.exports=require("react")},function(e,a){e.exports=require("essy-util-misc")},function(e,a){e.exports=require("essy-util-ui")},function(e,a){e.exports=require("essy-react-icons")},function(e,a){e.exports=require("essy-react-hooks")},function(e,a,t){"use strict";t.r(a),t.d(a,"Button",(function(){return b})),t.d(a,"ButtonGroup",(function(){return p})),t.d(a,"ButtonSplit",(function(){return y})),t.d(a,"Checkbox",(function(){return v})),t.d(a,"Input",(function(){return g})),t.d(a,"InputBasic",(function(){return h})),t.d(a,"SpikeLoader",(function(){return d})),t.d(a,"SpikeLoaderMask",(function(){return k})),t.d(a,"Toggle",(function(){return E}));var n=t(1),o=t.n(n),l=t(0),r=t.n(l),i=t(3),c=t(2),s=t(4);const u={small:8,medium:10,large:12};function d({small:e,medium:a,text:t,white:n}){const l=u[e?"small":a?"medium":"large"];return o.a.createElement("div",{className:Object(i.classNames)("erc-spike-loader",e&&"small",a&&"medium",n&&"white")},t.length?o.a.createElement("div",{className:"erc-spike-loader-text"},t):null,o.a.createElement("div",{className:"erc-spike-loader-icon"},Object(c.getArray)(l).map((e,a)=>o.a.createElement("div",{key:a}))))}function m(){return(m=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function b({active:e,alt:a,arrow:t,block:n,border:l,btnRef:r,cancel:c,children:u,disabled:b,icon:p,iconSize:f,id:y,inverse:v,light:g,loading:h,minWidth:k,onClick:E,outline:N,secondary:x,small:O,style:C,text:w,warning:j}){const R={className:Object(i.classNames)("erc-btn",e&&"active",a&&"alt",t&&"arrow",n&&"block",l&&"border",c&&"cancel",v&&"inverse",g&&"light",void 0!==h&&"loader",N&&"outline",!a&&!x&&!j&&"primary",x&&"secondary",O&&"sm",k&&"min-width",j&&"warning"),disabled:b||h,onClick:E,...r&&{ref:r},...y&&{id:y},...C&&{style:C}};return o.a.createElement("button",R,function(){const e=[];if(h)return o.a.createElement(d,m({key:"0"},O?{small:O}:{medium:!0}));if(p){const a=f||(O?[12,12]:[16,16]);e.push(o.a.createElement(s.Icon,{key:"1",height:a[1],icon:p,width:a[0]}))}if(w)e.push(o.a.createElement("span",{key:"2",className:"text"},w));else if(u)return u;return e}())}function p({onClick:e,options:a,value:t}){const n=a.some(e=>!!e.labelAbove);return t=Array.isArray(t)?t:[t],o.a.createElement("div",{className:"erc-btn-group"+(n?" labels":"")},a.map((a,n)=>o.a.createElement(b,{key:n,border:!0,onClick:()=>e(a.value),primary:t.includes(a.value),secondary:!t.includes(a.value)},a.label,a.labelAbove&&o.a.createElement("span",{className:"erc-btn-group-label"},a.labelAbove))))}d.defaultProps={medium:!1,small:!1,text:"",white:!1},d.propTypes={medium:r.a.bool,small:r.a.bool,text:r.a.string,white:r.a.bool},b.defaultProps={active:!1,alt:!1,arrow:!1,block:!1,border:!1,cancel:!1,disabled:!1,icon:!1,inverse:!1,light:!1,minWidth:!1,onClick:c.fnIdentity,outline:!1,secondary:!1,small:!1,warning:!1},b.propTypes={active:r.a.bool,alt:r.a.bool,arrow:r.a.bool,block:r.a.bool,border:r.a.bool,btnRef:r.a.object,cancel:r.a.bool,disabled:r.a.bool,icon:r.a.oneOfType([r.a.object,r.a.bool]),iconSize:r.a.array,id:r.a.string,inverse:r.a.bool,light:r.a.bool,loading:r.a.bool,minWidth:r.a.bool,onClick:r.a.func,outline:r.a.bool,secondary:r.a.bool,small:r.a.bool,style:r.a.object,text:r.a.string,warning:r.a.bool},p.propTypes={onClick:r.a.func.isRequired,options:r.a.array.isRequired,value:r.a.oneOfType([r.a.array,r.a.number,r.a.string]).isRequired};var f=t(5);function y({disabled:e,disabledBtn:a,items:t,onClick:l,onClickItem:r,small:c,text:s}){const[u,d]=Object(n.useState)(!1),m=Object(n.useCallback)(()=>d(!1),[]);return Object(f.useEventListener)(document,"click",m,u),o.a.createElement("div",{className:Object(i.classNames)("erc-btn-split",c&&"sm")},o.a.createElement("div",{className:"btns"},o.a.createElement(b,{disabled:e||a,onClick:l,small:c,text:s}),o.a.createElement(b,{arrow:!0,onClick:()=>d(!u),small:c})),u&&o.a.createElement("div",{className:"erc-btn-split-menu"},t.map((e,a)=>o.a.createElement("div",{key:a,className:"erc-btn-split-item",onClick:()=>function(e,a){d(!1),r(e,a)}(e,a)},e))))}function v({checked:e,children:a,className:t,indeterminate:n,onChange:l}){return o.a.createElement("label",{className:Object(i.classNames)("erc-checkbox",t)},o.a.createElement("input",{className:"erc-checkbox-default",checked:e,onChange:e=>l(e.target.checked),ref:e=>e&&(e.indeterminate=!!n),type:"checkbox"}),o.a.createElement("span",{className:"erc-checkbox-custom"}),o.a.createElement("span",{className:"erc-checkbox-content"},a))}function g({autoComplete:e,disabled:a,focusOnMount:t,inputRef:l,invalid:r,label:c,note:u,onBlur:d,onChange:m,onFocus:b,onKeyDown:p,passwordShow:f,textarea:y,type:v,validator:g,value:h}){l=l||Object(n.useRef)();const[k,E]=Object(n.useState)(!1),[N,x]=Object(n.useState)(!1),O=c.replace(/\s/g,""),C={disabled:a,name:O,onBlur:()=>w(!1),onChange:e=>m(e.target.value),onFocus:()=>w(!0),onKeyDown:p,type:N?"text":v,ref:l,value:h,...!e&&{autoComplete:"off"}};function w(e){e||d(),E(e),b(e)}return Object(n.useEffect)(()=>{t&&l.current.focus()},[]),o.a.createElement("div",{className:Object(i.classNames)("erc-input",a&&"disabled",k&&"focused",r&&!k&&"invalid",y&&"textarea",h.length&&"value")},o.a.createElement("label",{htmlFor:O},c),y?o.a.createElement("textarea",C):o.a.createElement("input",C),f&&h.length?o.a.createElement("div",{className:"icon-wrap",onClick:()=>x(!N)},o.a.createElement(s.Icon,{className:N?"active":"inactive",height:20,icon:s.icons.EyeIcon,width:20})):null,!k&&o.a.createElement("div",{className:"invalid",dangerouslySetInnerHTML:{__html:r||" "}}),u.length?o.a.createElement("div",{className:"note"},u):null)}function h({autoComplete:e,disabled:a,focusOnMount:t,inputRef:l,invalid:r,label:c,note:s,onBlur:u,onChange:d,onFocus:m,onKeyDown:b,placeholder:p,small:f,textarea:y,type:v,value:g}){l=l||Object(n.useRef)();const[h,k]=Object(n.useState)(!1),E={disabled:a,name:p?p.replace(/\s/g,""):"noname",onBlur:()=>N(!1),onChange:e=>d(e.target.value),onFocus:()=>N(!0),onKeyDown:b,placeholder:p,ref:l,type:v,value:g,...!e&&{autoComplete:"off"}};function N(e){e||u(),k(e),m(e)}return Object(n.useEffect)(()=>{t&&l.current.focus()},[]),o.a.createElement("div",{className:Object(i.classNames)("erc-input-basic",f&&"sm",r&&!h&&"invalid",c&&"label")},c&&o.a.createElement("label",null,c),y?o.a.createElement("textarea",E):o.a.createElement("input",E),!h&&"string"==typeof r&&o.a.createElement("div",{className:"invalid"},r),s.length?o.a.createElement("div",{className:"note"},s):null)}function k(e){return o.a.createElement("div",{className:"erc-spike-loader-mask"},o.a.createElement(d,e))}function E({disabled:e,error:a,on:t,onClick:n,text:l,white:r}){return o.a.createElement("div",{className:Object(i.classNames)("erc-toggle",t&&"on",a&&"error",r&&"white",e&&"disabled"),onClick:e?()=>{}:n},o.a.createElement("div",{className:"track"},o.a.createElement("div",{className:"knob"})),o.a.createElement("div",{className:"text",dangerouslySetInnerHTML:{__html:l}}))}y.defaultProps={disabled:!1,disabledBtn:!1,small:!1},y.propTypes={disabled:r.a.bool,disabledBtn:r.a.bool,items:r.a.array.isRequired,onClick:r.a.func.isRequired,onClickItem:r.a.func.isRequired,small:r.a.bool,text:r.a.string.isRequired},v.propTypes={checked:r.a.bool.isRequired,className:r.a.string,indeterminate:r.a.bool,onChange:r.a.func.isRequired},g.defaultProps={autoComplete:!0,disabled:!1,invalid:!1,note:"",onBlur:c.fnNoOp,onFocus:c.fnNoOp,onKeyDown:c.fnNoOp,passwordShow:!1,textarea:!1,type:"text",validator:c.fnNoOp},g.propTypes={autoComplete:r.a.bool,disabled:r.a.bool,focusOnMount:r.a.bool,invalid:r.a.oneOfType([r.a.bool,r.a.string]),inputRef:r.a.object,label:r.a.string.isRequired,note:r.a.string,onBlur:r.a.func,onChange:r.a.func.isRequired,onFocus:r.a.func,onKeyDown:r.a.func,passwordShow:r.a.bool,textarea:r.a.bool,type:r.a.string,validator:r.a.func,value:r.a.string.isRequired},h.defaultProps={autoComplete:!0,disabled:!1,invalid:!1,note:"",onBlur:c.fnNoOp,onFocus:c.fnNoOp,onKeyDown:c.fnNoOp,placeholder:"",type:"text"},h.propTypes={autoComplete:r.a.bool,disabled:r.a.bool,focusOnMount:r.a.bool,inputRef:r.a.object,invalid:r.a.oneOfType([r.a.bool,r.a.string]),label:r.a.string,note:r.a.string,onBlur:r.a.func,onChange:r.a.func.isRequired,onFocus:r.a.func,onKeyDown:r.a.func,placeholder:r.a.string,small:r.a.bool,textarea:r.a.bool,type:r.a.string,value:r.a.string.isRequired},E.defaultProps={disabled:!1,error:!1,on:!1,onClick:c.fnIdentity,text:"",white:!1},E.propTypes={disabled:r.a.bool,error:r.a.bool,on:r.a.bool,onClick:r.a.func,text:r.a.string,white:r.a.bool}}]); | ||
module.exports=function(e){var a={};function t(n){if(a[n])return a[n].exports;var o=a[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var o in e)t.d(n,o,function(a){return e[a]}.bind(null,o));return n},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=6)}([function(e,a){e.exports=require("prop-types")},function(e,a){e.exports=require("react")},function(e,a){e.exports=require("essy-util-misc")},function(e,a){e.exports=require("essy-util-ui")},function(e,a){e.exports=require("essy-react-icons")},function(e,a){e.exports=require("essy-react-hooks")},function(e,a,t){"use strict";t.r(a),t.d(a,"Button",(function(){return b})),t.d(a,"ButtonGroup",(function(){return p})),t.d(a,"ButtonSplit",(function(){return y})),t.d(a,"Checkbox",(function(){return v})),t.d(a,"Input",(function(){return g})),t.d(a,"InputBasic",(function(){return h})),t.d(a,"SpikeLoader",(function(){return d})),t.d(a,"SpikeLoaderMask",(function(){return k})),t.d(a,"Toggle",(function(){return x}));var n=t(1),o=t.n(n),l=t(0),r=t.n(l),i=t(3),c=t(2),s=t(4);const u={small:8,medium:10,large:12};function d({small:e,medium:a,text:t,white:n}){const l=u[e?"small":a?"medium":"large"];return o.a.createElement("div",{className:Object(i.classNames)("erc-spike-loader",e&&"small",a&&"medium",n&&"white")},t.length?o.a.createElement("div",{className:"erc-spike-loader-text"},t):null,o.a.createElement("div",{className:"erc-spike-loader-icon"},Object(c.getArray)(l).map((e,a)=>o.a.createElement("div",{key:a}))))}function m(){return(m=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function b({active:e,alt:a,arrow:t,block:n,border:l,btnRef:r,cancel:c,children:u,disabled:b,icon:p,iconSize:f,id:y,inverse:v,light:g,loading:h,minWidth:k,onClick:x,outline:E,secondary:N,small:O,style:C,text:w,warning:j,xsmall:R}){const q={className:Object(i.classNames)("erc-btn",e&&"active",a&&"alt",t&&"arrow",n&&"block",l&&"border",c&&"cancel",v&&"inverse",g&&"light",void 0!==h&&"loader",E&&"outline",!a&&!N&&!j&&"primary",N&&"secondary",O&&"sm",k&&"min-width",j&&"warning",R&&"x-sm"),disabled:b||h,onClick:x,...r&&{ref:r},...y&&{id:y},...C&&{style:C}};return o.a.createElement("button",q,function(){const e=[];if(h)return o.a.createElement(d,m({key:"0"},O?{small:O}:{medium:!0}));if(p){const a=f||(O?[12,12]:[16,16]);e.push(o.a.createElement(s.Icon,{key:"1",height:a[1],icon:p,width:a[0]}))}if(w)e.push(o.a.createElement("span",{key:"2",className:"text"},w));else if(u)return u;return e}())}function p({onClick:e,options:a,value:t}){const n=a.some(e=>!!e.labelAbove);return t=Array.isArray(t)?t:[t],o.a.createElement("div",{className:"erc-btn-group"+(n?" labels":"")},a.map((a,n)=>o.a.createElement(b,{key:n,border:!0,onClick:()=>e(a.value),primary:t.includes(a.value),secondary:!t.includes(a.value)},a.label,a.labelAbove&&o.a.createElement("span",{className:"erc-btn-group-label"},a.labelAbove))))}d.defaultProps={medium:!1,small:!1,text:"",white:!1},d.propTypes={medium:r.a.bool,small:r.a.bool,text:r.a.string,white:r.a.bool},b.defaultProps={active:!1,alt:!1,arrow:!1,block:!1,border:!1,cancel:!1,disabled:!1,icon:!1,inverse:!1,light:!1,minWidth:!1,onClick:c.fnIdentity,outline:!1,secondary:!1,small:!1,warning:!1,xsmall:!1},b.propTypes={active:r.a.bool,alt:r.a.bool,arrow:r.a.bool,block:r.a.bool,border:r.a.bool,btnRef:r.a.object,cancel:r.a.bool,disabled:r.a.bool,icon:r.a.oneOfType([r.a.object,r.a.bool]),iconSize:r.a.array,id:r.a.string,inverse:r.a.bool,light:r.a.bool,loading:r.a.bool,minWidth:r.a.bool,onClick:r.a.func,outline:r.a.bool,secondary:r.a.bool,small:r.a.bool,style:r.a.object,text:r.a.string,warning:r.a.bool,xsmall:r.a.bool},p.propTypes={onClick:r.a.func.isRequired,options:r.a.array.isRequired,value:r.a.oneOfType([r.a.array,r.a.number,r.a.string]).isRequired};var f=t(5);function y({disabled:e,disabledBtn:a,items:t,onClick:l,onClickItem:r,small:c,text:s}){const[u,d]=Object(n.useState)(!1),m=Object(n.useCallback)(()=>d(!1),[]);return Object(f.useEventListener)(document,"click",m,u),o.a.createElement("div",{className:Object(i.classNames)("erc-btn-split",c&&"sm")},o.a.createElement("div",{className:"btns"},o.a.createElement(b,{disabled:e||a,onClick:l,small:c,text:s}),o.a.createElement(b,{arrow:!0,onClick:()=>d(!u),small:c})),u&&o.a.createElement("div",{className:"erc-btn-split-menu"},t.map((e,a)=>o.a.createElement("div",{key:a,className:"erc-btn-split-item",onClick:()=>function(e,a){d(!1),r(e,a)}(e,a)},e))))}function v({checked:e,children:a,className:t,indeterminate:n,onChange:l}){return o.a.createElement("label",{className:Object(i.classNames)("erc-checkbox",t)},o.a.createElement("input",{className:"erc-checkbox-default",checked:e,onChange:e=>l(e.target.checked),ref:e=>e&&(e.indeterminate=!!n),type:"checkbox"}),o.a.createElement("span",{className:"erc-checkbox-custom"}),o.a.createElement("span",{className:"erc-checkbox-content"},a))}function g({autoComplete:e,disabled:a,focusOnMount:t,inputRef:l,invalid:r,label:c,note:u,onBlur:d,onChange:m,onFocus:b,onKeyDown:p,passwordShow:f,textarea:y,type:v,validator:g,value:h}){l=l||Object(n.useRef)();const[k,x]=Object(n.useState)(!1),[E,N]=Object(n.useState)(!1),O=c.replace(/\s/g,""),C={disabled:a,name:O,onBlur:()=>w(!1),onChange:e=>m(e.target.value),onFocus:()=>w(!0),onKeyDown:p,type:E?"text":v,ref:l,value:h,...!e&&{autoComplete:"off"}};function w(e){e||d(),x(e),b(e)}return Object(n.useEffect)(()=>{t&&l.current.focus()},[]),o.a.createElement("div",{className:Object(i.classNames)("erc-input",a&&"disabled",k&&"focused",r&&!k&&"invalid",y&&"textarea",h.length&&"value")},o.a.createElement("label",{htmlFor:O},c),y?o.a.createElement("textarea",C):o.a.createElement("input",C),f&&h.length?o.a.createElement("div",{className:"icon-wrap",onClick:()=>N(!E)},o.a.createElement(s.Icon,{className:E?"active":"inactive",height:20,icon:s.icons.EyeIcon,width:20})):null,!k&&o.a.createElement("div",{className:"invalid",dangerouslySetInnerHTML:{__html:r||" "}}),u.length?o.a.createElement("div",{className:"note"},u):null)}function h({autoComplete:e,disabled:a,focusOnMount:t,inputRef:l,invalid:r,label:c,note:s,onBlur:u,onChange:d,onFocus:m,onKeyDown:b,placeholder:p,small:f,textarea:y,type:v,value:g}){l=l||Object(n.useRef)();const[h,k]=Object(n.useState)(!1),x={disabled:a,name:p?p.replace(/\s/g,""):"noname",onBlur:()=>E(!1),onChange:e=>d(e.target.value),onFocus:()=>E(!0),onKeyDown:b,placeholder:p,ref:l,type:v,value:g,...!e&&{autoComplete:"off"}};function E(e){e||u(),k(e),m(e)}return Object(n.useEffect)(()=>{t&&l.current.focus()},[]),o.a.createElement("div",{className:Object(i.classNames)("erc-input-basic",f&&"sm",r&&!h&&"invalid",c&&"label")},c&&o.a.createElement("label",null,c),y?o.a.createElement("textarea",x):o.a.createElement("input",x),!h&&"string"==typeof r&&o.a.createElement("div",{className:"invalid"},r),s.length?o.a.createElement("div",{className:"note"},s):null)}function k(e){return o.a.createElement("div",{className:"erc-spike-loader-mask"},o.a.createElement(d,e))}function x({disabled:e,error:a,on:t,onClick:n,text:l,white:r}){return o.a.createElement("div",{className:Object(i.classNames)("erc-toggle",t&&"on",a&&"error",r&&"white",e&&"disabled"),onClick:e?()=>{}:n},o.a.createElement("div",{className:"track"},o.a.createElement("div",{className:"knob"})),o.a.createElement("div",{className:"text",dangerouslySetInnerHTML:{__html:l}}))}y.defaultProps={disabled:!1,disabledBtn:!1,small:!1},y.propTypes={disabled:r.a.bool,disabledBtn:r.a.bool,items:r.a.array.isRequired,onClick:r.a.func.isRequired,onClickItem:r.a.func.isRequired,small:r.a.bool,text:r.a.string.isRequired},v.propTypes={checked:r.a.bool.isRequired,className:r.a.string,indeterminate:r.a.bool,onChange:r.a.func.isRequired},g.defaultProps={autoComplete:!0,disabled:!1,invalid:!1,note:"",onBlur:c.fnNoOp,onFocus:c.fnNoOp,onKeyDown:c.fnNoOp,passwordShow:!1,textarea:!1,type:"text",validator:c.fnNoOp},g.propTypes={autoComplete:r.a.bool,disabled:r.a.bool,focusOnMount:r.a.bool,invalid:r.a.oneOfType([r.a.bool,r.a.string]),inputRef:r.a.object,label:r.a.string.isRequired,note:r.a.string,onBlur:r.a.func,onChange:r.a.func.isRequired,onFocus:r.a.func,onKeyDown:r.a.func,passwordShow:r.a.bool,textarea:r.a.bool,type:r.a.string,validator:r.a.func,value:r.a.string.isRequired},h.defaultProps={autoComplete:!0,disabled:!1,invalid:!1,note:"",onBlur:c.fnNoOp,onFocus:c.fnNoOp,onKeyDown:c.fnNoOp,placeholder:"",type:"text"},h.propTypes={autoComplete:r.a.bool,disabled:r.a.bool,focusOnMount:r.a.bool,inputRef:r.a.object,invalid:r.a.oneOfType([r.a.bool,r.a.string]),label:r.a.string,note:r.a.string,onBlur:r.a.func,onChange:r.a.func.isRequired,onFocus:r.a.func,onKeyDown:r.a.func,placeholder:r.a.string,small:r.a.bool,textarea:r.a.bool,type:r.a.string,value:r.a.string.isRequired},x.defaultProps={disabled:!1,error:!1,on:!1,onClick:c.fnIdentity,text:"",white:!1},x.propTypes={disabled:r.a.bool,error:r.a.bool,on:r.a.bool,onClick:r.a.func,text:r.a.string,white:r.a.bool}}]); |
{ | ||
"name": "essy-react-controls", | ||
"version": "1.0.38", | ||
"version": "1.0.39", | ||
"description": "React control components.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
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
39886