UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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