import{a as De,p as Pe}from"./configs-B15JgQZ-.js";import{P as R}from"./PzText-D5PUnIjq.js";import"./iframe-Bl-fVlm8.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const $e=r=>r.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),Ee={title:"Components/Text/PzText",component:R,parameters:{prototype:{caption:"Text component",note:"Component-level playground for semantic tag overrides and text variant rendering."},docs:{description:{component:"Vue text primitive for rendering the shared typography variants. Use `Foundation/Typography` for the full type-scale reference and `Components/Text/PzText` for the component API."},source:{transform:(r,e)=>{const a=e.args??{};return`<template>
  <PzText ${[a.variant?`variant="${a.variant}"`:null,a.as?`as="${a.as}"`:null,a.content?`content="${a.content}"`:null].filter(Boolean).join(" ")} />
</template>`}}}},args:{variant:"body-regular",content:"Every procurement notice should stay readable across dense interfaces and long-form content."},argTypes:{variant:{control:"select",options:Pe,description:"Text style variant from the Design System."},as:{control:"select",options:De,description:"HTML tag to render. Defaults to a semantic tag based on variant."},content:{control:"text",description:"Text content.",table:{category:"Slots"}}},render:r=>({components:{pzText:R},setup(){const e=$e(r.variant??"body-regular");return{args:r,currentLabel:e}},template:`
      <section class="pz-text-demo">
        <div class="pz-text-demo-header">
          <div>
            <span class="pz-text-demo-eyebrow">Live preview</span>
            <h2 class="pz-text-demo-title">{{ currentLabel }}</h2>
          </div>
          <span class="pz-text-demo-spec">{{ args.variant }}</span>
        </div>

        <div class="pz-text-demo-surface">
          <pz-text :variant="args.variant" :as="args.as">{{ args.content }}</pz-text>
        </div>
      </section>
    `})},t={name:"H1 Bold",args:{variant:"h1-bold",content:"Headline Bold 1"}},n={name:"H1 Regular",args:{variant:"h1-regular",content:"Headline Regular 1"}},o={name:"H2 Bold",args:{variant:"h2-bold",content:"Headline Bold 2"}},s={name:"H3 Bold",args:{variant:"h3-bold",content:"Headline Bold 3"}},l={name:"H3 Regular",args:{variant:"h3-regular",content:"Headline Regular 3"}},c={name:"H4 Regular",args:{variant:"h4-regular",content:"Headline Regular 4"}},i={name:"H4 Semibold",args:{variant:"h4-semibold",content:"Headline Semibold 4"}},d={name:"H4 Bold",args:{variant:"h4-bold",content:"Headline Bold 4"}},m={args:{variant:"subtitle",content:"Subtitle"}},p={name:"Body Regular",args:{variant:"body-regular",content:"Body text regular"}},u={name:"Body Semibold",args:{variant:"body-semibold",content:"Body text semibold"}},g={name:"Body Bold",args:{variant:"body-bold",content:"Body text bold"}},v={args:{variant:"capitalized",content:"Capitalized text"}},b={args:{variant:"hint",content:"Hint text"}},S={name:"Line Through",args:{variant:"line-through",content:"Line through text"}},H={name:"Small Regular",args:{variant:"small-regular",content:"Small text regular"}},B={name:"Small Semibold",args:{variant:"small-semibold",content:"Small text semibold"}},x={name:"Small Bold",args:{variant:"small-bold",content:"Small text bold"}},h={name:"Link",args:{variant:"link",content:"Link text"}},y={args:{variant:"document",content:"Document text"}};var z,T,f;t.parameters={...t.parameters,docs:{...(z=t.parameters)==null?void 0:z.docs,source:{originalSource:`{
  name: "H1 Bold",
  args: {
    variant: "h1-bold",
    content: "Headline Bold 1"
  }
}`,...(f=(T=t.parameters)==null?void 0:T.docs)==null?void 0:f.source}}};var L,k,C;n.parameters={...n.parameters,docs:{...(L=n.parameters)==null?void 0:L.docs,source:{originalSource:`{
  name: "H1 Regular",
  args: {
    variant: "h1-regular",
    content: "Headline Regular 1"
  }
}`,...(C=(k=n.parameters)==null?void 0:k.docs)==null?void 0:C.source}}};var D,P,$;o.parameters={...o.parameters,docs:{...(D=o.parameters)==null?void 0:D.docs,source:{originalSource:`{
  name: "H2 Bold",
  args: {
    variant: "h2-bold",
    content: "Headline Bold 2"
  }
}`,...($=(P=o.parameters)==null?void 0:P.docs)==null?void 0:$.source}}};var O,V,_;s.parameters={...s.parameters,docs:{...(O=s.parameters)==null?void 0:O.docs,source:{originalSource:`{
  name: "H3 Bold",
  args: {
    variant: "h3-bold",
    content: "Headline Bold 3"
  }
}`,...(_=(V=s.parameters)==null?void 0:V.docs)==null?void 0:_.source}}};var j,w,A;l.parameters={...l.parameters,docs:{...(j=l.parameters)==null?void 0:j.docs,source:{originalSource:`{
  name: "H3 Regular",
  args: {
    variant: "h3-regular",
    content: "Headline Regular 3"
  }
}`,...(A=(w=l.parameters)==null?void 0:w.docs)==null?void 0:A.source}}};var E,U,F;c.parameters={...c.parameters,docs:{...(E=c.parameters)==null?void 0:E.docs,source:{originalSource:`{
  name: "H4 Regular",
  args: {
    variant: "h4-regular",
    content: "Headline Regular 4"
  }
}`,...(F=(U=c.parameters)==null?void 0:U.docs)==null?void 0:F.source}}};var I,M,q;i.parameters={...i.parameters,docs:{...(I=i.parameters)==null?void 0:I.docs,source:{originalSource:`{
  name: "H4 Semibold",
  args: {
    variant: "h4-semibold",
    content: "Headline Semibold 4"
  }
}`,...(q=(M=i.parameters)==null?void 0:M.docs)==null?void 0:q.source}}};var G,J,K;d.parameters={...d.parameters,docs:{...(G=d.parameters)==null?void 0:G.docs,source:{originalSource:`{
  name: "H4 Bold",
  args: {
    variant: "h4-bold",
    content: "Headline Bold 4"
  }
}`,...(K=(J=d.parameters)==null?void 0:J.docs)==null?void 0:K.source}}};var N,Q,W;m.parameters={...m.parameters,docs:{...(N=m.parameters)==null?void 0:N.docs,source:{originalSource:`{
  args: {
    variant: "subtitle",
    content: "Subtitle"
  }
}`,...(W=(Q=m.parameters)==null?void 0:Q.docs)==null?void 0:W.source}}};var X,Y,Z;p.parameters={...p.parameters,docs:{...(X=p.parameters)==null?void 0:X.docs,source:{originalSource:`{
  name: "Body Regular",
  args: {
    variant: "body-regular",
    content: "Body text regular"
  }
}`,...(Z=(Y=p.parameters)==null?void 0:Y.docs)==null?void 0:Z.source}}};var ee,ae,re;u.parameters={...u.parameters,docs:{...(ee=u.parameters)==null?void 0:ee.docs,source:{originalSource:`{
  name: "Body Semibold",
  args: {
    variant: "body-semibold",
    content: "Body text semibold"
  }
}`,...(re=(ae=u.parameters)==null?void 0:ae.docs)==null?void 0:re.source}}};var te,ne,oe;g.parameters={...g.parameters,docs:{...(te=g.parameters)==null?void 0:te.docs,source:{originalSource:`{
  name: "Body Bold",
  args: {
    variant: "body-bold",
    content: "Body text bold"
  }
}`,...(oe=(ne=g.parameters)==null?void 0:ne.docs)==null?void 0:oe.source}}};var se,le,ce;v.parameters={...v.parameters,docs:{...(se=v.parameters)==null?void 0:se.docs,source:{originalSource:`{
  args: {
    variant: "capitalized",
    content: "Capitalized text"
  }
}`,...(ce=(le=v.parameters)==null?void 0:le.docs)==null?void 0:ce.source}}};var ie,de,me;b.parameters={...b.parameters,docs:{...(ie=b.parameters)==null?void 0:ie.docs,source:{originalSource:`{
  args: {
    variant: "hint",
    content: "Hint text"
  }
}`,...(me=(de=b.parameters)==null?void 0:de.docs)==null?void 0:me.source}}};var pe,ue,ge;S.parameters={...S.parameters,docs:{...(pe=S.parameters)==null?void 0:pe.docs,source:{originalSource:`{
  name: "Line Through",
  args: {
    variant: "line-through",
    content: "Line through text"
  }
}`,...(ge=(ue=S.parameters)==null?void 0:ue.docs)==null?void 0:ge.source}}};var ve,be,Se;H.parameters={...H.parameters,docs:{...(ve=H.parameters)==null?void 0:ve.docs,source:{originalSource:`{
  name: "Small Regular",
  args: {
    variant: "small-regular",
    content: "Small text regular"
  }
}`,...(Se=(be=H.parameters)==null?void 0:be.docs)==null?void 0:Se.source}}};var He,Be,xe;B.parameters={...B.parameters,docs:{...(He=B.parameters)==null?void 0:He.docs,source:{originalSource:`{
  name: "Small Semibold",
  args: {
    variant: "small-semibold",
    content: "Small text semibold"
  }
}`,...(xe=(Be=B.parameters)==null?void 0:Be.docs)==null?void 0:xe.source}}};var he,ye,Re;x.parameters={...x.parameters,docs:{...(he=x.parameters)==null?void 0:he.docs,source:{originalSource:`{
  name: "Small Bold",
  args: {
    variant: "small-bold",
    content: "Small text bold"
  }
}`,...(Re=(ye=x.parameters)==null?void 0:ye.docs)==null?void 0:Re.source}}};var ze,Te,fe;h.parameters={...h.parameters,docs:{...(ze=h.parameters)==null?void 0:ze.docs,source:{originalSource:`{
  name: "Link",
  args: {
    variant: "link",
    content: "Link text"
  }
}`,...(fe=(Te=h.parameters)==null?void 0:Te.docs)==null?void 0:fe.source}}};var Le,ke,Ce;y.parameters={...y.parameters,docs:{...(Le=y.parameters)==null?void 0:Le.docs,source:{originalSource:`{
  args: {
    variant: "document",
    content: "Document text"
  }
}`,...(Ce=(ke=y.parameters)==null?void 0:ke.docs)==null?void 0:Ce.source}}};const Ue=["H1Bold","H1Regular","H2Bold","H3Bold","H3Regular","H4Regular","H4Semibold","H4Bold","Subtitle","BodyRegular","BodySemibold","BodyBold","Capitalized","Hint","LineThroughStory","SmallRegular","SmallSemibold","SmallBold","LinkStory","Document"];export{g as BodyBold,p as BodyRegular,u as BodySemibold,v as Capitalized,y as Document,t as H1Bold,n as H1Regular,o as H2Bold,s as H3Bold,l as H3Regular,d as H4Bold,c as H4Regular,i as H4Semibold,b as Hint,S as LineThroughStory,h as LinkStory,x as SmallBold,H as SmallRegular,B as SmallSemibold,m as Subtitle,Ue as __namedExportsOrder,Ee as default};
