@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 18.8 kB
JavaScript
var lt=Object.create;var ee=Object.defineProperty;var mt=Object.getOwnPropertyDescriptor;var ut=Object.getOwnPropertyNames;var ct=Object.getPrototypeOf,pt=Object.prototype.hasOwnProperty;var dt=(e,t)=>{for(var o in t)ee(e,o,{get:t[o],enumerable:!0})},Se=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ut(t))!pt.call(e,n)&&n!==o&&ee(e,n,{get:()=>t[n],enumerable:!(s=mt(t,n))||s.enumerable});return e};var ft=(e,t,o)=>(o=e!=null?lt(ct(e)):{},Se(t||!e||!e.__esModule?ee(o,"default",{value:e,enumerable:!0}):o,e)),xt=e=>Se(ee({},"__esModule",{value:!0}),e);var Zt={};dt(Zt,{MenuNormal:()=>ae});module.exports=xt(Zt);var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var _=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),$=(e,t)=>{let{valid:o,invalid:s,hover:n,focus:l,checked:m,active:u,selected:g,disabled:v,indeterminate:p,loading:x,empty:d,readonly:z,highlighted:D,...O}=t;return i({"k-valid":o,"k-invalid":s,"k-hover":n,"k-focus":l,"k-checked":m,"k-active":u,"k-selected":g,"k-disabled":v,"k-indeterminate":p&&!m,"k-loading":x,"k-empty":d,"k-readonly":z,"k-highlighted":D},Object.keys(O).reduce((h,k)=>(k.startsWith("k-")?h[k]=O[k]:h[`k-${k}`]=O[k],h),{}))};function Oe(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var a={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},F={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},V={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},C={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},r={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},f={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Q=require("react/jsx-runtime"),se="k-font-icon",Mt=[],bt={size:[a.undefined,a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info]},Nt={},Y=e=>{let{size:t,themeColor:o,icon:s,rotate:n,flip:l,...m}=e;return s?(0,Q.jsx)("span",{...m,className:i(e.className,se,_(se,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):(0,Q.jsx)(Q.Fragment,{})};Y.states=Mt;Y.options=bt;Y.className=se;Y.defaultOptions=Nt;var Ce=Y;var W=require("react/jsx-runtime"),ie="k-svg-icon",ht=[],It={size:[a.undefined,a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info],variant:[C.outline,C.solid,C.duotone]},le={viewBox:"0 0 24 24",variant:C.outline},Z=e=>{var x,d;let{size:t,themeColor:o,rotate:s,flip:n,viewBox:l=le.viewBox,variant:m=le.variant,icon:u,...g}=e;if(!u)return(0,W.jsx)(W.Fragment,{});if(u==="none")return(0,W.jsx)("span",{...g,className:i(e.className,ie,_("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let v=typeof u=="object"&&u.name&&u.name,p=typeof u=="object"?m&&((x=u.variants)==null?void 0:x[m])||((d=u.variants)==null?void 0:d.outline)||u.content:void 0;return(0,W.jsx)("span",{...g,className:i(e.className,ie,_("k-icon",{size:t}),{[`k-svg-i-${v}`]:v,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,W.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof u=="object"?u.viewBox:l,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:u?void 0:e.children})})};Z.states=ht;Z.options=It;Z.className=ie;Z.defaultOptions=le;var me=Z;var ue=ft(require("@progress/kendo-svg-icons"));var we="icon",Te="icons";var Re=require("react");var _e=require("react"),Pe=(0,_e.createContext)({iconsType:"svg"});var P=require("react/jsx-runtime"),te="k-icon",vt=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),gt=[],kt={size:[a.undefined,a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info],variant:[C.outline,C.solid,C.duotone]},oe={viewBox:"0 0 24 24",type:"svg",variant:C.outline},M=e=>{let{iconsType:t}=(0,Re.useContext)(Pe),{size:o,themeColor:s,icon:n,type:l=t||oe.type,rotate:m,flip:u,viewBox:g=oe.viewBox,variant:v=oe.variant,...p}=e;if(!n)return(0,P.jsx)(P.Fragment,{});if((t||l)==="svg"){if(n==="none")return(0,P.jsx)(me,{...p,className:i(e.className,te),icon:n,size:o,variant:v});let d=ue[n]?n:vt(`${n}-icon`);return ue[d]?(0,P.jsx)(me,{...p,className:i(e.className,te),icon:ue[d],size:o,themeColor:s,rotate:m,flip:u,viewBox:g,variant:v}):(0,P.jsx)(P.Fragment,{})}return(0,P.jsx)(Ce,{...p,className:i(e.className,te),icon:n,size:o,themeColor:s,rotate:m,flip:u})};M.states=gt;M.options=kt;M.defaultOptions=oe;M.className=te;M.moduleName=we;M.folderName=Te;M.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var A="menu",L=A;var R=require("react/jsx-runtime"),ce="k-menu-item",At=[f.hover,f.focus,f.active,f.selected,f.disabled],Et={},Ke={iconPosition:"before"},I=e=>{let{hover:t,focus:o,active:s,selected:n,disabled:l,icon:m,text:u,first:g,last:v,showArrow:p,arrowIconName:x,iconPosition:d=Ke.iconPosition,dir:z,children:D,expanded:O,...h}=e,k=x;return k||(k=z==="rtl"?"chevron-left":"chevron-right"),(0,R.jsxs)("li",{...h,className:i(e.className,ce,"k-item",$(ce,{focus:o,disabled:l,hover:t,active:s,selected:n}),{"k-first":g,"k-last":v}),role:"menuitem",...p&&{"aria-haspopup":"menu"},...p&&{"aria-expanded":O?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,R.jsxs)("span",{className:i("k-link k-menu-link"),children:[m&&d==="before"&&(0,R.jsx)(M,{className:"k-menu-link-icon",icon:m}),(0,R.jsx)("span",{className:"k-menu-link-text",children:u}),m&&d==="after"&&(0,R.jsx)(M,{className:"k-menu-link-icon",icon:m}),p&&(0,R.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,R.jsx)(M,{icon:k})})]}),D]})};I.states=At;I.options=Et;I.className=ce;I.defaultOptions=Ke;I.moduleName=A;I.folderName=L;var K=require("react/jsx-runtime"),pe="k-menu-item",Lt=[f.hover,f.focus,f.active,f.selected,f.disabled],yt={},de={dir:"ltr",iconPosition:"before"},y=e=>{let{hover:t,focus:o,active:s,selected:n,disabled:l,icon:m,text:u,first:g,last:v,showArrow:p,arrowIconName:x,iconPosition:d=de.iconPosition,dir:z=de.dir,children:D,popup:O,expanded:h,...k}=e,U=x;return U||(U=z==="rtl"?"chevron-left":"chevron-right"),(0,K.jsxs)("li",{role:"menuitem",...k,className:i(e.className,pe,"k-item",$(pe,{focus:o,disabled:l}),{"k-first":g,"k-last":v}),...p&&{"aria-haspopup":"menu"},...p&&{"aria-expanded":h?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,K.jsxs)("span",{className:i("k-link k-menu-link",$("k-menu-link",{hover:t,active:s,selected:n,disabled:l})),children:[m&&d==="before"&&(0,K.jsx)(M,{className:"k-menu-link-icon",icon:m}),(0,K.jsx)("span",{className:"k-menu-link-text",children:u}),m&&d==="after"&&(0,K.jsx)(M,{className:"k-menu-link-icon",icon:m}),p&&(0,K.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,K.jsx)(M,{icon:U})})]}),D,O]})};y.states=Lt;y.options=yt;y.className=pe;y.defaultOptions=de;y.moduleName=A;y.folderName=L;var fe="button",Be=fe;var E=require("react/jsx-runtime"),j="k-button",St=["icon-button"],Ot=[f.hover,f.focus,f.active,f.selected,f.disabled,f.generating],Ct={size:[a.undefined,a.xsmall,a.small,a.medium,a.large],rounded:[F.undefined,F.none,F.small,F.medium,F.large,F.full],fillMode:[V.undefined,V.solid,V.flat,V.outline,V.clear,V.link],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.inverse]},xe={showArrow:!1,arrowIconName:"chevron-down"},c=e=>{let{as:t="button",size:o,rounded:s,fillMode:n,themeColor:l,showArrow:m=xe.showArrow,arrowIconName:u=xe.arrowIconName,variant:g,hover:v,focus:p,active:x,selected:d,disabled:z,togglable:D,ariaDisabled:O,icon:h,iconSize:k,text:U,iconClassName:nt,className:rt,...at}=e,st=h!=null,it=e.children!==void 0;return(0,E.jsxs)(t,{className:i(rt,j,Oe(j,g),_(j,{size:o,rounded:s,fillMode:n,themeColor:l}),$(j,{hover:v,focus:p,active:x,disabled:z||O,selected:d}),{"k-icon-button":!U&&!it&&st}),"aria-pressed":D?d?"true":"false":void 0,...at,"aria-disabled":O?"true":void 0,disabled:z||void 0,children:[typeof h=="string"&&h&&(0,E.jsx)(M,{className:i(nt,"k-button-icon"),icon:h,size:k}),h&&typeof h!="string"&&(0,E.jsx)(E.Fragment,{children:h}),U?(0,E.jsxs)(E.Fragment,{children:[U&&(0,E.jsx)("span",{className:"k-button-text",children:U}),e.children]}):e.children&&(0,E.jsx)("span",{className:"k-button-text",children:e.children}),m&&(0,E.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,E.jsx)(M,{icon:u})})]})};c.states=Ot;c.options=Ct;c.variants=St;c.className=j;c.defaultOptions=xe;c.moduleName=fe;c.folderName=Be;c.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Ue=require("react/jsx-runtime"),ze=e=>(0,Ue.jsx)(c,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var De=require("react/jsx-runtime"),He=e=>(0,De.jsx)(c,{icon:"folder",children:"Button",...e});var Fe=require("react/jsx-runtime"),$e=e=>(0,Fe.jsx)(c,{children:"Button",...e});var ne=require("react/jsx-runtime"),wt=c.options,Tt=c.states,_t={...c.defaultOptions,variant:"text"},Pt=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Rt=[],J=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,ne.jsx)(ze,{...o,icon:"star"});case"icon-and-text":return(0,ne.jsx)(He,{...o,icon:"star",children:"Button"});default:return(0,ne.jsx)($e,{...o,children:"Button"})}};J.options=wt;J.states=Tt;J.variants=Pt;J.defaultOptions=_t;J.modifiers=Rt;J.className=c.className;var Ge=require("react/jsx-runtime"),Ve="k-menu-scroll-wrapper",Kt=[],Bt={},zt={},G=e=>{let{className:t,children:o,orientation:s,...n}=e;return(0,Ge.jsx)("div",{...n,className:i(t,Ve,{"k-menu-scroll-wrapper-vertical":s==="vertical"}),children:o})};G.states=Kt;G.options=Bt;G.className=Ve;G.defaultOptions=zt;G.moduleName=A;G.folderName=L;var We=G;var N=require("react/jsx-runtime"),Me="k-menu",Ut=[],Ht={},re={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},b=e=>{let{children:t,orientation:o=re.orientation,header:s=re.header,scrollable:n,scrollButtonsPosition:l=re.scrollButtonsPosition,wrapperStyles:m,dir:u,popup:g,contextMenu:v,...p}=e,x={horizontal:{prev:u!=="rtl"?"left":"right",next:u!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},d=(0,N.jsx)("ul",{dir:u,...p,className:i(e.className,"k-reset",Me,{[`${Me}-${o}`]:o,"k-header":s}),role:v?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,N.jsxs)(N.Fragment,{children:[n?(0,N.jsxs)(We,{orientation:o,style:m,dir:e.dir,children:[l==="start"&&(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,N.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&(0,N.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),d,l==="end"&&(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,N.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&(0,N.jsx)(c,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):d,g]})};b.states=Ut;b.options=Ht;b.className=Me;b.defaultOptions=re;b.moduleName=A;b.folderName=L;b.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};var Xe=require("react/jsx-runtime"),be="k-separator",Je={orientation:"horizontal"},X=e=>{let{orientation:t=Je.orientation,...o}=e;return(0,Xe.jsx)("li",{...o,className:i(e.className,"k-item",be,{[`${be}-${t}`]:t}),role:"separator"})};X.className=be;X.defaultOptions=Je;X.moduleName=A;X.folderName=L;var qe=require("react/jsx-runtime");var Qe=require("react/jsx-runtime"),Ne="k-menu-group",Dt=[],$t={size:[a.undefined,a.small,a.medium,a.large]},Ft={},B=e=>{let{children:t,size:o,...s}=e;return(0,Qe.jsx)("ul",{role:"menu",...s,className:i(e.className,Ne,_(Ne,{size:o})),children:t})};B.states=Dt;B.options=$t;B.className=Ne;B.defaultOptions=Ft;B.moduleName=A;B.folderName=L;var he="popup",Ye=he;var ve=require("react/jsx-runtime"),Ze="k-animation-container",Vt=[],Wt={},Ie={positionMode:"absolute",shown:!0},H=e=>{let{positionMode:t=Ie.positionMode,shown:o=Ie.shown,animationStyle:s,offset:n,...l}=e;return(0,ve.jsx)("div",{...l,style:{...n,...e.style},className:i(e.className,Ze,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,ve.jsx)("div",{className:"k-child-animation-container",style:s,children:e.children})})};H.states=Vt;H.options=Wt;H.className=Ze;H.defaultOptions=Ie;H.moduleName=he;H.folderName=Ye;var ge="popup",je=ge;var ke=require("react/jsx-runtime"),et="k-popup",Gt=[],Jt={},tt={positionMode:"absolute"},w=e=>{let{offset:t,positionMode:o=tt.positionMode,animationStyle:s,containerClassName:n,containerRole:l,containerAriaLabel:m,...u}=e;return(0,ke.jsx)(H,{positionMode:o,offset:t,animationStyle:s,className:n,role:l,"aria-label":m,children:(0,ke.jsx)("div",{...u,className:i(e.className,et),children:e.children})})};w.states=Gt;w.options=Jt;w.className=et;w.defaultOptions=tt;w.moduleName=ge;w.folderName=je;w.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Ae=require("react/jsx-runtime");var Ee=require("react/jsx-runtime");var Le=require("react/jsx-runtime");var ye=require("react/jsx-runtime");var T=require("react/jsx-runtime"),Xt={...b.options,scrollable:{type:"boolean"}},qt=b.states,ot={...b.defaultOptions,variant:"horizontal"},Qt=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Yt=[{name:"opened",title:"Opened"}],q=e=>{let{variant:t,modifiers:o,...s}={...ot,...e},n={},l=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(m=>{m==="opened"&&(n.opened=!!(o!=null&&o[m]),n.popup=o!=null&&o[m]?(0,T.jsx)(w,{className:"k-menu-popup",offset:l,children:(0,T.jsxs)(B,{children:[(0,T.jsx)(y,{text:"Item 1"}),(0,T.jsx)(y,{text:"Item 2"}),(0,T.jsx)(X,{}),(0,T.jsx)(y,{text:"Item 3"})]})}):null)}),t==="vertical"?(0,T.jsx)(ae,{...s,...n,orientation:"vertical",style:{width:"200px"}}):(0,T.jsx)(ae,{...s,...n})};q.options=Xt;q.states=qt;q.variants=Qt;q.defaultOptions=ot;q.modifiers=Yt;q.className=b.className;var S=require("react/jsx-runtime"),ae=e=>(0,S.jsx)(b,{children:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(I,{first:!0,text:"Item 1"}),(0,S.jsx)(I,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,S.jsx)(I,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,S.jsx)(I,{text:"Item 4"}),(0,S.jsx)(I,{last:!0,text:"Item 5"})]}),...e});