@janiscommerce/ui-web 0.0.15 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.umd.js +124 -61
- package/index.umd.js.map +1 -1
- package/package.json +3 -2
package/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-dom'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.main = {}, global.React, global.require$$1));
|
|
5
|
-
})(this, (function (exports, React, require$$1) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-router-dom'), require('react-dom')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-router-dom', 'react-dom'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.main = {}, global.React, global.reactRouterDom, global.require$$1));
|
|
5
|
+
})(this, (function (exports, React, reactRouterDom, require$$1) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -2564,7 +2564,7 @@
|
|
|
2564
2564
|
|
|
2565
2565
|
var hoistNonReactStatics_cjs = hoistNonReactStatics;
|
|
2566
2566
|
|
|
2567
|
-
function y(){return (y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e}).apply(this,arguments)}var v$1=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},g$1=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!reactIs$2.exports.typeOf(t)},S=Object.freeze([]),w$1=Object.freeze({});function E(e){return "function"==typeof e}function b$1(e){return e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var N$1="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",C="undefined"!=typeof window&&"HTMLElement"in window,I=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production");function D(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var j=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&D(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=r;s<o;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=0,c=t.length;a<c;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++);},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n);}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,s=r;s<o;s++)t+=this.tag.getRule(s)+"/*!sc*/\n";return t},e}(),T$1=new Map,x$1=new Map,k=1,V$1=function(e){if(T$1.has(e))return T$1.get(e);for(;x$1.has(k);)k++;var t=k++;return T$1.set(e,t),x$1.set(t,e),t},z$1=function(e){return x$1.get(e)},B$1=function(e,t){t>=k&&(k=t+1),T$1.set(e,t),x$1.set(t,e);},M="style["+N$1+'][data-styled-version="5.3.5"]',G$1=new RegExp("^"+N$1+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L$1=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r);},F=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,s=n.length;o<s;o++){var i=n[o].trim();if(i){var a=i.match(G$1);if(a){var c=0|parseInt(a[1],10),u=a[2];0!==c&&(B$1(u,c),L$1(e,u,a[3]),e.getTag().insertRules(c,r)),r.length=0;}else r.push(i);}}},Y=function(){return "undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},q$1=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(N$1))return r}}(n),s=void 0!==o?o.nextSibling:null;r.setAttribute(N$1,"active"),r.setAttribute("data-styled-version","5.3.5");var i=Y();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},H=function(){function e(e){var t=this.element=q$1(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}D(17);}(t),this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),$$1=function(){function e(e){var t=this.element=q$1(e);this.nodes=t.childNodes,this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return !1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),W=function(){function e(e){this.rules=[],this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--;},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),U=C,J$1={isServer:!C,useCSSOMInjection:!I},X$1=function(){function e(e,t,n){void 0===e&&(e=w$1),void 0===t&&(t={}),this.options=y({},J$1,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&C&&U&&(U=!1,function(e){for(var t=document.querySelectorAll(M),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(N$1)&&(F(e,o),o.parentNode&&o.parentNode.removeChild(o));}}(this));}e.registerId=function(e){return V$1(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(y({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new W(o):r?new H(o):new $$1(o),new j(e)));var e,t,n,r,o;},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(V$1(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(V$1(e),n);},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},t.clearRules=function(e){this.getTag().clearGroup(V$1(e)),this.clearNames(e);},t.clearTag=function(){this.tag=void 0;},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var s=z$1(o);if(void 0!==s){var i=e.names.get(s),a=t.getGroup(o);if(i&&a&&i.size){var c=N$1+".g"+o+'[id="'+s+'"]',u="";void 0!==i&&i.forEach((function(e){e.length>0&&(u+=e+",");})),r+=""+a+c+'{content:"'+u+'"}/*!sc*/\n';}}}return r}(this)},e}(),Z=/(a)(d)/gi,K$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function Q(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=K$1(t%52)+n;return (K$1(t%52)+n).replace(Z,"$1-$2")}var ee=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},te=function(e){return ee(5381,e)};function ne(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(E(n)&&!_(n))return !1}return !0}var re=te("5.3.5"),oe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&ne(e),this.componentId=t,this.baseHash=ee(re,t),this.baseStyle=n,X$1.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else {var s=_e(this.rules,e,t,n).join(""),i=Q(ee(this.baseHash,s)>>>0);if(!t.hasNameForId(r,i)){var a=n(s,"."+i,void 0,r);t.insertRules(r,i,a);}o.push(i),this.staticRulesId=i;}else {for(var c=this.rules.length,u=ee(this.baseHash,n.hash),l="",d=0;d<c;d++){var h=this.rules[d];if("string"==typeof h)l+=h;else if(h){var p=_e(h,e,t,n),f=Array.isArray(p)?p.join(""):p;u=ee(u,f+d),l+=f;}}if(l){var m=Q(u>>>0);if(!t.hasNameForId(r,m)){var y=n(l,"."+m,void 0,r);t.insertRules(r,m,y);}o.push(m);}}return o.join(" ")},e}(),se=/^\s*\/\/.*$/gm,ie=[":","[",".","#"];function ae(e){var t,n,r,o,s=void 0===e?w$1:e,i=s.options,a=void 0===i?w$1:i,c=s.plugins,u=void 0===c?S:c,l=new stylis_min(a),d=[],p=function(e){function t(t){if(t)try{e(t+"}");}catch(e){}}return function(n,r,o,s,i,a,c,u,l,d){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t);}}}((function(e){d.push(e);})),f=function(e,r,s){return 0===r&&-1!==ie.indexOf(s[n.length])||s.match(o)?e:"."+t};function m(e,s,i,a){void 0===a&&(a="&");var c=e.replace(se,""),u=s&&i?i+" "+s+" { "+c+" }":c;return t=a,n=s,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),l(i||!s?"":s,u)}return l.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,f));},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||D(15),ee(e,t.name)}),5381).toString():"",m}var ce=React__default["default"].createContext();ce.Consumer;var le=React__default["default"].createContext(),de=(le.Consumer,new X$1),he=ae();function pe(){return React.useContext(ce)||de}function fe(){return React.useContext(le)||he}var ye=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=he);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"));},this.toString=function(){return D(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t;}return e.prototype.getName=function(e){return void 0===e&&(e=he),this.name+e.hash},e}(),ve=/([A-Z])/,ge=/([A-Z])/g,Se=/^ms-/,we=function(e){return "-"+e.toLowerCase()};function Ee(e){return ve.test(e)?e.replace(ge,we).replace(Se,"-ms-"):e}var be=function(e){return null==e||!1===e||""===e};function _e(e,n,r,o){if(Array.isArray(e)){for(var s,i=[],a=0,c=e.length;a<c;a+=1)""!==(s=_e(e[a],n,r,o))&&(Array.isArray(s)?i.push.apply(i,s):i.push(s));return i}if(be(e))return "";if(_(e))return "."+e.styledComponentId;if(E(e)){if("function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!n)return e;var u=e(n);return _e(u,n,r,o)}var l;return e instanceof ye?r?(e.inject(r,o),e.getName(o)):e:g$1(e)?function e(t,n){var r,o,s=[];for(var i in t)t.hasOwnProperty(i)&&!be(t[i])&&(Array.isArray(t[i])&&t[i].isCss||E(t[i])?s.push(Ee(i)+":",t[i],";"):g$1(t[i])?s.push.apply(s,e(t[i],i)):s.push(Ee(i)+": "+(r=i,null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in unitlessKeys?String(o).trim():o+"px")+";"));return n?[n+" {"].concat(s,["}"]):s}(e):e.toString()}var Ne=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return E(e)||g$1(e)?Ne(_e(v$1(S,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Ne(_e(v$1(e,n)))}var Oe=function(e,t,n){return void 0===n&&(n=w$1),e.theme!==n.theme&&e.theme||t||n.theme},Re=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,De=/(^-|-$)/g;function je(e){return e.replace(Re,"-").replace(De,"")}var Te=function(e){return Q(te(e)>>>0)};function xe(e){return "string"==typeof e&&("production"==="production")}var ke=function(e){return "function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ve=function(e){return "__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ze(e,t,n){var r=e[n];ke(t)&&ke(r)?Be(r,t):e[n]=t;}function Be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,s=n;o<s.length;o++){var i=s[o];if(ke(i))for(var a in i)Ve(a)&&ze(e,i[a],a);}return e}var Me=React__default["default"].createContext();Me.Consumer;var Fe={};function Ye(e,t,n){var o=_(e),i=!xe(e),a=t.attrs,c=void 0===a?S:a,d=t.componentId,h=void 0===d?function(e,t){var n="string"!=typeof e?"sc":je(e);Fe[n]=(Fe[n]||0)+1;var r=n+"-"+Te("5.3.5"+n+Fe[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):d,p=t.displayName,v=void 0===p?function(e){return xe(e)?"styled."+e:"Styled("+b$1(e)+")"}(e):p,g=t.displayName&&t.componentId?je(t.displayName)+"-"+t.componentId:t.componentId||h,N=o&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,A=t.shouldForwardProp;o&&e.shouldForwardProp&&(A=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var C,I=new oe(n,g,o?e.componentStyle:void 0),P=I.isStatic&&0===c.length,O=function(e,t){return function(e,t,n,r){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,c=e.foldedComponentIds,d=e.shouldForwardProp,h=e.styledComponentId,p=e.target;var m=function(e,t,n){void 0===e&&(e=w$1);var r=y({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,s,i=e;for(t in E(i)&&(i=i(r)),i)r[t]=o[t]="className"===t?(n=o[t],s=i[t],n&&s?n+" "+s:n||s):i[t];})),[r,o]}(Oe(t,React.useContext(Me),a)||w$1,t,o),v=m[0],g=m[1],S=function(e,t,n,r){var o=pe(),s=fe(),i=t?e.generateAndInjectStyles(w$1,o,s):e.generateAndInjectStyles(n,o,s);return i}(i,r,v),b=n,_=g.$as||t.$as||g.as||t.as||p,N=xe(_),A=g!==t?y({},t,{},g):t,C={};for(var I in A)"$"!==I[0]&&"as"!==I&&("forwardedAs"===I?C.as=A[I]:(d?d(I,isPropValid,_):!N||isPropValid(I))&&(C[I]=A[I]));return t.style&&g.style!==t.style&&(C.style=y({},t.style,{},g.style)),C.className=Array.prototype.concat(c,h,S!==h?S:null,t.className,g.className).filter(Boolean).join(" "),C.ref=b,React.createElement(_,C)}(C,e,t,P)};return O.displayName=v,(C=React__default["default"].forwardRef(O)).attrs=N,C.componentStyle=I,C.displayName=v,C.shouldForwardProp=A,C.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):S,C.styledComponentId=g,C.target=o?e.target:e,C.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return {};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),s=r&&r+"-"+(xe(e)?e:je(b$1(e)));return Ye(e,y({},o,{attrs:N,componentId:s}),n)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Be({},e.defaultProps,t):t;}}),C.toString=function(){return "."+C.styledComponentId},i&&hoistNonReactStatics_cjs(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var qe=function(e){return function e(t,r,o){if(void 0===o&&(o=w$1),!reactIs$2.exports.isValidElementType(r))return D(1,String(r));var s=function(){return t(r,o,Ae.apply(void 0,arguments))};return s.withConfig=function(n){return e(t,r,y({},o,{},n))},s.attrs=function(n){return e(t,r,y({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},s}(Ye,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){qe[e]=qe(e);}));var styled$9 = qe;
|
|
2567
|
+
function y(){return (y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e}).apply(this,arguments)}var v$1=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},g$1=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!reactIs$2.exports.typeOf(t)},S=Object.freeze([]),w$1=Object.freeze({});function E(e){return "function"==typeof e}function b$1(e){return e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var N$1="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",C="undefined"!=typeof window&&"HTMLElement"in window,I=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production");function D(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var j=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&D(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=r;s<o;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=0,c=t.length;a<c;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++);},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n);}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,s=r;s<o;s++)t+=this.tag.getRule(s)+"/*!sc*/\n";return t},e}(),T$1=new Map,x$1=new Map,k=1,V$1=function(e){if(T$1.has(e))return T$1.get(e);for(;x$1.has(k);)k++;var t=k++;return T$1.set(e,t),x$1.set(t,e),t},z$1=function(e){return x$1.get(e)},B$1=function(e,t){t>=k&&(k=t+1),T$1.set(e,t),x$1.set(t,e);},M="style["+N$1+'][data-styled-version="5.3.5"]',G$1=new RegExp("^"+N$1+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L$1=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r);},F=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,s=n.length;o<s;o++){var i=n[o].trim();if(i){var a=i.match(G$1);if(a){var c=0|parseInt(a[1],10),u=a[2];0!==c&&(B$1(u,c),L$1(e,u,a[3]),e.getTag().insertRules(c,r)),r.length=0;}else r.push(i);}}},Y=function(){return "undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},q$1=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(N$1))return r}}(n),s=void 0!==o?o.nextSibling:null;r.setAttribute(N$1,"active"),r.setAttribute("data-styled-version","5.3.5");var i=Y();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},H=function(){function e(e){var t=this.element=q$1(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}D(17);}(t),this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),$$1=function(){function e(e){var t=this.element=q$1(e);this.nodes=t.childNodes,this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return !1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),W=function(){function e(e){this.rules=[],this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--;},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),U=C,J$1={isServer:!C,useCSSOMInjection:!I},X$1=function(){function e(e,t,n){void 0===e&&(e=w$1),void 0===t&&(t={}),this.options=y({},J$1,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&C&&U&&(U=!1,function(e){for(var t=document.querySelectorAll(M),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(N$1)&&(F(e,o),o.parentNode&&o.parentNode.removeChild(o));}}(this));}e.registerId=function(e){return V$1(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(y({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new W(o):r?new H(o):new $$1(o),new j(e)));var e,t,n,r,o;},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(V$1(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(V$1(e),n);},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},t.clearRules=function(e){this.getTag().clearGroup(V$1(e)),this.clearNames(e);},t.clearTag=function(){this.tag=void 0;},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var s=z$1(o);if(void 0!==s){var i=e.names.get(s),a=t.getGroup(o);if(i&&a&&i.size){var c=N$1+".g"+o+'[id="'+s+'"]',u="";void 0!==i&&i.forEach((function(e){e.length>0&&(u+=e+",");})),r+=""+a+c+'{content:"'+u+'"}/*!sc*/\n';}}}return r}(this)},e}(),Z=/(a)(d)/gi,K$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function Q(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=K$1(t%52)+n;return (K$1(t%52)+n).replace(Z,"$1-$2")}var ee=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},te=function(e){return ee(5381,e)};function ne(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(E(n)&&!_(n))return !1}return !0}var re=te("5.3.5"),oe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&ne(e),this.componentId=t,this.baseHash=ee(re,t),this.baseStyle=n,X$1.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else {var s=_e(this.rules,e,t,n).join(""),i=Q(ee(this.baseHash,s)>>>0);if(!t.hasNameForId(r,i)){var a=n(s,"."+i,void 0,r);t.insertRules(r,i,a);}o.push(i),this.staticRulesId=i;}else {for(var c=this.rules.length,u=ee(this.baseHash,n.hash),l="",d=0;d<c;d++){var h=this.rules[d];if("string"==typeof h)l+=h;else if(h){var p=_e(h,e,t,n),f=Array.isArray(p)?p.join(""):p;u=ee(u,f+d),l+=f;}}if(l){var m=Q(u>>>0);if(!t.hasNameForId(r,m)){var y=n(l,"."+m,void 0,r);t.insertRules(r,m,y);}o.push(m);}}return o.join(" ")},e}(),se=/^\s*\/\/.*$/gm,ie=[":","[",".","#"];function ae(e){var t,n,r,o,s=void 0===e?w$1:e,i=s.options,a=void 0===i?w$1:i,c=s.plugins,u=void 0===c?S:c,l=new stylis_min(a),d=[],p=function(e){function t(t){if(t)try{e(t+"}");}catch(e){}}return function(n,r,o,s,i,a,c,u,l,d){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t);}}}((function(e){d.push(e);})),f=function(e,r,s){return 0===r&&-1!==ie.indexOf(s[n.length])||s.match(o)?e:"."+t};function m(e,s,i,a){void 0===a&&(a="&");var c=e.replace(se,""),u=s&&i?i+" "+s+" { "+c+" }":c;return t=a,n=s,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),l(i||!s?"":s,u)}return l.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,f));},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||D(15),ee(e,t.name)}),5381).toString():"",m}var ce=React__default["default"].createContext();ce.Consumer;var le=React__default["default"].createContext(),de=(le.Consumer,new X$1),he=ae();function pe(){return React.useContext(ce)||de}function fe(){return React.useContext(le)||he}var ye=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=he);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"));},this.toString=function(){return D(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t;}return e.prototype.getName=function(e){return void 0===e&&(e=he),this.name+e.hash},e}(),ve=/([A-Z])/,ge=/([A-Z])/g,Se=/^ms-/,we=function(e){return "-"+e.toLowerCase()};function Ee(e){return ve.test(e)?e.replace(ge,we).replace(Se,"-ms-"):e}var be=function(e){return null==e||!1===e||""===e};function _e(e,n,r,o){if(Array.isArray(e)){for(var s,i=[],a=0,c=e.length;a<c;a+=1)""!==(s=_e(e[a],n,r,o))&&(Array.isArray(s)?i.push.apply(i,s):i.push(s));return i}if(be(e))return "";if(_(e))return "."+e.styledComponentId;if(E(e)){if("function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!n)return e;var u=e(n);return _e(u,n,r,o)}var l;return e instanceof ye?r?(e.inject(r,o),e.getName(o)):e:g$1(e)?function e(t,n){var r,o,s=[];for(var i in t)t.hasOwnProperty(i)&&!be(t[i])&&(Array.isArray(t[i])&&t[i].isCss||E(t[i])?s.push(Ee(i)+":",t[i],";"):g$1(t[i])?s.push.apply(s,e(t[i],i)):s.push(Ee(i)+": "+(r=i,null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in unitlessKeys?String(o).trim():o+"px")+";"));return n?[n+" {"].concat(s,["}"]):s}(e):e.toString()}var Ne=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return E(e)||g$1(e)?Ne(_e(v$1(S,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Ne(_e(v$1(e,n)))}var Oe=function(e,t,n){return void 0===n&&(n=w$1),e.theme!==n.theme&&e.theme||t||n.theme},Re=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,De=/(^-|-$)/g;function je(e){return e.replace(Re,"-").replace(De,"")}var Te=function(e){return Q(te(e)>>>0)};function xe(e){return "string"==typeof e&&("production"==="production")}var ke=function(e){return "function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ve=function(e){return "__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ze(e,t,n){var r=e[n];ke(t)&&ke(r)?Be(r,t):e[n]=t;}function Be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,s=n;o<s.length;o++){var i=s[o];if(ke(i))for(var a in i)Ve(a)&&ze(e,i[a],a);}return e}var Me=React__default["default"].createContext();Me.Consumer;var Fe={};function Ye(e,t,n){var o=_(e),i=!xe(e),a=t.attrs,c=void 0===a?S:a,d=t.componentId,h=void 0===d?function(e,t){var n="string"!=typeof e?"sc":je(e);Fe[n]=(Fe[n]||0)+1;var r=n+"-"+Te("5.3.5"+n+Fe[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):d,p=t.displayName,v=void 0===p?function(e){return xe(e)?"styled."+e:"Styled("+b$1(e)+")"}(e):p,g=t.displayName&&t.componentId?je(t.displayName)+"-"+t.componentId:t.componentId||h,N=o&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,A=t.shouldForwardProp;o&&e.shouldForwardProp&&(A=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var C,I=new oe(n,g,o?e.componentStyle:void 0),P=I.isStatic&&0===c.length,O=function(e,t){return function(e,t,n,r){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,c=e.foldedComponentIds,d=e.shouldForwardProp,h=e.styledComponentId,p=e.target;var m=function(e,t,n){void 0===e&&(e=w$1);var r=y({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,s,i=e;for(t in E(i)&&(i=i(r)),i)r[t]=o[t]="className"===t?(n=o[t],s=i[t],n&&s?n+" "+s:n||s):i[t];})),[r,o]}(Oe(t,React.useContext(Me),a)||w$1,t,o),v=m[0],g=m[1],S=function(e,t,n,r){var o=pe(),s=fe(),i=t?e.generateAndInjectStyles(w$1,o,s):e.generateAndInjectStyles(n,o,s);return i}(i,r,v),b=n,_=g.$as||t.$as||g.as||t.as||p,N=xe(_),A=g!==t?y({},t,{},g):t,C={};for(var I in A)"$"!==I[0]&&"as"!==I&&("forwardedAs"===I?C.as=A[I]:(d?d(I,isPropValid,_):!N||isPropValid(I))&&(C[I]=A[I]));return t.style&&g.style!==t.style&&(C.style=y({},t.style,{},g.style)),C.className=Array.prototype.concat(c,h,S!==h?S:null,t.className,g.className).filter(Boolean).join(" "),C.ref=b,React.createElement(_,C)}(C,e,t,P)};return O.displayName=v,(C=React__default["default"].forwardRef(O)).attrs=N,C.componentStyle=I,C.displayName=v,C.shouldForwardProp=A,C.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):S,C.styledComponentId=g,C.target=o?e.target:e,C.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return {};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),s=r&&r+"-"+(xe(e)?e:je(b$1(e)));return Ye(e,y({},o,{attrs:N,componentId:s}),n)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Be({},e.defaultProps,t):t;}}),C.toString=function(){return "."+C.styledComponentId},i&&hoistNonReactStatics_cjs(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var qe=function(e){return function e(t,r,o){if(void 0===o&&(o=w$1),!reactIs$2.exports.isValidElementType(r))return D(1,String(r));var s=function(){return t(r,o,Ae.apply(void 0,arguments))};return s.withConfig=function(n){return e(t,r,y({},o,{},n))},s.attrs=function(n){return e(t,r,y({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},s}(Ye,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){qe[e]=qe(e);}));var styled$a = qe;
|
|
2568
2568
|
|
|
2569
2569
|
var mainPallet = {
|
|
2570
2570
|
primary: {
|
|
@@ -19978,7 +19978,7 @@
|
|
|
19978
19978
|
|
|
19979
19979
|
var _templateObject$4;
|
|
19980
19980
|
var styles = {
|
|
19981
|
-
Svg: styled$
|
|
19981
|
+
Svg: styled$a.svg.withConfig({
|
|
19982
19982
|
displayName: "styles__Svg",
|
|
19983
19983
|
componentId: "sc-jf3e5i-0"
|
|
19984
19984
|
})(["fill:", ";", " ", ";"], function (props) {
|
|
@@ -19986,7 +19986,7 @@
|
|
|
19986
19986
|
}, mediaBreaks.onlyPrint(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n\t\t\tfill: ", ";\n\t\t"])), palette.darkGrey), function (props) {
|
|
19987
19987
|
return props.styles;
|
|
19988
19988
|
}),
|
|
19989
|
-
Path: styled$
|
|
19989
|
+
Path: styled$a.path.withConfig({
|
|
19990
19990
|
displayName: "styles__Path",
|
|
19991
19991
|
componentId: "sc-jf3e5i-1"
|
|
19992
19992
|
})(["fill:inherit;", ";"], function (props) {
|
|
@@ -19994,17 +19994,17 @@
|
|
|
19994
19994
|
})
|
|
19995
19995
|
};
|
|
19996
19996
|
({
|
|
19997
|
-
Grid: styled$
|
|
19997
|
+
Grid: styled$a.div.withConfig({
|
|
19998
19998
|
displayName: "styles__Grid",
|
|
19999
19999
|
componentId: "sc-jf3e5i-2"
|
|
20000
20000
|
})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:15px;"]),
|
|
20001
|
-
Item: styled$
|
|
20001
|
+
Item: styled$a.div.withConfig({
|
|
20002
20002
|
displayName: "styles__Item",
|
|
20003
20003
|
componentId: "sc-jf3e5i-3"
|
|
20004
20004
|
})(["padding:5px;border:1px dashed #ccc;cursor:default;display:grid;justify-items:center;justify-content:center;grid-row-gap:5px;", ";& ", "{", ";}&:hover{color:", ";}&:hover ", "{fill:", ";}"], mixins.transition('color'), styles.Svg, mixins.transition('fill'), palette.blue, styles.Svg, palette.blue)
|
|
20005
20005
|
});
|
|
20006
20006
|
|
|
20007
|
-
var _excluded$
|
|
20007
|
+
var _excluded$7 = ["color", "name", "size", "styles", "pathStyles", "width", "height", "viewBox"];
|
|
20008
20008
|
|
|
20009
20009
|
var Icon = function Icon(_ref) {
|
|
20010
20010
|
var color = _ref.color,
|
|
@@ -20015,7 +20015,7 @@
|
|
|
20015
20015
|
width = _ref.width,
|
|
20016
20016
|
height = _ref.height,
|
|
20017
20017
|
viewBox = _ref.viewBox,
|
|
20018
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20018
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
20019
20019
|
|
|
20020
20020
|
var iconProps = icons[name];
|
|
20021
20021
|
if (!iconProps) return null;
|
|
@@ -20085,7 +20085,7 @@
|
|
|
20085
20085
|
return isValidColor(color) ? findColor(color, 'pressed') : palette.bluePressed;
|
|
20086
20086
|
};
|
|
20087
20087
|
|
|
20088
|
-
var StyledButton = styled$
|
|
20088
|
+
var StyledButton = styled$a.button.withConfig({
|
|
20089
20089
|
displayName: "styles",
|
|
20090
20090
|
componentId: "sc-buf2do-0"
|
|
20091
20091
|
})(["display:flex;align-items:center;justify-content:center;height:36px;width:", ";flex-shrink:", ";border-radius:", ";padding:", ";cursor:", ";border:", ";font-size:13px;font-weight:500;position:relative;", ";z-index:0;&:before{content:'';border-radius:50px;position:absolute;left:0;top:0;z-index:-1;width:100%;height:100%;}&:after{content:'';border-radius:50px;position:absolute;z-index:-1;width:100%;height:100%;transition:all 0.25s ", ";transform:scale(0,0);top:0;bottom:0;left:0;right:0;}&:focus:after,&:hover:after,&:active:after{transform:scale(1,1);}&:active{-webkit-tap-highlight-color:", ";}", "{margin-right:", ";fill:", ";", ";}", ";", "{fill:", ";}", ";"], function (props) {
|
|
@@ -20120,7 +20120,7 @@
|
|
|
20120
20120
|
return props.styles;
|
|
20121
20121
|
});
|
|
20122
20122
|
|
|
20123
|
-
var _excluded$
|
|
20123
|
+
var _excluded$6 = ["children", "color", "hideLabel", "icon", "iconColor", "iconSize", "fontColor", "rounded", "styles", "variant"];
|
|
20124
20124
|
|
|
20125
20125
|
var Button = function Button(_ref) {
|
|
20126
20126
|
var children = _ref.children,
|
|
@@ -20133,7 +20133,7 @@
|
|
|
20133
20133
|
rounded = _ref.rounded,
|
|
20134
20134
|
styles = _ref.styles,
|
|
20135
20135
|
variant = _ref.variant,
|
|
20136
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20136
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
20137
20137
|
|
|
20138
20138
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends$1({
|
|
20139
20139
|
color: color,
|
|
@@ -20158,8 +20158,8 @@
|
|
|
20158
20158
|
variant: 'cleaned'
|
|
20159
20159
|
};
|
|
20160
20160
|
|
|
20161
|
-
var styled$
|
|
20162
|
-
Container: styled$
|
|
20161
|
+
var styled$9 = {
|
|
20162
|
+
Container: styled$a.label.withConfig({
|
|
20163
20163
|
displayName: "styles__Container",
|
|
20164
20164
|
componentId: "sc-18bfcwf-0"
|
|
20165
20165
|
})(["background:", ";border:1px solid ", ";border-radius:", "px;width:16px;height:16px;line-height:16px;position:relative;cursor:pointer;display:flex;transition:background ", " 0.2s;user-select:none;margin-right:12px;", ";"], function (props) {
|
|
@@ -20171,7 +20171,7 @@
|
|
|
20171
20171
|
}, timingFunctions$1.standard, function (props) {
|
|
20172
20172
|
return props.styles;
|
|
20173
20173
|
}),
|
|
20174
|
-
Input: styled$
|
|
20174
|
+
Input: styled$a.input.withConfig({
|
|
20175
20175
|
displayName: "styles__Input",
|
|
20176
20176
|
componentId: "sc-18bfcwf-1"
|
|
20177
20177
|
})(["opacity:0;position:absolute;cursor:pointer;"]),
|
|
@@ -20180,7 +20180,7 @@
|
|
|
20180
20180
|
})
|
|
20181
20181
|
};
|
|
20182
20182
|
|
|
20183
|
-
var _excluded$
|
|
20183
|
+
var _excluded$5 = ["autoComplete", "disabled", "defaultChecked", "onChange", "rounded", "styles", "value"];
|
|
20184
20184
|
|
|
20185
20185
|
var Checkbox = function Checkbox(_ref) {
|
|
20186
20186
|
var autoComplete = _ref.autoComplete,
|
|
@@ -20190,7 +20190,7 @@
|
|
|
20190
20190
|
rounded = _ref.rounded,
|
|
20191
20191
|
styles = _ref.styles,
|
|
20192
20192
|
value = _ref.value,
|
|
20193
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20193
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
20194
20194
|
|
|
20195
20195
|
var _useState = React.useState(!!value || defaultChecked),
|
|
20196
20196
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -20205,18 +20205,18 @@
|
|
|
20205
20205
|
|
|
20206
20206
|
var _props$checked = props.checked,
|
|
20207
20207
|
conntroledChecked = _props$checked === void 0 ? checked : _props$checked;
|
|
20208
|
-
return /*#__PURE__*/React__default["default"].createElement(styled$
|
|
20208
|
+
return /*#__PURE__*/React__default["default"].createElement(styled$9.Container, {
|
|
20209
20209
|
checked: conntroledChecked,
|
|
20210
20210
|
rounded: rounded,
|
|
20211
20211
|
styles: styles
|
|
20212
|
-
}, /*#__PURE__*/React__default["default"].createElement(styled$
|
|
20212
|
+
}, /*#__PURE__*/React__default["default"].createElement(styled$9.Input, _extends$1({}, props, {
|
|
20213
20213
|
type: "checkbox",
|
|
20214
20214
|
disabled: disabled,
|
|
20215
20215
|
autoComplete: autoComplete ? 'on' : 'off',
|
|
20216
20216
|
onChange: handleChange
|
|
20217
20217
|
})), /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
20218
20218
|
name: "check_bold",
|
|
20219
|
-
styles: styled$
|
|
20219
|
+
styles: styled$9.iconCheckStyles,
|
|
20220
20220
|
rounded: rounded
|
|
20221
20221
|
}));
|
|
20222
20222
|
};
|
|
@@ -20229,8 +20229,8 @@
|
|
|
20229
20229
|
};
|
|
20230
20230
|
|
|
20231
20231
|
var _templateObject$3;
|
|
20232
|
-
var styled$
|
|
20233
|
-
Chip: styled$
|
|
20232
|
+
var styled$8 = {
|
|
20233
|
+
Chip: styled$a.button.withConfig({
|
|
20234
20234
|
displayName: "styles__Chip",
|
|
20235
20235
|
componentId: "sc-1vnh4co-0"
|
|
20236
20236
|
})(["padding:", ";cursor:", ";font-size:13px;color:", ";height:", ";width:", ";max-width:150px;border-radius:", ";display:inline-flex;justify-content:center;align-items:center;pointer-events:", ";white-space:nowrap;.chip-icon{margin-right:", ";}", " ", ";", " ", " ", " ", ""], function (props) {
|
|
@@ -20244,7 +20244,7 @@
|
|
|
20244
20244
|
}, function (props) {
|
|
20245
20245
|
return props.hasText ? '50px' : '50%';
|
|
20246
20246
|
}, function (props) {
|
|
20247
|
-
return props.clickable ? 'auto' : 'none';
|
|
20247
|
+
return props.clickable || props.linkForHref ? 'auto' : 'none';
|
|
20248
20248
|
}, function (props) {
|
|
20249
20249
|
return props.hasText && '8px';
|
|
20250
20250
|
}, function (props) {
|
|
@@ -20271,18 +20271,73 @@
|
|
|
20271
20271
|
return props.textColor && "color: ".concat(getColor$1(props.textColor), ";");
|
|
20272
20272
|
}, mediaBreaks.onlyPrint(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n\t\t\tborder: 1px solid ", ";\n\t\t"])), palette.grey.dark)),
|
|
20273
20273
|
iconPathStyles: Ae(["", ";"], mixins.transition('fill')),
|
|
20274
|
-
DeleteButton: styled$
|
|
20274
|
+
DeleteButton: styled$a.button.withConfig({
|
|
20275
20275
|
displayName: "styles__DeleteButton",
|
|
20276
20276
|
componentId: "sc-1vnh4co-1"
|
|
20277
20277
|
})(["width:16px;height:16px;margin-left:12px;"]),
|
|
20278
20278
|
deleteButtonPathStyles: Ae(["", ";"], mixins.transition('fill')),
|
|
20279
|
-
Children: styled$
|
|
20279
|
+
Children: styled$a.div.withConfig({
|
|
20280
20280
|
displayName: "styles__Children",
|
|
20281
20281
|
componentId: "sc-1vnh4co-2"
|
|
20282
20282
|
})(["text-overflow:ellipsis;overflow:hidden;"])
|
|
20283
20283
|
};
|
|
20284
20284
|
|
|
20285
|
-
var
|
|
20285
|
+
var styled$7 = {
|
|
20286
|
+
LinkWrapper: styled$a.div.withConfig({
|
|
20287
|
+
displayName: "styles__LinkWrapper",
|
|
20288
|
+
componentId: "sc-fhfdft-0"
|
|
20289
|
+
})(["display:flex;color:", ";align-items:center;font-size:13px;& a{text-decoration:none;color:inherit;}"], getColor$1('blue')),
|
|
20290
|
+
StyledIcon: styled$a(Icon).withConfig({
|
|
20291
|
+
displayName: "styles__StyledIcon",
|
|
20292
|
+
componentId: "sc-fhfdft-1"
|
|
20293
|
+
})(["margin-right:8px;"])
|
|
20294
|
+
};
|
|
20295
|
+
|
|
20296
|
+
var _excluded$4 = ["href", "children", "target", "icon"];
|
|
20297
|
+
|
|
20298
|
+
var Link = function Link(_ref) {
|
|
20299
|
+
var href = _ref.href,
|
|
20300
|
+
children = _ref.children,
|
|
20301
|
+
target = _ref.target,
|
|
20302
|
+
icon = _ref.icon,
|
|
20303
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
20304
|
+
|
|
20305
|
+
var origin = window.location.origin;
|
|
20306
|
+
var internalLink = !href.startsWith('http');
|
|
20307
|
+
|
|
20308
|
+
var renderIcon = function renderIcon() {
|
|
20309
|
+
return icon ? /*#__PURE__*/React__default["default"].createElement(styled$7.StyledIcon, {
|
|
20310
|
+
name: icon
|
|
20311
|
+
}) : null;
|
|
20312
|
+
};
|
|
20313
|
+
|
|
20314
|
+
if ((internalLink || href.includes("".concat(origin))) && target === '_self') {
|
|
20315
|
+
var path;
|
|
20316
|
+
|
|
20317
|
+
if (internalLink) {
|
|
20318
|
+
path = href.startsWith('/') ? href : "/".concat(href);
|
|
20319
|
+
} else {
|
|
20320
|
+
path = href.replace("".concat(origin), '');
|
|
20321
|
+
}
|
|
20322
|
+
|
|
20323
|
+
return /*#__PURE__*/React__default["default"].createElement(styled$7.LinkWrapper, props, renderIcon(), /*#__PURE__*/React__default["default"].createElement(reactRouterDom.Link, {
|
|
20324
|
+
to: path,
|
|
20325
|
+
"data-test": "react-router-link"
|
|
20326
|
+
}, children || href));
|
|
20327
|
+
}
|
|
20328
|
+
|
|
20329
|
+
return /*#__PURE__*/React__default["default"].createElement(styled$7.LinkWrapper, props, renderIcon(), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
20330
|
+
href: href,
|
|
20331
|
+
target: target
|
|
20332
|
+
}, children || href));
|
|
20333
|
+
};
|
|
20334
|
+
|
|
20335
|
+
Link.defaultProps = {
|
|
20336
|
+
href: '',
|
|
20337
|
+
target: '_self'
|
|
20338
|
+
};
|
|
20339
|
+
|
|
20340
|
+
var _excluded$3 = ["backgroundColor", "borderColor", "children", "disabled", "icon", "iconColor", "onClick", "onDelete", "selected", "styles", "textColor", "variant", "linkField", "data"];
|
|
20286
20341
|
|
|
20287
20342
|
var Chip = function Chip(_ref) {
|
|
20288
20343
|
var backgroundColor = _ref.backgroundColor,
|
|
@@ -20297,9 +20352,12 @@
|
|
|
20297
20352
|
styles = _ref.styles,
|
|
20298
20353
|
textColor = _ref.textColor,
|
|
20299
20354
|
variant = _ref.variant,
|
|
20355
|
+
linkField = _ref.linkField,
|
|
20356
|
+
data = _ref.data,
|
|
20300
20357
|
props = _objectWithoutProperties(_ref, _excluded$3);
|
|
20301
20358
|
|
|
20302
|
-
|
|
20359
|
+
var linkForHref = linkField && data[linkField];
|
|
20360
|
+
return /*#__PURE__*/React__default["default"].createElement(styled$8.Chip, _extends$1({
|
|
20303
20361
|
as: props.onClick ? 'button' : 'div',
|
|
20304
20362
|
backgroundColor: backgroundColor,
|
|
20305
20363
|
borderColor: borderColor,
|
|
@@ -20312,18 +20370,21 @@
|
|
|
20312
20370
|
styles: styles,
|
|
20313
20371
|
textColor: textColor,
|
|
20314
20372
|
variant: variant,
|
|
20315
|
-
iconColor: iconColor
|
|
20373
|
+
iconColor: iconColor,
|
|
20374
|
+
linkForHref: linkForHref
|
|
20316
20375
|
}, props), icon && /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
20317
20376
|
className: "chip-icon",
|
|
20318
20377
|
name: icon,
|
|
20319
20378
|
color: iconColor,
|
|
20320
|
-
pathStyles: styled$
|
|
20321
|
-
}), /*#__PURE__*/React__default["default"].createElement(styled$
|
|
20379
|
+
pathStyles: styled$8.iconPathStyles
|
|
20380
|
+
}), /*#__PURE__*/React__default["default"].createElement(styled$8.Children, null, linkForHref ? /*#__PURE__*/React__default["default"].createElement(Link, {
|
|
20381
|
+
href: linkForHref
|
|
20382
|
+
}, children) : children), onDelete && /*#__PURE__*/React__default["default"].createElement(styled$8.DeleteButton, {
|
|
20322
20383
|
type: "button",
|
|
20323
20384
|
onClick: onDelete
|
|
20324
20385
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
20325
20386
|
color: "black",
|
|
20326
|
-
pathStyles: styled$
|
|
20387
|
+
pathStyles: styled$8.deleteButtonPathStyles,
|
|
20327
20388
|
className: "delete-button",
|
|
20328
20389
|
name: "cross_circle_flat",
|
|
20329
20390
|
size: 16
|
|
@@ -20337,21 +20398,23 @@
|
|
|
20337
20398
|
iconColor: 'grey',
|
|
20338
20399
|
selected: false,
|
|
20339
20400
|
textColor: '',
|
|
20340
|
-
variant: 'outlined'
|
|
20401
|
+
variant: 'outlined',
|
|
20402
|
+
linkField: '',
|
|
20403
|
+
data: {}
|
|
20341
20404
|
};
|
|
20342
20405
|
|
|
20343
20406
|
var styled$6 = {
|
|
20344
|
-
Wrapper: styled$
|
|
20407
|
+
Wrapper: styled$a.div.withConfig({
|
|
20345
20408
|
displayName: "styles__Wrapper",
|
|
20346
20409
|
componentId: "sc-zbd85t-0"
|
|
20347
20410
|
})(["display:flex;align-items:center;"]),
|
|
20348
|
-
ColorSample: styled$
|
|
20411
|
+
ColorSample: styled$a.div.withConfig({
|
|
20349
20412
|
displayName: "styles__ColorSample",
|
|
20350
20413
|
componentId: "sc-zbd85t-1"
|
|
20351
20414
|
})(["display:block;width:16px;height:16px;background-color:", ";border:1px solid ", ";border-radius:50%;"], function (props) {
|
|
20352
20415
|
return props.color;
|
|
20353
20416
|
}, palette.grey),
|
|
20354
|
-
Label: styled$
|
|
20417
|
+
Label: styled$a.span.withConfig({
|
|
20355
20418
|
displayName: "styles__Label",
|
|
20356
20419
|
componentId: "sc-zbd85t-2"
|
|
20357
20420
|
})(["margin-left:5px;text-transform:", ";"], function (props) {
|
|
@@ -20359,11 +20422,11 @@
|
|
|
20359
20422
|
})
|
|
20360
20423
|
};
|
|
20361
20424
|
({
|
|
20362
|
-
Grid: styled$
|
|
20425
|
+
Grid: styled$a.div.withConfig({
|
|
20363
20426
|
displayName: "styles__Grid",
|
|
20364
20427
|
componentId: "sc-zbd85t-3"
|
|
20365
20428
|
})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:15px;"]),
|
|
20366
|
-
Item: styled$
|
|
20429
|
+
Item: styled$a.div.withConfig({
|
|
20367
20430
|
displayName: "styles__Item",
|
|
20368
20431
|
componentId: "sc-zbd85t-4"
|
|
20369
20432
|
})(["padding:5px;border:1px dashed #ccc;cursor:default;display:grid;justify-items:center;justify-content:center;grid-row-gap:5px;"])
|
|
@@ -20402,7 +20465,7 @@
|
|
|
20402
20465
|
return palette.darkGrey;
|
|
20403
20466
|
}
|
|
20404
20467
|
};
|
|
20405
|
-
var Ball = styled$
|
|
20468
|
+
var Ball = styled$a.div.withConfig({
|
|
20406
20469
|
displayName: "styles__Ball",
|
|
20407
20470
|
componentId: "sc-rtzdt3-0"
|
|
20408
20471
|
})(["width:16px;height:16px;border-radius:50%;position:absolute;top:4px;left:4px;background-color:", ";transition:all ", " 0.2s;", ""], palette.base.white, timingFunctions$1.standard, function (props) {
|
|
@@ -20414,7 +20477,7 @@
|
|
|
20414
20477
|
return props.checked ? palette.black : palette.darkGrey;
|
|
20415
20478
|
}));
|
|
20416
20479
|
var styled$5 = {
|
|
20417
|
-
OuterContainer: styled$
|
|
20480
|
+
OuterContainer: styled$a.div.withConfig({
|
|
20418
20481
|
displayName: "styles__OuterContainer",
|
|
20419
20482
|
componentId: "sc-rtzdt3-1"
|
|
20420
20483
|
})(["display:flex;width:44px;align-items:center;pointer-events:", ";align-self:center;position:relative;", " &:active ", "{box-shadow:0px 0px 0px 10px ", ";", " svg{fill:", ";}}"], function (props) {
|
|
@@ -20424,12 +20487,12 @@
|
|
|
20424
20487
|
iconCheckStyles, function (props) {
|
|
20425
20488
|
return props.checked ? palette.blue : palette.darkGrey;
|
|
20426
20489
|
}),
|
|
20427
|
-
Input: styled$
|
|
20490
|
+
Input: styled$a.input.withConfig({
|
|
20428
20491
|
displayName: "styles__Input",
|
|
20429
20492
|
componentId: "sc-rtzdt3-2"
|
|
20430
20493
|
})(["position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1;"]),
|
|
20431
20494
|
Ball: Ball,
|
|
20432
|
-
Container: styled$
|
|
20495
|
+
Container: styled$a.div.withConfig({
|
|
20433
20496
|
displayName: "styles__Container",
|
|
20434
20497
|
componentId: "sc-rtzdt3-3"
|
|
20435
20498
|
})(["width:44px;height:24px;background-color:", ";border-radius:50px;position:relative;", ""], function (props) {
|
|
@@ -20560,13 +20623,13 @@
|
|
|
20560
20623
|
};
|
|
20561
20624
|
|
|
20562
20625
|
var styled$4 = {
|
|
20563
|
-
Container: styled$
|
|
20626
|
+
Container: styled$a.div.withConfig({
|
|
20564
20627
|
displayName: "styles__Container",
|
|
20565
20628
|
componentId: "sc-1fhkfhs-0"
|
|
20566
20629
|
})(["position:relative;width:", ";"], function (props) {
|
|
20567
20630
|
return props.fullWidth ? '100%' : 'auto';
|
|
20568
20631
|
}),
|
|
20569
|
-
FloatingLabel: styled$
|
|
20632
|
+
FloatingLabel: styled$a.div.withConfig({
|
|
20570
20633
|
displayName: "styles__FloatingLabel",
|
|
20571
20634
|
componentId: "sc-1fhkfhs-1"
|
|
20572
20635
|
})(["position:absolute;font-size:", ";font-weight:400;color:", ";height:30px;line-height:30px;bottom:0;left:0;", " transform-origin:top left;transform:", ";transition:all 0.2s ", ";", ""], fontSize$1, function (props) {
|
|
@@ -20581,7 +20644,7 @@
|
|
|
20581
20644
|
isFloating = _ref2.isFloating;
|
|
20582
20645
|
return hasIcon && !isFloating && "padding-left: 32px";
|
|
20583
20646
|
}),
|
|
20584
|
-
Input: styled$
|
|
20647
|
+
Input: styled$a.input.withConfig({
|
|
20585
20648
|
displayName: "styles__Input",
|
|
20586
20649
|
componentId: "sc-1fhkfhs-2"
|
|
20587
20650
|
})(["@keyframes onAutoFill{}", " height:34px;border:none;font-size:", ";font-weight:400;color:", ";transition:color 0.2s ", ";cursor:pointer;width:100%;border-bottom:1px solid ", ";border-radius:0;", " ", " ", " &:hover{border-color:", ";}&:focus{border-color:", ";caret-color:", ";outline:none;}&:disabled{background-color:", ";color:", ";border-color:", ";cursor:default;}&:-webkit-autofill{animation-name:onAutoFill;}::-webkit-inner-spin-button{appearance:none;}", ""], function (props) {
|
|
@@ -20602,11 +20665,11 @@
|
|
|
20602
20665
|
}, function (props) {
|
|
20603
20666
|
return hoverAndFocusColor(props);
|
|
20604
20667
|
}, palette.base.white, palette.grey.main, palette.grey.main, mediaBreaks.onlyPrint(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n\t\t\tborder-bottom: none;\n\t\t"])))),
|
|
20605
|
-
ErrorMessage: styled$
|
|
20668
|
+
ErrorMessage: styled$a.span.withConfig({
|
|
20606
20669
|
displayName: "styles__ErrorMessage",
|
|
20607
20670
|
componentId: "sc-1fhkfhs-3"
|
|
20608
20671
|
})(["color:", ";font-size:12px;line-height:14px;transform:translateY(-6px);word-break:break-word;"], palette.error.main),
|
|
20609
|
-
InputIcon: styled$
|
|
20672
|
+
InputIcon: styled$a(Icon).withConfig({
|
|
20610
20673
|
displayName: "styles__InputIcon",
|
|
20611
20674
|
componentId: "sc-1fhkfhs-4"
|
|
20612
20675
|
})(["position:absolute;flex-shrink:0;flex-grow:0;margin-right:8px;height:100%;"])
|
|
@@ -20800,13 +20863,13 @@
|
|
|
20800
20863
|
};
|
|
20801
20864
|
|
|
20802
20865
|
var styled$3 = {
|
|
20803
|
-
Container: styled$
|
|
20866
|
+
Container: styled$a.div.withConfig({
|
|
20804
20867
|
displayName: "styles__Container",
|
|
20805
20868
|
componentId: "sc-wtau65-0"
|
|
20806
20869
|
})(["position:relative;width:", ";"], function (props) {
|
|
20807
20870
|
return props.fullWidth ? '100%' : 'auto';
|
|
20808
20871
|
}),
|
|
20809
|
-
Textarea: styled$
|
|
20872
|
+
Textarea: styled$a.textarea.withConfig({
|
|
20810
20873
|
displayName: "styles__Textarea",
|
|
20811
20874
|
componentId: "sc-wtau65-1"
|
|
20812
20875
|
})(["border:none;border-bottom:1px solid ", ";border-radius:0;height:23px;max-height:350px;padding:0 9px 4px 0;resize:none;font-size:", ";font-weight:400;color:", ";", ";width:", ";", " ", " &:hover{border-color:", ";}&:focus{border-color:", ";caret-color:", ";outline:none;}&:disabled{background-color:", ";color:", ";border-color:", ";cursor:default;}", " ", ""], palette.grey.main, fontSize, palette.black.main, mixins.transition('color,border-color', '0.2s'), function (props) {
|
|
@@ -20816,7 +20879,7 @@
|
|
|
20816
20879
|
})), mixins.scrollbar(palette.grey.main, palette.base.white), palette.black.main, palette.primary.main, palette.primary.main, palette.base.white, palette.grey.main, palette.grey.main, function (props) {
|
|
20817
20880
|
return props.error && "\n\t\t\t&, &:hover, &:focus {\n\t\t\t\tborder-color: ".concat(palette.error.main, "\n\t\t\t}\n\t\t");
|
|
20818
20881
|
}, mediaBreaks.onlyPrint(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\tmin-height: initial;\n\t\t\theight: auto !important;\n\t\t\tborder-bottom: none;\n\t\t"])))),
|
|
20819
|
-
FloatingLabel: styled$
|
|
20882
|
+
FloatingLabel: styled$a.div.withConfig({
|
|
20820
20883
|
displayName: "styles__FloatingLabel",
|
|
20821
20884
|
componentId: "sc-wtau65-2"
|
|
20822
20885
|
})(["position:absolute;font-size:", ";font-weight:400;color:", ";height:24px;line-height:22px;top:0;left:0;pointer-events:", ";transform-origin:top left;transform:", ";transition:all 0.2s ", ";"], fontSize, function (props) {
|
|
@@ -20827,7 +20890,7 @@
|
|
|
20827
20890
|
}, function (props) {
|
|
20828
20891
|
return props.isFloating && 'translate(0, -18px) scale(0.75)';
|
|
20829
20892
|
}, timingFunctions.standard),
|
|
20830
|
-
ErrorMessage: styled$
|
|
20893
|
+
ErrorMessage: styled$a.span.withConfig({
|
|
20831
20894
|
displayName: "styles__ErrorMessage",
|
|
20832
20895
|
componentId: "sc-wtau65-3"
|
|
20833
20896
|
})(["color:", ";font-size:12px;line-height:14px;display:block;word-break:break-word;"], palette.error.main)
|
|
@@ -20996,7 +21059,7 @@
|
|
|
20996
21059
|
};
|
|
20997
21060
|
|
|
20998
21061
|
var styled$2 = {
|
|
20999
|
-
ImageWrapper: styled$
|
|
21062
|
+
ImageWrapper: styled$a.div.withConfig({
|
|
21000
21063
|
displayName: "styles__ImageWrapper",
|
|
21001
21064
|
componentId: "sc-vrvp1c-0"
|
|
21002
21065
|
})(["width:", ";height:", ";border-radius:", ";", ";overflow:hidden;display:flex;justify-content:center;align-items:center;"], function (_ref) {
|
|
@@ -21012,7 +21075,7 @@
|
|
|
21012
21075
|
var background = _ref4.background;
|
|
21013
21076
|
return background && "background-color: ".concat(background);
|
|
21014
21077
|
}),
|
|
21015
|
-
Image: styled$
|
|
21078
|
+
Image: styled$a.img.withConfig({
|
|
21016
21079
|
displayName: "styles__Image",
|
|
21017
21080
|
componentId: "sc-vrvp1c-1"
|
|
21018
21081
|
})(["width:", ";height:", ";border-radius:", ";"], function (_ref5) {
|
|
@@ -21883,7 +21946,7 @@
|
|
|
21883
21946
|
}
|
|
21884
21947
|
|
|
21885
21948
|
var styled$1 = {
|
|
21886
|
-
ClickableWrapper: styled$
|
|
21949
|
+
ClickableWrapper: styled$a.div.withConfig({
|
|
21887
21950
|
displayName: "styles__ClickableWrapper",
|
|
21888
21951
|
componentId: "sc-lreg3c-0"
|
|
21889
21952
|
})(["display:flex;align-items:center;border:none;cursor:pointer;&:before{content:'';z-index:1;display:inline-block;border:1px solid ", ";background-color:", ";border-radius:48%;width:14px;height:14px;margin:7px 4px;position:absolute;margin-bottom:", "px;}"], palette.grey, function (props) {
|
|
@@ -21891,19 +21954,19 @@
|
|
|
21891
21954
|
}, function (props) {
|
|
21892
21955
|
return props.error ? '25' : '7';
|
|
21893
21956
|
}),
|
|
21894
|
-
ClosePickerWrapper: styled$
|
|
21957
|
+
ClosePickerWrapper: styled$a.div.withConfig({
|
|
21895
21958
|
displayName: "styles__ClosePickerWrapper",
|
|
21896
21959
|
componentId: "sc-lreg3c-1"
|
|
21897
21960
|
})(["position:fixed;top:0px;right:0px;bottom:0px;left:0px;"]),
|
|
21898
|
-
Input: styled$
|
|
21961
|
+
Input: styled$a(Input).withConfig({
|
|
21899
21962
|
displayName: "styles__Input",
|
|
21900
21963
|
componentId: "sc-lreg3c-2"
|
|
21901
21964
|
})(["padding-left:26px;"]),
|
|
21902
|
-
PickerWrapper: styled$
|
|
21965
|
+
PickerWrapper: styled$a.div.withConfig({
|
|
21903
21966
|
displayName: "styles__PickerWrapper",
|
|
21904
21967
|
componentId: "sc-lreg3c-3"
|
|
21905
21968
|
})(["position:absolute;top:31px;z-index:2;left:0;margin-top:15px;"]),
|
|
21906
|
-
Wrapper: styled$
|
|
21969
|
+
Wrapper: styled$a.div.withConfig({
|
|
21907
21970
|
displayName: "styles__Wrapper",
|
|
21908
21971
|
componentId: "sc-lreg3c-4"
|
|
21909
21972
|
})(["display:flex;flex-direction:column;width:100%;position:relative;"])
|
|
@@ -22312,11 +22375,11 @@
|
|
|
22312
22375
|
var Frame = /*@__PURE__*/getDefaultExportFromCjs(lib);
|
|
22313
22376
|
|
|
22314
22377
|
var styled = {
|
|
22315
|
-
Wrapper: styled$
|
|
22378
|
+
Wrapper: styled$a.div.withConfig({
|
|
22316
22379
|
displayName: "styles__Wrapper",
|
|
22317
22380
|
componentId: "sc-3jodl7-0"
|
|
22318
22381
|
})(["display:flex;align-items:center;align-self:center;height:100%;max-height:36px;overflow:hidden;white-space:nowrap;"]),
|
|
22319
|
-
Icon: styled$
|
|
22382
|
+
Icon: styled$a(Icon).withConfig({
|
|
22320
22383
|
displayName: "styles__Icon",
|
|
22321
22384
|
componentId: "sc-3jodl7-1"
|
|
22322
22385
|
})(["margin-right:6px;flex-shrink:0;"])
|