@ambuj.bhaskar/react-component-library 0.6.2 → 0.6.3

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/dist/index.cjs CHANGED
@@ -236,4 +236,4 @@ __p += '`),At&&(ue+=`' +
236
236
  function print() { __p += __j.call(arguments, '') }
237
237
  `:`;
238
238
  `)+ue+`return __p
239
- }`;var pt=il(function(){return kt(M,Ue+"return "+ue).apply(t,A)});if(pt.source=ue,Y1(pt))throw pt;return pt}function tv(r){return Wt(r).toLowerCase()}function nv(r){return Wt(r).toUpperCase()}function rv(r,a,s){if(r=Wt(r),r&&(s||a===t))return v5(r);if(!r||!(a=or(a)))return r;var d=Pr(r),C=Pr(a),M=h5(d,C),A=g5(d,C)+1;return bi(d,M,A).join("")}function iv(r,a,s){if(r=Wt(r),r&&(s||a===t))return r.slice(0,C5(r)+1);if(!r||!(a=or(a)))return r;var d=Pr(r),C=g5(d,Pr(a))+1;return bi(d,0,C).join("")}function av(r,a,s){if(r=Wt(r),r&&(s||a===t))return r.replace(Re,"");if(!r||!(a=or(a)))return r;var d=Pr(r),C=h5(d,Pr(a));return bi(d,C).join("")}function ov(r,a){var s=j,d=Q;if(un(a)){var C="separator"in a?a.separator:C;s="length"in a?mt(a.length):s,d="omission"in a?or(a.omission):d}r=Wt(r);var M=r.length;if(r4(r)){var A=Pr(r);M=A.length}if(s>=M)return r;var T=s-i4(d);if(T<1)return d;var B=A?bi(A,0,T).join(""):r.slice(0,T);if(C===t)return B+d;if(A&&(T+=B.length-T),Q1(C)){if(r.slice(T).search(C)){var ie,oe=B;for(C.global||(C=h1(C.source,Wt(Ye.exec(C))+"g")),C.lastIndex=0;ie=C.exec(oe);)var ue=ie.index;B=B.slice(0,ue===t?T:ue)}}else if(r.indexOf(or(C),T)!=T){var Se=B.lastIndexOf(C);Se>-1&&(B=B.slice(0,Se))}return B+d}function lv(r){return r=Wt(r),r&&Kt.test(r)?r.replace(Yt,D8):r}var sv=f4(function(r,a,s){return r+(s?" ":"")+a.toUpperCase()}),t2=a0("toUpperCase");function rl(r,a,s){return r=Wt(r),a=s?t:a,a===t?O8(r)?Z8(r):w8(r):r.match(a)||[]}var il=wt(function(r,a){try{return ir(r,t,a)}catch(s){return Y1(s)?s:new ut(s)}}),cv=ii(function(r,a){return pr(a,function(s){s=Ur(s),ni(r,s,q1(r[s],r))}),r});function uv(r){var a=r==null?0:r.length,s=nt();return r=a?sn(r,function(d){if(typeof d[1]!="function")throw new yr(u);return[s(d[0]),d[1]]}):[],wt(function(d){for(var C=-1;++C<a;){var M=r[C];if(ir(M[0],this,d))return ir(M[1],this,d)}})}function fv(r){return Dc(wr(r,m))}function n2(r){return function(){return r}}function dv(r,a){return r==null||r!==r?a:r}var vv=l0(),hv=l0(!0);function nr(r){return r}function r2(r){return N5(typeof r=="function"?r:wr(r,m))}function gv(r){return V5(wr(r,m))}function mv(r,a){return H5(r,wr(a,m))}var Cv=wt(function(r,a){return function(s){return U4(s,r,a)}}),pv=wt(function(r,a){return function(s){return U4(r,s,a)}});function i2(r,a,s){var d=Rn(a),C=Ga(a,d);s==null&&!(un(a)&&(C.length||!d.length))&&(s=a,a=r,r=this,C=Ga(a,Rn(a)));var M=!(un(s)&&"chain"in s)||!!s.chain,A=oi(r);return pr(C,function(T){var B=a[T];r[T]=B,A&&(r.prototype[T]=function(){var ie=this.__chain__;if(M||ie){var oe=r(this.__wrapped__),ue=oe.__actions__=Jn(this.__actions__);return ue.push({func:B,args:arguments,thisArg:r}),oe.__chain__=ie,oe}return B.apply(r,mi([this.value()],arguments))})}),r}function yv(){return Pn._===this&&(Pn._=W8),this}function a2(){}function Ev(r){return r=mt(r),wt(function(a){return k5(a,r)})}var wv=$1(sn),bv=$1(s5),Lv=$1(l1);function al(r){return z1(r)?s1(Ur(r)):Qc(r)}function Sv(r){return function(a){return r==null?t:Bi(r,a)}}var Mv=c0(),xv=c0(!0);function o2(){return[]}function l2(){return!1}function _v(){return{}}function Rv(){return""}function Fv(){return!0}function Ov(r,a){if(r=mt(r),r<1||r>D)return[];var s=U,d=Zn(r,U);a=nt(a),r-=U;for(var C=f1(d,a);++s<r;)a(s);return C}function Av(r){return ht(r)?sn(r,Ur):lr(r)?[r]:Jn(M0(Wt(r)))}function Pv(r){var a=++B8;return Wt(r)+a}var Iv=eo(function(r,a){return r+a},0),Tv=N1("ceil"),Dv=eo(function(r,a){return r/a},1),$v=N1("floor");function Nv(r){return r&&r.length?Ka(r,nr,b1):t}function Zv(r,a){return r&&r.length?Ka(r,nt(a,2),b1):t}function Vv(r){return f5(r,nr)}function Hv(r,a){return f5(r,nt(a,2))}function kv(r){return r&&r.length?Ka(r,nr,x1):t}function Bv(r,a){return r&&r.length?Ka(r,nt(a,2),x1):t}var zv=eo(function(r,a){return r*a},1),Wv=N1("round"),jv=eo(function(r,a){return r-a},0);function Uv(r){return r&&r.length?u1(r,nr):0}function Kv(r,a){return r&&r.length?u1(r,nt(a,2)):0}return L.after=gf,L.ary=$0,L.assign=nd,L.assignIn=X0,L.assignInWith=ho,L.assignWith=rd,L.at=id,L.before=N0,L.bind=q1,L.bindAll=cv,L.bindKey=Z0,L.castArray=_f,L.chain=I0,L.chunk=Du,L.compact=$u,L.concat=Nu,L.cond=uv,L.conforms=fv,L.constant=n2,L.countBy=j9,L.create=ad,L.curry=V0,L.curryRight=H0,L.debounce=k0,L.defaults=od,L.defaultsDeep=ld,L.defer=mf,L.delay=Cf,L.difference=Zu,L.differenceBy=Vu,L.differenceWith=Hu,L.drop=ku,L.dropRight=Bu,L.dropRightWhile=zu,L.dropWhile=Wu,L.fill=ju,L.filter=K9,L.flatMap=X9,L.flatMapDeep=Y9,L.flatMapDepth=Q9,L.flatten=F0,L.flattenDeep=Uu,L.flattenDepth=Ku,L.flip=pf,L.flow=vv,L.flowRight=hv,L.fromPairs=Gu,L.functions=hd,L.functionsIn=gd,L.groupBy=J9,L.initial=Xu,L.intersection=Yu,L.intersectionBy=Qu,L.intersectionWith=Ju,L.invert=Cd,L.invertBy=pd,L.invokeMap=tf,L.iteratee=r2,L.keyBy=nf,L.keys=Rn,L.keysIn=tr,L.map=lo,L.mapKeys=Ed,L.mapValues=wd,L.matches=gv,L.matchesProperty=mv,L.memoize=co,L.merge=bd,L.mergeWith=Y0,L.method=Cv,L.methodOf=pv,L.mixin=i2,L.negate=uo,L.nthArg=Ev,L.omit=Ld,L.omitBy=Sd,L.once=yf,L.orderBy=rf,L.over=wv,L.overArgs=Ef,L.overEvery=bv,L.overSome=Lv,L.partial=X1,L.partialRight=B0,L.partition=af,L.pick=Md,L.pickBy=Q0,L.property=al,L.propertyOf=Sv,L.pull=r9,L.pullAll=A0,L.pullAllBy=i9,L.pullAllWith=a9,L.pullAt=o9,L.range=Mv,L.rangeRight=xv,L.rearg=wf,L.reject=sf,L.remove=l9,L.rest=bf,L.reverse=K1,L.sampleSize=uf,L.set=_d,L.setWith=Rd,L.shuffle=ff,L.slice=s9,L.sortBy=hf,L.sortedUniq=g9,L.sortedUniqBy=m9,L.split=Yd,L.spread=Lf,L.tail=C9,L.take=p9,L.takeRight=y9,L.takeRightWhile=E9,L.takeWhile=w9,L.tap=$9,L.throttle=Sf,L.thru=oo,L.toArray=K0,L.toPairs=J0,L.toPairsIn=el,L.toPath=Av,L.toPlainObject=q0,L.transform=Fd,L.unary=Mf,L.union=b9,L.unionBy=L9,L.unionWith=S9,L.uniq=M9,L.uniqBy=x9,L.uniqWith=_9,L.unset=Od,L.unzip=G1,L.unzipWith=P0,L.update=Ad,L.updateWith=Pd,L.values=h4,L.valuesIn=Id,L.without=R9,L.words=rl,L.wrap=xf,L.xor=F9,L.xorBy=O9,L.xorWith=A9,L.zip=P9,L.zipObject=I9,L.zipObjectDeep=T9,L.zipWith=D9,L.entries=J0,L.entriesIn=el,L.extend=X0,L.extendWith=ho,i2(L,L),L.add=Iv,L.attempt=il,L.camelCase=Nd,L.capitalize=tl,L.ceil=Tv,L.clamp=Td,L.clone=Rf,L.cloneDeep=Of,L.cloneDeepWith=Af,L.cloneWith=Ff,L.conformsTo=Pf,L.deburr=nl,L.defaultTo=dv,L.divide=Dv,L.endsWith=Zd,L.eq=Tr,L.escape=Vd,L.escapeRegExp=Hd,L.every=U9,L.find=G9,L.findIndex=_0,L.findKey=sd,L.findLast=q9,L.findLastIndex=R0,L.findLastKey=cd,L.floor=$v,L.forEach=T0,L.forEachRight=D0,L.forIn=ud,L.forInRight=fd,L.forOwn=dd,L.forOwnRight=vd,L.get=J1,L.gt=If,L.gte=Tf,L.has=md,L.hasIn=e2,L.head=O0,L.identity=nr,L.includes=ef,L.indexOf=qu,L.inRange=Dd,L.invoke=yd,L.isArguments=ji,L.isArray=ht,L.isArrayBuffer=Df,L.isArrayLike=er,L.isArrayLikeObject=Cn,L.isBoolean=$f,L.isBuffer=Li,L.isDate=Nf,L.isElement=Zf,L.isEmpty=Vf,L.isEqual=Hf,L.isEqualWith=kf,L.isError=Y1,L.isFinite=Bf,L.isFunction=oi,L.isInteger=z0,L.isLength=fo,L.isMap=W0,L.isMatch=zf,L.isMatchWith=Wf,L.isNaN=jf,L.isNative=Uf,L.isNil=Gf,L.isNull=Kf,L.isNumber=j0,L.isObject=un,L.isObjectLike=dn,L.isPlainObject=Q4,L.isRegExp=Q1,L.isSafeInteger=qf,L.isSet=U0,L.isString=vo,L.isSymbol=lr,L.isTypedArray=v4,L.isUndefined=Xf,L.isWeakMap=Yf,L.isWeakSet=Qf,L.join=e9,L.kebabCase=kd,L.last=Lr,L.lastIndexOf=t9,L.lowerCase=Bd,L.lowerFirst=zd,L.lt=Jf,L.lte=ed,L.max=Nv,L.maxBy=Zv,L.mean=Vv,L.meanBy=Hv,L.min=kv,L.minBy=Bv,L.stubArray=o2,L.stubFalse=l2,L.stubObject=_v,L.stubString=Rv,L.stubTrue=Fv,L.multiply=zv,L.nth=n9,L.noConflict=yv,L.noop=a2,L.now=so,L.pad=Wd,L.padEnd=jd,L.padStart=Ud,L.parseInt=Kd,L.random=$d,L.reduce=of,L.reduceRight=lf,L.repeat=Gd,L.replace=qd,L.result=xd,L.round=Wv,L.runInContext=H,L.sample=cf,L.size=df,L.snakeCase=Xd,L.some=vf,L.sortedIndex=c9,L.sortedIndexBy=u9,L.sortedIndexOf=f9,L.sortedLastIndex=d9,L.sortedLastIndexBy=v9,L.sortedLastIndexOf=h9,L.startCase=Qd,L.startsWith=Jd,L.subtract=jv,L.sum=Uv,L.sumBy=Kv,L.template=ev,L.times=Ov,L.toFinite=li,L.toInteger=mt,L.toLength=G0,L.toLower=tv,L.toNumber=Sr,L.toSafeInteger=td,L.toString=Wt,L.toUpper=nv,L.trim=rv,L.trimEnd=iv,L.trimStart=av,L.truncate=ov,L.unescape=lv,L.uniqueId=Pv,L.upperCase=sv,L.upperFirst=t2,L.each=T0,L.eachRight=D0,L.first=O0,i2(L,function(){var r={};return Wr(L,function(a,s){Gt.call(L.prototype,s)||(r[s]=a)}),r}(),{chain:!1}),L.VERSION=i,pr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){L[r].placeholder=L}),pr(["drop","take"],function(r,a){Rt.prototype[r]=function(s){s=s===t?1:Sn(mt(s),0);var d=this.__filtered__&&!a?new Rt(this):this.clone();return d.__filtered__?d.__takeCount__=Zn(s,d.__takeCount__):d.__views__.push({size:Zn(s,U),type:r+(d.__dir__<0?"Right":"")}),d},Rt.prototype[r+"Right"]=function(s){return this.reverse()[r](s).reverse()}}),pr(["filter","map","takeWhile"],function(r,a){var s=a+1,d=s==K||s==k;Rt.prototype[r]=function(C){var M=this.clone();return M.__iteratees__.push({iteratee:nt(C,3),type:s}),M.__filtered__=M.__filtered__||d,M}}),pr(["head","last"],function(r,a){var s="take"+(a?"Right":"");Rt.prototype[r]=function(){return this[s](1).value()[0]}}),pr(["initial","tail"],function(r,a){var s="drop"+(a?"":"Right");Rt.prototype[r]=function(){return this.__filtered__?new Rt(this):this[s](1)}}),Rt.prototype.compact=function(){return this.filter(nr)},Rt.prototype.find=function(r){return this.filter(r).head()},Rt.prototype.findLast=function(r){return this.reverse().find(r)},Rt.prototype.invokeMap=wt(function(r,a){return typeof r=="function"?new Rt(this):this.map(function(s){return U4(s,r,a)})}),Rt.prototype.reject=function(r){return this.filter(uo(nt(r)))},Rt.prototype.slice=function(r,a){r=mt(r);var s=this;return s.__filtered__&&(r>0||a<0)?new Rt(s):(r<0?s=s.takeRight(-r):r&&(s=s.drop(r)),a!==t&&(a=mt(a),s=a<0?s.dropRight(-a):s.take(a-r)),s)},Rt.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Rt.prototype.toArray=function(){return this.take(U)},Wr(Rt.prototype,function(r,a){var s=/^(?:filter|find|map|reject)|While$/.test(a),d=/^(?:head|last)$/.test(a),C=L[d?"take"+(a=="last"?"Right":""):a],M=d||/^find/.test(a);C&&(L.prototype[a]=function(){var A=this.__wrapped__,T=d?[1]:arguments,B=A instanceof Rt,ie=T[0],oe=B||ht(A),ue=function(_t){var At=C.apply(L,mi([_t],T));return d&&Se?At[0]:At};oe&&s&&typeof ie=="function"&&ie.length!=1&&(B=oe=!1);var Se=this.__chain__,Ue=!!this.__actions__.length,rt=M&&!Se,pt=B&&!Ue;if(!M&&oe){A=pt?A:new Rt(this);var it=r.apply(A,T);return it.__actions__.push({func:oo,args:[ue],thisArg:t}),new Er(it,Se)}return rt&&pt?r.apply(this,T):(it=this.thru(ue),rt?d?it.value()[0]:it.value():it)})}),pr(["pop","push","shift","sort","splice","unshift"],function(r){var a=Pa[r],s=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",d=/^(?:pop|shift)$/.test(r);L.prototype[r]=function(){var C=arguments;if(d&&!this.__chain__){var M=this.value();return a.apply(ht(M)?M:[],C)}return this[s](function(A){return a.apply(ht(A)?A:[],C)})}}),Wr(Rt.prototype,function(r,a){var s=L[a];if(s){var d=s.name+"";Gt.call(s4,d)||(s4[d]=[]),s4[d].push({name:a,func:s})}}),s4[Ja(t,x).name]=[{name:"wrapper",func:t}],Rt.prototype.clone=oc,Rt.prototype.reverse=lc,Rt.prototype.value=sc,L.prototype.at=N9,L.prototype.chain=Z9,L.prototype.commit=V9,L.prototype.next=H9,L.prototype.plant=B9,L.prototype.reverse=z9,L.prototype.toJSON=L.prototype.valueOf=L.prototype.value=W9,L.prototype.first=L.prototype.head,V4&&(L.prototype[V4]=k9),L},a4=V8();Ni?((Ni.exports=a4)._=a4,r1._=a4):Pn._=a4}).call(zS)}(la,la.exports)),la.exports}var jS=WS();const qr=H7(jS),o8=(e,n="",t)=>{qr.forEach(e,(i,o)=>{const c=`--${n}${o}`;qr.isObject(i)&&!qr.isArray(i)?o8(i,`${n}${o}-`,t):typeof i=="string"&&t.style.setProperty(c,i)})},l8=(e,n="",t)=>{qr.forEach(e,(i,o)=>{const c=`--${n}${o}`;qr.isObject(i)&&!qr.isArray(i)?l8(i,`${n}${o}-`,t):t.style.removeProperty(c)})},US=(e,n="")=>{const t={},i=(o,c)=>{qr.forEach(o,(u,f)=>{const v=`--${c}${f}`;qr.isObject(u)&&!qr.isArray(u)?i(u,`${c}${f}-`):typeof u=="string"&&(t[`${c}${f}`.toUpperCase().replace(/-/g,"_")]=`var(${v})`)})};return i(e,n),t},s8=V.createContext({}),x2="awi-color-",KS=({theme:e,children:n})=>{const t=V.useRef(null);V.useEffect(()=>{if(qr.isEqual(t.current,e.palette))return;const o=document.documentElement;return o8(e.palette,x2,o),()=>{l8(e.palette,x2,o)}},[e.palette]);const i=US(e.palette,x2);return cn.jsx(s8.Provider,{value:i,children:n})},GS=()=>{const e=V.useContext(s8);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e};exports.Button=rC;exports.ContactInput=kS;exports.Icon=jo;exports.Input=_2;exports.Multiselect=BS;exports.Select=a8;exports.Spinner=k7;exports.ThemeProvider=KS;exports.useTheme=GS;
239
+ }`;var pt=il(function(){return kt(M,Ue+"return "+ue).apply(t,A)});if(pt.source=ue,Y1(pt))throw pt;return pt}function tv(r){return Wt(r).toLowerCase()}function nv(r){return Wt(r).toUpperCase()}function rv(r,a,s){if(r=Wt(r),r&&(s||a===t))return v5(r);if(!r||!(a=or(a)))return r;var d=Pr(r),C=Pr(a),M=h5(d,C),A=g5(d,C)+1;return bi(d,M,A).join("")}function iv(r,a,s){if(r=Wt(r),r&&(s||a===t))return r.slice(0,C5(r)+1);if(!r||!(a=or(a)))return r;var d=Pr(r),C=g5(d,Pr(a))+1;return bi(d,0,C).join("")}function av(r,a,s){if(r=Wt(r),r&&(s||a===t))return r.replace(Re,"");if(!r||!(a=or(a)))return r;var d=Pr(r),C=h5(d,Pr(a));return bi(d,C).join("")}function ov(r,a){var s=j,d=Q;if(un(a)){var C="separator"in a?a.separator:C;s="length"in a?mt(a.length):s,d="omission"in a?or(a.omission):d}r=Wt(r);var M=r.length;if(r4(r)){var A=Pr(r);M=A.length}if(s>=M)return r;var T=s-i4(d);if(T<1)return d;var B=A?bi(A,0,T).join(""):r.slice(0,T);if(C===t)return B+d;if(A&&(T+=B.length-T),Q1(C)){if(r.slice(T).search(C)){var ie,oe=B;for(C.global||(C=h1(C.source,Wt(Ye.exec(C))+"g")),C.lastIndex=0;ie=C.exec(oe);)var ue=ie.index;B=B.slice(0,ue===t?T:ue)}}else if(r.indexOf(or(C),T)!=T){var Se=B.lastIndexOf(C);Se>-1&&(B=B.slice(0,Se))}return B+d}function lv(r){return r=Wt(r),r&&Kt.test(r)?r.replace(Yt,D8):r}var sv=f4(function(r,a,s){return r+(s?" ":"")+a.toUpperCase()}),t2=a0("toUpperCase");function rl(r,a,s){return r=Wt(r),a=s?t:a,a===t?O8(r)?Z8(r):w8(r):r.match(a)||[]}var il=wt(function(r,a){try{return ir(r,t,a)}catch(s){return Y1(s)?s:new ut(s)}}),cv=ii(function(r,a){return pr(a,function(s){s=Ur(s),ni(r,s,q1(r[s],r))}),r});function uv(r){var a=r==null?0:r.length,s=nt();return r=a?sn(r,function(d){if(typeof d[1]!="function")throw new yr(u);return[s(d[0]),d[1]]}):[],wt(function(d){for(var C=-1;++C<a;){var M=r[C];if(ir(M[0],this,d))return ir(M[1],this,d)}})}function fv(r){return Dc(wr(r,m))}function n2(r){return function(){return r}}function dv(r,a){return r==null||r!==r?a:r}var vv=l0(),hv=l0(!0);function nr(r){return r}function r2(r){return N5(typeof r=="function"?r:wr(r,m))}function gv(r){return V5(wr(r,m))}function mv(r,a){return H5(r,wr(a,m))}var Cv=wt(function(r,a){return function(s){return U4(s,r,a)}}),pv=wt(function(r,a){return function(s){return U4(r,s,a)}});function i2(r,a,s){var d=Rn(a),C=Ga(a,d);s==null&&!(un(a)&&(C.length||!d.length))&&(s=a,a=r,r=this,C=Ga(a,Rn(a)));var M=!(un(s)&&"chain"in s)||!!s.chain,A=oi(r);return pr(C,function(T){var B=a[T];r[T]=B,A&&(r.prototype[T]=function(){var ie=this.__chain__;if(M||ie){var oe=r(this.__wrapped__),ue=oe.__actions__=Jn(this.__actions__);return ue.push({func:B,args:arguments,thisArg:r}),oe.__chain__=ie,oe}return B.apply(r,mi([this.value()],arguments))})}),r}function yv(){return Pn._===this&&(Pn._=W8),this}function a2(){}function Ev(r){return r=mt(r),wt(function(a){return k5(a,r)})}var wv=$1(sn),bv=$1(s5),Lv=$1(l1);function al(r){return z1(r)?s1(Ur(r)):Qc(r)}function Sv(r){return function(a){return r==null?t:Bi(r,a)}}var Mv=c0(),xv=c0(!0);function o2(){return[]}function l2(){return!1}function _v(){return{}}function Rv(){return""}function Fv(){return!0}function Ov(r,a){if(r=mt(r),r<1||r>D)return[];var s=U,d=Zn(r,U);a=nt(a),r-=U;for(var C=f1(d,a);++s<r;)a(s);return C}function Av(r){return ht(r)?sn(r,Ur):lr(r)?[r]:Jn(M0(Wt(r)))}function Pv(r){var a=++B8;return Wt(r)+a}var Iv=eo(function(r,a){return r+a},0),Tv=N1("ceil"),Dv=eo(function(r,a){return r/a},1),$v=N1("floor");function Nv(r){return r&&r.length?Ka(r,nr,b1):t}function Zv(r,a){return r&&r.length?Ka(r,nt(a,2),b1):t}function Vv(r){return f5(r,nr)}function Hv(r,a){return f5(r,nt(a,2))}function kv(r){return r&&r.length?Ka(r,nr,x1):t}function Bv(r,a){return r&&r.length?Ka(r,nt(a,2),x1):t}var zv=eo(function(r,a){return r*a},1),Wv=N1("round"),jv=eo(function(r,a){return r-a},0);function Uv(r){return r&&r.length?u1(r,nr):0}function Kv(r,a){return r&&r.length?u1(r,nt(a,2)):0}return L.after=gf,L.ary=$0,L.assign=nd,L.assignIn=X0,L.assignInWith=ho,L.assignWith=rd,L.at=id,L.before=N0,L.bind=q1,L.bindAll=cv,L.bindKey=Z0,L.castArray=_f,L.chain=I0,L.chunk=Du,L.compact=$u,L.concat=Nu,L.cond=uv,L.conforms=fv,L.constant=n2,L.countBy=j9,L.create=ad,L.curry=V0,L.curryRight=H0,L.debounce=k0,L.defaults=od,L.defaultsDeep=ld,L.defer=mf,L.delay=Cf,L.difference=Zu,L.differenceBy=Vu,L.differenceWith=Hu,L.drop=ku,L.dropRight=Bu,L.dropRightWhile=zu,L.dropWhile=Wu,L.fill=ju,L.filter=K9,L.flatMap=X9,L.flatMapDeep=Y9,L.flatMapDepth=Q9,L.flatten=F0,L.flattenDeep=Uu,L.flattenDepth=Ku,L.flip=pf,L.flow=vv,L.flowRight=hv,L.fromPairs=Gu,L.functions=hd,L.functionsIn=gd,L.groupBy=J9,L.initial=Xu,L.intersection=Yu,L.intersectionBy=Qu,L.intersectionWith=Ju,L.invert=Cd,L.invertBy=pd,L.invokeMap=tf,L.iteratee=r2,L.keyBy=nf,L.keys=Rn,L.keysIn=tr,L.map=lo,L.mapKeys=Ed,L.mapValues=wd,L.matches=gv,L.matchesProperty=mv,L.memoize=co,L.merge=bd,L.mergeWith=Y0,L.method=Cv,L.methodOf=pv,L.mixin=i2,L.negate=uo,L.nthArg=Ev,L.omit=Ld,L.omitBy=Sd,L.once=yf,L.orderBy=rf,L.over=wv,L.overArgs=Ef,L.overEvery=bv,L.overSome=Lv,L.partial=X1,L.partialRight=B0,L.partition=af,L.pick=Md,L.pickBy=Q0,L.property=al,L.propertyOf=Sv,L.pull=r9,L.pullAll=A0,L.pullAllBy=i9,L.pullAllWith=a9,L.pullAt=o9,L.range=Mv,L.rangeRight=xv,L.rearg=wf,L.reject=sf,L.remove=l9,L.rest=bf,L.reverse=K1,L.sampleSize=uf,L.set=_d,L.setWith=Rd,L.shuffle=ff,L.slice=s9,L.sortBy=hf,L.sortedUniq=g9,L.sortedUniqBy=m9,L.split=Yd,L.spread=Lf,L.tail=C9,L.take=p9,L.takeRight=y9,L.takeRightWhile=E9,L.takeWhile=w9,L.tap=$9,L.throttle=Sf,L.thru=oo,L.toArray=K0,L.toPairs=J0,L.toPairsIn=el,L.toPath=Av,L.toPlainObject=q0,L.transform=Fd,L.unary=Mf,L.union=b9,L.unionBy=L9,L.unionWith=S9,L.uniq=M9,L.uniqBy=x9,L.uniqWith=_9,L.unset=Od,L.unzip=G1,L.unzipWith=P0,L.update=Ad,L.updateWith=Pd,L.values=h4,L.valuesIn=Id,L.without=R9,L.words=rl,L.wrap=xf,L.xor=F9,L.xorBy=O9,L.xorWith=A9,L.zip=P9,L.zipObject=I9,L.zipObjectDeep=T9,L.zipWith=D9,L.entries=J0,L.entriesIn=el,L.extend=X0,L.extendWith=ho,i2(L,L),L.add=Iv,L.attempt=il,L.camelCase=Nd,L.capitalize=tl,L.ceil=Tv,L.clamp=Td,L.clone=Rf,L.cloneDeep=Of,L.cloneDeepWith=Af,L.cloneWith=Ff,L.conformsTo=Pf,L.deburr=nl,L.defaultTo=dv,L.divide=Dv,L.endsWith=Zd,L.eq=Tr,L.escape=Vd,L.escapeRegExp=Hd,L.every=U9,L.find=G9,L.findIndex=_0,L.findKey=sd,L.findLast=q9,L.findLastIndex=R0,L.findLastKey=cd,L.floor=$v,L.forEach=T0,L.forEachRight=D0,L.forIn=ud,L.forInRight=fd,L.forOwn=dd,L.forOwnRight=vd,L.get=J1,L.gt=If,L.gte=Tf,L.has=md,L.hasIn=e2,L.head=O0,L.identity=nr,L.includes=ef,L.indexOf=qu,L.inRange=Dd,L.invoke=yd,L.isArguments=ji,L.isArray=ht,L.isArrayBuffer=Df,L.isArrayLike=er,L.isArrayLikeObject=Cn,L.isBoolean=$f,L.isBuffer=Li,L.isDate=Nf,L.isElement=Zf,L.isEmpty=Vf,L.isEqual=Hf,L.isEqualWith=kf,L.isError=Y1,L.isFinite=Bf,L.isFunction=oi,L.isInteger=z0,L.isLength=fo,L.isMap=W0,L.isMatch=zf,L.isMatchWith=Wf,L.isNaN=jf,L.isNative=Uf,L.isNil=Gf,L.isNull=Kf,L.isNumber=j0,L.isObject=un,L.isObjectLike=dn,L.isPlainObject=Q4,L.isRegExp=Q1,L.isSafeInteger=qf,L.isSet=U0,L.isString=vo,L.isSymbol=lr,L.isTypedArray=v4,L.isUndefined=Xf,L.isWeakMap=Yf,L.isWeakSet=Qf,L.join=e9,L.kebabCase=kd,L.last=Lr,L.lastIndexOf=t9,L.lowerCase=Bd,L.lowerFirst=zd,L.lt=Jf,L.lte=ed,L.max=Nv,L.maxBy=Zv,L.mean=Vv,L.meanBy=Hv,L.min=kv,L.minBy=Bv,L.stubArray=o2,L.stubFalse=l2,L.stubObject=_v,L.stubString=Rv,L.stubTrue=Fv,L.multiply=zv,L.nth=n9,L.noConflict=yv,L.noop=a2,L.now=so,L.pad=Wd,L.padEnd=jd,L.padStart=Ud,L.parseInt=Kd,L.random=$d,L.reduce=of,L.reduceRight=lf,L.repeat=Gd,L.replace=qd,L.result=xd,L.round=Wv,L.runInContext=H,L.sample=cf,L.size=df,L.snakeCase=Xd,L.some=vf,L.sortedIndex=c9,L.sortedIndexBy=u9,L.sortedIndexOf=f9,L.sortedLastIndex=d9,L.sortedLastIndexBy=v9,L.sortedLastIndexOf=h9,L.startCase=Qd,L.startsWith=Jd,L.subtract=jv,L.sum=Uv,L.sumBy=Kv,L.template=ev,L.times=Ov,L.toFinite=li,L.toInteger=mt,L.toLength=G0,L.toLower=tv,L.toNumber=Sr,L.toSafeInteger=td,L.toString=Wt,L.toUpper=nv,L.trim=rv,L.trimEnd=iv,L.trimStart=av,L.truncate=ov,L.unescape=lv,L.uniqueId=Pv,L.upperCase=sv,L.upperFirst=t2,L.each=T0,L.eachRight=D0,L.first=O0,i2(L,function(){var r={};return Wr(L,function(a,s){Gt.call(L.prototype,s)||(r[s]=a)}),r}(),{chain:!1}),L.VERSION=i,pr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){L[r].placeholder=L}),pr(["drop","take"],function(r,a){Rt.prototype[r]=function(s){s=s===t?1:Sn(mt(s),0);var d=this.__filtered__&&!a?new Rt(this):this.clone();return d.__filtered__?d.__takeCount__=Zn(s,d.__takeCount__):d.__views__.push({size:Zn(s,U),type:r+(d.__dir__<0?"Right":"")}),d},Rt.prototype[r+"Right"]=function(s){return this.reverse()[r](s).reverse()}}),pr(["filter","map","takeWhile"],function(r,a){var s=a+1,d=s==K||s==k;Rt.prototype[r]=function(C){var M=this.clone();return M.__iteratees__.push({iteratee:nt(C,3),type:s}),M.__filtered__=M.__filtered__||d,M}}),pr(["head","last"],function(r,a){var s="take"+(a?"Right":"");Rt.prototype[r]=function(){return this[s](1).value()[0]}}),pr(["initial","tail"],function(r,a){var s="drop"+(a?"":"Right");Rt.prototype[r]=function(){return this.__filtered__?new Rt(this):this[s](1)}}),Rt.prototype.compact=function(){return this.filter(nr)},Rt.prototype.find=function(r){return this.filter(r).head()},Rt.prototype.findLast=function(r){return this.reverse().find(r)},Rt.prototype.invokeMap=wt(function(r,a){return typeof r=="function"?new Rt(this):this.map(function(s){return U4(s,r,a)})}),Rt.prototype.reject=function(r){return this.filter(uo(nt(r)))},Rt.prototype.slice=function(r,a){r=mt(r);var s=this;return s.__filtered__&&(r>0||a<0)?new Rt(s):(r<0?s=s.takeRight(-r):r&&(s=s.drop(r)),a!==t&&(a=mt(a),s=a<0?s.dropRight(-a):s.take(a-r)),s)},Rt.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Rt.prototype.toArray=function(){return this.take(U)},Wr(Rt.prototype,function(r,a){var s=/^(?:filter|find|map|reject)|While$/.test(a),d=/^(?:head|last)$/.test(a),C=L[d?"take"+(a=="last"?"Right":""):a],M=d||/^find/.test(a);C&&(L.prototype[a]=function(){var A=this.__wrapped__,T=d?[1]:arguments,B=A instanceof Rt,ie=T[0],oe=B||ht(A),ue=function(_t){var At=C.apply(L,mi([_t],T));return d&&Se?At[0]:At};oe&&s&&typeof ie=="function"&&ie.length!=1&&(B=oe=!1);var Se=this.__chain__,Ue=!!this.__actions__.length,rt=M&&!Se,pt=B&&!Ue;if(!M&&oe){A=pt?A:new Rt(this);var it=r.apply(A,T);return it.__actions__.push({func:oo,args:[ue],thisArg:t}),new Er(it,Se)}return rt&&pt?r.apply(this,T):(it=this.thru(ue),rt?d?it.value()[0]:it.value():it)})}),pr(["pop","push","shift","sort","splice","unshift"],function(r){var a=Pa[r],s=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",d=/^(?:pop|shift)$/.test(r);L.prototype[r]=function(){var C=arguments;if(d&&!this.__chain__){var M=this.value();return a.apply(ht(M)?M:[],C)}return this[s](function(A){return a.apply(ht(A)?A:[],C)})}}),Wr(Rt.prototype,function(r,a){var s=L[a];if(s){var d=s.name+"";Gt.call(s4,d)||(s4[d]=[]),s4[d].push({name:a,func:s})}}),s4[Ja(t,x).name]=[{name:"wrapper",func:t}],Rt.prototype.clone=oc,Rt.prototype.reverse=lc,Rt.prototype.value=sc,L.prototype.at=N9,L.prototype.chain=Z9,L.prototype.commit=V9,L.prototype.next=H9,L.prototype.plant=B9,L.prototype.reverse=z9,L.prototype.toJSON=L.prototype.valueOf=L.prototype.value=W9,L.prototype.first=L.prototype.head,V4&&(L.prototype[V4]=k9),L},a4=V8();Ni?((Ni.exports=a4)._=a4,r1._=a4):Pn._=a4}).call(zS)}(la,la.exports)),la.exports}var jS=WS();const qr=H7(jS),o8=(e,n="",t)=>{qr.forEach(e,(i,o)=>{const c=`--${n}${o}`;qr.isObject(i)&&!qr.isArray(i)?o8(i,`${n}${o}-`,t):typeof i=="string"&&t.style.setProperty(c,i)})},l8=(e,n="",t)=>{qr.forEach(e,(i,o)=>{const c=`--${n}${o}`;qr.isObject(i)&&!qr.isArray(i)?l8(i,`${n}${o}-`,t):t.style.removeProperty(c)})},US=(e,n="")=>{const t={},i=(o,c)=>{qr.forEach(o,(u,f)=>{const v=`--${n}${c}${f}`;qr.isObject(u)&&!qr.isArray(u)?i(u,`${c}${f}-`):typeof u=="string"&&(t[`${c}${f}`.toUpperCase().replace(/-/g,"_")]=`var(${v})`)})};return i(e,""),t},s8=V.createContext({}),x2="awi-color-",KS=({theme:e,children:n})=>{const t=V.useRef(null);V.useEffect(()=>{if(qr.isEqual(t.current,e.palette))return;const o=document.documentElement;return o8(e.palette,x2,o),()=>{l8(e.palette,x2,o)}},[e.palette]);const i=US(e.palette,x2);return cn.jsx(s8.Provider,{value:i,children:n})},GS=()=>{const e=V.useContext(s8);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e};exports.Button=rC;exports.ContactInput=kS;exports.Icon=jo;exports.Input=_2;exports.Multiselect=BS;exports.Select=a8;exports.Spinner=k7;exports.ThemeProvider=KS;exports.useTheme=GS;
package/dist/index.d.ts CHANGED
@@ -250,40 +250,40 @@ declare type TextSize = "xs" | "s" | "m" | "l" | "xl";
250
250
 
251
251
  declare type Theme = Partial<{
252
252
  common: {
253
- primary: string;
254
- secondary: string;
255
- highlight: string;
256
- success: string;
257
- warning: string;
258
- error: string;
259
- info: string;
260
- disabled: string;
253
+ primary?: string;
254
+ secondary?: string;
255
+ highlight?: string;
256
+ success?: string;
257
+ warning?: string;
258
+ error?: string;
259
+ info?: string;
260
+ disabled?: string;
261
261
  };
262
262
  text: {
263
- primary: string;
264
- secondary: string;
265
- tertiary: string;
266
- disabled: string;
263
+ primary?: string;
264
+ secondary?: string;
265
+ tertiary?: string;
266
+ disabled?: string;
267
267
  };
268
268
  background: {
269
- primary: string;
269
+ primary?: string;
270
270
  };
271
271
  surface: {
272
272
  fill: {
273
- primary: string;
274
- secondary: string;
275
- tertiary: string;
273
+ primary?: string;
274
+ secondary?: string;
275
+ tertiary?: string;
276
276
  };
277
277
  border: {
278
- primary: string;
279
- secondary: string;
280
- tertiary: string;
278
+ primary?: string;
279
+ secondary?: string;
280
+ tertiary?: string;
281
281
  };
282
282
  };
283
283
  }> & UnknownObject;
284
284
 
285
285
  declare type ThemeObject = {
286
- name: string;
286
+ name?: string;
287
287
  palette: Theme;
288
288
  };
289
289
 
package/dist/index.js CHANGED
@@ -18320,11 +18320,11 @@ const Jr = /* @__PURE__ */ q7(eM), v8 = (e, n = "", t) => {
18320
18320
  }, tM = (e, n = "") => {
18321
18321
  const t = {}, i = (o, c) => {
18322
18322
  Jr.forEach(o, (u, f) => {
18323
- const v = `--${c}${f}`;
18323
+ const v = `--${n}${c}${f}`;
18324
18324
  Jr.isObject(u) && !Jr.isArray(u) ? i(u, `${c}${f}-`) : typeof u == "string" && (t[`${c}${f}`.toUpperCase().replace(/-/g, "_")] = `var(${v})`);
18325
18325
  });
18326
18326
  };
18327
- return i(e, n), t;
18327
+ return i(e, ""), t;
18328
18328
  }, g8 = q1({}), A2 = "awi-color-", cM = ({ theme: e, children: n }) => {
18329
18329
  const t = yt(null);
18330
18330
  Yr(() => {
package/dist/index.umd.js CHANGED
@@ -237,4 +237,4 @@ __p += '`),At&&(ue+=`' +
237
237
  function print() { __p += __j.call(arguments, '') }
238
238
  `:`;
239
239
  `)+ue+`return __p
240
- }`;var Ct=sc(function(){return Bt(S,Ue+"return "+ue).apply(t,A)});if(Ct.source=ue,W3(Ct))throw Ct;return Ct}function t_(r){return Ut(r).toLowerCase()}function n_(r){return Ut(r).toUpperCase()}function r_(r,o,s){if(r=Ut(r),r&&(s||o===t))return p6(r);if(!r||!(o=ur(o)))return r;var d=Zr(r),p=Zr(o),S=C6(d,p),A=y6(d,p)+1;return Pi(d,S,A).join("")}function i_(r,o,s){if(r=Ut(r),r&&(s||o===t))return r.slice(0,E6(r)+1);if(!r||!(o=ur(o)))return r;var d=Zr(r),p=y6(d,Zr(o))+1;return Pi(d,0,p).join("")}function o_(r,o,s){if(r=Ut(r),r&&(s||o===t))return r.replace(Re,"");if(!r||!(o=ur(o)))return r;var d=Zr(r),p=C6(d,Zr(o));return Pi(d,p).join("")}function a_(r,o){var s=j,d=Q;if(un(o)){var p="separator"in o?o.separator:p;s="length"in o?gt(o.length):s,d="omission"in o?ur(o.omission):d}r=Ut(r);var S=r.length;if(_o(r)){var A=Zr(r);S=A.length}if(s>=S)return r;var T=s-So(d);if(T<1)return d;var B=A?Pi(A,0,T).join(""):r.slice(0,T);if(p===t)return B+d;if(A&&(T+=B.length-T),j3(p)){if(r.slice(T).search(p)){var oe,ae=B;for(p.global||(p=l3(p.source,Ut(Qe.exec(p))+"g")),p.lastIndex=0;oe=p.exec(ae);)var ue=oe.index;B=B.slice(0,ue===t?T:ue)}}else if(r.indexOf(ur(p),T)!=T){var _e=B.lastIndexOf(p);_e>-1&&(B=B.slice(0,_e))}return B+d}function l_(r){return r=Ut(r),r&&Kt.test(r)?r.replace(Yt,$C):r}var s_=Io(function(r,o,s){return r+(s?" ":"")+o.toUpperCase()}),G3=cs("toUpperCase");function lc(r,o,s){return r=Ut(r),o=s?t:o,o===t?AC(r)?VC(r):wC(r):r.match(o)||[]}var sc=wt(function(r,o){try{return sr(r,t,o)}catch(s){return W3(s)?s:new ut(s)}}),c_=ui(function(r,o){return wr(o,function(s){s=Yr(s),si(r,s,B3(r[s],r))}),r});function u_(r){var o=r==null?0:r.length,s=nt();return r=o?cn(r,function(d){if(typeof d[1]!="function")throw new Lr(u);return[s(d[0]),d[1]]}):[],wt(function(d){for(var p=-1;++p<o;){var S=r[p];if(sr(S[0],this,d))return sr(S[1],this,d)}})}function f_(r){return $y(Sr(r,g))}function q3(r){return function(){return r}}function d_(r,o){return r==null||r!==r?o:r}var h_=fs(),v_=fs(!0);function rr(r){return r}function X3(r){return k6(typeof r=="function"?r:Sr(r,g))}function m_(r){return z6(Sr(r,g))}function g_(r,o){return W6(r,Sr(o,g))}var p_=wt(function(r,o){return function(s){return _a(s,r,o)}}),C_=wt(function(r,o){return function(s){return _a(r,s,o)}});function Y3(r,o,s){var d=Fn(o),p=Z4(o,d);s==null&&!(un(o)&&(p.length||!d.length))&&(s=o,o=r,r=this,p=Z4(o,Fn(o)));var S=!(un(s)&&"chain"in s)||!!s.chain,A=di(r);return wr(p,function(T){var B=o[T];r[T]=B,A&&(r.prototype[T]=function(){var oe=this.__chain__;if(S||oe){var ae=r(this.__wrapped__),ue=ae.__actions__=er(this.__actions__);return ue.push({func:B,args:arguments,thisArg:r}),ae.__chain__=oe,ae}return B.apply(r,Mi([this.value()],arguments))})}),r}function y_(){return Tn._===this&&(Tn._=jC),this}function Q3(){}function b_(r){return r=gt(r),wt(function(o){return j6(o,r)})}var E_=F3(cn),w_=F3(d6),L_=F3(e3);function cc(r){return $3(r)?t3(Yr(r)):Jy(r)}function __(r){return function(o){return r==null?t:Yi(r,o)}}var S_=hs(),x_=hs(!0);function J3(){return[]}function e5(){return!1}function M_(){return{}}function R_(){return""}function F_(){return!0}function O_(r,o){if(r=gt(r),r<1||r>D)return[];var s=U,d=Hn(r,U);o=nt(o),r-=U;for(var p=i3(d,o);++s<r;)o(s);return p}function A_(r){return vt(r)?cn(r,Yr):fr(r)?[r]:er(Fs(Ut(r)))}function I_(r){var o=++zC;return Ut(r)+o}var P_=W4(function(r,o){return r+o},0),T_=O3("ceil"),D_=W4(function(r,o){return r/o},1),$_=O3("floor");function N_(r){return r&&r.length?N4(r,rr,m3):t}function Z_(r,o){return r&&r.length?N4(r,nt(o,2),m3):t}function V_(r){return m6(r,rr)}function H_(r,o){return m6(r,nt(o,2))}function k_(r){return r&&r.length?N4(r,rr,y3):t}function B_(r,o){return r&&r.length?N4(r,nt(o,2),y3):t}var z_=W4(function(r,o){return r*o},1),W_=O3("round"),j_=W4(function(r,o){return r-o},0);function U_(r){return r&&r.length?r3(r,rr):0}function K_(r,o){return r&&r.length?r3(r,nt(o,2)):0}return L.after=mw,L.ary=Hs,L.assign=nL,L.assignIn=ec,L.assignInWith=r1,L.assignWith=rL,L.at=iL,L.before=ks,L.bind=B3,L.bindAll=c_,L.bindKey=Bs,L.castArray=Mw,L.chain=Ns,L.chunk=$b,L.compact=Nb,L.concat=Zb,L.cond=u_,L.conforms=f_,L.constant=q3,L.countBy=UE,L.create=oL,L.curry=zs,L.curryRight=Ws,L.debounce=js,L.defaults=aL,L.defaultsDeep=lL,L.defer=gw,L.delay=pw,L.difference=Vb,L.differenceBy=Hb,L.differenceWith=kb,L.drop=Bb,L.dropRight=zb,L.dropRightWhile=Wb,L.dropWhile=jb,L.fill=Ub,L.filter=GE,L.flatMap=YE,L.flatMapDeep=QE,L.flatMapDepth=JE,L.flatten=Ps,L.flattenDeep=Kb,L.flattenDepth=Gb,L.flip=Cw,L.flow=h_,L.flowRight=v_,L.fromPairs=qb,L.functions=vL,L.functionsIn=mL,L.groupBy=ew,L.initial=Yb,L.intersection=Qb,L.intersectionBy=Jb,L.intersectionWith=eE,L.invert=pL,L.invertBy=CL,L.invokeMap=nw,L.iteratee=X3,L.keyBy=rw,L.keys=Fn,L.keysIn=nr,L.map=Y4,L.mapKeys=bL,L.mapValues=EL,L.matches=m_,L.matchesProperty=g_,L.memoize=J4,L.merge=wL,L.mergeWith=tc,L.method=p_,L.methodOf=C_,L.mixin=Y3,L.negate=e1,L.nthArg=b_,L.omit=LL,L.omitBy=_L,L.once=yw,L.orderBy=iw,L.over=E_,L.overArgs=bw,L.overEvery=w_,L.overSome=L_,L.partial=z3,L.partialRight=Us,L.partition=ow,L.pick=SL,L.pickBy=nc,L.property=cc,L.propertyOf=__,L.pull=iE,L.pullAll=Ds,L.pullAllBy=oE,L.pullAllWith=aE,L.pullAt=lE,L.range=S_,L.rangeRight=x_,L.rearg=Ew,L.reject=sw,L.remove=sE,L.rest=ww,L.reverse=H3,L.sampleSize=uw,L.set=ML,L.setWith=RL,L.shuffle=fw,L.slice=cE,L.sortBy=vw,L.sortedUniq=gE,L.sortedUniqBy=pE,L.split=YL,L.spread=Lw,L.tail=CE,L.take=yE,L.takeRight=bE,L.takeRightWhile=EE,L.takeWhile=wE,L.tap=NE,L.throttle=_w,L.thru=X4,L.toArray=Ys,L.toPairs=rc,L.toPairsIn=ic,L.toPath=A_,L.toPlainObject=Js,L.transform=FL,L.unary=Sw,L.union=LE,L.unionBy=_E,L.unionWith=SE,L.uniq=xE,L.uniqBy=ME,L.uniqWith=RE,L.unset=OL,L.unzip=k3,L.unzipWith=$s,L.update=AL,L.updateWith=IL,L.values=Do,L.valuesIn=PL,L.without=FE,L.words=lc,L.wrap=xw,L.xor=OE,L.xorBy=AE,L.xorWith=IE,L.zip=PE,L.zipObject=TE,L.zipObjectDeep=DE,L.zipWith=$E,L.entries=rc,L.entriesIn=ic,L.extend=ec,L.extendWith=r1,Y3(L,L),L.add=P_,L.attempt=sc,L.camelCase=NL,L.capitalize=oc,L.ceil=T_,L.clamp=TL,L.clone=Rw,L.cloneDeep=Ow,L.cloneDeepWith=Aw,L.cloneWith=Fw,L.conformsTo=Iw,L.deburr=ac,L.defaultTo=d_,L.divide=D_,L.endsWith=ZL,L.eq=Hr,L.escape=VL,L.escapeRegExp=HL,L.every=KE,L.find=qE,L.findIndex=As,L.findKey=sL,L.findLast=XE,L.findLastIndex=Is,L.findLastKey=cL,L.floor=$_,L.forEach=Zs,L.forEachRight=Vs,L.forIn=uL,L.forInRight=fL,L.forOwn=dL,L.forOwnRight=hL,L.get=U3,L.gt=Pw,L.gte=Tw,L.has=gL,L.hasIn=K3,L.head=Ts,L.identity=rr,L.includes=tw,L.indexOf=Xb,L.inRange=DL,L.invoke=yL,L.isArguments=eo,L.isArray=vt,L.isArrayBuffer=Dw,L.isArrayLike=tr,L.isArrayLikeObject=bn,L.isBoolean=$w,L.isBuffer=Ti,L.isDate=Nw,L.isElement=Zw,L.isEmpty=Vw,L.isEqual=Hw,L.isEqualWith=kw,L.isError=W3,L.isFinite=Bw,L.isFunction=di,L.isInteger=Ks,L.isLength=t1,L.isMap=Gs,L.isMatch=zw,L.isMatchWith=Ww,L.isNaN=jw,L.isNative=Uw,L.isNil=Gw,L.isNull=Kw,L.isNumber=qs,L.isObject=un,L.isObjectLike=hn,L.isPlainObject=Oa,L.isRegExp=j3,L.isSafeInteger=qw,L.isSet=Xs,L.isString=n1,L.isSymbol=fr,L.isTypedArray=To,L.isUndefined=Xw,L.isWeakMap=Yw,L.isWeakSet=Qw,L.join=tE,L.kebabCase=kL,L.last=Mr,L.lastIndexOf=nE,L.lowerCase=BL,L.lowerFirst=zL,L.lt=Jw,L.lte=eL,L.max=N_,L.maxBy=Z_,L.mean=V_,L.meanBy=H_,L.min=k_,L.minBy=B_,L.stubArray=J3,L.stubFalse=e5,L.stubObject=M_,L.stubString=R_,L.stubTrue=F_,L.multiply=z_,L.nth=rE,L.noConflict=y_,L.noop=Q3,L.now=Q4,L.pad=WL,L.padEnd=jL,L.padStart=UL,L.parseInt=KL,L.random=$L,L.reduce=aw,L.reduceRight=lw,L.repeat=GL,L.replace=qL,L.result=xL,L.round=W_,L.runInContext=H,L.sample=cw,L.size=dw,L.snakeCase=XL,L.some=hw,L.sortedIndex=uE,L.sortedIndexBy=fE,L.sortedIndexOf=dE,L.sortedLastIndex=hE,L.sortedLastIndexBy=vE,L.sortedLastIndexOf=mE,L.startCase=QL,L.startsWith=JL,L.subtract=j_,L.sum=U_,L.sumBy=K_,L.template=e_,L.times=O_,L.toFinite=hi,L.toInteger=gt,L.toLength=Qs,L.toLower=t_,L.toNumber=Rr,L.toSafeInteger=tL,L.toString=Ut,L.toUpper=n_,L.trim=r_,L.trimEnd=i_,L.trimStart=o_,L.truncate=a_,L.unescape=l_,L.uniqueId=I_,L.upperCase=s_,L.upperFirst=G3,L.each=Zs,L.eachRight=Vs,L.first=Ts,Y3(L,function(){var r={};return qr(L,function(o,s){Gt.call(L.prototype,s)||(r[s]=o)}),r}(),{chain:!1}),L.VERSION=i,wr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){L[r].placeholder=L}),wr(["drop","take"],function(r,o){Ft.prototype[r]=function(s){s=s===t?1:Sn(gt(s),0);var d=this.__filtered__&&!o?new Ft(this):this.clone();return d.__filtered__?d.__takeCount__=Hn(s,d.__takeCount__):d.__views__.push({size:Hn(s,U),type:r+(d.__dir__<0?"Right":"")}),d},Ft.prototype[r+"Right"]=function(s){return this.reverse()[r](s).reverse()}}),wr(["filter","map","takeWhile"],function(r,o){var s=o+1,d=s==K||s==k;Ft.prototype[r]=function(p){var S=this.clone();return S.__iteratees__.push({iteratee:nt(p,3),type:s}),S.__filtered__=S.__filtered__||d,S}}),wr(["head","last"],function(r,o){var s="take"+(o?"Right":"");Ft.prototype[r]=function(){return this[s](1).value()[0]}}),wr(["initial","tail"],function(r,o){var s="drop"+(o?"":"Right");Ft.prototype[r]=function(){return this.__filtered__?new Ft(this):this[s](1)}}),Ft.prototype.compact=function(){return this.filter(rr)},Ft.prototype.find=function(r){return this.filter(r).head()},Ft.prototype.findLast=function(r){return this.reverse().find(r)},Ft.prototype.invokeMap=wt(function(r,o){return typeof r=="function"?new Ft(this):this.map(function(s){return _a(s,r,o)})}),Ft.prototype.reject=function(r){return this.filter(e1(nt(r)))},Ft.prototype.slice=function(r,o){r=gt(r);var s=this;return s.__filtered__&&(r>0||o<0)?new Ft(s):(r<0?s=s.takeRight(-r):r&&(s=s.drop(r)),o!==t&&(o=gt(o),s=o<0?s.dropRight(-o):s.take(o-r)),s)},Ft.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Ft.prototype.toArray=function(){return this.take(U)},qr(Ft.prototype,function(r,o){var s=/^(?:filter|find|map|reject)|While$/.test(o),d=/^(?:head|last)$/.test(o),p=L[d?"take"+(o=="last"?"Right":""):o],S=d||/^find/.test(o);p&&(L.prototype[o]=function(){var A=this.__wrapped__,T=d?[1]:arguments,B=A instanceof Ft,oe=T[0],ae=B||vt(A),ue=function(Mt){var At=p.apply(L,Mi([Mt],T));return d&&_e?At[0]:At};ae&&s&&typeof oe=="function"&&oe.length!=1&&(B=ae=!1);var _e=this.__chain__,Ue=!!this.__actions__.length,rt=S&&!_e,Ct=B&&!Ue;if(!S&&ae){A=Ct?A:new Ft(this);var it=r.apply(A,T);return it.__actions__.push({func:X4,args:[ue],thisArg:t}),new _r(it,_e)}return rt&&Ct?r.apply(this,T):(it=this.thru(ue),rt?d?it.value()[0]:it.value():it)})}),wr(["pop","push","shift","sort","splice","unshift"],function(r){var o=w4[r],s=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",d=/^(?:pop|shift)$/.test(r);L.prototype[r]=function(){var p=arguments;if(d&&!this.__chain__){var S=this.value();return o.apply(vt(S)?S:[],p)}return this[s](function(A){return o.apply(vt(A)?A:[],p)})}}),qr(Ft.prototype,function(r,o){var s=L[o];if(s){var d=s.name+"";Gt.call(Fo,d)||(Fo[d]=[]),Fo[d].push({name:o,func:s})}}),Fo[z4(t,x).name]=[{name:"wrapper",func:t}],Ft.prototype.clone=ly,Ft.prototype.reverse=sy,Ft.prototype.value=cy,L.prototype.at=ZE,L.prototype.chain=VE,L.prototype.commit=HE,L.prototype.next=kE,L.prototype.plant=zE,L.prototype.reverse=WE,L.prototype.toJSON=L.prototype.valueOf=L.prototype.value=jE,L.prototype.first=L.prototype.head,pa&&(L.prototype[pa]=BE),L},xo=HC();Ui?((Ui.exports=xo)._=xo,X2._=xo):Tn._=xo}).call(iC)}(fa,fa.exports)),fa.exports}var aC=oC();const jr=n5(aC),t6=(e,n="",t)=>{jr.forEach(e,(i,a)=>{const c=`--${n}${a}`;jr.isObject(i)&&!jr.isArray(i)?t6(i,`${n}${a}-`,t):typeof i=="string"&&t.style.setProperty(c,i)})},n6=(e,n="",t)=>{jr.forEach(e,(i,a)=>{const c=`--${n}${a}`;jr.isObject(i)&&!jr.isArray(i)?n6(i,`${n}${a}-`,t):t.style.removeProperty(c)})},lC=(e,n="")=>{const t={},i=(a,c)=>{jr.forEach(a,(u,f)=>{const h=`--${c}${f}`;jr.isObject(u)&&!jr.isArray(u)?i(u,`${c}${f}-`):typeof u=="string"&&(t[`${c}${f}`.toUpperCase().replace(/-/g,"_")]=`var(${h})`)})};return i(e,n),t},r6=N.createContext({}),q2="awi-color-",sC=({theme:e,children:n})=>{const t=N.useRef(null);N.useEffect(()=>{if(jr.isEqual(t.current,e.palette))return;const a=document.documentElement;return t6(e.palette,q2,a),()=>{n6(e.palette,q2,a)}},[e.palette]);const i=lC(e.palette,q2);return an.jsx(r6.Provider,{value:i,children:n})},cC=()=>{const e=N.useContext(r6);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e};$n.Button=b9,$n.ContactInput=nC,$n.Icon=Pa,$n.Input=i1,$n.Multiselect=rC,$n.Select=J7,$n.Spinner=a5,$n.ThemeProvider=sC,$n.useTheme=cC,Object.defineProperty($n,Symbol.toStringTag,{value:"Module"})});
240
+ }`;var Ct=sc(function(){return Bt(S,Ue+"return "+ue).apply(t,A)});if(Ct.source=ue,W3(Ct))throw Ct;return Ct}function t_(r){return Ut(r).toLowerCase()}function n_(r){return Ut(r).toUpperCase()}function r_(r,o,s){if(r=Ut(r),r&&(s||o===t))return p6(r);if(!r||!(o=ur(o)))return r;var d=Zr(r),p=Zr(o),S=C6(d,p),A=y6(d,p)+1;return Pi(d,S,A).join("")}function i_(r,o,s){if(r=Ut(r),r&&(s||o===t))return r.slice(0,E6(r)+1);if(!r||!(o=ur(o)))return r;var d=Zr(r),p=y6(d,Zr(o))+1;return Pi(d,0,p).join("")}function o_(r,o,s){if(r=Ut(r),r&&(s||o===t))return r.replace(Re,"");if(!r||!(o=ur(o)))return r;var d=Zr(r),p=C6(d,Zr(o));return Pi(d,p).join("")}function a_(r,o){var s=j,d=Q;if(un(o)){var p="separator"in o?o.separator:p;s="length"in o?gt(o.length):s,d="omission"in o?ur(o.omission):d}r=Ut(r);var S=r.length;if(_o(r)){var A=Zr(r);S=A.length}if(s>=S)return r;var T=s-So(d);if(T<1)return d;var B=A?Pi(A,0,T).join(""):r.slice(0,T);if(p===t)return B+d;if(A&&(T+=B.length-T),j3(p)){if(r.slice(T).search(p)){var oe,ae=B;for(p.global||(p=l3(p.source,Ut(Qe.exec(p))+"g")),p.lastIndex=0;oe=p.exec(ae);)var ue=oe.index;B=B.slice(0,ue===t?T:ue)}}else if(r.indexOf(ur(p),T)!=T){var _e=B.lastIndexOf(p);_e>-1&&(B=B.slice(0,_e))}return B+d}function l_(r){return r=Ut(r),r&&Kt.test(r)?r.replace(Yt,$C):r}var s_=Io(function(r,o,s){return r+(s?" ":"")+o.toUpperCase()}),G3=cs("toUpperCase");function lc(r,o,s){return r=Ut(r),o=s?t:o,o===t?AC(r)?VC(r):wC(r):r.match(o)||[]}var sc=wt(function(r,o){try{return sr(r,t,o)}catch(s){return W3(s)?s:new ut(s)}}),c_=ui(function(r,o){return wr(o,function(s){s=Yr(s),si(r,s,B3(r[s],r))}),r});function u_(r){var o=r==null?0:r.length,s=nt();return r=o?cn(r,function(d){if(typeof d[1]!="function")throw new Lr(u);return[s(d[0]),d[1]]}):[],wt(function(d){for(var p=-1;++p<o;){var S=r[p];if(sr(S[0],this,d))return sr(S[1],this,d)}})}function f_(r){return $y(Sr(r,g))}function q3(r){return function(){return r}}function d_(r,o){return r==null||r!==r?o:r}var h_=fs(),v_=fs(!0);function rr(r){return r}function X3(r){return k6(typeof r=="function"?r:Sr(r,g))}function m_(r){return z6(Sr(r,g))}function g_(r,o){return W6(r,Sr(o,g))}var p_=wt(function(r,o){return function(s){return _a(s,r,o)}}),C_=wt(function(r,o){return function(s){return _a(r,s,o)}});function Y3(r,o,s){var d=Fn(o),p=Z4(o,d);s==null&&!(un(o)&&(p.length||!d.length))&&(s=o,o=r,r=this,p=Z4(o,Fn(o)));var S=!(un(s)&&"chain"in s)||!!s.chain,A=di(r);return wr(p,function(T){var B=o[T];r[T]=B,A&&(r.prototype[T]=function(){var oe=this.__chain__;if(S||oe){var ae=r(this.__wrapped__),ue=ae.__actions__=er(this.__actions__);return ue.push({func:B,args:arguments,thisArg:r}),ae.__chain__=oe,ae}return B.apply(r,Mi([this.value()],arguments))})}),r}function y_(){return Tn._===this&&(Tn._=jC),this}function Q3(){}function b_(r){return r=gt(r),wt(function(o){return j6(o,r)})}var E_=F3(cn),w_=F3(d6),L_=F3(e3);function cc(r){return $3(r)?t3(Yr(r)):Jy(r)}function __(r){return function(o){return r==null?t:Yi(r,o)}}var S_=hs(),x_=hs(!0);function J3(){return[]}function e5(){return!1}function M_(){return{}}function R_(){return""}function F_(){return!0}function O_(r,o){if(r=gt(r),r<1||r>D)return[];var s=U,d=Hn(r,U);o=nt(o),r-=U;for(var p=i3(d,o);++s<r;)o(s);return p}function A_(r){return vt(r)?cn(r,Yr):fr(r)?[r]:er(Fs(Ut(r)))}function I_(r){var o=++zC;return Ut(r)+o}var P_=W4(function(r,o){return r+o},0),T_=O3("ceil"),D_=W4(function(r,o){return r/o},1),$_=O3("floor");function N_(r){return r&&r.length?N4(r,rr,m3):t}function Z_(r,o){return r&&r.length?N4(r,nt(o,2),m3):t}function V_(r){return m6(r,rr)}function H_(r,o){return m6(r,nt(o,2))}function k_(r){return r&&r.length?N4(r,rr,y3):t}function B_(r,o){return r&&r.length?N4(r,nt(o,2),y3):t}var z_=W4(function(r,o){return r*o},1),W_=O3("round"),j_=W4(function(r,o){return r-o},0);function U_(r){return r&&r.length?r3(r,rr):0}function K_(r,o){return r&&r.length?r3(r,nt(o,2)):0}return L.after=mw,L.ary=Hs,L.assign=nL,L.assignIn=ec,L.assignInWith=r1,L.assignWith=rL,L.at=iL,L.before=ks,L.bind=B3,L.bindAll=c_,L.bindKey=Bs,L.castArray=Mw,L.chain=Ns,L.chunk=$b,L.compact=Nb,L.concat=Zb,L.cond=u_,L.conforms=f_,L.constant=q3,L.countBy=UE,L.create=oL,L.curry=zs,L.curryRight=Ws,L.debounce=js,L.defaults=aL,L.defaultsDeep=lL,L.defer=gw,L.delay=pw,L.difference=Vb,L.differenceBy=Hb,L.differenceWith=kb,L.drop=Bb,L.dropRight=zb,L.dropRightWhile=Wb,L.dropWhile=jb,L.fill=Ub,L.filter=GE,L.flatMap=YE,L.flatMapDeep=QE,L.flatMapDepth=JE,L.flatten=Ps,L.flattenDeep=Kb,L.flattenDepth=Gb,L.flip=Cw,L.flow=h_,L.flowRight=v_,L.fromPairs=qb,L.functions=vL,L.functionsIn=mL,L.groupBy=ew,L.initial=Yb,L.intersection=Qb,L.intersectionBy=Jb,L.intersectionWith=eE,L.invert=pL,L.invertBy=CL,L.invokeMap=nw,L.iteratee=X3,L.keyBy=rw,L.keys=Fn,L.keysIn=nr,L.map=Y4,L.mapKeys=bL,L.mapValues=EL,L.matches=m_,L.matchesProperty=g_,L.memoize=J4,L.merge=wL,L.mergeWith=tc,L.method=p_,L.methodOf=C_,L.mixin=Y3,L.negate=e1,L.nthArg=b_,L.omit=LL,L.omitBy=_L,L.once=yw,L.orderBy=iw,L.over=E_,L.overArgs=bw,L.overEvery=w_,L.overSome=L_,L.partial=z3,L.partialRight=Us,L.partition=ow,L.pick=SL,L.pickBy=nc,L.property=cc,L.propertyOf=__,L.pull=iE,L.pullAll=Ds,L.pullAllBy=oE,L.pullAllWith=aE,L.pullAt=lE,L.range=S_,L.rangeRight=x_,L.rearg=Ew,L.reject=sw,L.remove=sE,L.rest=ww,L.reverse=H3,L.sampleSize=uw,L.set=ML,L.setWith=RL,L.shuffle=fw,L.slice=cE,L.sortBy=vw,L.sortedUniq=gE,L.sortedUniqBy=pE,L.split=YL,L.spread=Lw,L.tail=CE,L.take=yE,L.takeRight=bE,L.takeRightWhile=EE,L.takeWhile=wE,L.tap=NE,L.throttle=_w,L.thru=X4,L.toArray=Ys,L.toPairs=rc,L.toPairsIn=ic,L.toPath=A_,L.toPlainObject=Js,L.transform=FL,L.unary=Sw,L.union=LE,L.unionBy=_E,L.unionWith=SE,L.uniq=xE,L.uniqBy=ME,L.uniqWith=RE,L.unset=OL,L.unzip=k3,L.unzipWith=$s,L.update=AL,L.updateWith=IL,L.values=Do,L.valuesIn=PL,L.without=FE,L.words=lc,L.wrap=xw,L.xor=OE,L.xorBy=AE,L.xorWith=IE,L.zip=PE,L.zipObject=TE,L.zipObjectDeep=DE,L.zipWith=$E,L.entries=rc,L.entriesIn=ic,L.extend=ec,L.extendWith=r1,Y3(L,L),L.add=P_,L.attempt=sc,L.camelCase=NL,L.capitalize=oc,L.ceil=T_,L.clamp=TL,L.clone=Rw,L.cloneDeep=Ow,L.cloneDeepWith=Aw,L.cloneWith=Fw,L.conformsTo=Iw,L.deburr=ac,L.defaultTo=d_,L.divide=D_,L.endsWith=ZL,L.eq=Hr,L.escape=VL,L.escapeRegExp=HL,L.every=KE,L.find=qE,L.findIndex=As,L.findKey=sL,L.findLast=XE,L.findLastIndex=Is,L.findLastKey=cL,L.floor=$_,L.forEach=Zs,L.forEachRight=Vs,L.forIn=uL,L.forInRight=fL,L.forOwn=dL,L.forOwnRight=hL,L.get=U3,L.gt=Pw,L.gte=Tw,L.has=gL,L.hasIn=K3,L.head=Ts,L.identity=rr,L.includes=tw,L.indexOf=Xb,L.inRange=DL,L.invoke=yL,L.isArguments=eo,L.isArray=vt,L.isArrayBuffer=Dw,L.isArrayLike=tr,L.isArrayLikeObject=bn,L.isBoolean=$w,L.isBuffer=Ti,L.isDate=Nw,L.isElement=Zw,L.isEmpty=Vw,L.isEqual=Hw,L.isEqualWith=kw,L.isError=W3,L.isFinite=Bw,L.isFunction=di,L.isInteger=Ks,L.isLength=t1,L.isMap=Gs,L.isMatch=zw,L.isMatchWith=Ww,L.isNaN=jw,L.isNative=Uw,L.isNil=Gw,L.isNull=Kw,L.isNumber=qs,L.isObject=un,L.isObjectLike=hn,L.isPlainObject=Oa,L.isRegExp=j3,L.isSafeInteger=qw,L.isSet=Xs,L.isString=n1,L.isSymbol=fr,L.isTypedArray=To,L.isUndefined=Xw,L.isWeakMap=Yw,L.isWeakSet=Qw,L.join=tE,L.kebabCase=kL,L.last=Mr,L.lastIndexOf=nE,L.lowerCase=BL,L.lowerFirst=zL,L.lt=Jw,L.lte=eL,L.max=N_,L.maxBy=Z_,L.mean=V_,L.meanBy=H_,L.min=k_,L.minBy=B_,L.stubArray=J3,L.stubFalse=e5,L.stubObject=M_,L.stubString=R_,L.stubTrue=F_,L.multiply=z_,L.nth=rE,L.noConflict=y_,L.noop=Q3,L.now=Q4,L.pad=WL,L.padEnd=jL,L.padStart=UL,L.parseInt=KL,L.random=$L,L.reduce=aw,L.reduceRight=lw,L.repeat=GL,L.replace=qL,L.result=xL,L.round=W_,L.runInContext=H,L.sample=cw,L.size=dw,L.snakeCase=XL,L.some=hw,L.sortedIndex=uE,L.sortedIndexBy=fE,L.sortedIndexOf=dE,L.sortedLastIndex=hE,L.sortedLastIndexBy=vE,L.sortedLastIndexOf=mE,L.startCase=QL,L.startsWith=JL,L.subtract=j_,L.sum=U_,L.sumBy=K_,L.template=e_,L.times=O_,L.toFinite=hi,L.toInteger=gt,L.toLength=Qs,L.toLower=t_,L.toNumber=Rr,L.toSafeInteger=tL,L.toString=Ut,L.toUpper=n_,L.trim=r_,L.trimEnd=i_,L.trimStart=o_,L.truncate=a_,L.unescape=l_,L.uniqueId=I_,L.upperCase=s_,L.upperFirst=G3,L.each=Zs,L.eachRight=Vs,L.first=Ts,Y3(L,function(){var r={};return qr(L,function(o,s){Gt.call(L.prototype,s)||(r[s]=o)}),r}(),{chain:!1}),L.VERSION=i,wr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){L[r].placeholder=L}),wr(["drop","take"],function(r,o){Ft.prototype[r]=function(s){s=s===t?1:Sn(gt(s),0);var d=this.__filtered__&&!o?new Ft(this):this.clone();return d.__filtered__?d.__takeCount__=Hn(s,d.__takeCount__):d.__views__.push({size:Hn(s,U),type:r+(d.__dir__<0?"Right":"")}),d},Ft.prototype[r+"Right"]=function(s){return this.reverse()[r](s).reverse()}}),wr(["filter","map","takeWhile"],function(r,o){var s=o+1,d=s==K||s==k;Ft.prototype[r]=function(p){var S=this.clone();return S.__iteratees__.push({iteratee:nt(p,3),type:s}),S.__filtered__=S.__filtered__||d,S}}),wr(["head","last"],function(r,o){var s="take"+(o?"Right":"");Ft.prototype[r]=function(){return this[s](1).value()[0]}}),wr(["initial","tail"],function(r,o){var s="drop"+(o?"":"Right");Ft.prototype[r]=function(){return this.__filtered__?new Ft(this):this[s](1)}}),Ft.prototype.compact=function(){return this.filter(rr)},Ft.prototype.find=function(r){return this.filter(r).head()},Ft.prototype.findLast=function(r){return this.reverse().find(r)},Ft.prototype.invokeMap=wt(function(r,o){return typeof r=="function"?new Ft(this):this.map(function(s){return _a(s,r,o)})}),Ft.prototype.reject=function(r){return this.filter(e1(nt(r)))},Ft.prototype.slice=function(r,o){r=gt(r);var s=this;return s.__filtered__&&(r>0||o<0)?new Ft(s):(r<0?s=s.takeRight(-r):r&&(s=s.drop(r)),o!==t&&(o=gt(o),s=o<0?s.dropRight(-o):s.take(o-r)),s)},Ft.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Ft.prototype.toArray=function(){return this.take(U)},qr(Ft.prototype,function(r,o){var s=/^(?:filter|find|map|reject)|While$/.test(o),d=/^(?:head|last)$/.test(o),p=L[d?"take"+(o=="last"?"Right":""):o],S=d||/^find/.test(o);p&&(L.prototype[o]=function(){var A=this.__wrapped__,T=d?[1]:arguments,B=A instanceof Ft,oe=T[0],ae=B||vt(A),ue=function(Mt){var At=p.apply(L,Mi([Mt],T));return d&&_e?At[0]:At};ae&&s&&typeof oe=="function"&&oe.length!=1&&(B=ae=!1);var _e=this.__chain__,Ue=!!this.__actions__.length,rt=S&&!_e,Ct=B&&!Ue;if(!S&&ae){A=Ct?A:new Ft(this);var it=r.apply(A,T);return it.__actions__.push({func:X4,args:[ue],thisArg:t}),new _r(it,_e)}return rt&&Ct?r.apply(this,T):(it=this.thru(ue),rt?d?it.value()[0]:it.value():it)})}),wr(["pop","push","shift","sort","splice","unshift"],function(r){var o=w4[r],s=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",d=/^(?:pop|shift)$/.test(r);L.prototype[r]=function(){var p=arguments;if(d&&!this.__chain__){var S=this.value();return o.apply(vt(S)?S:[],p)}return this[s](function(A){return o.apply(vt(A)?A:[],p)})}}),qr(Ft.prototype,function(r,o){var s=L[o];if(s){var d=s.name+"";Gt.call(Fo,d)||(Fo[d]=[]),Fo[d].push({name:o,func:s})}}),Fo[z4(t,x).name]=[{name:"wrapper",func:t}],Ft.prototype.clone=ly,Ft.prototype.reverse=sy,Ft.prototype.value=cy,L.prototype.at=ZE,L.prototype.chain=VE,L.prototype.commit=HE,L.prototype.next=kE,L.prototype.plant=zE,L.prototype.reverse=WE,L.prototype.toJSON=L.prototype.valueOf=L.prototype.value=jE,L.prototype.first=L.prototype.head,pa&&(L.prototype[pa]=BE),L},xo=HC();Ui?((Ui.exports=xo)._=xo,X2._=xo):Tn._=xo}).call(iC)}(fa,fa.exports)),fa.exports}var aC=oC();const jr=n5(aC),t6=(e,n="",t)=>{jr.forEach(e,(i,a)=>{const c=`--${n}${a}`;jr.isObject(i)&&!jr.isArray(i)?t6(i,`${n}${a}-`,t):typeof i=="string"&&t.style.setProperty(c,i)})},n6=(e,n="",t)=>{jr.forEach(e,(i,a)=>{const c=`--${n}${a}`;jr.isObject(i)&&!jr.isArray(i)?n6(i,`${n}${a}-`,t):t.style.removeProperty(c)})},lC=(e,n="")=>{const t={},i=(a,c)=>{jr.forEach(a,(u,f)=>{const h=`--${n}${c}${f}`;jr.isObject(u)&&!jr.isArray(u)?i(u,`${c}${f}-`):typeof u=="string"&&(t[`${c}${f}`.toUpperCase().replace(/-/g,"_")]=`var(${h})`)})};return i(e,""),t},r6=N.createContext({}),q2="awi-color-",sC=({theme:e,children:n})=>{const t=N.useRef(null);N.useEffect(()=>{if(jr.isEqual(t.current,e.palette))return;const a=document.documentElement;return t6(e.palette,q2,a),()=>{n6(e.palette,q2,a)}},[e.palette]);const i=lC(e.palette,q2);return an.jsx(r6.Provider,{value:i,children:n})},cC=()=>{const e=N.useContext(r6);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e};$n.Button=b9,$n.ContactInput=nC,$n.Icon=Pa,$n.Input=i1,$n.Multiselect=rC,$n.Select=J7,$n.Spinner=a5,$n.ThemeProvider=sC,$n.useTheme=cC,Object.defineProperty($n,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ambuj.bhaskar/react-component-library",
3
3
  "private": false,
4
- "version": "0.6.2",
4
+ "version": "0.6.3",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -32,8 +32,8 @@
32
32
  "lodash": "^4.17.21"
33
33
  },
34
34
  "peerDependencies": {
35
- "react": "^18.0.0",
36
- "react-dom": "^18.0.0"
35
+ "react": ">=18.0.0",
36
+ "react-dom": ">=18.0.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@chromatic-com/storybook": "^3.2.3",