builder-settings-types 0.0.193 → 0.0.194
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.
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
137
137
|
<path d="M6 5.75H12M9 5.75V13.25M5.85 16.25H12.15C13.4101 16.25 14.0402 16.25 14.5215 16.0048C14.9448 15.789 15.289 15.4448 15.5048 15.0215C15.75 14.5402 15.75 13.9101 15.75 12.65V6.35C15.75 5.08988 15.75 4.45982 15.5048 3.97852C15.289 3.55516 14.9448 3.21095 14.5215 2.99524C14.0402 2.75 13.4101 2.75 12.15 2.75H5.85C4.58988 2.75 3.95982 2.75 3.47852 2.99524C3.05516 3.21095 2.71095 3.55516 2.49524 3.97852C2.25 4.45982 2.25 5.08988 2.25 6.35V12.65C2.25 13.9101 2.25 14.5402 2.49524 15.0215C2.71095 15.4448 3.05516 15.789 3.47852 16.0048C3.95982 16.25 4.58988 16.25 5.85 16.25Z" stroke="#667085" stroke-linecap="round" stroke-linejoin="round"/>
|
|
138
138
|
</svg>
|
|
139
|
-
`;class kt extends g{constructor(t={}){super({title:t.title||"Typography",collapsed:t.collapsed,hideCondition:t.hideCondition,settings:{color:new C({default:t.colorDefault??"0, 0, 30"}),fontFamily:new S({title:"Font",icon:yt,default:t.fontFamilyDefault??"Satoshi",options:t.fontFamilyOptions??[{name:"Alt",value:"Croco Sans Black Caps Alt"},{name:"Regular",value:"Croco Sans Caps Regular"},{name:"Caps",value:"Croco Sans Black Caps"},{name:"FaraGo",value:'
|
|
139
|
+
`;class kt extends g{constructor(t={}){super({title:t.title||"Typography",collapsed:t.collapsed,hideCondition:t.hideCondition,settings:{color:new C({default:t.colorDefault??"0, 0, 30"}),fontFamily:new S({title:"Font",icon:yt,default:t.fontFamilyDefault??"Satoshi",options:t.fontFamilyOptions??[{name:"Alt",value:"Croco Sans Black Caps Alt"},{name:"Regular",value:"Croco Sans Caps Regular"},{name:"Caps",value:"Croco Sans Black Caps"},{name:"FaraGo",value:"'FiraGO', sans-serif"}],getOptions:t.fontFamilyGetOptions,getOptionsAsync:t.fontFamilyGetOptionsAsync}),fontWeight:new S({title:"Weight",icon:Vt,default:t.fontWeightDefault??"400",options:t.fontWeightOptions??[{name:"Regular",value:"400"},{name:"Medium",value:"500"},{name:"Bold",value:"600"}],getOptions:t.fontWeightGetOptions,getOptionsAsync:t.fontWeightGetOptionsAsync}),fontSize:new v({title:"Size",icon:Tt,default:t.fontSizeDefault??12,suffix:"px",mobile:t.fontSizeMobileDefault}),align:new $({title:"Align",default:t.alignDefault??"center"})}})}getCssCode(){const t=this.settings.color.value??"#000000",e=this.settings.fontFamily.value??"Satoshi",i=this.settings.fontWeight.value??"bold",s=this.settings.fontSize.value??12,n=this.settings.align.value??"left";return`
|
|
140
140
|
color: ${t};
|
|
141
141
|
font-family: ${e};
|
|
142
142
|
font-weight: ${i};
|
|
@@ -2381,7 +2381,7 @@ class Ht extends g {
|
|
|
2381
2381
|
{ name: "Alt", value: "Croco Sans Black Caps Alt" },
|
|
2382
2382
|
{ name: "Regular", value: "Croco Sans Caps Regular" },
|
|
2383
2383
|
{ name: "Caps", value: "Croco Sans Black Caps" },
|
|
2384
|
-
{ name: "FaraGo", value: '
|
|
2384
|
+
{ name: "FaraGo", value: "'FiraGO', sans-serif" }
|
|
2385
2385
|
],
|
|
2386
2386
|
getOptions: t.fontFamilyGetOptions,
|
|
2387
2387
|
getOptionsAsync: t.fontFamilyGetOptionsAsync
|
package/package.json
CHANGED