UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 1.42 kB
var s=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var T=(t,e)=>{for(var n in e)s(t,n,{get:e[n],enumerable:!0})},p=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of k(e))!v.call(t,r)&&r!==n&&s(t,r,{get:()=>e[r],enumerable:!(o=A(e,r))||o.enumerable});return t};var y=t=>p(s({},"__esModule",{value:!0}),t);var b={};T(b,{ACTIONSHEETFOOTER_CLASSNAME:()=>x,ActionSheetFooter:()=>M});module.exports=y(b);var a=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?a(...e):typeof e=="object"?Object.keys(e).map((n,o)=>e[o]||e[n]&&n||null).filter(n=>n!==null).join(" "):e).filter(e=>!!e).join(" ");var d="action-buttons",u=d;var m=require("react/jsx-runtime"),l="k-actions",N=[],O={},c={alignment:"start",orientation:"horizontal"},i=t=>{let{alignment:e=c.alignment,orientation:n=c.orientation,...o}=t;return(0,m.jsx)("div",{...o,className:a(l,{[`${l}-${e}`]:e,[`${l}-${n}`]:n},t.className),children:t.children})};i.states=N;i.options=O;i.className=l;i.defaultOptions=c;i.moduleName=d;i.folderName=u;var g=require("react/jsx-runtime"),x="k-actionsheet-footer",f={alignment:"stretched",orientation:"horizontal"},M=t=>{let{alignment:e=f.alignment,orientation:n=f.orientation,template:o,as:r=o?"div":i,...h}=t;return(0,g.jsx)(r,{...h,...!o&&{alignment:e,orientation:n},className:a(t.className,x),children:t.children})};