1import{d as y,o as r,f as d,g as x,I as e,Z as s,j as m,r as b,a7 as _,n as k,F as v,ao as h,ay as p,A as l,Y as B,x as c,az as f}from"./CHz7KWu6.js";const g={class:"test-button-hover-card__buttons"},C=y({name:"test-button-hover-card",__name:"test-button-hover-card-block",props:{card:{}},setup(a){return(u,n)=>(r(),d(h,{class:"test-button-hover-card generic-html",link:a.card.link},{default:x(()=>[n[0]||(n[0]=e("p",{class:"test-button-hover-card__instruction"},[s("Hover anywhere on this card to check button hover styles. If the buttons do not go into their hover state you need to fix the "),e("code",null,"buttonPreHover"),s(" and "),e("code",null,"buttonActiveHover"),s(" mixins.")],-1)),e("div",g,[(r(!0),m(v,null,b(a.card.buttons,(t,i)=>(r(),d(_,{key:i,type:t.type,text:t.text,class:k(["test-button-hover-card__button",`test-button-hover-card__button--${t.type}`])},null,8,["type","text","class"]))),128))])]),_:1},8,["link"]))}}),T=Object.assign(C,{__name:"BlocksCardsTestButtonHoverCardBlock"}),A=y({name:"buttons-example",__name:"buttons-example-module",setup(a){const u=c("buttons-example"),n=c({heading:{type:"h1",text:"Buttons"},blocks:[{type:"textBlock",textBlock:"<p>A place to build all your buttons.</p>"},{type:"buttonBlock",buttons:[{type:"primary",text:"Primary",link:{url:"#test"}},{type:"secondary",text:"Secondary",link:{url:"#test"}},{type:"tertiary",text:"Tertiary",link:{url:"#test"}},{type:"gradient",text:"Gradient",link:{url:"#test"}},{type:"down",text:"Down",link:{url:"#test"}},{type:"line",text:"Line",link:{url:"#test"}},{type:"video",text:"Video",link:{url:"#test"}}]}]}),t=c({link:{url:"#test"},buttons:[{type:"primary",text:"Primary"},{type:"secondary",text:"Secondary"},{type:"tertiary",text:"Tertiary"},{type:"gradient",text:"Gradient"},{type:"line",text:"Line"}]});return(i,o)=>o[0]||(p(-1,!0),(o[0]=e("section",{class:"buttons-example module",id:u.value,ref:"moduleRef"},[l(B,{class:"buttons-example__container"},{default:x(()=>[l(f,{class:"buttons-example__content-area","content-area":n.value},null,8,["content-area"]),l(T,{class:"buttons-example__card",card:t.value},null,8,["card"])]),_:1})],8,["id"])).cacheIndex=0,p(1),o[0])}}),w=Object.assign(A,{__name:"ButtonsExampleModule"});export{w as default};
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.