@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 834 B
JavaScript
var i=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((o,r)=>e[r]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var a="popup",d=a;import{jsx as s}from"react/jsx-runtime";var u="k-animation-container",f=[],x={},l={positionMode:"absolute",shown:!0},n=t=>{let{positionMode:e=l.positionMode,shown:o=l.shown,animationStyle:r,offset:c,...m}=t;return s("div",{...m,style:{...c,...t.style},className:i(t.className,u,{"k-animation-container-shown":o,"k-animation-container-fixed":e==="fixed"}),children:s("div",{className:"k-child-animation-container",style:r,children:t.children})})};n.states=f;n.options=x;n.className=u;n.defaultOptions=l;n.moduleName=a;n.folderName=d;var T=n;export{u as ANIMATION_CONTAINER_CLASSNAME,n as AnimationContainer,T as default};