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