@web3modal/ui
Advanced tools
Comparing version 4.1.2-rer314x.0 to 4.1.2
@@ -29,2 +29,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
this.address = ''; | ||
this.profileName = ''; | ||
this.charsStart = 4; | ||
@@ -47,8 +48,10 @@ this.charsEnd = 6; | ||
<wui-text variant="paragraph-600" color="inherit"> | ||
${UiHelperUtil.getTruncateString({ | ||
string: this.address, | ||
charsStart: this.isProfileName ? 18 : this.charsStart, | ||
charsEnd: this.isProfileName ? 0 : this.charsEnd, | ||
truncate: this.isProfileName ? 'end' : 'middle' | ||
})} | ||
${this.address | ||
? UiHelperUtil.getTruncateString({ | ||
string: this.isProfileName ? this.profileName : this.address, | ||
charsStart: this.isProfileName ? 18 : this.charsStart, | ||
charsEnd: this.isProfileName ? 0 : this.charsEnd, | ||
truncate: this.isProfileName ? 'end' : 'middle' | ||
}) | ||
: null} | ||
</wui-text> | ||
@@ -82,3 +85,3 @@ </wui-flex> | ||
${networkElement} | ||
<wui-text variant="paragraph-600" color="inherit"> ${this.balance} </wui-text> | ||
<wui-text variant="paragraph-600" color="inherit"> ${this.balance}</wui-text> | ||
`; | ||
@@ -113,2 +116,5 @@ } | ||
property() | ||
], WuiAccountButton.prototype, "profileName", void 0); | ||
__decorate([ | ||
property() | ||
], WuiAccountButton.prototype, "charsStart", void 0); | ||
@@ -115,0 +121,0 @@ __decorate([ |
@@ -16,2 +16,3 @@ import { LitElement } from 'lit'; | ||
address: string; | ||
profileName: string; | ||
charsStart: number; | ||
@@ -18,0 +19,0 @@ charsEnd: number; |
{ | ||
"name": "@web3modal/ui", | ||
"version": "4.1.2-rer314x.0", | ||
"version": "4.1.2", | ||
"type": "module", | ||
@@ -24,3 +24,3 @@ "main": "./dist/esm/index.js", | ||
"@types/qrcode": "1.5.5", | ||
"@web3modal/common": "4.1.2-rer314x.0", | ||
"@web3modal/common": "4.1.2", | ||
"eslint-plugin-lit": "1.11.0", | ||
@@ -27,0 +27,0 @@ "eslint-plugin-wc": "2.0.4" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
620798
11183
0