import{a as e,n as t}from"./chunk-BneVvdWh.js";import{t as n}from"./react-C7IZe2D1.js";import{ht as r,t as i,y as a}from"./dist-DtfJeYQK.js";import{t as o}from"./jsx-runtime-C2wGStra.js";import{n as s,t as c}from"./dist-Cc1j9Pjk.js";import{n as l,t as u}from"./filterAttributesPassedByRadixUIAtRuntime-CGiuUnR2.js";var d,f,p=t((()=>{d=`FieldButton__ZIYKf`,f={FieldButton:d}})),m,h,g,_=t((()=>{c(),i(),m=e(n(),1),l(),p(),h=o(),g=(0,m.forwardRef)(function({svg:e,assistiveText:t,onClick:n,dataset:i,...o},c){let l=a(f,s.FieldButton),d=e=>{e.stopPropagation(),n?.(e)};return(0,h.jsx)(`button`,{...u(o),...r(i,{preplyDsComponent:s.FieldButton}),className:l.join(` `),title:t,onClick:d,ref:c,type:`button`,children:(0,h.jsx)(e,{"aria-hidden":`true`,focusable:`false`})})});try{g.displayName=`FieldButton`,g.__docgenInfo={description:``,displayName:`FieldButton`,props:{svg:{defaultValue:null,description:``,name:`svg`,required:!0,type:{name:`enum`,value:[{value:`ComponentClass<SVGAttributes<SVGElement>, any>`},{value:`FunctionComponent<SVGAttributes<SVGElement>>`}]}},assistiveText:{defaultValue:null,description:``,name:`assistiveText`,required:!0,type:{name:`string`}},onClick:{defaultValue:null,description:``,name:`onClick`,required:!0,type:{name:`MouseEventHandler`}},dataset:{defaultValue:null,description:``,name:`dataset`,required:!1,type:{name:`enum`,value:[{value:`Dataset`}]}}}}}catch{}}));export{_ as n,g as t};