@everchron/ec-shards 19.10.6 → 19.10.7
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/ec-shards.css +1 -1
- package/dist/ec-shards.js +9 -2
- package/dist/ec-shards.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -864,6 +864,10 @@ var G = /*#__PURE__*/ V(Re, [["render", Be], ["__scopeId", "data-v-5a7d7926"]]),
|
|
|
864
864
|
rounded: {
|
|
865
865
|
type: Boolean,
|
|
866
866
|
default: !0
|
|
867
|
+
},
|
|
868
|
+
logo: {
|
|
869
|
+
type: Boolean,
|
|
870
|
+
default: !1
|
|
867
871
|
}
|
|
868
872
|
},
|
|
869
873
|
data() {
|
|
@@ -911,7 +915,10 @@ var G = /*#__PURE__*/ V(Re, [["render", Be], ["__scopeId", "data-v-5a7d7926"]]),
|
|
|
911
915
|
width: `${this.size}px`,
|
|
912
916
|
height: `${this.size}px`,
|
|
913
917
|
borderRadius: this.rounded ? "50%" : "4px"
|
|
914
|
-
}, t = {
|
|
918
|
+
}, t = {
|
|
919
|
+
background: `transparent url(${this.image}) no-repeat center center/${this.logo ? "contain" : "cover"}`,
|
|
920
|
+
border: this.logo ? "1px solid var(--color-gray-2)" : void 0
|
|
921
|
+
}, n = {
|
|
915
922
|
backgroundColor: this.background,
|
|
916
923
|
fontSize: Math.floor(this.size / 2.5) + "px"
|
|
917
924
|
}, r = this.isImage ? t : n;
|
|
@@ -960,7 +967,7 @@ function We(e, t, n, r, i, a) {
|
|
|
960
967
|
type: "badge"
|
|
961
968
|
})) : s("", !0)], 14, He);
|
|
962
969
|
}
|
|
963
|
-
var Ge = /*#__PURE__*/ V(Ve, [["render", We], ["__scopeId", "data-v-
|
|
970
|
+
var Ge = /*#__PURE__*/ V(Ve, [["render", We], ["__scopeId", "data-v-e27b6ef7"]]), Ke = {
|
|
964
971
|
components: {
|
|
965
972
|
EcsIcon: H,
|
|
966
973
|
EcsFocusRing: U
|