UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 1.23 kB
var s=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var L=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var r in e)s(t,r,{get:e[r],enumerable:!0})},v=(t,e,r,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of y(e))!L.call(t,i)&&i!==r&&s(t,i,{get:()=>e[i],enumerable:!(l=k(e,i))||l.enumerable});return t};var M=t=>v(s({},"__esModule",{value:!0}),t);var A={};p(A,{LISTGROUPITEM_CLASSNAME:()=>m,ListGroupItem:()=>o,default:()=>$});module.exports=M(A);var a=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?a(...e):typeof e=="object"?Object.keys(e).map((r,l)=>e[l]||e[r]&&r||null).filter(r=>r!==null).join(" "):e).filter(e=>!!e).join(" ");var d="listgroup",f=d;var n=require("react/jsx-runtime"),m="k-listgroup-item",b=[],I={},g={dir:"ltr"},o=t=>{let{text:e,arrowIconName:r,dir:l=g.dir,children:i,href:c,pseudo:u,...h}=t,x=r;return x||(x=l==="rtl"?"chevron-left":"chevron-right"),(0,n.jsxs)("li",{...h,className:a(t.className,m),children:[!c&&!u&&e,c&&(0,n.jsx)("a",{href:"#",className:"k-link",children:e}),u&&(0,n.jsx)("span",{className:"k-link",children:e}),i]})};o.states=b;o.options=I;o.className=m;o.defaultOptions=g;o.moduleName=d;o.folderName=f;var $=o;