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