@cas-smartdesign/app-banner 0.3.0 → 0.3.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.
@@ -74,8 +74,9 @@ var window;(window||={})["@cas-smartdesign/app-banner"]=(()=>{var V=Object.defin
74
74
  outline: 1px dashed #111;
75
75
  }
76
76
 
77
- :host(:not([icon])) .icon,
78
- :host([icon=""]) .icon {
77
+ .icon:not([src]),
78
+ .icon[src=""],
79
+ .icon[src="data:,"] {
79
80
  display: none;
80
81
  }
81
82
 
@@ -98,7 +99,9 @@ var window;(window||={})["@cas-smartdesign/app-banner"]=(()=>{var V=Object.defin
98
99
  max-width: var(--sd-button-max-icon-size, 32px);
99
100
  }
100
101
  </style>
101
- <img class="icon" />
102
+ <slot name="icon">
103
+ <img class="icon" src="data:," alt part="icon" />
104
+ </slot>
102
105
  <div class="content">
103
106
  <slot></slot>
104
107
  </div>