@prozorro/prozorro-ui 0.1.4-beta → 0.1.6-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/assets/{Color-FRDS63T2-CZ8kaVaO.js → Color-FRDS63T2-BTZWUtLn.js} +1 -1
- package/dist/app/assets/{Colors.stories-CzAE_knc.js → Colors.stories-5gjNeXyN.js} +1 -1
- package/dist/app/assets/{Display.stories-aYF4iG8M.js → Display.stories-CG9r8i2X.js} +1 -1
- package/dist/app/assets/{DocsRenderer-LL677BLK-C04iENEm.js → DocsRenderer-LL677BLK-CUvly_Pe.js} +5 -5
- package/dist/app/assets/{Gap.stories-BIVV-rx9.js → Gap.stories-C5S0uBUR.js} +1 -1
- package/dist/app/assets/{Grid.stories-CsDevRN2.js → Grid.stories-5rTOdgDO.js} +1 -1
- package/dist/app/assets/{PzAccordion-N7V1Ja9h.js → PzAccordion-BbZEDjIq.js} +1 -1
- package/dist/app/assets/{PzAccordion.stories-14VanN66.js → PzAccordion.stories-BH7FyxPx.js} +1 -1
- package/dist/app/assets/{PzAccordionTable.stories-D5hUbxR2.js → PzAccordionTable.stories-D8ePI2KO.js} +1 -1
- package/dist/app/assets/{PzArrayClamp.stories-ChSImrwF.js → PzArrayClamp.stories-B0GQU5we.js} +1 -1
- package/dist/app/assets/{PzBreadcrumb.stories-C7b4vOJ3.js → PzBreadcrumb.stories-DfQCRmGT.js} +1 -1
- package/dist/app/assets/{PzBtn-BZo2eIVF.js → PzBtn-DnQTHzYA.js} +1 -1
- package/dist/app/assets/{PzBtn.stories-Cz_VznCR.js → PzBtn.stories-B_q3Don-.js} +1 -1
- package/dist/app/assets/{PzCheckbox-dpz_Q9Fj.js → PzCheckbox-Bno5BzIf.js} +1 -1
- package/dist/app/assets/{PzCheckbox.stories-BY5rLxk4.js → PzCheckbox.stories-B5wxC8Fr.js} +1 -1
- package/dist/app/assets/{PzCheckboxGroup.stories-DwvJGQaS.js → PzCheckboxGroup.stories-DAK4gUth.js} +1 -1
- package/dist/app/assets/PzCopyToClipboard-DSqQKtGg.css +1 -0
- package/dist/app/assets/PzCopyToClipboard-Dm2-QMU-.js +1 -0
- package/dist/app/assets/{PzCopyToClipboard.stories-BheEX6H1.js → PzCopyToClipboard.stories-B41i2fFz.js} +1 -1
- package/dist/app/assets/{PzDate-CHUu7dUF.js → PzDate-C4heAH2W.js} +1 -1
- package/dist/app/assets/{PzDate.stories-CjlKhrrS.js → PzDate.stories-CqQsUlcN.js} +1 -1
- package/dist/app/assets/{PzDateRange.stories-8ZOXL5xm.js → PzDateRange.stories-B3yR_xWT.js} +1 -1
- package/dist/app/assets/{PzDomHandler.stories-ClbA1oE3.js → PzDomHandler.stories-CqW3RpNo.js} +1 -1
- package/dist/app/assets/{PzDropdown.stories-Bn3q1xG1.js → PzDropdown.stories-CrKLg_Wd.js} +1 -1
- package/dist/app/assets/{PzFileInput.stories-Poo_9hgj.js → PzFileInput.stories-COPie2XM.js} +1 -1
- package/dist/app/assets/{PzGrid.stories-CtwC_u9O.js → PzGrid.stories-CKJaEsnz.js} +1 -1
- package/dist/app/assets/{PzHint-CX-sBo8K.js → PzHint-BH6pIqJ-.js} +1 -1
- package/dist/app/assets/{PzHint.stories-C7oCoHFy.js → PzHint.stories-D3NihFFw.js} +1 -1
- package/dist/app/assets/{PzIcon-DmhFr-JC.js → PzIcon-DTUyOGRZ.js} +1 -1
- package/dist/app/assets/{PzIcon.stories-CvHEIWlc.js → PzIcon.stories-Di8rTsYV.js} +1 -1
- package/dist/app/assets/{PzImage.stories-DF6VSFHO.js → PzImage.stories-CAPehbLt.js} +1 -1
- package/dist/app/assets/{PzImageInput.stories-DycRzTZh.js → PzImageInput.stories-1PFZ59zk.js} +1 -1
- package/dist/app/assets/{PzInfoBlockLayout.stories-ftvyBOdK.js → PzInfoBlockLayout.stories-1mHlSJzG.js} +1 -1
- package/dist/app/assets/{PzInfoHint-DjTH7kv0.js → PzInfoHint-DXGI2cWH.js} +1 -1
- package/dist/app/assets/{PzInfoHint.stories-DMu0W3eL.js → PzInfoHint.stories-urvlBFFC.js} +1 -1
- package/dist/app/assets/{PzInput.stories-MHfEtZy1.js → PzInput.stories-Dp1I4sS9.js} +1 -1
- package/dist/app/assets/{PzInputDate.stories-DzQhbgq_.js → PzInputDate.stories-_FVopJoJ.js} +1 -1
- package/dist/app/assets/{PzInputNumber.stories-DWnwIU7n.js → PzInputNumber.stories-DefHYEEO.js} +1 -1
- package/dist/app/assets/{PzKeyValue-Dfzm5p4M.js → PzKeyValue-DHNqD04h.js} +1 -1
- package/dist/app/assets/{PzKeyValue.stories-Bn7Z5VYY.js → PzKeyValue.stories-C5mW--LZ.js} +1 -1
- package/dist/app/assets/{PzLabel-DXQJZ7Y2.js → PzLabel-CcIXP8_6.js} +1 -1
- package/dist/app/assets/{PzLabel.stories-DEJoAJQt.js → PzLabel.stories-Eh-3auyy.js} +1 -1
- package/dist/app/assets/{PzLink-Dwvn1Tvn.js → PzLink-DN9kJneL.js} +1 -1
- package/dist/app/assets/{PzLink.stories-CzXEsyJ4.js → PzLink.stories-C8_J9Fuo.js} +1 -1
- package/dist/app/assets/{PzListNav-Bg4PUiBf.js → PzListNav-CcYfttnx.js} +1 -1
- package/dist/app/assets/{PzListNav.stories-DtluRiE6.js → PzListNav.stories-xHQrfRpZ.js} +1 -1
- package/dist/app/assets/{PzLoader.stories-BfZRY5DL.js → PzLoader.stories-CbGmQyct.js} +1 -1
- package/dist/app/assets/{PzMessages-8TKYB7Nz.js → PzMessages-C4eNunTo.js} +1 -1
- package/dist/app/assets/{PzMessages.stories-DBrowhFe.js → PzMessages.stories-Bix-nnjv.js} +1 -1
- package/dist/app/assets/{PzModal.stories-gU_cdlWi.js → PzModal.stories-BeIRzwEF.js} +1 -1
- package/dist/app/assets/{PzMultiSelect.stories-DHagSFti.js → PzMultiSelect.stories-Db5EUr-k.js} +1 -1
- package/dist/app/assets/{PzNav.stories-CviAIKxM.js → PzNav.stories-CUqEkiSR.js} +1 -1
- package/dist/app/assets/{PzNumberFormat.stories-C7Se16sY.js → PzNumberFormat.stories-CvfbtBOl.js} +1 -1
- package/dist/app/assets/{PzPagination-7YZsxckd.js → PzPagination-DDM9gXcP.js} +1 -1
- package/dist/app/assets/{PzPagination.stories-CByiDew-.js → PzPagination.stories-hO8ERqIz.js} +1 -1
- package/dist/app/assets/{PzPaginationProvider.stories-Bizw0mSS.js → PzPaginationProvider.stories-BFIVcjy5.js} +1 -1
- package/dist/app/assets/{PzPrice-DU1MAWfD.js → PzPrice-DDemBMIj.js} +1 -1
- package/dist/app/assets/{PzPrice.stories-Cr3pehdF.js → PzPrice.stories-CzsfxB0h.js} +1 -1
- package/dist/app/assets/{PzPriceFormat.stories-DY8Jyz7z.js → PzPriceFormat.stories-wkSiO5Ff.js} +1 -1
- package/dist/app/assets/{PzPriceRange.stories-BZg9WX3j.js → PzPriceRange.stories-fge3tIYo.js} +1 -1
- package/dist/app/assets/{PzRadioGroup.stories-BTkI57jK.js → PzRadioGroup.stories-CTlG4XKl.js} +1 -1
- package/dist/app/assets/{PzRouterLink.stories-BoKmb15m.js → PzRouterLink.stories-D_ZRqBtd.js} +1 -1
- package/dist/app/assets/{PzScrollTo.stories-BVcEBPyx.js → PzScrollTo.stories-CLw4XMRf.js} +1 -1
- package/dist/app/assets/{PzSearchResultItemLayout.stories-CWmICIbx.js → PzSearchResultItemLayout.stories-BBlUjF2G.js} +1 -1
- package/dist/app/assets/{PzSelect-Cd5zjzyV.js → PzSelect-3IhbF7u7.js} +1 -1
- package/dist/app/assets/{PzSelect.stories-Be4_n5p4.js → PzSelect.stories-DorLZ4nF.js} +1 -1
- package/dist/app/assets/{PzSkeleton-BXUX4_4Q.js → PzSkeleton-B4Oluogn.js} +1 -1
- package/dist/app/assets/{PzSkeleton.stories-BbZmm6eU.js → PzSkeleton.stories-B7PXzMe_.js} +1 -1
- package/dist/app/assets/{PzStatus-DAFM_F0-.js → PzStatus-CVDCEXwW.js} +1 -1
- package/dist/app/assets/{PzStatus.stories-DNgOSBMi.js → PzStatus.stories-CW2lImlw.js} +1 -1
- package/dist/app/assets/{PzTable-CV2wsaEF.js → PzTable-BcD8ekUR.js} +1 -1
- package/dist/app/assets/{PzTable.stories-B87S4Zq7.js → PzTable.stories-CZtgV_iX.js} +1 -1
- package/dist/app/assets/{PzTablePaginationProvider.stories-BWTljYLK.js → PzTablePaginationProvider.stories-CSZxx50u.js} +1 -1
- package/dist/app/assets/{PzTabs.stories-Dq4nGG-2.js → PzTabs.stories-DvlKwFs7.js} +1 -1
- package/dist/app/assets/{PzTag-CAUymIFL.js → PzTag-bTh-ZTZr.js} +1 -1
- package/dist/app/assets/{PzTag.stories-CHJ-_iA5.js → PzTag.stories-DUSjPCRW.js} +1 -1
- package/dist/app/assets/PzText-Dub1Juxh.js +1 -0
- package/dist/app/assets/PzText-mmcCaXNv.css +1 -0
- package/dist/app/assets/PzText.stories-CGW9gfe0.js +139 -0
- package/dist/app/assets/{PzTextClamp.stories-Btu1L6QM.js → PzTextClamp.stories-D5oVm0-N.js} +1 -1
- package/dist/app/assets/{PzTextarea.stories-CMF87OLl.js → PzTextarea.stories-uvos71L1.js} +1 -1
- package/dist/app/assets/{PzValidatorXSS.stories-DBFCiaDL.js → PzValidatorXSS.stories-CcQ0V8TR.js} +1 -1
- package/dist/app/assets/{Spacing.stories-htFO9wlu.js → Spacing.stories-CD2Jiw5f.js} +1 -1
- package/dist/app/assets/{StaticPagination.composable-Dlu2CnrN.js → StaticPagination.composable-Cvx9lAEo.js} +1 -1
- package/dist/app/assets/{Typography.stories-36Eludse.js → Typography.stories-B1dU3kNR.js} +1 -1
- package/dist/app/assets/{WithTooltip-65CFNBJE-DdH09Nn8.js → WithTooltip-65CFNBJE-DWijG-U0.js} +1 -1
- package/dist/app/assets/configs-CtUh_XBV.js +1 -0
- package/dist/app/assets/{floating-vue-BLeW4w9g.js → floating-vue-BiWYurW1.js} +1 -1
- package/dist/app/assets/{floating-vue-DGFXb4AU.js → floating-vue-aSu1ao2A.js} +1 -1
- package/dist/app/assets/{formatter-EIJCOSYU-T2XSLP7N.js → formatter-EIJCOSYU-BZfp1kNd.js} +1 -1
- package/dist/app/assets/{iframe-D6lHM2va.js → iframe-C4D6tEJ0.js} +3 -3
- package/dist/app/assets/{iframe--Tl2Yf5z.css → iframe-Dzvy9uZQ.css} +1 -1
- package/dist/app/assets/{index-goqvuAGJ.js → index-zeb4Z3eQ.js} +1 -1
- package/dist/app/assets/{syntaxhighlighter-OH4MV7E3-ClZAdsVh.js → syntaxhighlighter-OH4MV7E3-BRsiF6dG.js} +1 -1
- package/dist/app/iframe.html +2 -2
- package/dist/app/index.json +1 -1
- package/dist/app/project.json +1 -1
- package/dist/components/Layouts/PzGrid/types.d.ts +1 -1
- package/dist/components/Text/PzText/configs.d.ts +1 -1
- package/dist/components/Text/PzText/types.d.ts +1 -1
- package/dist/package.json +1 -1
- package/dist/prozorro-ui.cjs +2 -2
- package/dist/prozorro-ui.js +5 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/styles/abstract/_typography.scss +4 -0
- package/src/styles/base/_typography.scss +4 -0
- package/dist/app/assets/PzCopyToClipboard-B2LO9HwW.css +0 -1
- package/dist/app/assets/PzCopyToClipboard-BNf8Y1IZ.js +0 -1
- package/dist/app/assets/PzText-CUisHoBu.css +0 -1
- package/dist/app/assets/PzText-eUkARtOR.js +0 -1
- package/dist/app/assets/PzText.stories-xOpYfglq.js +0 -133
- package/dist/app/assets/configs-B15JgQZ-.js +0 -1
package/package.json
CHANGED
|
@@ -69,6 +69,10 @@
|
|
|
69
69
|
@include typography-emit(var(--pz-font-size-16), 600, 1.5, $prefix);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
@mixin typography-subtitle-bold($prefix: null) {
|
|
73
|
+
@include typography-emit(var(--pz-font-size-16), 700, 1.5, $prefix);
|
|
74
|
+
}
|
|
75
|
+
|
|
72
76
|
@mixin typography-body-regular($prefix: null) {
|
|
73
77
|
@include typography-emit(var(--pz-font-size-14), 400, 1.5, $prefix);
|
|
74
78
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pz-copy-to-clipboard[data-v-7df8edd6]{display:inline-flex;vertical-align:middle}.pz-copy-to-clipboard-button[data-v-7df8edd6]{display:inline-flex;align-items:center;gap:var(--pz-space-4);max-width:100%;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left;font:inherit;transition:color .16s ease,box-shadow .16s ease}.pz-copy-to-clipboard-button[data-v-7df8edd6]:hover,.pz-copy-to-clipboard-button[data-v-7df8edd6]:focus-visible{color:var(--pz-color-text-link-hover)}.pz-copy-to-clipboard-button[data-v-7df8edd6]:focus-visible{outline:2px solid var(--pz-color-blue-50);outline-offset:2px;border-radius:var(--pz-space-4)}.pz-copy-to-clipboard-content[data-v-7df8edd6]{min-width:0}.pz-copy-to-clipboard-icon[data-v-7df8edd6]{flex:0 0 auto}.pz-copy-to-clipboard--icon .pz-copy-to-clipboard-button[data-v-7df8edd6]{justify-content:center;width:24px;height:24px;color:var(--pz-color-icon-primary)}.pz-copy-to-clipboard--icon .pz-copy-to-clipboard-content[data-v-7df8edd6]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as T,A as z,f as i,B as g,C as P,g as c,u as h,z as x,v as q,q as V,c as u,r as _,D as w,t as k,o as l}from"./iframe-D6lHM2va.js";import{O as B}from"./floating-vue-DGFXb4AU.js";import"./floating-vue-BLeW4w9g.js";import{a as m}from"./PzMessages-8TKYB7Nz.js";import{P as N}from"./PzDomHandler-BU7iMNnt.js";import{_ as I}from"./PzIcon-DmhFr-JC.js";import{_ as D}from"./_plugin-vue_export-helper-DlAUqK2U.js";const O=["aria-label"],$={class:"pz-copy-to-clipboard-content"},t=T({name:"PzCopyToClipboard",__name:"PzCopyToClipboard",props:{content:{},popupText:{},label:{},timeout:{default:1e3},placement:{default:"top"},variant:{default:"text"},buttonClass:{default:""},showIcon:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0}},emits:["copied","error"],setup(e,{emit:d}){const a=e,f=u(()=>a.popupText??m("actions.pzCopyToClipboard.popupText")),y=u(()=>a.label??m("actions.pzCopyToClipboard.label")),n=_(!1);let o;const r=d,b=()=>{n.value=!1,o=void 0},C=()=>{o&&clearTimeout(o),n.value=!0,o=setTimeout(b,a.timeout)},v=async s=>{a.stopPropagation&&s.stopPropagation();try{await N.copyToClipboard(a.content),C(),r("copied",a.content)}catch(p){r("error",p)}};return z(()=>{o&&clearTimeout(o)}),(s,p)=>(l(),i("span",{class:c(["pz-copy-to-clipboard",`pz-copy-to-clipboard--${e.variant}`])},[g((l(),i("button",{type:"button",class:c(["pz-copy-to-clipboard-button",e.buttonClass]),"aria-label":y.value,onClick:v},[h("span",$,[x(s.$slots,"default",{},()=>[w(k(e.content),1)],!0)]),e.showIcon||e.variant==="icon"?(l(),q(I,{key:0,class:"pz-copy-to-clipboard-icon",name:"content_copy",size:"16"})):V("",!0)],10,O)),[[P(B),{shown:n.value,content:f.value,placement:e.placement,theme:"dark-tooltip",triggers:[]}]])],2))}}),M=D(t,[["__scopeId","data-v-7df8edd6"]]);t.__docgenInfo=Object.assign({displayName:t.name??t.__name},{name:"PzCopyToClipboard",exportName:"default",displayName:"PzCopyToClipboard",description:"",tags:{},props:[{name:"content",required:!0,type:{name:"string"}},{name:"popupText",required:!1,type:{name:"string"}},{name:"label",required:!1,type:{name:"string"}},{name:"timeout",required:!1,type:{name:"number"},defaultValue:{func:!1,value:"1000"}},{name:"placement",required:!1,type:{name:"Placement"},defaultValue:{func:!1,value:'"top"'}},{name:"variant",required:!1,type:{name:"PzCopyToClipboardVariant"},defaultValue:{func:!1,value:'"text"'}},{name:"buttonClass",required:!1,type:{name:"string"},defaultValue:{func:!1,value:'""'}},{name:"showIcon",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"stopPropagation",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"true"}}],events:[{name:"copied",type:{names:["string"]}},{name:"error",type:{names:["unknown"]}}],slots:[{name:"default"}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Actions/PzCopyToClipboard/PzCopyToClipboard.vue"]});export{M as P};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pz-text[data-v-2680fad4]{margin:0;padding:0}.pz-text--h1-bold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-44)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h1-bold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-24)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h1-regular[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-44)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h1-regular[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-24)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h2-bold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-32)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h2-bold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-20)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h3-bold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-24)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h3-bold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-18)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h3-regular[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-24)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h3-regular[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-18)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h4-regular[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-18)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h4-regular[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-16)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h4-semibold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-18)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 600));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h4-semibold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-16)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 600));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h4-bold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-18)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h4-bold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-16)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--subtitle[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-16)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 600));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--body-regular[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--body-semibold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 600));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--body-bold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--capitalized[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5));text-transform:uppercase;letter-spacing:.05em}.pz-text--hint[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5));font-style:italic;color:var(--pz-color-text-secondary)}.pz-text--line-through[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5));text-decoration:line-through}.pz-text--small-regular[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-12)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--small-semibold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-12)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 600));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--small-bold[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-12)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--link[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5));color:var(--pz-color-text-link);text-decoration:underline;cursor:pointer}.pz-text--link[data-v-2680fad4]:hover{color:var(--pz-color-text-link-hover)}.pz-text--document[data-v-2680fad4]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as n,v as r,g as d,x as p,c as u,o as i,y as c,z as m}from"./iframe-D6lHM2va.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";const e=n({name:"PzText",__name:"PzText",props:{variant:{default:"body-regular"},as:{default:void 0}},setup(a){const t={"h1-bold":"h1","h1-regular":"h1","h2-bold":"h2","h3-bold":"h3","h3-regular":"h3","h4-regular":"h4","h4-semibold":"h4","h4-bold":"h4",subtitle:"p","body-regular":"p","body-semibold":"p","body-bold":"p",capitalized:"span",hint:"span","line-through":"span","small-regular":"span","small-semibold":"span","small-bold":"span",link:"a",document:"p"},s=a,l=u(()=>s.as??t[s.variant]??"span");return(o,h)=>(i(),r(p(l.value),{class:d(["pz-text",`pz-text--${a.variant}`])},{default:c(()=>[m(o.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),g=f(e,[["__scopeId","data-v-2680fad4"]]);e.__docgenInfo=Object.assign({displayName:e.name??e.__name},{name:"PzText",exportName:"default",displayName:"PzText",description:"",tags:{},props:[{name:"variant",required:!1,type:{name:"PzTextVariant"},defaultValue:{func:!1,value:'"body-regular"'}},{name:"as",required:!1,type:{name:"PzTextTag"},defaultValue:{func:!1,value:"undefined"}}],slots:[{name:"default"}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Text/PzText/PzText.vue"]});export{g as P};
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import{a as De,p as Pe}from"./configs-B15JgQZ-.js";import{P as R}from"./PzText-eUkARtOR.js";import"./iframe-D6lHM2va.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>
|
|
2
|
-
<PzText ${[a.variant?`variant="${a.variant}"`:null,a.as?`as="${a.as}"`:null,a.content?`content="${a.content}"`:null].filter(Boolean).join(" ")} />
|
|
3
|
-
</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:`
|
|
4
|
-
<section class="pz-text-demo">
|
|
5
|
-
<div class="pz-text-demo-header">
|
|
6
|
-
<div>
|
|
7
|
-
<span class="pz-text-demo-eyebrow">Live preview</span>
|
|
8
|
-
<h2 class="pz-text-demo-title">{{ currentLabel }}</h2>
|
|
9
|
-
</div>
|
|
10
|
-
<span class="pz-text-demo-spec">{{ args.variant }}</span>
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
<div class="pz-text-demo-surface">
|
|
14
|
-
<pz-text :variant="args.variant" :as="args.as">{{ args.content }}</pz-text>
|
|
15
|
-
</div>
|
|
16
|
-
</section>
|
|
17
|
-
`})},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:`{
|
|
18
|
-
name: "H1 Bold",
|
|
19
|
-
args: {
|
|
20
|
-
variant: "h1-bold",
|
|
21
|
-
content: "Headline Bold 1"
|
|
22
|
-
}
|
|
23
|
-
}`,...(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:`{
|
|
24
|
-
name: "H1 Regular",
|
|
25
|
-
args: {
|
|
26
|
-
variant: "h1-regular",
|
|
27
|
-
content: "Headline Regular 1"
|
|
28
|
-
}
|
|
29
|
-
}`,...(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:`{
|
|
30
|
-
name: "H2 Bold",
|
|
31
|
-
args: {
|
|
32
|
-
variant: "h2-bold",
|
|
33
|
-
content: "Headline Bold 2"
|
|
34
|
-
}
|
|
35
|
-
}`,...($=(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:`{
|
|
36
|
-
name: "H3 Bold",
|
|
37
|
-
args: {
|
|
38
|
-
variant: "h3-bold",
|
|
39
|
-
content: "Headline Bold 3"
|
|
40
|
-
}
|
|
41
|
-
}`,...(_=(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:`{
|
|
42
|
-
name: "H3 Regular",
|
|
43
|
-
args: {
|
|
44
|
-
variant: "h3-regular",
|
|
45
|
-
content: "Headline Regular 3"
|
|
46
|
-
}
|
|
47
|
-
}`,...(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:`{
|
|
48
|
-
name: "H4 Regular",
|
|
49
|
-
args: {
|
|
50
|
-
variant: "h4-regular",
|
|
51
|
-
content: "Headline Regular 4"
|
|
52
|
-
}
|
|
53
|
-
}`,...(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:`{
|
|
54
|
-
name: "H4 Semibold",
|
|
55
|
-
args: {
|
|
56
|
-
variant: "h4-semibold",
|
|
57
|
-
content: "Headline Semibold 4"
|
|
58
|
-
}
|
|
59
|
-
}`,...(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:`{
|
|
60
|
-
name: "H4 Bold",
|
|
61
|
-
args: {
|
|
62
|
-
variant: "h4-bold",
|
|
63
|
-
content: "Headline Bold 4"
|
|
64
|
-
}
|
|
65
|
-
}`,...(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:`{
|
|
66
|
-
args: {
|
|
67
|
-
variant: "subtitle",
|
|
68
|
-
content: "Subtitle"
|
|
69
|
-
}
|
|
70
|
-
}`,...(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:`{
|
|
71
|
-
name: "Body Regular",
|
|
72
|
-
args: {
|
|
73
|
-
variant: "body-regular",
|
|
74
|
-
content: "Body text regular"
|
|
75
|
-
}
|
|
76
|
-
}`,...(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:`{
|
|
77
|
-
name: "Body Semibold",
|
|
78
|
-
args: {
|
|
79
|
-
variant: "body-semibold",
|
|
80
|
-
content: "Body text semibold"
|
|
81
|
-
}
|
|
82
|
-
}`,...(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:`{
|
|
83
|
-
name: "Body Bold",
|
|
84
|
-
args: {
|
|
85
|
-
variant: "body-bold",
|
|
86
|
-
content: "Body text bold"
|
|
87
|
-
}
|
|
88
|
-
}`,...(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:`{
|
|
89
|
-
args: {
|
|
90
|
-
variant: "capitalized",
|
|
91
|
-
content: "Capitalized text"
|
|
92
|
-
}
|
|
93
|
-
}`,...(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:`{
|
|
94
|
-
args: {
|
|
95
|
-
variant: "hint",
|
|
96
|
-
content: "Hint text"
|
|
97
|
-
}
|
|
98
|
-
}`,...(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:`{
|
|
99
|
-
name: "Line Through",
|
|
100
|
-
args: {
|
|
101
|
-
variant: "line-through",
|
|
102
|
-
content: "Line through text"
|
|
103
|
-
}
|
|
104
|
-
}`,...(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:`{
|
|
105
|
-
name: "Small Regular",
|
|
106
|
-
args: {
|
|
107
|
-
variant: "small-regular",
|
|
108
|
-
content: "Small text regular"
|
|
109
|
-
}
|
|
110
|
-
}`,...(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:`{
|
|
111
|
-
name: "Small Semibold",
|
|
112
|
-
args: {
|
|
113
|
-
variant: "small-semibold",
|
|
114
|
-
content: "Small text semibold"
|
|
115
|
-
}
|
|
116
|
-
}`,...(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:`{
|
|
117
|
-
name: "Small Bold",
|
|
118
|
-
args: {
|
|
119
|
-
variant: "small-bold",
|
|
120
|
-
content: "Small text bold"
|
|
121
|
-
}
|
|
122
|
-
}`,...(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:`{
|
|
123
|
-
name: "Link",
|
|
124
|
-
args: {
|
|
125
|
-
variant: "link",
|
|
126
|
-
content: "Link text"
|
|
127
|
-
}
|
|
128
|
-
}`,...(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:`{
|
|
129
|
-
args: {
|
|
130
|
-
variant: "document",
|
|
131
|
-
content: "Document text"
|
|
132
|
-
}
|
|
133
|
-
}`,...(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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const l=["h1-bold","h1-regular","h2-bold","h3-bold","h3-regular","h4-regular","h4-semibold","h4-bold","subtitle","body-regular","body-semibold","body-bold","capitalized","hint","line-through","small-regular","small-semibold","small-bold","link","document"],a=["h1","h2","h3","h4","h5","h6","p","span","div","a","label"];export{a,l as p};
|