UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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