PageSourceSearch

https://m.wingu.se/packs/button-BmF3DXsp.js

js wingu.se collected 2026-09-29 15:10:46 UTC 982 bytes, 2 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./react-C21x__mS.js";import{t as n}from"./jsx-runtime-BdxMnOeJ.js";import{t as r}from"./classnames-CfLRLWYq.js";import{t as i}from"./loading_indicator-eceYQNAM.js";var a=e(t()),o=e(r()),s=n(),c=({type:e=`button`,onClick:t,disabled:n,block:r,secondary:c,plain:l,compact:u,dangerous:d,loading:f,className:p,title:m,text:h,children:g,..._})=>{let v=(0,a.useCallback)(e=>{n||f?(e.stopPropagation(),e.preventDefault()):t&&t(e)},[n,f,t]),y=h??g;return(0,s.jsx)(`button`,{className:(0,o.default)(`button`,p,{"button-secondary":c,"button--plain":l,"button--compact":u,"button--block":r,"button--dangerous":d,loading:f}),disabled:n&&!f,"aria-disabled":f,"aria-live":f===void 0?void 0:`polite`,onClick:v,title:m,type:e,..._,children:f?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(`span`,{className:`button__label-wrapper`,children:y}),(0,s.jsx)(i,{role:`none`})]}):y})};export{c as t};
2//# sourceMappingURL=button-BmF3DXsp.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.