import{n as e}from"./chunk-DrgAwqJ9.js";import{n as t,t as n}from"./jsx-runtime-C3uB2UIS.js";import{d as r}from"./useTranslation-DVVidJl_.js";import{t as i}from"./Tooltip-Lf-InH2_.js";import{l as a}from"./Message-C3OrPzh0.js";import{n as o}from"./Text-S2uXnuWC.js";var s={container:`_container_1s836_8`,control:`_control_1s836_13`,action:`_action_1s836_24`},c=n(),l=e(r(),1),u=e(t(),1),d=(0,u.forwardRef)(function({Icon:e,className:t,actionLabel:n,onActionClick:r,...a},d){let f=(0,u.useId)();return(0,c.jsxs)(`div`,{className:(0,l.default)(s.container,t),id:f,children:[(0,c.jsx)(o,{ref:d,...a,className:s.control}),(0,c.jsx)(i,{label:n,children:(0,c.jsx)(`button`,{type:`button`,className:s.action,onClick:r,"aria-controls":f,children:(0,c.jsx)(e,{"aria-hidden":!0})})})]})}),f=(0,u.forwardRef)(function(e,t){return(0,c.jsx)(a,{asChild:!0,children:(0,c.jsx)(d,{ref:t,...e})})});export{d as n,f as t};
//# sourceMappingURL=Action-hqmLDXqy.js.map