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