@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 18.6 kB
JavaScript
var Nt=Object.create;var le=Object.defineProperty;var gt=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var vt=Object.getPrototypeOf,yt=Object.prototype.hasOwnProperty;var Tt=(t,e)=>{for(var o in e)le(t,o,{get:e[o],enumerable:!0})},Ve=(t,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of It(e))!yt.call(t,n)&&n!==o&&le(t,n,{get:()=>e[n],enumerable:!(s=gt(e,n))||s.enumerable});return t};var St=(t,e,o)=>(o=t!=null?Nt(vt(t)):{},Ve(e||!t||!t.__esModule?le(o,"default",{value:t,enumerable:!0}):o,t)),kt=t=>Ve(le({},"__esModule",{value:!0}),t);var Eo={};Tt(Eo,{FloatingLabelInputValue:()=>Co});module.exports=kt(Eo);var r=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?r(...e):typeof e=="object"?Object.keys(e).map((o,s)=>e[s]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var I=(t,e)=>r({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),w=(t,e)=>{let{valid:o,invalid:s,hover:n,focus:d,checked:c,active:p,selected:x,disabled:b,indeterminate:h,loading:y,empty:T,readonly:V,highlighted:F,...C}=e;return r({"k-valid":o,"k-invalid":s,"k-hover":n,"k-focus":d,"k-checked":c,"k-active":p,"k-selected":x,"k-disabled":b,"k-indeterminate":h&&!c,"k-loading":y,"k-empty":T,"k-readonly":V,"k-highlighted":F},Object.keys(C).reduce((k,O)=>(O.startsWith("k-")?k[O]=C[O]:k[`k-${O}`]=C[O],k),{}))};function Fe(t,e){if(!e)return{};let o=Array.isArray(e)?e:[e];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var i={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},A={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},l={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},a={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 Se="floating-label",De=Se;var W=require("react/jsx-runtime"),ke="k-floating-label-container",Mt=[a.hover,a.focus,a.valid,a.invalid,a.empty,a.disabled],Lt={},Ot={},P=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,empty:c,label:p,optional:x,...b}=t;return(0,W.jsxs)("span",{...b,className:r(t.className,ke,w(ke,{hover:e,focus:o,disabled:s,empty:c,valid:d,invalid:n})),children:[t.children,p&&(0,W.jsxs)("label",{className:"k-floating-label",children:[p,x&&(0,W.jsx)("span",{className:"k-label-optional",children:"(Optional)"})]})]})};P.states=Mt;P.options=Lt;P.className=ke;P.defaultOptions=Ot;P.moduleName=Se;P.folderName=De;var Ue=P;var Me="textbox",$e=Me;var Q="input",de=Q;var Ge=require("react/jsx-runtime"),pe="k-input",Ct=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Et={size:[i.undefined,i.small,i.medium,i.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},At={},M=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:p,size:x,rounded:b,fillMode:h,...y}=t;return(0,Ge.jsx)("span",{...y,className:r(t.className,pe,I(pe,{size:x,rounded:b,fillMode:h}),w(pe,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:p}))})};M.states=Ct;M.options=Et;M.className=pe;M.defaultOptions=At;M.moduleName=Q;M.folderName=de;var Xe=require("react/jsx-runtime"),ce="k-picker",Bt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],wt={size:[i.undefined,i.small,i.medium,i.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Pt={},D=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:p,size:x,rounded:b,fillMode:h,...y}=t;return(0,Xe.jsx)("span",{...y,className:r(t.className,ce,I(ce,{size:x,rounded:b,fillMode:h}),w(ce,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:p})),children:t.children})};D.states=Bt;D.options=wt;D.className=ce;D.defaultOptions=Pt;D.moduleName=Q;D.folderName=de;var Y=require("react/jsx-runtime"),Le="k-font-icon",_t=[],zt={size:[i.undefined,i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[l.undefined,l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info]},Rt={},Z=t=>{let{size:e,themeColor:o,icon:s,rotate:n,flip:d,...c}=t;return s?(0,Y.jsx)("span",{...c,className:r(t.className,Le,I(Le,{size:e}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):(0,Y.jsx)(Y.Fragment,{})};Z.states=_t;Z.options=zt;Z.className=Le;Z.defaultOptions=Rt;var qe=Z;var _=require("react/jsx-runtime"),Oe="k-svg-icon",Ht=[],Kt={size:[i.undefined,i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[l.undefined,l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info],variant:[A.outline,A.solid,A.duotone]},Ce={viewBox:"0 0 24 24",variant:A.outline},j=t=>{var y,T;let{size:e,themeColor:o,rotate:s,flip:n,viewBox:d=Ce.viewBox,variant:c=Ce.variant,icon:p,...x}=t;if(!p)return(0,_.jsx)(_.Fragment,{});if(p==="none")return(0,_.jsx)("span",{...x,className:r(t.className,Oe,I("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let b=typeof p=="object"&&p.name&&p.name,h=typeof p=="object"?c&&((y=p.variants)==null?void 0:y[c])||((T=p.variants)==null?void 0:T.outline)||p.content:void 0;return(0,_.jsx)("span",{...x,className:r(t.className,Oe,I("k-icon",{size:e}),{[`k-svg-i-${b}`]:b,[`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,_.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:d,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:p?void 0:t.children})})};j.states=Ht;j.options=Kt;j.className=Oe;j.defaultOptions=Ce;var Ee=j;var Ae=St(require("@progress/kendo-svg-icons"));var Je="icon",We="icons";var Ze=require("react");var Qe=require("react"),Ye=(0,Qe.createContext)({iconsType:"svg"});var B=require("react/jsx-runtime"),ue="k-icon",Vt=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),Ft=[],Dt={size:[i.undefined,i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[l.undefined,l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info],variant:[A.outline,A.solid,A.duotone]},me={viewBox:"0 0 24 24",type:"svg",variant:A.outline},f=t=>{let{iconsType:e}=(0,Ze.useContext)(Ye),{size:o,themeColor:s,icon:n,type:d=e||me.type,rotate:c,flip:p,viewBox:x=me.viewBox,variant:b=me.variant,...h}=t;if(!n)return(0,B.jsx)(B.Fragment,{});if((e||d)==="svg"){if(n==="none")return(0,B.jsx)(Ee,{...h,className:r(t.className,ue),icon:n,size:o,variant:b});let T=Ae[n]?n:Vt(`${n}-icon`);return Ae[T]?(0,B.jsx)(Ee,{...h,className:r(t.className,ue),icon:Ae[T],size:o,themeColor:s,rotate:c,flip:p,viewBox:x,variant:b}):(0,B.jsx)(B.Fragment,{})}return(0,B.jsx)(qe,{...h,className:r(t.className,ue),icon:n,size:o,themeColor:s,rotate:c,flip:p})};f.states=Ft;f.options=Dt;f.defaultOptions=me;f.className=ue;f.moduleName=Je;f.folderName=We;f.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 U=require("react/jsx-runtime"),je="k-clear-value",Ut=[a.disabled,a.loading,a.readonly],$t={},z=t=>{let{disabled:e,loading:o,readonly:s,value:n}=t;return e||s||o||!n?(0,U.jsx)(U.Fragment,{}):(0,U.jsx)("span",{className:r(t.className,je),children:(0,U.jsx)(f,{icon:"x"})})};z.states=Ut;z.options=$t;z.className=je;var et=require("react/jsx-runtime"),Be="k-input-inner",Gt=[],Xt={},fe={type:"text",autocomplete:"off",value:"",placeholder:""},R=t=>{let{value:e=fe.value,type:o=fe.type,placeholder:s=fe.placeholder,autocomplete:n=fe.autocomplete,disabled:d,readOnly:c,...p}=t;return(0,et.jsx)("input",{...p,type:o,className:r(t.className,Be,I(Be,t)),placeholder:s,autoComplete:n,defaultValue:e,disabled:d||void 0,readOnly:c||void 0})};R.states=Gt;R.options=Xt;R.className=Be;var ee=require("react/jsx-runtime"),we="k-input-inner",qt=[],Jt={},Pe=t=>{let{value:e,placeholder:o,showValue:s,valueIcon:n,valueIconName:d,...c}=t;return(0,ee.jsxs)("span",{...c,className:r(t.className,we,I(we,t)),children:[n,!n&&d&&(0,ee.jsx)(f,{className:"k-input-value-icon",icon:d}),s&&!e&&o,s&&e&&(0,ee.jsx)("span",{className:"k-input-value-text",children:e})]})};Pe.states=qt;Pe.options=Jt;Pe.className=we;var ot=require("react/jsx-runtime"),_e="k-input-inner",Wt=[],Qt={},tt={value:"",placeholder:""},ze=t=>{let{value:e=tt.value,placeholder:o=tt.placeholder,rows:s,disabled:n,...d}=t;return(0,ot.jsx)("textarea",{...d,className:r(t.className,_e,I(_e,t)),placeholder:o,rows:s,defaultValue:e,disabled:n||void 0})};ze.states=Wt;ze.options=Qt;ze.className=_e;var te=require("react/jsx-runtime"),nt="k-input-loading-icon",Yt=[a.disabled,a.loading],$=t=>{let{disabled:e,loading:o}=t;return e||!o?(0,te.jsx)(te.Fragment,{}):(0,te.jsx)("span",{className:r(t.className,nt,"k-icon k-i-loading")})};$.states=Yt;$.className=nt;var oe=require("react/jsx-runtime"),at="k-input-validation-icon",Zt=[a.valid,a.invalid,a.disabled,a.loading],jt={},H=t=>{let{valid:e,invalid:o,disabled:s,loading:n}=t,d=o?"warning-circle":"check-circle";return s||n||!!!(e||o)?(0,oe.jsx)(oe.Fragment,{}):(0,oe.jsx)(f,{className:r(at),icon:d})};H.states=Zt;H.options=jt;H.className=at;var ne=require("react/jsx-runtime"),eo="k-input-prefix",to={direction:"horizontal"},xe=t=>{let{direction:e=to.direction,...o}=t;return t.children?(0,ne.jsx)("span",{...o,className:r(eo,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):(0,ne.jsx)(ne.Fragment,{})};var ae=require("react/jsx-runtime"),oo="k-input-suffix",no={direction:"horizontal"},be=t=>{let{direction:e=no.direction,...o}=t;return t.children?(0,ae.jsx)("span",{...o,className:r(oo,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):(0,ae.jsx)(ae.Fragment,{})};var ao=require("react/jsx-runtime");var io=require("react/jsx-runtime");var st=require("react/jsx-runtime"),it="k-input-separator",so={direction:"vertical"},G=t=>{let{direction:e=so.direction,...o}=t;return(0,st.jsx)("span",{...o,className:r(it,t.className,{[`${it}-${e}`]:e})})};var Re="button",rt=Re;var L=require("react/jsx-runtime"),ie="k-button",ro=["icon-button"],lo=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],po={size:[i.undefined,i.xsmall,i.small,i.medium,i.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[l.undefined,l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.inverse]},He={showArrow:!1,arrowIconName:"chevron-down"},N=t=>{let{as:e="button",size:o,rounded:s,fillMode:n,themeColor:d,showArrow:c=He.showArrow,arrowIconName:p=He.arrowIconName,variant:x,hover:b,focus:h,active:y,selected:T,disabled:V,togglable:F,ariaDisabled:C,icon:k,iconSize:O,text:E,iconClassName:re,className:Ie,...ve}=t,ye=k!=null,Te=t.children!==void 0;return(0,L.jsxs)(e,{className:r(Ie,ie,Fe(ie,x),I(ie,{size:o,rounded:s,fillMode:n,themeColor:d}),w(ie,{hover:b,focus:h,active:y,disabled:V||C,selected:T}),{"k-icon-button":!E&&!Te&&ye}),"aria-pressed":F?T?"true":"false":void 0,...ve,"aria-disabled":C?"true":void 0,disabled:V||void 0,children:[typeof k=="string"&&k&&(0,L.jsx)(f,{className:r(re,"k-button-icon"),icon:k,size:O}),k&&typeof k!="string"&&(0,L.jsx)(L.Fragment,{children:k}),E?(0,L.jsxs)(L.Fragment,{children:[E&&(0,L.jsx)("span",{className:"k-button-text",children:E}),t.children]}):t.children&&(0,L.jsx)("span",{className:"k-button-text",children:t.children}),c&&(0,L.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,L.jsx)(f,{icon:p})})]})};N.states=lo;N.options=po;N.variants=ro;N.className=ie;N.defaultOptions=He;N.moduleName=Re;N.folderName=rt;N.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 lt=require("react/jsx-runtime"),K=t=>(0,lt.jsx)(N,{children:"Button",...t});var g=require("react/jsx-runtime"),co=M.states,uo=M.defaultOptions,mo=M.options,fo=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],xo=[],X=t=>{let{modifiers:e,valid:o,invalid:s,loading:n,disabled:d,readonly:c,...p}=t,x=e==null?void 0:e.prefix,b=e==null?void 0:e.suffix,h=e==null?void 0:e["clear-button"],y=e==null?void 0:e["validation-icon"],T=e==null?void 0:e.separators;return(0,g.jsxs)(M,{...p,valid:o,invalid:s,loading:n,disabled:d,readonly:c,style:{width:300},children:[x&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(xe,{children:(0,g.jsx)(f,{icon:"lock"})}),T&&(0,g.jsx)(G,{})]}),(0,g.jsx)(R,{placeholder:"Placeholder",value:"Value"}),y&&(0,g.jsx)(H,{valid:o,invalid:s,loading:n,disabled:d}),(0,g.jsx)($,{loading:n,disabled:d}),h&&(0,g.jsx)(z,{loading:n,disabled:d,readonly:c,value:"Value"}),b&&(0,g.jsxs)(g.Fragment,{children:[T&&(0,g.jsx)(G,{}),(0,g.jsx)(be,{children:(0,g.jsx)(K,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};X.options=mo;X.states=co;X.variants=xo;X.defaultOptions=uo;X.modifiers=fo;X.className=M.className;var v=require("react/jsx-runtime"),dt="k-textbox",bo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],ho={size:[i.undefined,i.small,i.medium,i.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},he={showClearButton:!0,showValidationIcon:!0,separators:!0},S=t=>{let{size:e,rounded:o,fillMode:s,separators:n=he.separators,showClearButton:d=he.showClearButton,showValidationIcon:c=he.showValidationIcon,prefix:p,suffix:x,type:b,value:h,placeholder:y,hover:T,focus:V,valid:F,invalid:C,required:k,loading:O,disabled:E,readonly:re,id:Ie,"aria-label":ve,"aria-describedby":ye,...Te}=t;return(0,v.jsxs)(M,{...Te,size:e,rounded:o,fillMode:s,hover:T,focus:V,valid:F,invalid:C,required:k,loading:O,disabled:E,readonly:re,className:r(t.className,dt),children:[p&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(xe,{children:p}),n&&(0,v.jsx)(G,{})]}),(0,v.jsx)(R,{id:Ie,placeholder:y,value:h,type:b,disabled:E,"aria-label":ve,"aria-describedby":ye,"aria-invalid":C?"true":void 0}),c&&(0,v.jsx)(H,{valid:F,invalid:C,loading:O,disabled:E}),(0,v.jsx)($,{loading:O,disabled:E}),d&&(0,v.jsx)(z,{loading:O,disabled:E,readonly:re,value:h}),x&&(0,v.jsxs)(v.Fragment,{children:[n&&(0,v.jsx)(G,{}),(0,v.jsx)(be,{children:x})]})]})};S.states=bo;S.options=ho;S.className=dt;S.defaultOptions=he;S.moduleName=Me;S.folderName=$e;S.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var se=S;var ct=require("react/jsx-runtime"),pt=t=>(0,ct.jsx)(se,{...t});var ut=require("react/jsx-runtime");var ft=require("react/jsx-runtime"),mt=t=>(0,ft.jsx)(N,{icon:"folder",...t,"aria-label":t["aria-label"]||"Folder",children:void 0});var bt=require("react/jsx-runtime"),xt=t=>(0,bt.jsx)(N,{icon:"folder",children:"Button",...t});var Ne=require("react/jsx-runtime"),No=N.options,go=N.states,Io={...N.defaultOptions,variant:"text"},vo=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],yo=[],q=t=>{let{variant:e,...o}=t;switch(e){case"icon-only":return(0,Ne.jsx)(mt,{...o,icon:"star"});case"icon-and-text":return(0,Ne.jsx)(xt,{...o,icon:"star",children:"Button"});default:return(0,Ne.jsx)(K,{...o,children:"Button"})}};q.options=No;q.states=go;q.variants=vo;q.defaultOptions=Io;q.modifiers=yo;q.className=N.className;var ht=require("react/jsx-runtime");var To=require("react/jsx-runtime");var ge=require("react/jsx-runtime"),So=S.states,ko=S.defaultOptions,Mo=S.options,Lo=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Oo=[],J=t=>{let{modifiers:e,...o}=t,s={};return Object.keys(e||{}).forEach(n=>{switch(n){case"prefix":s.prefix=e!=null&&e[n]?(0,ge.jsx)(f,{icon:"lock"}):void 0;break;case"suffix":s.suffix=e!=null&&e[n]?(0,ge.jsx)(K,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":s.showClearButton=e==null?void 0:e[n];break;default:break}}),(0,ge.jsx)(pt,{value:"Value",style:{width:300},...o,...s})};J.options=Mo;J.states=So;J.variants=Oo;J.defaultOptions=ko;J.modifiers=Lo;J.className=S.className;var Ke=require("react/jsx-runtime"),Co=t=>(0,Ke.jsx)(Ue,{label:"Label",children:(0,Ke.jsx)(S,{showClearButton:!1,value:"Value"}),...t});