UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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