tcce-design-system-test 0.1.0

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.
@@ -0,0 +1,76 @@
1
+ (function(M,oe){typeof exports=="object"&&typeof module<"u"?oe(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],oe):(M=typeof globalThis<"u"?globalThis:M||self,oe(M["@tcce/design-system"]={},M["react/jsx-runtime"],M.React))})(this,(function(M,oe,T){"use strict";var N=function(){return N=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},N.apply(this,arguments)};function W(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,s;n<o;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Gt(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ht=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Yt=Gt(function(e){return Ht.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),v="-ms-",se="-moz-",f="-webkit-",Je="comm",le="rule",Ie="decl",qt="@import",Qe="@keyframes",Wt="@layer",et=Math.abs,_e=String.fromCharCode,Te=Object.assign;function Ut(e,t){return P(e,0)^45?(((t<<2^P(e,0))<<2^P(e,1))<<2^P(e,2))<<2^P(e,3):0}function tt(e){return e.trim()}function $(e,t){return(e=t.exec(e))?e[0]:e}function u(e,t,r){return e.replace(t,r)}function pe(e,t,r){return e.indexOf(t,r)}function P(e,t){return e.charCodeAt(t)|0}function U(e,t,r){return e.slice(t,r)}function D(e){return e.length}function rt(e){return e.length}function ie(e,t){return t.push(e),e}function Xt(e,t){return e.map(t).join("")}function nt(e,t){return e.filter(function(r){return!$(r,t)})}var de=1,X=1,ot=0,R=0,C=0,K="";function fe(e,t,r,n,o,s,i,c){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:de,column:X,length:i,return:"",siblings:c}}function z(e,t){return Te(fe("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Z(e){for(;e.root;)e=z(e.root,{children:[e]});ie(e,e.siblings)}function Kt(){return C}function Zt(){return C=R>0?P(K,--R):0,X--,C===10&&(X=1,de--),C}function _(){return C=R<ot?P(K,R++):0,X++,C===10&&(X=1,de++),C}function B(){return P(K,R)}function he(){return R}function me(e,t){return U(K,e,t)}function De(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Jt(e){return de=X=1,ot=D(K=e),R=0,[]}function Qt(e){return K="",e}function $e(e){return tt(me(R-1,je(e===91?e+2:e===40?e+1:e)))}function er(e){for(;(C=B())&&C<33;)_();return De(e)>2||De(C)>3?"":" "}function tr(e,t){for(;--t&&_()&&!(C<48||C>102||C>57&&C<65||C>70&&C<97););return me(e,he()+(t<6&&B()==32&&_()==32))}function je(e){for(;_();)switch(C){case e:return R;case 34:case 39:e!==34&&e!==39&&je(C);break;case 40:e===41&&je(e);break;case 92:_();break}return R}function rr(e,t){for(;_()&&e+C!==57;)if(e+C===84&&B()===47)break;return"/*"+me(t,R-1)+"*"+_e(e===47?e:_())}function nr(e){for(;!De(B());)_();return me(e,R)}function or(e){return Qt(ge("",null,null,null,[""],e=Jt(e),0,[0],e))}function ge(e,t,r,n,o,s,i,c,a){for(var y=0,m=0,d=i,g=0,h=0,S=0,E=1,O=1,A=1,k=0,w="",b=o,x=s,p=n,l=w;O;)switch(S=k,k=_()){case 40:if(S!=108&&P(l,d-1)==58){pe(l+=u($e(k),"&","&\f"),"&\f",et(y?c[y-1]:0))!=-1&&(A=-1);break}case 34:case 39:case 91:l+=$e(k);break;case 9:case 10:case 13:case 32:l+=er(S);break;case 92:l+=tr(he()-1,7);continue;case 47:switch(B()){case 42:case 47:ie(sr(rr(_(),he()),t,r,a),a);break;default:l+="/"}break;case 123*E:c[y++]=D(l)*A;case 125*E:case 59:case 0:switch(k){case 0:case 125:O=0;case 59+m:A==-1&&(l=u(l,/\f/g,"")),h>0&&D(l)-d&&ie(h>32?it(l+";",n,r,d-1,a):it(u(l," ","")+";",n,r,d-2,a),a);break;case 59:l+=";";default:if(ie(p=st(l,t,r,y,m,o,c,w,b=[],x=[],d,s),s),k===123)if(m===0)ge(l,t,p,p,b,s,d,c,x);else switch(g===99&&P(l,3)===110?100:g){case 100:case 108:case 109:case 115:ge(e,p,p,n&&ie(st(e,p,p,0,0,o,c,w,o,b=[],d,x),x),o,x,d,c,n?b:x);break;default:ge(l,p,p,p,[""],x,0,c,x)}}y=m=h=0,E=A=1,w=l="",d=i;break;case 58:d=1+D(l),h=S;default:if(E<1){if(k==123)--E;else if(k==125&&E++==0&&Zt()==125)continue}switch(l+=_e(k),k*E){case 38:A=m>0?1:(l+="\f",-1);break;case 44:c[y++]=(D(l)-1)*A,A=1;break;case 64:B()===45&&(l+=$e(_())),g=B(),m=d=D(w=l+=nr(he())),k++;break;case 45:S===45&&D(l)==2&&(E=0)}}return s}function st(e,t,r,n,o,s,i,c,a,y,m,d){for(var g=o-1,h=o===0?s:[""],S=rt(h),E=0,O=0,A=0;E<n;++E)for(var k=0,w=U(e,g+1,g=et(O=i[E])),b=e;k<S;++k)(b=tt(O>0?h[k]+" "+w:u(w,/&\f/g,h[k])))&&(a[A++]=b);return fe(e,t,r,o===0?le:c,a,y,m,d)}function sr(e,t,r,n){return fe(e,t,r,Je,_e(Kt()),U(e,2,-2),0,n)}function it(e,t,r,n,o){return fe(e,t,r,Ie,U(e,0,n),U(e,n+1,-1),n,o)}function at(e,t,r){switch(Ut(e,t)){case 5103:return f+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return f+e+e;case 4789:return se+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return f+e+se+e+v+e+e;case 5936:switch(P(e,t+11)){case 114:return f+e+v+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return f+e+v+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return f+e+v+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return f+e+v+e+e;case 6165:return f+e+v+"flex-"+e+e;case 5187:return f+e+u(e,/(\w+).+(:[^]+)/,f+"box-$1$2"+v+"flex-$1$2")+e;case 5443:return f+e+v+"flex-item-"+u(e,/flex-|-self/g,"")+($(e,/flex-|baseline/)?"":v+"grid-row-"+u(e,/flex-|-self/g,""))+e;case 4675:return f+e+v+"flex-line-pack"+u(e,/align-content|flex-|-self/g,"")+e;case 5548:return f+e+v+u(e,"shrink","negative")+e;case 5292:return f+e+v+u(e,"basis","preferred-size")+e;case 6060:return f+"box-"+u(e,"-grow","")+f+e+v+u(e,"grow","positive")+e;case 4554:return f+u(e,/([^-])(transform)/g,"$1"+f+"$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,f+"$1"),/(image-set)/,f+"$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,f+"$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,f+"box-pack:$3"+v+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+f+e+e;case 4200:if(!$(e,/flex-|baseline/))return v+"grid-column-align"+U(e,t)+e;break;case 2592:case 3360:return v+u(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,$(n.props,/grid-\w+-end/)})?~pe(e+(r=r[t].value),"span",0)?e:v+u(e,"-start","")+e+v+"grid-row-span:"+(~pe(r,"span",0)?$(r,/\d+/):+$(r,/\d+/)-+$(e,/\d+/))+";":v+u(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return $(n.props,/grid-\w+-start/)})?e:v+u(u(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,f+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(D(e)-1-t>6)switch(P(e,t+1)){case 109:if(P(e,t+4)!==45)break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+f+"$2-$3$1"+se+(P(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~pe(e,"stretch",0)?at(u(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return u(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,s,i,c,a,y){return v+o+":"+s+y+(i?v+o+"-span:"+(c?a:+a-+s)+y:"")+e});case 4949:if(P(e,t+6)===121)return u(e,":",":"+f)+e;break;case 6444:switch(P(e,P(e,14)===45?18:11)){case 120:return u(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+f+(P(e,14)===45?"inline-":"")+"box$3$1"+f+"$2$3$1"+v+"$2box$3")+e;case 100:return u(e,":",":"+v)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return u(e,"scroll-","scroll-snap-")+e}return e}function ye(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function ir(e,t,r,n){switch(e.type){case Wt:if(e.children.length)break;case qt:case Ie:return e.return=e.return||e.value;case Je:return"";case Qe:return e.return=e.value+"{"+ye(e.children,n)+"}";case le:if(!D(e.value=e.props.join(",")))return""}return D(r=ye(e.children,n))?e.return=e.value+"{"+r+"}":""}function ar(e){var t=rt(e);return function(r,n,o,s){for(var i="",c=0;c<t;c++)i+=e[c](r,n,o,s)||"";return i}}function cr(e){return function(t){t.root||(t=t.return)&&e(t)}}function ur(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Ie:e.return=at(e.value,e.length,r);return;case Qe:return ye([z(e,{value:u(e.value,"@","@"+f)})],n);case le:if(e.length)return Xt(r=e.props,function(o){switch($(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Z(z(e,{props:[u(o,/:(read-\w+)/,":"+se+"$1")]})),Z(z(e,{props:[o]})),Te(e,{props:nt(r,n)});break;case"::placeholder":Z(z(e,{props:[u(o,/:(plac\w+)/,":"+f+"input-$1")]})),Z(z(e,{props:[u(o,/:(plac\w+)/,":"+se+"$1")]})),Z(z(e,{props:[u(o,/:(plac\w+)/,v+"input-$1")]})),Z(z(e,{props:[o]})),Te(e,{props:nt(r,n)});break}return""})}}var lr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},V=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ct="active",ut="data-styled-version",ve="6.1.19",Me=`/*!sc*/
2
+ `,we=typeof window<"u"&&typeof document<"u",pr=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),lt=/invalid hook call/i,be=new Set,dr=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
3
+ `)+`You may see this warning because you've called styled inside another component.
4
+ To resolve this only create new StyledComponents outside of any render method and function component.
5
+ See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
6
+ `,o=console.error;try{var s=!0;console.error=function(i){for(var c=[],a=1;a<arguments.length;a++)c[a-1]=arguments[a];lt.test(i)?(s=!1,be.delete(n)):o.apply(void 0,W([i],c,!1))},T.useRef(),s&&!be.has(n)&&(console.warn(n),be.add(n))}catch(i){lt.test(i.message)&&be.delete(n)}finally{console.error=o}}},Se=Object.freeze([]),J=Object.freeze({});function fr(e,t,r){return r===void 0&&(r=J),e.theme!==r.theme&&e.theme||t||r.theme}var ze=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),hr=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,mr=/(^-|-$)/g;function pt(e){return e.replace(hr,"-").replace(mr,"")}var gr=/(a)(d)/gi,ke=52,dt=function(e){return String.fromCharCode(e+(e>25?39:97))};function Le(e){var t,r="";for(t=Math.abs(e);t>ke;t=t/ke|0)r=dt(t%ke)+r;return(dt(t%ke)+r).replace(gr,"$1-$2")}var Fe,ft=5381,G=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ht=function(e){return G(ft,e)};function yr(e){return Le(ht(e)>>>0)}function mt(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Be(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var gt=typeof Symbol=="function"&&Symbol.for,yt=gt?Symbol.for("react.memo"):60115,vr=gt?Symbol.for("react.forward_ref"):60112,wr={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},br={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},vt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Sr=((Fe={})[vr]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Fe[yt]=vt,Fe);function wt(e){return("type"in(t=e)&&t.type.$$typeof)===yt?vt:"$$typeof"in e?Sr[e.$$typeof]:wr;var t}var kr=Object.defineProperty,xr=Object.getOwnPropertyNames,bt=Object.getOwnPropertySymbols,Er=Object.getOwnPropertyDescriptor,Cr=Object.getPrototypeOf,St=Object.prototype;function kt(e,t,r){if(typeof t!="string"){if(St){var n=Cr(t);n&&n!==St&&kt(e,n,r)}var o=xr(t);bt&&(o=o.concat(bt(t)));for(var s=wt(e),i=wt(t),c=0;c<o.length;++c){var a=o[c];if(!(a in br||r&&r[a]||i&&a in i||s&&a in s)){var y=Er(t,a);try{kr(e,a,y)}catch{}}}}return e}function Q(e){return typeof e=="function"}function Ve(e){return typeof e=="object"&&"styledComponentId"in e}function H(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function xt(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function ee(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Ge(e,t,r){if(r===void 0&&(r=!1),!r&&!ee(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Ge(e[n],t[n]);else if(ee(t))for(var n in t)e[n]=Ge(e[n],t[n]);return e}function He(e,t){Object.defineProperty(e,"toString",{value:t})}var Ar=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
7
+
8
+ `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
9
+
10
+ - Are you trying to reuse it across renders?
11
+ - Are you accidentally calling collectStyles twice?
12
+
13
+ `,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
14
+
15
+ `,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
16
+
17
+ - Does this error occur on the client and is your target falsy?
18
+ - Does this error occur on the server and is the sheet falsy?
19
+
20
+ `,5:`The clone method cannot be used on the client!
21
+
22
+ - Are you running in a client-like environment on the server?
23
+ - Are you trying to run SSR on the client?
24
+
25
+ `,6:`Trying to insert a new style tag, but the given Node is unmounted!
26
+
27
+ - Are you using a custom target that isn't mounted?
28
+ - Does your document not have a valid head element?
29
+ - Have you accidentally removed a style tag manually?
30
+
31
+ `,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
32
+
33
+ `,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
34
+
35
+ `,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
36
+
37
+ `,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
38
+
39
+ `,14:`ThemeProvider: "theme" prop is required.
40
+
41
+ `,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
42
+ You may only create up to 1,073,741,824 components. If you're creating components dynamically,
43
+ as for instance in your render method then you may be running into this limitation.
44
+
45
+ `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
46
+ Has styled-components' style tag been unmounted or altered by another script?
47
+ `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Pr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,s=e.length;o<s;o+=1)n.push(e[o]);return n.forEach(function(i){r=r.replace(/%[a-z]/,i)}),r}function te(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Pr.apply(void 0,W([Ar[e]],t,!1)).trim())}var Nr=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,s=o;t>=s;)if((s<<=1)<0)throw te(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var i=o;i<s;i++)this.groupSizes[i]=0}for(var c=this.indexOfGroup(t+1),a=(i=0,r.length);i<a;i++)this.tag.insertRule(c,r[i])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var s=n;s<o;s++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),s=o+n,i=o;i<s;i++)r+="".concat(this.tag.getRule(i)).concat(Me);return r},e})(),Or=1<<30,xe=new Map,Ee=new Map,Ce=1,Ae=function(e){if(xe.has(e))return xe.get(e);for(;Ee.has(Ce);)Ce++;var t=Ce++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Or))throw te(16,"".concat(t));return xe.set(e,t),Ee.set(t,e),t},Rr=function(e,t){Ce=t+1,xe.set(e,t),Ee.set(t,e)},Ir="style[".concat(V,"][").concat(ut,'="').concat(ve,'"]'),_r=new RegExp("^".concat(V,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Tr=function(e,t,r){for(var n,o=r.split(","),s=0,i=o.length;s<i;s++)(n=o[s])&&e.registerName(t,n)},Dr=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Me),o=[],s=0,i=n.length;s<i;s++){var c=n[s].trim();if(c){var a=c.match(_r);if(a){var y=0|parseInt(a[1],10),m=a[2];y!==0&&(Rr(m,y),Tr(e,m,a[3]),e.getTag().insertRules(y,o)),o.length=0}else o.push(c)}}},Et=function(e){for(var t=document.querySelectorAll(Ir),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(V)!==ct&&(Dr(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function $r(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Ct=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=(function(c){var a=Array.from(c.querySelectorAll("style[".concat(V,"]")));return a[a.length-1]})(r),s=o!==void 0?o.nextSibling:null;n.setAttribute(V,ct),n.setAttribute(ut,ve);var i=$r();return i&&n.setAttribute("nonce",i),r.insertBefore(n,s),n},jr=(function(){function e(t){this.element=Ct(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,s=n.length;o<s;o++){var i=n[o];if(i.ownerNode===r)return i}throw te(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e})(),Mr=(function(){function e(t){this.element=Ct(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),zr=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),At=we,Lr={isServer:!we,useCSSOMInjection:!pr},Pt=(function(){function e(t,r,n){t===void 0&&(t=J),r===void 0&&(r={});var o=this;this.options=N(N({},Lr),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&we&&At&&(At=!1,Et(this)),He(this,function(){return(function(s){for(var i=s.getTag(),c=i.length,a="",y=function(d){var g=(function(A){return Ee.get(A)})(d);if(g===void 0)return"continue";var h=s.names.get(g),S=i.getGroup(d);if(h===void 0||!h.size||S.length===0)return"continue";var E="".concat(V,".g").concat(d,'[id="').concat(g,'"]'),O="";h!==void 0&&h.forEach(function(A){A.length>0&&(O+="".concat(A,","))}),a+="".concat(S).concat(E,'{content:"').concat(O,'"}').concat(Me)},m=0;m<c;m++)y(m);return a})(o)})}return e.registerId=function(t){return Ae(t)},e.prototype.rehydrate=function(){!this.server&&we&&Et(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(N(N({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new zr(o):n?new jr(o):new Mr(o)})(this.options),new Nr(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Ae(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Ae(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Ae(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),Fr=/&/g,Br=/^\s*\/\/.*$/gm;function Nt(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Nt(r.children,t)),r})}function Vr(e){var t,r,n,o=J,s=o.options,i=s===void 0?J:s,c=o.plugins,a=c===void 0?Se:c,y=function(g,h,S){return S.startsWith(r)&&S.endsWith(r)&&S.replaceAll(r,"").length>0?".".concat(t):g},m=a.slice();m.push(function(g){g.type===le&&g.value.includes("&")&&(g.props[0]=g.props[0].replace(Fr,r).replace(n,y))}),i.prefix&&m.push(ur),m.push(ir);var d=function(g,h,S,E){h===void 0&&(h=""),S===void 0&&(S=""),E===void 0&&(E="&"),t=E,r=h,n=new RegExp("\\".concat(r,"\\b"),"g");var O=g.replace(Br,""),A=or(S||h?"".concat(S," ").concat(h," { ").concat(O," }"):O);i.namespace&&(A=Nt(A,i.namespace));var k=[];return ye(A,ar(m.concat(cr(function(w){return k.push(w)})))),k};return d.hash=a.length?a.reduce(function(g,h){return h.name||te(15),G(g,h.name)},ft).toString():"",d}var Gr=new Pt,Ye=Vr(),Ot=T.createContext({shouldForwardProp:void 0,styleSheet:Gr,stylis:Ye});Ot.Consumer,T.createContext(void 0);function Rt(){return T.useContext(Ot)}var It=(function(){function e(t,r){var n=this;this.inject=function(o,s){s===void 0&&(s=Ye);var i=n.name+s.hash;o.hasNameForId(n.id,i)||o.insertRules(n.id,i,s(n.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,He(this,function(){throw te(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Ye),this.name+t.hash},e})(),Hr=function(e){return e>="A"&&e<="Z"};function _t(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;Hr(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Tt=function(e){return e==null||e===!1||e===""},Dt=function(e){var t,r,n=[];for(var o in e){var s=e[o];e.hasOwnProperty(o)&&!Tt(s)&&(Array.isArray(s)&&s.isCss||Q(s)?n.push("".concat(_t(o),":"),s,";"):ee(s)?n.push.apply(n,W(W(["".concat(o," {")],Dt(s),!1),["}"],!1)):n.push("".concat(_t(o),": ").concat((t=o,(r=s)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in lr||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Y(e,t,r,n){if(Tt(e))return[];if(Ve(e))return[".".concat(e.styledComponentId)];if(Q(e)){if(!Q(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof It||ee(o)||o===null||console.error("".concat(mt(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Y(o,t,r,n)}var s;return e instanceof It?r?(e.inject(r,n),[e.getName(n)]):[e]:ee(e)?Dt(e):Array.isArray(e)?Array.prototype.concat.apply(Se,e.map(function(i){return Y(i,t,r,n)})):[e.toString()]}function Yr(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Q(r)&&!Ve(r))return!1}return!0}var qr=ht(ve),Wr=(function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Yr(t),this.componentId=r,this.baseHash=G(qr,r),this.baseStyle=n,Pt.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=H(o,this.staticRulesId);else{var s=xt(Y(this.rules,t,r,n)),i=Le(G(this.baseHash,s)>>>0);if(!r.hasNameForId(this.componentId,i)){var c=n(s,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,c)}o=H(o,i),this.staticRulesId=i}else{for(var a=G(this.baseHash,n.hash),y="",m=0;m<this.rules.length;m++){var d=this.rules[m];if(typeof d=="string")y+=d,process.env.NODE_ENV!=="production"&&(a=G(a,d));else if(d){var g=xt(Y(d,t,r,n));a=G(a,g+m),y+=g}}if(y){var h=Le(a>>>0);r.hasNameForId(this.componentId,h)||r.insertRules(this.componentId,h,n(y,".".concat(h),void 0,this.componentId)),o=H(o,h)}}return o},e})(),$t=T.createContext(void 0);$t.Consumer;var qe={},jt=new Set;function Ur(e,t,r){var n=Ve(e),o=e,s=!Be(e),i=t.attrs,c=i===void 0?Se:i,a=t.componentId,y=a===void 0?(function(b,x){var p=typeof b!="string"?"sc":pt(b);qe[p]=(qe[p]||0)+1;var l="".concat(p,"-").concat(yr(ve+p+qe[p]));return x?"".concat(x,"-").concat(l):l})(t.displayName,t.parentComponentId):a,m=t.displayName,d=m===void 0?(function(b){return Be(b)?"styled.".concat(b):"Styled(".concat(mt(b),")")})(e):m,g=t.displayName&&t.componentId?"".concat(pt(t.displayName),"-").concat(t.componentId):t.componentId||y,h=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,S=t.shouldForwardProp;if(n&&o.shouldForwardProp){var E=o.shouldForwardProp;if(t.shouldForwardProp){var O=t.shouldForwardProp;S=function(b,x){return E(b,x)&&O(b,x)}}else S=E}var A=new Wr(r,g,n?o.componentStyle:void 0);function k(b,x){return(function(p,l,L){var re=p.attrs,Jr=p.componentStyle,Qr=p.defaultProps,en=p.foldedComponentIds,Bt=p.styledComponentId,tn=p.target,rn=T.useContext($t),nn=Rt(),Ue=p.shouldForwardProp||nn.shouldForwardProp;process.env.NODE_ENV!=="production"&&T.useDebugValue(Bt);var Vt=fr(l,rn,Qr)||J,j=(function(Ne,ue,Oe){for(var ne,q=N(N({},ue),{className:void 0,theme:Oe}),Ze=0;Ze<Ne.length;Ze+=1){var Re=Q(ne=Ne[Ze])?ne(q):ne;for(var F in Re)q[F]=F==="className"?H(q[F],Re[F]):F==="style"?N(N({},q[F]),Re[F]):Re[F]}return ue.className&&(q.className=H(q.className,ue.className)),q})(re,l,Vt),ae=j.as||tn,ce={};for(var I in j)j[I]===void 0||I[0]==="$"||I==="as"||I==="theme"&&j.theme===Vt||(I==="forwardedAs"?ce.as=j.forwardedAs:Ue&&!Ue(I,ae)||(ce[I]=j[I],Ue||process.env.NODE_ENV!=="development"||Yt(I)||jt.has(I)||!ze.has(ae)||(jt.add(I),console.warn('styled-components: it looks like an unknown prop "'.concat(I,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var Xe=(function(Ne,ue){var Oe=Rt(),ne=Ne.generateAndInjectStyles(ue,Oe.styleSheet,Oe.stylis);return process.env.NODE_ENV!=="production"&&T.useDebugValue(ne),ne})(Jr,j);process.env.NODE_ENV!=="production"&&p.warnTooManyClasses&&p.warnTooManyClasses(Xe);var Ke=H(en,Bt);return Xe&&(Ke+=" "+Xe),j.className&&(Ke+=" "+j.className),ce[Be(ae)&&!ze.has(ae)?"class":"className"]=Ke,L&&(ce.ref=L),T.createElement(ae,ce)})(w,b,x)}k.displayName=d;var w=T.forwardRef(k);return w.attrs=h,w.componentStyle=A,w.displayName=d,w.shouldForwardProp=S,w.foldedComponentIds=n?H(o.foldedComponentIds,o.styledComponentId):"",w.styledComponentId=g,w.target=n?o.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(b){this._foldedDefaultProps=n?(function(x){for(var p=[],l=1;l<arguments.length;l++)p[l-1]=arguments[l];for(var L=0,re=p;L<re.length;L++)Ge(x,re[L],!0);return x})({},o.defaultProps,b):b}}),process.env.NODE_ENV!=="production"&&(dr(d,g),w.warnTooManyClasses=(function(b,x){var p={},l=!1;return function(L){if(!l&&(p[L]=!0,Object.keys(p).length>=200)){var re=x?' with the id of "'.concat(x,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(b).concat(re,`.
48
+ `)+`Consider using the attrs method, together with a style object for frequently changed styles.
49
+ Example:
50
+ const Component = styled.div.attrs(props => ({
51
+ style: {
52
+ background: props.background,
53
+ },
54
+ }))\`width: 100%;\`
55
+
56
+ <Component />`),l=!0,p={}}}})(d,g)),He(w,function(){return".".concat(w.styledComponentId)}),s&&kt(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Mt(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var zt=function(e){return Object.assign(e,{isCss:!0})};function Xr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Q(e)||ee(e))return zt(Y(Mt(Se,W([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?Y(n):zt(Y(Mt(n,t)))}function We(e,t,r){if(r===void 0&&(r=J),!t)throw te(1,t);var n=function(o){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return e(t,r,Xr.apply(void 0,W([o],s,!1)))};return n.attrs=function(o){return We(e,t,N(N({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return We(e,t,N(N({},r),o))},n}var Lt=function(e){return We(Ur,e)},Ft=Lt;ze.forEach(function(e){Ft[e]=Lt(e)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
57
+ Perhaps you're looking to import 'styled-components/native'?
58
+ Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Pe="__sc-".concat(V,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[Pe]||(window[Pe]=0),window[Pe]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
59
+
60
+ See https://s-c.sh/2BAXzed for more info.`),window[Pe]+=1);const Kr=Ft.button`
61
+ border-radius: var(--border-radius-button);
62
+ background-color: var(--color-blue-primary);
63
+ color: var(--white);
64
+ padding: 1.25rem 0.625rem;
65
+ transition: all 0.3s ease-in-out;
66
+ &:hover {
67
+ cursor: pointer;
68
+ background-color: var(--purple-600);
69
+ }
70
+
71
+ &:disabled {
72
+ cursor: not-allowed;
73
+ background-color: var(--grey);
74
+ box-shadow: none;
75
+ }
76
+ `,Zr=({...e})=>{const{slot:t,type:r="button",name:n,onClick:o,disabled:s,className:i}=e;return oe.jsx(Kr,{className:`body-text-normal-20 ${i??""}`,type:r,name:n,onClick:o,disabled:s,children:t})};M.PrimaryButton=Zr,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})}));
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "tcce-design-system-test",
3
+ "publishConfig": {
4
+ "access": "public"
5
+ },
6
+ "version": "0.1.0",
7
+ "description": "This package provides reusable UI components to ensure consistency across all CRM frontend applications",
8
+ "author": "BizAppsTotal <bizapps@tcce.biz>",
9
+ "type": "module",
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "main": "./dist/tcce-design-system-components.umd.cjs",
14
+ "module": "./dist/tcce-design-system-components.js",
15
+ "exports": {
16
+ ".": {
17
+ "import": "./dist/tcce-design-system-components.js",
18
+ "require": "./dist/tcce-design-system-components.umd.cjs"
19
+ },
20
+ "./dist/tcce-design-system-components.css": "./tcce-design-system-components.css"
21
+ },
22
+ "dependencies": {
23
+ "@tailwindcss/vite": "^4.1.13",
24
+ "react": "^19.1.1",
25
+ "react-dom": "^19.1.1",
26
+ "styled-components": "^6.1.19",
27
+ "tailwindcss": "^4.1.13"
28
+ },
29
+ "devDependencies": {
30
+ "@eslint/js": "^9.33.0",
31
+ "@types/node": "^24.3.1",
32
+ "@types/react": "^19.1.10",
33
+ "@types/react-dom": "^19.1.7",
34
+ "@vitejs/plugin-react": "^5.0.0",
35
+ "eslint": "^9.33.0",
36
+ "eslint-plugin-react-hooks": "^5.2.0",
37
+ "eslint-plugin-react-refresh": "^0.4.20",
38
+ "globals": "^16.3.0",
39
+ "typescript": "~5.8.3",
40
+ "typescript-eslint": "^8.39.1",
41
+ "vite": "^7.1.2",
42
+ "vite-plugin-dts": "^4.5.4"
43
+ },
44
+ "scripts": {
45
+ "dev": "vite",
46
+ "build": "tsc -b && vite build",
47
+ "lint": "eslint .",
48
+ "preview": "vite preview"
49
+ }
50
+ }