PageSourceSearch

https://www.mumsnet.com/build/assets/PrimaryButton-DnIp69dG.js

js mumsnet.com collected 2026-09-24 09:03:50 UTC 1,685 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`7e95516c-390c-4eec-8ead-26b483c2ef82`,e._sentryDebugIdIdentifier=`sentry-dbid-7e95516c-390c-4eec-8ead-26b483c2ef82`)}catch{}})();import{$t as e,At as t,Ot as n,Wt as r,an as i,mn as a,nn as o}from"./dist-DViRp4pB.js";var s={__name:`PrimaryButton`,props:{tag:{type:String,default:`button`},size:{type:String,default:`md`},kind:{type:String,default:`blue`}},setup(s){let c=s,l={blue:`text-white bg-blue-700 hover:bg-blue-800 focus:bg-blue-800 dark-override-bg-blue-700 font-bold cursor-pointer`,"blue-inverse":`text-blue-700 bg-white hover:bg-gray-100 focus:bg-gray-100 ring-1 ring-blue-700 ring-inset dark:text-white dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:bg-gray-700 font-bold cursor-pointer`,purple:`text-white bg-purple-700 hover:bg-purple-800 focus:bg-purple-800 font-bold cursor-pointer`,purpleLight:`text-white bg-purple-600 hover:bg-purple-700 focus:bg-purple-700 font-bold cursor-pointer`,gray:`text-blue-700 bg-gray-50 border font-bold cursor-pointer`,disabled:`text-gray-600 bg-gray-200 font-bold cursor-not-allowed`},u={narrowSm:`text-sm px-4 py-1`,sm:`text-sm px-4 py-2`,md:`px-6 py-2.5 font-bold`},d=n(()=>`transition ease-in duration-200 rounded-full text-center items-center justify-center `+l[c.kind]+` `+u[c.size]);return(n,s)=>(e(),t(i(c.tag),r(n.$attrs,{class:d.value,disabled:c.kind===`disabled`}),{default:a(()=>[o(n.$slots,`default`)]),_:3},16,[`class`,`disabled`]))}};export{s as t};
2//# sourceMappingURL=PrimaryButton-DnIp69dG.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.