@porscheinformatik/clr-addons 21.0.0 → 21.0.1
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.
|
@@ -11378,7 +11378,7 @@ var AcceptedBrands;
|
|
|
11378
11378
|
// import car brands to be used for cds-icon
|
|
11379
11379
|
ClarityIcons.addIcons(audiBrandIcon, cupraBrandIcon, dwaBrandIcon, porscheBrandIcon, seatBrandIcon, skodaBrandIcon, vwnBrandIcon, vwBrandIcon, newCarPrivateIcon);
|
|
11380
11380
|
class ClrBrandAvatar {
|
|
11381
|
-
static { this.DEFAULT_ICON_SHAPE = 'new-car-private'; }
|
|
11381
|
+
static { this.DEFAULT_ICON_SHAPE = 'ca-new-car-private'; }
|
|
11382
11382
|
constructor(renderer) {
|
|
11383
11383
|
this.renderer = renderer;
|
|
11384
11384
|
this.avatar = true;
|
|
@@ -11391,7 +11391,7 @@ class ClrBrandAvatar {
|
|
|
11391
11391
|
getShape() {
|
|
11392
11392
|
const brandName = ClrBrandAvatar.getCleanBrandName(this.brand);
|
|
11393
11393
|
if (brandName in AcceptedBrands) {
|
|
11394
|
-
return 'brand-' + brandName.toLowerCase();
|
|
11394
|
+
return 'ca-brand-' + brandName.toLowerCase();
|
|
11395
11395
|
}
|
|
11396
11396
|
return this.getDefaultIcon();
|
|
11397
11397
|
}
|