@vev/silke 1.0.19 → 1.0.21
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/CHANGELOG.md +20 -0
- package/dist/{chunk-FIPWO3IB.js → chunk-PP74IZDW.js} +2 -2
- package/dist/{chunk-FIPWO3IB.js.map → chunk-PP74IZDW.js.map} +2 -2
- package/dist/index.js +20 -20
- package/dist/index.js.map +4 -4
- package/dist/silke/src/components/silke-box/silke-box.d.ts +1 -2
- package/dist/silke/src/components/silke-card/silke-card.d.ts +2 -0
- package/dist/silke/src/components/silke-form-schema/fields/number-field.d.ts +3 -1
- package/dist/silke/src/components/silke-form-schema/silke-schema-field.d.ts +2 -2
- package/dist/silke/src/components/silke-tabs/silke-tab.d.ts +4 -7
- package/dist/silke/src/components/silke-tabs/silke-tabs.d.ts +4 -6
- package/dist/silke/src/components/silke-text-field/silke-text-field-outline.d.ts +1 -2
- package/dist/silke/src/components/silke-tooltip/silke-shortcuts.d.ts +1 -1
- package/dist/silke/src/components/silke-upload-field/silke-upload-field.d.ts +1 -0
- package/dist/silke/src/icons.d.ts +3 -0
- package/dist/{silke-code-editor-HB2Z4Q5W.js → silke-code-editor-4TSQ5KJ3.js} +12 -12
- package/dist/silke-code-editor-4TSQ5KJ3.js.map +7 -0
- package/dist/styles.css +330 -356
- package/dist/utils/src/interactions/get-interaction-map.d.ts +3 -0
- package/dist/utils/src/interactions/index.d.ts +2 -0
- package/dist/utils/src/interactions/interaction-map-to-array.d.ts +2 -0
- package/dist/utils/src/types/context.d.ts +1 -1
- package/dist/utils/src/types/index.d.ts +1 -0
- package/dist/utils/src/types/interaction.d.ts +15 -4
- package/dist/utils/src/types/oauth.d.ts +13 -0
- package/dist/utils/src/types/vev-plugin.d.ts +39 -8
- package/package.json +5 -4
- package/src/components/silke-autocomplete-field/autocomplete-item.tsx +1 -0
- package/src/components/silke-autocomplete-field/silke-autocomplete-field.scss +22 -9
- package/src/components/silke-autocomplete-field/silke-autocomplete-field.tsx +12 -10
- package/src/components/silke-box/silke-box.mdx +2 -2
- package/src/components/silke-box/silke-box.scss +2 -1
- package/src/components/silke-box/silke-box.tsx +1 -2
- package/src/components/silke-button/silke-button.scss +2 -2
- package/src/components/silke-card/silke-card-grid.tsx +1 -3
- package/src/components/silke-card/silke-card.scss +28 -3
- package/src/components/silke-card/silke-card.tsx +27 -9
- package/src/components/silke-code-snippet/silke-code-snippet.tsx +2 -2
- package/src/components/silke-form-schema/fields/image-field.tsx +4 -2
- package/src/components/silke-form-schema/fields/link-field.tsx +2 -6
- package/src/components/silke-form-schema/fields/number-field.tsx +47 -43
- package/src/components/silke-form-schema/fields/object-field.tsx +1 -1
- package/src/components/silke-form-schema/fields/select-field.tsx +37 -49
- package/src/components/silke-form-schema/fields/string-field.tsx +13 -28
- package/src/components/silke-form-schema/fields/toggle-field.tsx +8 -10
- package/src/components/silke-form-schema/silke-form-schema.mdx +14 -26
- package/src/components/silke-form-schema/silke-form-schema.tsx +4 -1
- package/src/components/silke-form-schema/silke-schema-field.tsx +8 -8
- package/src/components/silke-form-schema/silke-schema-fields.tsx +2 -2
- package/src/components/silke-icon-picker/silke-icon-picker.tsx +1 -1
- package/src/components/silke-list-card/silke-list-card.tsx +0 -2
- package/src/components/silke-overflow-menu/silke-overflow-menu.tsx +1 -1
- package/src/components/silke-tabs/silke-tab.tsx +17 -50
- package/src/components/silke-tabs/silke-tabs.mdx +4 -16
- package/src/components/silke-tabs/silke-tabs.scss +24 -81
- package/src/components/silke-tabs/silke-tabs.tsx +12 -10
- package/src/components/silke-tag/silke-tag.mdx +78 -24
- package/src/components/silke-tag/silke-tag.scss +4 -1
- package/src/components/silke-text/silke-title.scss +0 -2
- package/src/components/silke-text-field/silke-text-field-outline.tsx +28 -16
- package/src/components/silke-text-field/silke-text-field.mdx +12 -0
- package/src/components/silke-text-field/silke-text-field.scss +8 -1
- package/src/components/silke-text-field/silke-text-field.tsx +2 -2
- package/src/components/silke-upload-field/silke-upload-field.tsx +5 -1
- package/src/icons.tsx +9 -19
- package/src/styles/core.scss +6 -0
- package/dist/silke-code-editor-HB2Z4Q5W.js.map +0 -7
- package/dist/utils/src/keyboard/key-list.d.ts +0 -4
- /package/dist/{chunk-FIPWO3IB.js.LEGAL.txt → chunk-PP74IZDW.js.LEGAL.txt} +0 -0
- /package/dist/{silke-code-editor-HB2Z4Q5W.js.LEGAL.txt → silke-code-editor-4TSQ5KJ3.js.LEGAL.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @vev/silke
|
|
2
2
|
|
|
3
|
+
## 1.0.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7e0455d: Fix editor plugin types
|
|
8
|
+
- 8e174fd: Update EditorPlugin types
|
|
9
|
+
- Updated dependencies [7e0455d]
|
|
10
|
+
- Updated dependencies [8e174fd]
|
|
11
|
+
- @vev/react@0.1.5
|
|
12
|
+
- @vev/utils@1.2.2
|
|
13
|
+
|
|
14
|
+
## 1.0.20
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [104416c]
|
|
19
|
+
- Updated dependencies [0d0cd9c]
|
|
20
|
+
- @vev/react@0.1.4
|
|
21
|
+
- @vev/utils@1.2.1
|
|
22
|
+
|
|
3
23
|
## 1.0.19
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -18,5 +18,5 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18
18
|
`:`;
|
|
19
19
|
`)+d+`return __p
|
|
20
20
|
}`;var P=ao(function(){return C(f,w+"return "+d).apply(o,l)});if(P.source=d,Li(P))throw P;return P}function _g(n){return O(n).toLowerCase()}function gg(n){return O(n).toUpperCase()}function pg(n,e,t){if(n=O(n),n&&(t||e===o))return xu(n);if(!n||!(e=cn(e)))return n;var r=Bn(n),i=Bn(e),f=wu(r,i),l=bu(r,i)+1;return se(r,f,l).join("")}function dg(n,e,t){if(n=O(n),n&&(t||e===o))return n.slice(0,mu(n)+1);if(!n||!(e=cn(e)))return n;var r=Bn(n),i=bu(r,Bn(e))+1;return se(r,0,i).join("")}function vg(n,e,t){if(n=O(n),n&&(t||e===o))return n.replace(Lr,"");if(!n||!(e=cn(e)))return n;var r=Bn(n),i=wu(r,Bn(e));return se(r,i).join("")}function xg(n,e){var t=cr,r=dt;if(k(e)){var i="separator"in e?e.separator:i;t="length"in e?y(e.length):t,r="omission"in e?cn(e.omission):r}n=O(n);var f=n.length;if(Ie(n)){var l=Bn(n);f=l.length}if(t>=f)return n;var s=t-Re(r);if(s<1)return r;var h=l?se(l,0,s).join(""):n.slice(0,s);if(i===o)return h+r;if(l&&(s+=h.length-s),Ti(i)){if(n.slice(s).search(i)){var g,p=h;for(i.global||(i=Nr(i.source,O(Ni.exec(i))+"g")),i.lastIndex=0;g=i.exec(p);)var d=g.index;h=h.slice(0,d===o?s:d)}}else if(n.indexOf(cn(i),s)!=s){var v=h.lastIndexOf(i);v>-1&&(h=h.slice(0,v))}return h+r}function wg(n){return n=O(n),n&&Eo.test(n)?n.replace(Fi,Yl):n}var bg=Me(function(n,e,t){return n+(t?" ":"")+e.toUpperCase()}),Si=hf("toUpperCase");function so(n,e,t){return n=O(n),e=t?o:e,e===o?ql(n)?Ql(n):Wl(n):n.match(e)||[]}var ao=S(function(n,e){try{return an(n,o,e)}catch(t){return Li(t)?t:new L(t)}}),Ag=Zn(function(n,e){return wn(e,function(t){t=Un(t),$n(n,t,Ai(n[t],n))}),n});function mg(n){var e=n==null?0:n.length,t=b();return n=e?U(n,function(r){if(typeof r[1]!="function")throw new bn(H);return[t(r[0]),r[1]]}):[],S(function(r){for(var i=-1;++i<e;){var f=n[i];if(an(f[0],this,r))return an(f[1],this,r)}})}function Lg(n){return Ys(mn(n,Sn))}function Ii(n){return function(){return n}}function Tg(n,e){return n==null||n!==n?e:n}var yg=_f(),Pg=_f(!0);function ln(n){return n}function Ri(n){return Gu(typeof n=="function"?n:mn(n,Sn))}function Sg(n){return Ku(mn(n,Sn))}function Ig(n,e){return $u(n,mn(e,Sn))}var Rg=S(function(n,e){return function(t){return ot(t,n,e)}}),Eg=S(function(n,e){return function(t){return ot(n,t,e)}});function Ei(n,e,t){var r=Y(e),i=zt(e,r);t==null&&!(k(e)&&(i.length||!r.length))&&(t=e,e=n,n=this,i=zt(e,Y(e)));var f=!(k(t)&&"chain"in t)||!!t.chain,l=Xn(n);return wn(i,function(s){var h=e[s];n[s]=h,l&&(n.prototype[s]=function(){var g=this.__chain__;if(f||g){var p=n(this.__wrapped__),d=p.__actions__=un(this.__actions__);return d.push({func:h,args:arguments,thisArg:n}),p.__chain__=g,p}return h.apply(n,te([this.value()],arguments))})}),n}function Bg(){return Z._===this&&(Z._=rs),this}function Bi(){}function Cg(n){return n=y(n),S(function(e){return zu(e,n)})}var Og=li(U),Wg=li(_u),Mg=li(Or);function ho(n){return pi(n)?Wr(Un(n)):ha(n)}function Dg(n){return function(e){return n==null?o:we(n,e)}}var Fg=pf(),Hg=pf(!0);function Ci(){return[]}function Oi(){return!1}function Ug(){return{}}function Ng(){return""}function kg(){return!0}function Gg(n,e){if(n=y(n),n<1||n>E)return[];var t=Dn,r=Q(n,Dn);e=b(e),n-=Dn;for(var i=Fr(r,e);++t<n;)e(t);return i}function qg(n){return T(n)?U(n,Un):_n(n)?[n]:un(Bf(O(n)))}function Kg(n){var e=++es;return O(n)+e}var $g=Vt(function(n,e){return n+e},0),zg=si("ceil"),Zg=Vt(function(n,e){return n/e},1),Yg=si("floor");function Xg(n){return n&&n.length?$t(n,ln,Yr):o}function Jg(n,e){return n&&n.length?$t(n,b(e,2),Yr):o}function Qg(n){return du(n,ln)}function Vg(n,e){return du(n,b(e,2))}function jg(n){return n&&n.length?$t(n,ln,Vr):o}function n0(n,e){return n&&n.length?$t(n,b(e,2),Vr):o}var e0=Vt(function(n,e){return n*e},1),t0=si("round"),r0=Vt(function(n,e){return n-e},0);function i0(n){return n&&n.length?Dr(n,ln):0}function u0(n,e){return n&&n.length?Dr(n,b(e,2)):0}return u.after=Sc,u.ary=Gf,u.assign=g_,u.assignIn=to,u.assignInWith=hr,u.assignWith=p_,u.at=d_,u.before=qf,u.bind=Ai,u.bindAll=Ag,u.bindKey=Kf,u.castArray=Uc,u.chain=Uf,u.chunk=Ya,u.compact=Xa,u.concat=Ja,u.cond=mg,u.conforms=Lg,u.constant=Ii,u.countBy=ic,u.create=v_,u.curry=$f,u.curryRight=zf,u.debounce=Zf,u.defaults=x_,u.defaultsDeep=w_,u.defer=Ic,u.delay=Rc,u.difference=Qa,u.differenceBy=Va,u.differenceWith=ja,u.drop=nh,u.dropRight=eh,u.dropRightWhile=th,u.dropWhile=rh,u.fill=ih,u.filter=fc,u.flatMap=sc,u.flatMapDeep=ac,u.flatMapDepth=hc,u.flatten=Mf,u.flattenDeep=uh,u.flattenDepth=fh,u.flip=Ec,u.flow=yg,u.flowRight=Pg,u.fromPairs=oh,u.functions=P_,u.functionsIn=S_,u.groupBy=cc,u.initial=sh,u.intersection=ah,u.intersectionBy=hh,u.intersectionWith=ch,u.invert=R_,u.invertBy=E_,u.invokeMap=gc,u.iteratee=Ri,u.keyBy=pc,u.keys=Y,u.keysIn=on,u.map=ur,u.mapKeys=C_,u.mapValues=O_,u.matches=Sg,u.matchesProperty=Ig,u.memoize=or,u.merge=W_,u.mergeWith=ro,u.method=Rg,u.methodOf=Eg,u.mixin=Ei,u.negate=lr,u.nthArg=Cg,u.omit=M_,u.omitBy=D_,u.once=Bc,u.orderBy=dc,u.over=Og,u.overArgs=Cc,u.overEvery=Wg,u.overSome=Mg,u.partial=mi,u.partialRight=Yf,u.partition=vc,u.pick=F_,u.pickBy=io,u.property=ho,u.propertyOf=Dg,u.pull=dh,u.pullAll=Ff,u.pullAllBy=vh,u.pullAllWith=xh,u.pullAt=wh,u.range=Fg,u.rangeRight=Hg,u.rearg=Oc,u.reject=bc,u.remove=bh,u.rest=Wc,u.reverse=wi,u.sampleSize=mc,u.set=U_,u.setWith=N_,u.shuffle=Lc,u.slice=Ah,u.sortBy=Pc,u.sortedUniq=Ih,u.sortedUniqBy=Rh,u.split=sg,u.spread=Mc,u.tail=Eh,u.take=Bh,u.takeRight=Ch,u.takeRightWhile=Oh,u.takeWhile=Wh,u.tap=Xh,u.throttle=Dc,u.thru=ir,u.toArray=jf,u.toPairs=uo,u.toPairsIn=fo,u.toPath=qg,u.toPlainObject=eo,u.transform=k_,u.unary=Fc,u.union=Mh,u.unionBy=Dh,u.unionWith=Fh,u.uniq=Hh,u.uniqBy=Uh,u.uniqWith=Nh,u.unset=G_,u.unzip=bi,u.unzipWith=Hf,u.update=q_,u.updateWith=K_,u.values=He,u.valuesIn=$_,u.without=kh,u.words=so,u.wrap=Hc,u.xor=Gh,u.xorBy=qh,u.xorWith=Kh,u.zip=$h,u.zipObject=zh,u.zipObjectDeep=Zh,u.zipWith=Yh,u.entries=uo,u.entriesIn=fo,u.extend=to,u.extendWith=hr,Ei(u,u),u.add=$g,u.attempt=ao,u.camelCase=X_,u.capitalize=oo,u.ceil=zg,u.clamp=z_,u.clone=Nc,u.cloneDeep=Gc,u.cloneDeepWith=qc,u.cloneWith=kc,u.conformsTo=Kc,u.deburr=lo,u.defaultTo=Tg,u.divide=Zg,u.endsWith=J_,u.eq=On,u.escape=Q_,u.escapeRegExp=V_,u.every=uc,u.find=oc,u.findIndex=Of,u.findKey=b_,u.findLast=lc,u.findLastIndex=Wf,u.findLastKey=A_,u.floor=Yg,u.forEach=Nf,u.forEachRight=kf,u.forIn=m_,u.forInRight=L_,u.forOwn=T_,u.forOwnRight=y_,u.get=yi,u.gt=$c,u.gte=zc,u.has=I_,u.hasIn=Pi,u.head=Df,u.identity=ln,u.includes=_c,u.indexOf=lh,u.inRange=Z_,u.invoke=B_,u.isArguments=me,u.isArray=T,u.isArrayBuffer=Zc,u.isArrayLike=fn,u.isArrayLikeObject=q,u.isBoolean=Yc,u.isBuffer=ae,u.isDate=Xc,u.isElement=Jc,u.isEmpty=Qc,u.isEqual=Vc,u.isEqualWith=jc,u.isError=Li,u.isFinite=n_,u.isFunction=Xn,u.isInteger=Xf,u.isLength=sr,u.isMap=Jf,u.isMatch=e_,u.isMatchWith=t_,u.isNaN=r_,u.isNative=i_,u.isNil=f_,u.isNull=u_,u.isNumber=Qf,u.isObject=k,u.isObjectLike=G,u.isPlainObject=_t,u.isRegExp=Ti,u.isSafeInteger=o_,u.isSet=Vf,u.isString=ar,u.isSymbol=_n,u.isTypedArray=Fe,u.isUndefined=l_,u.isWeakMap=s_,u.isWeakSet=a_,u.join=_h,u.kebabCase=j_,u.last=Tn,u.lastIndexOf=gh,u.lowerCase=ng,u.lowerFirst=eg,u.lt=h_,u.lte=c_,u.max=Xg,u.maxBy=Jg,u.mean=Qg,u.meanBy=Vg,u.min=jg,u.minBy=n0,u.stubArray=Ci,u.stubFalse=Oi,u.stubObject=Ug,u.stubString=Ng,u.stubTrue=kg,u.multiply=e0,u.nth=ph,u.noConflict=Bg,u.noop=Bi,u.now=fr,u.pad=tg,u.padEnd=rg,u.padStart=ig,u.parseInt=ug,u.random=Y_,u.reduce=xc,u.reduceRight=wc,u.repeat=fg,u.replace=og,u.result=H_,u.round=t0,u.runInContext=a,u.sample=Ac,u.size=Tc,u.snakeCase=lg,u.some=yc,u.sortedIndex=mh,u.sortedIndexBy=Lh,u.sortedIndexOf=Th,u.sortedLastIndex=yh,u.sortedLastIndexBy=Ph,u.sortedLastIndexOf=Sh,u.startCase=ag,u.startsWith=hg,u.subtract=r0,u.sum=i0,u.sumBy=u0,u.template=cg,u.times=Gg,u.toFinite=Jn,u.toInteger=y,u.toLength=no,u.toLower=_g,u.toNumber=yn,u.toSafeInteger=__,u.toString=O,u.toUpper=gg,u.trim=pg,u.trimEnd=dg,u.trimStart=vg,u.truncate=xg,u.unescape=wg,u.uniqueId=Kg,u.upperCase=bg,u.upperFirst=Si,u.each=Nf,u.eachRight=kf,u.first=Df,Ei(u,function(){var n={};return Fn(u,function(e,t){W.call(u.prototype,t)||(n[t]=e)}),n}(),{chain:!1}),u.VERSION=X,wn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){u[n].placeholder=u}),wn(["drop","take"],function(n,e){R.prototype[n]=function(t){t=t===o?1:z(y(t),0);var r=this.__filtered__&&!e?new R(this):this.clone();return r.__filtered__?r.__takeCount__=Q(t,r.__takeCount__):r.__views__.push({size:Q(t,Dn),type:n+(r.__dir__<0?"Right":"")}),r},R.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),wn(["filter","map","takeWhile"],function(n,e){var t=e+1,r=t==Ke||t==$e;R.prototype[n]=function(i){var f=this.clone();return f.__iteratees__.push({iteratee:b(i,3),type:t}),f.__filtered__=f.__filtered__||r,f}}),wn(["head","last"],function(n,e){var t="take"+(e?"Right":"");R.prototype[n]=function(){return this[t](1).value()[0]}}),wn(["initial","tail"],function(n,e){var t="drop"+(e?"":"Right");R.prototype[n]=function(){return this.__filtered__?new R(this):this[t](1)}}),R.prototype.compact=function(){return this.filter(ln)},R.prototype.find=function(n){return this.filter(n).head()},R.prototype.findLast=function(n){return this.reverse().find(n)},R.prototype.invokeMap=S(function(n,e){return typeof n=="function"?new R(this):this.map(function(t){return ot(t,n,e)})}),R.prototype.reject=function(n){return this.filter(lr(b(n)))},R.prototype.slice=function(n,e){n=y(n);var t=this;return t.__filtered__&&(n>0||e<0)?new R(t):(n<0?t=t.takeRight(-n):n&&(t=t.drop(n)),e!==o&&(e=y(e),t=e<0?t.dropRight(-e):t.take(e-n)),t)},R.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},R.prototype.toArray=function(){return this.take(Dn)},Fn(R.prototype,function(n,e){var t=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=u[r?"take"+(e=="last"?"Right":""):e],f=r||/^find/.test(e);i&&(u.prototype[e]=function(){var l=this.__wrapped__,s=r?[1]:arguments,h=l instanceof R,g=s[0],p=h||T(l),d=function(I){var B=i.apply(u,te([I],s));return r&&v?B[0]:B};p&&t&&typeof g=="function"&&g.length!=1&&(h=p=!1);var v=this.__chain__,w=!!this.__actions__.length,A=f&&!v,P=h&&!w;if(!f&&p){l=P?l:new R(this);var m=n.apply(l,s);return m.__actions__.push({func:ir,args:[d],thisArg:o}),new An(m,v)}return A&&P?n.apply(this,s):(m=this.thru(d),A?r?m.value()[0]:m.value():m)})}),wn(["pop","push","shift","sort","splice","unshift"],function(n){var e=Et[n],t=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",r=/^(?:pop|shift)$/.test(n);u.prototype[n]=function(){var i=arguments;if(r&&!this.__chain__){var f=this.value();return e.apply(T(f)?f:[],i)}return this[t](function(l){return e.apply(T(l)?l:[],i)})}}),Fn(R.prototype,function(n,e){var t=u[e];if(t){var r=t.name+"";W.call(Ce,r)||(Ce[r]=[]),Ce[r].push({name:e,func:t})}}),Ce[Qt(o,Mn).name]=[{name:"wrapper",func:o}],R.prototype.clone=ws,R.prototype.reverse=bs,R.prototype.value=As,u.prototype.at=Jh,u.prototype.chain=Qh,u.prototype.commit=Vh,u.prototype.next=jh,u.prototype.plant=ec,u.prototype.reverse=tc,u.prototype.toJSON=u.prototype.valueOf=u.prototype.value=rc,u.prototype.first=u.prototype.head,nt&&(u.prototype[nt]=nc),u},ie=Vl();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Z._=ie,define(function(){return ie})):ge?((ge.exports=ie)._=ie,Rr._=ie):Z._=ie}).call(Ue)});var po=_0(go());import Wi from"react";import{Link as g0}from"react-router-dom";var N={box:"silke-box_box_92798700a9",debug:"silke-box_debug_92798700a9",reverse:"silke-box_reverse_92798700a9",column:"silke-box_column_92798700a9",fill:"silke-box_fill_92798700a9",scroll:"silke-box_scroll_92798700a9",showScroll:"silke-box_showScroll_92798700a9",flex:"silke-box_flex_92798700a9",wrap:"silke-box_wrap_92798700a9",square:"silke-box_square_92798700a9","cursor-pointer":"silke-box_cursor-pointer_92798700a9","cursor-text":"silke-box_cursor-text_92798700a9","cursor-grab":"silke-box_cursor-grab_92798700a9","h-start":"silke-box_h-start_92798700a9","h-center":"silke-box_h-center_92798700a9","h-end":"silke-box_h-end_92798700a9","h-space":"silke-box_h-space_92798700a9","h-spread":"silke-box_h-spread_92798700a9","v-start":"silke-box_v-start_92798700a9","v-center":"silke-box_v-center_92798700a9","v-end":"silke-box_v-end_92798700a9","v-space":"silke-box_v-space_92798700a9","v-spread":"silke-box_v-spread_92798700a9","vPad-xxs":"silke-box_vPad-xxs_92798700a9","hPad-xxs":"silke-box_hPad-xxs_92798700a9","gap-xxs":"silke-box_gap-xxs_92798700a9","vPad-xs":"silke-box_vPad-xs_92798700a9","hPad-xs":"silke-box_hPad-xs_92798700a9","gap-xs":"silke-box_gap-xs_92798700a9","vPad-s":"silke-box_vPad-s_92798700a9","hPad-s":"silke-box_hPad-s_92798700a9","gap-s":"silke-box_gap-s_92798700a9","vPad-m":"silke-box_vPad-m_92798700a9","hPad-m":"silke-box_hPad-m_92798700a9","gap-m":"silke-box_gap-m_92798700a9","vPad-l":"silke-box_vPad-l_92798700a9","hPad-l":"silke-box_hPad-l_92798700a9","gap-l":"silke-box_gap-l_92798700a9","vPad-xl":"silke-box_vPad-xl_92798700a9","hPad-xl":"silke-box_hPad-xl_92798700a9","gap-xl":"silke-box_gap-xl_92798700a9","vPad-xxl":"silke-box_vPad-xxl_92798700a9","hPad-xxl":"silke-box_hPad-xxl_92798700a9","gap-xxl":"silke-box_gap-xxl_92798700a9","vPad-xxxl":"silke-box_vPad-xxxl_92798700a9","hPad-xxxl":"silke-box_hPad-xxxl_92798700a9","gap-xxxl":"silke-box_gap-xxxl_92798700a9","vPad-none":"silke-box_vPad-none_92798700a9","hPad-none":"silke-box_hPad-none_92798700a9","gap-none":"silke-box_gap-none_92798700a9","height-xs":"silke-box_height-xs_92798700a9","width-xs":"silke-box_width-xs_92798700a9","minHeight-xs":"silke-box_minHeight-xs_92798700a9","minWidth-xs":"silke-box_minWidth-xs_92798700a9","height-s":"silke-box_height-s_92798700a9","width-s":"silke-box_width-s_92798700a9","minHeight-s":"silke-box_minHeight-s_92798700a9","minWidth-s":"silke-box_minWidth-s_92798700a9","height-base":"silke-box_height-base_92798700a9","width-base":"silke-box_width-base_92798700a9","minHeight-base":"silke-box_minHeight-base_92798700a9","minWidth-base":"silke-box_minWidth-base_92798700a9","height-m":"silke-box_height-m_92798700a9","width-m":"silke-box_width-m_92798700a9","minHeight-m":"silke-box_minHeight-m_92798700a9","minWidth-m":"silke-box_minWidth-m_92798700a9","height-l":"silke-box_height-l_92798700a9","width-l":"silke-box_width-l_92798700a9","minHeight-l":"silke-box_minHeight-l_92798700a9","minWidth-l":"silke-box_minWidth-l_92798700a9","height-xl":"silke-box_height-xl_92798700a9","width-xl":"silke-box_width-xl_92798700a9","minHeight-xl":"silke-box_minHeight-xl_92798700a9","minWidth-xl":"silke-box_minWidth-xl_92798700a9","height-xxl":"silke-box_height-xxl_92798700a9","width-xxl":"silke-box_width-xxl_92798700a9","minHeight-xxl":"silke-box_minHeight-xxl_92798700a9","minWidth-xxl":"silke-box_minWidth-xxl_92798700a9","overflow-hidden":"silke-box_overflow-hidden_92798700a9","overflow-scroll-y":"silke-box_overflow-scroll-y_92798700a9","rounded-tiny":"silke-box_rounded-tiny_92798700a9","rounded-small":"silke-box_rounded-small_92798700a9","rounded-medium":"silke-box_rounded-medium_92798700a9","rounded-full":"silke-box_rounded-full_92798700a9","shadow-level1":"silke-box_shadow-level1_92798700a9","shadow-level2":"silke-box_shadow-level2_92798700a9","shadow-level3":"silke-box_shadow-level3_92798700a9","shadow-level4":"silke-box_shadow-level4_92798700a9"};var R0=({weight:o=100})=>Wi.createElement("div",{style:{flex:`1 1 ${o}%`}});function p0({aspectRatio:o,column:X,fill:Pn,gap:Vn,pad:H,vPad:Ne,hPad:he,size:pt,width:ce=pt,height:Sn=pt,minWidth:ke,minHeight:Nn,children:jn,color:_e,colorHover:j,bg:Mn,bgHover:Ge,tag:sn,flex:ne,wrap:dn,align:vn,vAlign:nn,hAlign:In,className:Le,debug:cr,scroll:dt,rounded:qe,shadow:vt,overflow:Ke,cursor:xt,...$e},kn){let E=[N.box];return Le&&E.push(Le),X&&E.push(N.column),ne&&E.push(N.flex),Pn&&E.push(N.fill),Ke&&E.push(N["overflow-"+Ke]),dn&&E.push(N.wrap),vt&&E.push(N["shadow-"+vt]),qe&&E.push(N[`rounded-${qe===!0?"small":qe}`]),xt&&E.push(N["cursor-"+xt]),o&&($e.style={...$e.style,aspectRatio:o.replace(":","/")}),H?(H===!0&&(H="m"),E.push(N["hPad-"+H],N["vPad-"+H])):(Ne&&E.push(N["vPad-"+(Ne===!0?"m":Ne)]),he&&E.push(N["hPad-"+(he===!0?"m":he)])),Vn&&E.push(N["gap-"+(Vn===!0?"m":Vn)]),ce&&E.push(N["width-"+ce]),Sn&&E.push(N["height-"+Sn]),ke&&E.push(N["minWidth-"+ke]),Nn&&E.push(N["minHeight-"+Nn]),_e&&E.push("color-"+_e),j&&E.push("color-hover-"+j),Mn&&E.push("bg-"+Mn),Ge&&E.push("bg-hover-"+Ge),(0,po.isArray)(vn)?[In,nn]=vn:vn&&(In=vn,nn=vn),In&&E.push(N["h-"+(In===!0?"center":In)]),nn&&E.push(N["v-"+(nn===!0?"center":nn)]),dt&&E.push(dt==="show"?N.showScroll:N.scroll),cr&&E.push(N.debug),Wi.createElement(sn==="link"?g0:sn||"div",{className:E.join(" "),ref:kn,...$e},jn)}var d0=Wi.forwardRef(p0);d0.displayName="SilkeBox";export{h0 as a,_0 as b,go as c,R0 as d,d0 as e};
|
|
21
|
-
/*! For license information please see chunk-
|
|
22
|
-
//# sourceMappingURL=chunk-
|
|
21
|
+
/*! For license information please see chunk-PP74IZDW.js.LEGAL.txt */
|
|
22
|
+
//# sourceMappingURL=chunk-PP74IZDW.js.map
|