UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 759 B
var n=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?n(...e):typeof e=="object"?Object.keys(e).map((i,a)=>e[a]||e[i]&&i||null).filter(i=>i!==null).join(" "):e).filter(e=>!!e).join(" ");import{jsx as o}from"react/jsx-runtime";var d="k-animation-container",c=[],m={},r={positionMode:"absolute"},l=t=>{let{positionMode:e=r.positionMode,animationStyle:i,offset:a,...s}=t;return o("div",{...s,style:{...a,...t.style},className:n(t.className,d,"k-animation-container-shown",{"k-animation-container-fixed":e==="fixed"}),children:o("div",{className:"k-child-animation-container",style:i,children:t.children})})};l.states=c;l.options=m;l.className=d;l.defaultOptions=r;var b=l;export{d as ANIMATION_CONTAINER_CLASSNAME,l as AnimationContainer,b as default};