@yoobic/yobi 8.5.0-11 → 8.5.0-12

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.
@@ -3800,6 +3800,7 @@ svg:not(:root) {
3800
3800
  position: sticky;
3801
3801
  top: 0;
3802
3802
  z-index: 2;
3803
+ background: var(--light, #ffffff);
3803
3804
  }
3804
3805
  :host(.autocomplete) .container-base .dropdown-header yoo-empty-state {
3805
3806
  height: var(--empty-state-height);
@@ -110,7 +110,7 @@ export class YooAnnouncementHeadingComponent {
110
110
  h("yoo-form-carousel", { maxHeight: 370, paginationType: "progressbar", ...this.carouselAttributes }, this.renderContent()),
111
111
  !this.hasPhotos &&
112
112
  this.renderContent(),
113
- h("div", { class: "action", onClick: (ev) => execHandlerAndStopEvent(ev, this.viewAllHandler) }, h("div", null, translate('VIEWANNOUNCEMENT')), h("yoo-icon", { name: "right", color: "light" }))
113
+ h("div", { class: "action", onClick: (ev) => this.viewAllHandler && execHandlerAndStopEvent(ev, this.viewAllHandler) }, h("div", null, translate('VIEWANNOUNCEMENT')), h("yoo-icon", { name: "right", color: "light" }))
114
114
  ];
115
115
  }
116
116
  render() {
@@ -120,7 +120,7 @@ const YooAnnouncementHeadingComponent = class {
120
120
  h("yoo-form-carousel", { maxHeight: 370, paginationType: "progressbar", ...this.carouselAttributes }, this.renderContent()),
121
121
  !this.hasPhotos &&
122
122
  this.renderContent(),
123
- h("div", { class: "action", onClick: (ev) => execHandlerAndStopEvent(ev, this.viewAllHandler) }, h("div", null, translate('VIEWANNOUNCEMENT')), h("yoo-icon", { name: "right", color: "light" }))
123
+ h("div", { class: "action", onClick: (ev) => this.viewAllHandler && execHandlerAndStopEvent(ev, this.viewAllHandler) }, h("div", null, translate('VIEWANNOUNCEMENT')), h("yoo-icon", { name: "right", color: "light" }))
124
124
  ];
125
125
  }
126
126
  render() {