@internetarchive/collection-browser 2.22.1-alpha-webdev7877.1 → 2.22.1-alpha-webdev7818.0

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.
@@ -160,7 +160,7 @@ export declare class CollectionBrowser extends LitElement implements InfiniteScr
160
160
  enableSortOptionsSlot: boolean;
161
161
  /** Whether to display a smart results carousel above the full results */
162
162
  showSmartResults: boolean;
163
- resultsHeader?: string;
163
+ resultsHeader?: TemplateResult | string;
164
164
  /**
165
165
  * The maximum number of pages we will load when a privileged user clicks
166
166
  * the "Manage" button on the search page. Limited to 15 pages.
@@ -528,7 +528,6 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
528
528
  * tiles and sort/filter bar are shown.
529
529
  */
530
530
  get rightColumnTemplate() {
531
- var _a;
532
531
  const rightColumnClasses = classMap({
533
532
  column: true,
534
533
  'full-width': !this.facetPaneVisible,
@@ -542,7 +541,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
542
541
  <section id="results">
543
542
  ${this.showSmartResults
544
543
  ? html `<h2 class="results-section-heading">
545
- ${(_a = this.resultsHeader) !== null && _a !== void 0 ? _a : msg('All results')}
544
+ <slot name="results-heading">${msg('All results')}</slot>
546
545
  </h2>`
547
546
  : nothing}
548
547
  <div id="cb-top-view">