PageSourceSearch

https://prod.valdera.com/assets/Button-Dk08-JZw.js

js valdera.com collected 2026-10-04 03:05:30 UTC 3,560 bytes, 2 lines download raw bytes

1import{n as e}from"./lib-C46FkDzE.js";import{t}from"./jsx-runtime-DiK4U9sA.js";import{d as n,r,t as i}from"./dist-W5_38qvE.js";import{n as a,t as o}from"./Tooltip-CEA-xpRV.js";import{t as s}from"./dist-CdbXAvxp.js";import{i as c}from"./InputField-CwddmAs_.js";var l=t(),u=i({base:`flex items-center justify-center cursor-pointer text-center group/btn icon-child:shrink-0 text-nowrap`,variants:{variant:{primary:`bg-dark-900 text-white hover:bg-dark-600`,secondary:`bg-white border border-outline-200 active:border-dark-300 hover:bg-black/3`,tertiary:`bg-white text-dark-900 border-outline-200 hover:bg-dark-100`,table:c.variants.variant.table,tag:`bg-white border border-outline-200 active:border-dark-300 hover:bg-black/3 rounded-sm cursor-text !min-h-[1.5rem] py-0 text-xs px-3 !text-sm`,text:`text-system-blue hover:brightness-75 !p-0`,filter:`bg-white text-dark-600 hover:bg-gray-100 border border-outline-50`,destructive:`bg-system-red text-white`,chart:`hover:bg-black/3`,gray:`border-dark-300 border bg-dark-600 px-3 py-2 text-white`,blue:`bg-system-blue text-white hover:opacity-90`,neon:`bg-brand-neon-200 text-dark-900 hover:opacity-90`},size:{xs:`body-sm-500 rounded-sm px-[0.625rem] h-[1.75rem] gap-[0.375rem] icon-child:size-[0.75rem]`,sm:`body-md-500 rounded-sm px-[0.75rem] py-[0.25rem] gap-[0.5rem] icon-child:size-[1rem]`,md:`body-md-500 rounded-md px-[0.875rem] py-[0.5rem] gap-[0.5rem] icon-child:size-[1.125rem]`,lg:`body-lg-500 rounded-lg px-[1.25rem] py-[0.75rem] gap-[0.75rem] icon-child:size-[1.25rem]`},isActive:{true:`bg-dark-50`},isDisabled:{true:`opacity-50 pointer-events-none`},isError:{true:`border-system-red`},isInline:{true:`inline bg-transparent p-0`}},defaultVariants:{variant:`primary`,size:`lg`,isDisabled:!1}});function d(e){return(0,l.jsx)(r,{...e,className:n(e.className,(t,n)=>u({...n,variant:e.variant,size:e.size,isDisabled:e.isDisabled,isError:e.isError,className:t}))})}function f(t){let{size:n,variant:r,isDisabled:i,isInline:a,...o}=t;return(0,l.jsx)(e,{...o,className:s(u({variant:r,size:n,isDisabled:i,isInline:a}),t.className),"aria-disabled":i})}var p=i({base:`flex disabled:opacity-50 items-center shrink-0 justify-center border cursor-pointer`,variants:{variant:{outline:`border-outline-200 hover:border-dark-300 active:bg-dark-100 text-dark-600`,solid:`bg-dark-100 border-transparent hover:bg-dark-200`,white:`bg-white border-white hover:bg-dark-100 text-dark-600`,black:`bg-dark-900 border-dark-900 hover:bg-dark-600 text-white`,transparent:`border-transparent bg-transparent hover:bg-dark-100 text-dark-600`},size:{sm:`size-5 rounded-[0.3rem] icon-child:size-3`,md:`size-[1.5rem] rounded-[0.4rem] icon-child:size-[0.9rem]`,lg:`size-[2rem] rounded-[0.5rem] icon-child:size-[1rem]`},isError:{true:`border-system-red text-system-red`},isDisabled:{true:`opacity-50 pointer-events-none`}},defaultVariants:{variant:`outline`,size:`lg`}});function m(e){let t=(0,l.jsx)(r,{...e,className:n(e.className,(t,n)=>p({...n,isError:e.isError,variant:e.variant,size:e.size,className:t}))});return e.tooltip?(0,l.jsxs)(a,{"aria-label":e[`aria-label`]??e.tooltip,children:[t,(0,l.jsx)(o,{children:e.tooltip})]}):t}function h(t){let{size:n,variant:r,isDisabled:i,className:c,isError:u,...d}=t,f=(0,l.jsx)(e,{...d,className:s(p({variant:r,size:n,isDisabled:i,isError:u,className:t.className})),"aria-disabled":i});return t.tooltip?(0,l.jsxs)(a,{"aria-label":t[`aria-label`]??t.tooltip,children:[f,(0,l.jsx)(o,{children:t.tooltip})]}):f}export{u as a,f as i,m as n,h as r,d as t};
2//# sourceMappingURL=Button-Dk08-JZw.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.