@internetarchive/collection-browser 2.18.0 → 2.18.1-alpha-webdev7768.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.
- package/.github/workflows/ci.yml +27 -27
- package/.github/workflows/gh-pages-main.yml +39 -39
- package/.github/workflows/npm-publish.yml +39 -39
- package/.github/workflows/pr-preview.yml +38 -38
- package/.prettierignore +1 -1
- package/dist/src/collection-browser.js +682 -682
- package/dist/src/collection-browser.js.map +1 -1
- package/dist/src/collection-facets.js +259 -259
- package/dist/src/collection-facets.js.map +1 -1
- package/dist/src/expanded-date-picker.js +50 -50
- package/dist/src/expanded-date-picker.js.map +1 -1
- package/dist/src/tiles/grid/styles/tile-grid-shared-styles.js +1 -1
- package/dist/src/tiles/grid/styles/tile-grid-shared-styles.js.map +1 -1
- package/dist/src/tiles/tile-dispatcher.js +1 -1
- package/dist/src/tiles/tile-dispatcher.js.map +1 -1
- package/eslint.config.mjs +53 -53
- package/index.html +24 -24
- package/package.json +117 -117
- package/src/collection-browser.ts +2712 -2712
- package/src/collection-facets.ts +966 -966
- package/src/expanded-date-picker.ts +175 -175
- package/src/tiles/grid/styles/tile-grid-shared-styles.ts +1 -1
- package/src/tiles/tile-dispatcher.ts +1 -1
- package/tsconfig.json +20 -20
|
@@ -77,27 +77,27 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
77
77
|
// Added data-testid for Playwright testing
|
|
78
78
|
// Using facet-group class and aria-labels is not ideal for Playwright locator
|
|
79
79
|
const datePickerLabelId = 'date-picker-label';
|
|
80
|
-
return html `
|
|
81
|
-
<div id="container" class=${containerClasses}>
|
|
80
|
+
return html `
|
|
81
|
+
<div id="container" class=${containerClasses}>
|
|
82
82
|
${this.showHistogramDatePicker &&
|
|
83
83
|
(this.histogramAggregation || this.histogramAggregationLoading)
|
|
84
|
-
? html `
|
|
85
|
-
<section
|
|
86
|
-
class="facet-group"
|
|
87
|
-
aria-labelledby=${datePickerLabelId}
|
|
88
|
-
data-testid="facet-group-header-label-date-picker"
|
|
89
|
-
>
|
|
90
|
-
<h3 id=${datePickerLabelId}>
|
|
91
|
-
Year Published <span class="sr-only">range filter</span>
|
|
92
|
-
${this.expandDatePickerBtnTemplate}
|
|
93
|
-
</h3>
|
|
94
|
-
${this.histogramTemplate}
|
|
95
|
-
</section>
|
|
84
|
+
? html `
|
|
85
|
+
<section
|
|
86
|
+
class="facet-group"
|
|
87
|
+
aria-labelledby=${datePickerLabelId}
|
|
88
|
+
data-testid="facet-group-header-label-date-picker"
|
|
89
|
+
>
|
|
90
|
+
<h3 id=${datePickerLabelId}>
|
|
91
|
+
Year Published <span class="sr-only">range filter</span>
|
|
92
|
+
${this.expandDatePickerBtnTemplate}
|
|
93
|
+
</h3>
|
|
94
|
+
${this.histogramTemplate}
|
|
95
|
+
</section>
|
|
96
96
|
`
|
|
97
|
-
: nothing}
|
|
98
|
-
${this.collectionPartOfTemplate}
|
|
99
|
-
${this.mergedFacets.map(facetGroup => this.getFacetGroupTemplate(facetGroup))}
|
|
100
|
-
</div>
|
|
97
|
+
: nothing}
|
|
98
|
+
${this.collectionPartOfTemplate}
|
|
99
|
+
${this.mergedFacets.map(facetGroup => this.getFacetGroupTemplate(facetGroup))}
|
|
100
|
+
</div>
|
|
101
101
|
`;
|
|
102
102
|
}
|
|
103
103
|
get collectionPartOfTemplate() {
|
|
@@ -108,31 +108,31 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
108
108
|
// Added data-testid for Playwright testing
|
|
109
109
|
// Using className and aria-labels is not ideal for Playwright locator
|
|
110
110
|
const headingId = 'partof-heading';
|
|
111
|
-
return html `
|
|
112
|
-
<section
|
|
113
|
-
class="facet-group partof-collections"
|
|
114
|
-
aria-labelledby=${headingId}
|
|
115
|
-
data-testid="facet-group-partof-collections"
|
|
116
|
-
>
|
|
117
|
-
<div class="facet-group-header">
|
|
118
|
-
<h3 id=${headingId}>${msg('Part Of')}</h3>
|
|
119
|
-
</div>
|
|
120
|
-
<ul>
|
|
111
|
+
return html `
|
|
112
|
+
<section
|
|
113
|
+
class="facet-group partof-collections"
|
|
114
|
+
aria-labelledby=${headingId}
|
|
115
|
+
data-testid="facet-group-partof-collections"
|
|
116
|
+
>
|
|
117
|
+
<div class="facet-group-header">
|
|
118
|
+
<h3 id=${headingId}>${msg('Part Of')}</h3>
|
|
119
|
+
</div>
|
|
120
|
+
<ul>
|
|
121
121
|
${map(this.parentCollections, collxn => {
|
|
122
122
|
var _a, _b;
|
|
123
123
|
const collectionURL = `${this.baseNavigationUrl}${this.collectionPagePath}${collxn}`;
|
|
124
|
-
return html ` <li>
|
|
125
|
-
<a
|
|
126
|
-
href=${collectionURL}
|
|
127
|
-
data-id=${collxn}
|
|
128
|
-
@click=${this.partOfCollectionClicked}
|
|
129
|
-
>
|
|
130
|
-
${(_b = (_a = this.collectionTitles) === null || _a === void 0 ? void 0 : _a.get(collxn)) !== null && _b !== void 0 ? _b : collxn}
|
|
131
|
-
</a>
|
|
124
|
+
return html ` <li>
|
|
125
|
+
<a
|
|
126
|
+
href=${collectionURL}
|
|
127
|
+
data-id=${collxn}
|
|
128
|
+
@click=${this.partOfCollectionClicked}
|
|
129
|
+
>
|
|
130
|
+
${(_b = (_a = this.collectionTitles) === null || _a === void 0 ? void 0 : _a.get(collxn)) !== null && _b !== void 0 ? _b : collxn}
|
|
131
|
+
</a>
|
|
132
132
|
</li>`;
|
|
133
|
-
})}
|
|
134
|
-
</ul>
|
|
135
|
-
</section>
|
|
133
|
+
})}
|
|
134
|
+
</ul>
|
|
135
|
+
</section>
|
|
136
136
|
`;
|
|
137
137
|
}
|
|
138
138
|
partOfCollectionClicked(e) {
|
|
@@ -202,22 +202,22 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
202
202
|
expandedDatePicker.maxSelectedDate = this.maxSelectedDate;
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
|
-
const customModalContent = html `
|
|
206
|
-
<expanded-date-picker
|
|
207
|
-
${ref(expandedDatePickerChanged)}
|
|
208
|
-
.minDate=${minDate}
|
|
209
|
-
.maxDate=${maxDate}
|
|
210
|
-
.minSelectedDate=${this.minSelectedDate}
|
|
211
|
-
.maxSelectedDate=${this.maxSelectedDate}
|
|
212
|
-
.dateFormat=${dateFormat}
|
|
213
|
-
.tooltipDateFormat=${tooltipDateFormat}
|
|
214
|
-
.binSnapping=${binSnapping}
|
|
215
|
-
.buckets=${buckets}
|
|
216
|
-
.modalManager=${this.modalManager}
|
|
217
|
-
.analyticsHandler=${this.analyticsHandler}
|
|
218
|
-
@histogramDateRangeApplied=${this.histogramDateRangeUpdated}
|
|
219
|
-
@modalClosed=${this.handleExpandedDatePickerClosed}
|
|
220
|
-
></expanded-date-picker>
|
|
205
|
+
const customModalContent = html `
|
|
206
|
+
<expanded-date-picker
|
|
207
|
+
${ref(expandedDatePickerChanged)}
|
|
208
|
+
.minDate=${minDate}
|
|
209
|
+
.maxDate=${maxDate}
|
|
210
|
+
.minSelectedDate=${this.minSelectedDate}
|
|
211
|
+
.maxSelectedDate=${this.maxSelectedDate}
|
|
212
|
+
.dateFormat=${dateFormat}
|
|
213
|
+
.tooltipDateFormat=${tooltipDateFormat}
|
|
214
|
+
.binSnapping=${binSnapping}
|
|
215
|
+
.buckets=${buckets}
|
|
216
|
+
.modalManager=${this.modalManager}
|
|
217
|
+
.analyticsHandler=${this.analyticsHandler}
|
|
218
|
+
@histogramDateRangeApplied=${this.histogramDateRangeUpdated}
|
|
219
|
+
@modalClosed=${this.handleExpandedDatePickerClosed}
|
|
220
|
+
></expanded-date-picker>
|
|
221
221
|
`;
|
|
222
222
|
const config = new ModalConfig({
|
|
223
223
|
bodyColor: '#fff',
|
|
@@ -256,12 +256,12 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
256
256
|
*/
|
|
257
257
|
get expandDatePickerBtnTemplate() {
|
|
258
258
|
return this.allowExpandingDatePicker && !this.facetsLoading
|
|
259
|
-
? html `<button
|
|
260
|
-
class="expand-date-picker-btn"
|
|
261
|
-
aria-hidden="true"
|
|
262
|
-
@click=${this.showDatePickerModal}
|
|
263
|
-
>
|
|
264
|
-
${expandIcon}
|
|
259
|
+
? html `<button
|
|
260
|
+
class="expand-date-picker-btn"
|
|
261
|
+
aria-hidden="true"
|
|
262
|
+
@click=${this.showDatePickerModal}
|
|
263
|
+
>
|
|
264
|
+
${expandIcon}
|
|
265
265
|
</button>`
|
|
266
266
|
: nothing;
|
|
267
267
|
}
|
|
@@ -274,24 +274,24 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
274
274
|
if (!histogramProps)
|
|
275
275
|
return nothing;
|
|
276
276
|
const { buckets, dateFormat, tooltipDateFormat, binSnapping, minDate, maxDate, } = histogramProps;
|
|
277
|
-
return html `
|
|
278
|
-
<histogram-date-range
|
|
279
|
-
class=${this.isTvSearch ? 'wide-inputs' : nothing}
|
|
280
|
-
.minDate=${minDate}
|
|
281
|
-
.maxDate=${maxDate}
|
|
282
|
-
.minSelectedDate=${(_a = this.minSelectedDate) !== null && _a !== void 0 ? _a : minDate}
|
|
283
|
-
.maxSelectedDate=${(_b = this.maxSelectedDate) !== null && _b !== void 0 ? _b : maxDate}
|
|
284
|
-
.updateDelay=${100}
|
|
285
|
-
.dateFormat=${dateFormat}
|
|
286
|
-
.tooltipDateFormat=${tooltipDateFormat}
|
|
287
|
-
.binSnapping=${binSnapping}
|
|
288
|
-
.bins=${buckets}
|
|
289
|
-
missingDataMessage="..."
|
|
277
|
+
return html `
|
|
278
|
+
<histogram-date-range
|
|
279
|
+
class=${this.isTvSearch ? 'wide-inputs' : nothing}
|
|
280
|
+
.minDate=${minDate}
|
|
281
|
+
.maxDate=${maxDate}
|
|
282
|
+
.minSelectedDate=${(_a = this.minSelectedDate) !== null && _a !== void 0 ? _a : minDate}
|
|
283
|
+
.maxSelectedDate=${(_b = this.maxSelectedDate) !== null && _b !== void 0 ? _b : maxDate}
|
|
284
|
+
.updateDelay=${100}
|
|
285
|
+
.dateFormat=${dateFormat}
|
|
286
|
+
.tooltipDateFormat=${tooltipDateFormat}
|
|
287
|
+
.binSnapping=${binSnapping}
|
|
288
|
+
.bins=${buckets}
|
|
289
|
+
missingDataMessage="..."
|
|
290
290
|
.width=${this.collapsableFacets && this.contentWidth
|
|
291
291
|
? this.contentWidth
|
|
292
|
-
: 180}
|
|
293
|
-
@histogramDateRangeUpdated=${this.histogramDateRangeUpdated}
|
|
294
|
-
></histogram-date-range>
|
|
292
|
+
: 180}
|
|
293
|
+
@histogramDateRangeUpdated=${this.histogramDateRangeUpdated}
|
|
294
|
+
></histogram-date-range>
|
|
295
295
|
`;
|
|
296
296
|
}
|
|
297
297
|
/**
|
|
@@ -467,8 +467,8 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
467
467
|
return nothing;
|
|
468
468
|
const { key } = facetGroup;
|
|
469
469
|
const isOpen = this.openFacets[key];
|
|
470
|
-
const collapser = html `
|
|
471
|
-
<span class="collapser ${isOpen ? 'open' : ''}"> ${chevronIcon} </span>
|
|
470
|
+
const collapser = html `
|
|
471
|
+
<span class="collapser ${isOpen ? 'open' : ''}"> ${chevronIcon} </span>
|
|
472
472
|
`;
|
|
473
473
|
const toggleCollapsed = () => {
|
|
474
474
|
const newOpenFacets = { ...this.openFacets };
|
|
@@ -478,40 +478,40 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
478
478
|
// Added data-testid for Playwright testing
|
|
479
479
|
// Using className and aria-labels is not ideal for Playwright locator
|
|
480
480
|
const headerId = `facet-group-header-label-${facetGroup.key}`;
|
|
481
|
-
return html `
|
|
482
|
-
<section
|
|
483
|
-
class="facet-group ${this.collapsableFacets ? 'mobile' : ''}"
|
|
484
|
-
aria-labelledby=${headerId}
|
|
485
|
-
data-testid=${headerId}
|
|
486
|
-
>
|
|
487
|
-
<div class="facet-group-header">
|
|
488
|
-
<h3
|
|
489
|
-
id=${headerId}
|
|
490
|
-
@click=${toggleCollapsed}
|
|
491
|
-
@keyup=${toggleCollapsed}
|
|
492
|
-
>
|
|
493
|
-
${this.collapsableFacets ? collapser : nothing} ${facetGroup.title}
|
|
494
|
-
<span class="sr-only">filters</span>
|
|
495
|
-
</h3>
|
|
496
|
-
</div>
|
|
497
|
-
<div
|
|
498
|
-
class="facet-group-content ${isOpen ? 'open' : ''}"
|
|
499
|
-
data-testid="facet-group-content-${facetGroup.key}"
|
|
500
|
-
>
|
|
481
|
+
return html `
|
|
482
|
+
<section
|
|
483
|
+
class="facet-group ${this.collapsableFacets ? 'mobile' : ''}"
|
|
484
|
+
aria-labelledby=${headerId}
|
|
485
|
+
data-testid=${headerId}
|
|
486
|
+
>
|
|
487
|
+
<div class="facet-group-header">
|
|
488
|
+
<h3
|
|
489
|
+
id=${headerId}
|
|
490
|
+
@click=${toggleCollapsed}
|
|
491
|
+
@keyup=${toggleCollapsed}
|
|
492
|
+
>
|
|
493
|
+
${this.collapsableFacets ? collapser : nothing} ${facetGroup.title}
|
|
494
|
+
<span class="sr-only">filters</span>
|
|
495
|
+
</h3>
|
|
496
|
+
</div>
|
|
497
|
+
<div
|
|
498
|
+
class="facet-group-content ${isOpen ? 'open' : ''}"
|
|
499
|
+
data-testid="facet-group-content-${facetGroup.key}"
|
|
500
|
+
>
|
|
501
501
|
${this.facetsLoading
|
|
502
502
|
? this.getTombstoneFacetGroupTemplate()
|
|
503
|
-
: html `
|
|
504
|
-
${this.getFacetTemplate(facetGroup)}
|
|
505
|
-
${this.searchMoreFacetsLink(facetGroup)}
|
|
506
|
-
`}
|
|
507
|
-
</div>
|
|
508
|
-
</section>
|
|
503
|
+
: html `
|
|
504
|
+
${this.getFacetTemplate(facetGroup)}
|
|
505
|
+
${this.searchMoreFacetsLink(facetGroup)}
|
|
506
|
+
`}
|
|
507
|
+
</div>
|
|
508
|
+
</section>
|
|
509
509
|
`;
|
|
510
510
|
}
|
|
511
511
|
getTombstoneFacetGroupTemplate() {
|
|
512
512
|
// Render five tombstone rows
|
|
513
|
-
return html `
|
|
514
|
-
${map(Array(5).fill(null), () => html `<facet-tombstone-row></facet-tombstone-row>`)}
|
|
513
|
+
return html `
|
|
514
|
+
${map(Array(5).fill(null), () => html `<facet-tombstone-row></facet-tombstone-row>`)}
|
|
515
515
|
`;
|
|
516
516
|
}
|
|
517
517
|
/**
|
|
@@ -536,8 +536,8 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
536
536
|
const facetSort = defaultFacetSort[facetGroup.key];
|
|
537
537
|
// Added data-testid for Playwright testing
|
|
538
538
|
// Using the className is not ideal for Playwright locator
|
|
539
|
-
return html `<button
|
|
540
|
-
class="more-link"
|
|
539
|
+
return html `<button
|
|
540
|
+
class="more-link"
|
|
541
541
|
@click=${() => {
|
|
542
542
|
var _a;
|
|
543
543
|
this.showMoreFacetsModal(facetGroup, facetSort);
|
|
@@ -547,29 +547,29 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
547
547
|
label: facetGroup.key,
|
|
548
548
|
});
|
|
549
549
|
this.dispatchEvent(new CustomEvent('showMoreFacets', { detail: facetGroup.key }));
|
|
550
|
-
}}
|
|
551
|
-
data-testid="more-link-btn"
|
|
552
|
-
>
|
|
553
|
-
More...
|
|
550
|
+
}}
|
|
551
|
+
data-testid="more-link-btn"
|
|
552
|
+
>
|
|
553
|
+
More...
|
|
554
554
|
</button>`;
|
|
555
555
|
}
|
|
556
556
|
async showMoreFacetsModal(facetGroup, sortedBy) {
|
|
557
557
|
var _a, _b;
|
|
558
|
-
const customModalContent = html `
|
|
559
|
-
<more-facets-content
|
|
560
|
-
.analyticsHandler=${this.analyticsHandler}
|
|
561
|
-
.facetKey=${facetGroup.key}
|
|
562
|
-
.query=${this.query}
|
|
563
|
-
.filterMap=${this.filterMap}
|
|
564
|
-
.pageSpecifierParams=${this.pageSpecifierParams}
|
|
565
|
-
.modalManager=${this.modalManager}
|
|
566
|
-
.searchService=${this.searchService}
|
|
567
|
-
.searchType=${this.searchType}
|
|
568
|
-
.collectionTitles=${this.collectionTitles}
|
|
569
|
-
.tvChannelAliases=${this.tvChannelAliases}
|
|
570
|
-
.selectedFacets=${this.selectedFacets}
|
|
571
|
-
.sortedBy=${sortedBy}
|
|
572
|
-
.isTvSearch=${this.isTvSearch}
|
|
558
|
+
const customModalContent = html `
|
|
559
|
+
<more-facets-content
|
|
560
|
+
.analyticsHandler=${this.analyticsHandler}
|
|
561
|
+
.facetKey=${facetGroup.key}
|
|
562
|
+
.query=${this.query}
|
|
563
|
+
.filterMap=${this.filterMap}
|
|
564
|
+
.pageSpecifierParams=${this.pageSpecifierParams}
|
|
565
|
+
.modalManager=${this.modalManager}
|
|
566
|
+
.searchService=${this.searchService}
|
|
567
|
+
.searchType=${this.searchType}
|
|
568
|
+
.collectionTitles=${this.collectionTitles}
|
|
569
|
+
.tvChannelAliases=${this.tvChannelAliases}
|
|
570
|
+
.selectedFacets=${this.selectedFacets}
|
|
571
|
+
.sortedBy=${sortedBy}
|
|
572
|
+
.isTvSearch=${this.isTvSearch}
|
|
573
573
|
@facetsChanged=${(e) => {
|
|
574
574
|
const event = new CustomEvent('facetsChanged', {
|
|
575
575
|
detail: e.detail,
|
|
@@ -577,9 +577,9 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
577
577
|
composed: true,
|
|
578
578
|
});
|
|
579
579
|
this.dispatchEvent(event);
|
|
580
|
-
}}
|
|
581
|
-
>
|
|
582
|
-
</more-facets-content>
|
|
580
|
+
}}
|
|
581
|
+
>
|
|
582
|
+
</more-facets-content>
|
|
583
583
|
`;
|
|
584
584
|
const config = new ModalConfig({
|
|
585
585
|
bodyColor: '#fff',
|
|
@@ -602,12 +602,12 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
602
602
|
* Generate the list template for each bucket in a facet group
|
|
603
603
|
*/
|
|
604
604
|
getFacetTemplate(facetGroup) {
|
|
605
|
-
return html `
|
|
606
|
-
<facets-template
|
|
607
|
-
.collectionPagePath=${this.collectionPagePath}
|
|
608
|
-
.facetGroup=${facetGroup}
|
|
609
|
-
.selectedFacets=${this.selectedFacets}
|
|
610
|
-
.collectionTitles=${this.collectionTitles}
|
|
605
|
+
return html `
|
|
606
|
+
<facets-template
|
|
607
|
+
.collectionPagePath=${this.collectionPagePath}
|
|
608
|
+
.facetGroup=${facetGroup}
|
|
609
|
+
.selectedFacets=${this.selectedFacets}
|
|
610
|
+
.collectionTitles=${this.collectionTitles}
|
|
611
611
|
@facetClick=${(e) => {
|
|
612
612
|
this.selectedFacets = updateSelectedFacetBucket(this.selectedFacets, facetGroup.key, e.detail.bucket, true);
|
|
613
613
|
const event = new CustomEvent('facetsChanged', {
|
|
@@ -616,133 +616,133 @@ let CollectionFacets = class CollectionFacets extends LitElement {
|
|
|
616
616
|
composed: true,
|
|
617
617
|
});
|
|
618
618
|
this.dispatchEvent(event);
|
|
619
|
-
}}
|
|
620
|
-
></facets-template>
|
|
619
|
+
}}
|
|
620
|
+
></facets-template>
|
|
621
621
|
`;
|
|
622
622
|
}
|
|
623
623
|
static get styles() {
|
|
624
624
|
return [
|
|
625
625
|
srOnlyStyle,
|
|
626
|
-
css `
|
|
627
|
-
a:link {
|
|
628
|
-
text-decoration: none;
|
|
629
|
-
color: var(--ia-theme-link-color, #4b64ff);
|
|
630
|
-
}
|
|
631
|
-
a:link:hover {
|
|
632
|
-
text-decoration: underline;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
#container.loading {
|
|
636
|
-
opacity: 0.5;
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
#container.managing {
|
|
640
|
-
opacity: 0.3;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
.histogram-loading-indicator {
|
|
644
|
-
width: 100%;
|
|
645
|
-
height: 2.25rem;
|
|
646
|
-
margin-top: 1.75rem;
|
|
647
|
-
font-size: 1.4rem;
|
|
648
|
-
text-align: center;
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
.collapser {
|
|
652
|
-
display: inline-block;
|
|
653
|
-
cursor: pointer;
|
|
654
|
-
width: 10px;
|
|
655
|
-
height: 10px;
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
.collapser svg {
|
|
659
|
-
transition: transform 0.2s ease-in-out;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
.collapser.open svg {
|
|
663
|
-
transform: rotate(90deg);
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
.facet-group:not(:last-child) {
|
|
667
|
-
margin-bottom: 2rem;
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
.facet-group h3 {
|
|
671
|
-
margin-bottom: 0.7rem;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.facet-group.mobile h3 {
|
|
675
|
-
cursor: pointer;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
.facet-group-header {
|
|
679
|
-
display: flex;
|
|
680
|
-
margin-bottom: 0.7rem;
|
|
681
|
-
justify-content: space-between;
|
|
682
|
-
border-bottom: 1px solid rgb(232, 232, 232);
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
.facet-group-content {
|
|
686
|
-
transition: max-height 0.2s ease-in-out;
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
.facet-group.mobile .facet-group-content {
|
|
690
|
-
max-height: 0;
|
|
691
|
-
overflow: hidden;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
.facet-group.mobile .facet-group-content.open {
|
|
695
|
-
max-height: 2000px;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
.partof-collections ul {
|
|
699
|
-
list-style-type: none;
|
|
700
|
-
padding: 0;
|
|
701
|
-
font-size: 1.2rem;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
h3 {
|
|
705
|
-
font-size: 1.4rem;
|
|
706
|
-
margin: 0;
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
.more-link {
|
|
710
|
-
font-size: 1.2rem;
|
|
711
|
-
text-decoration: none;
|
|
712
|
-
padding: 0;
|
|
713
|
-
background: inherit;
|
|
714
|
-
border: 0;
|
|
715
|
-
color: var(--ia-theme-link-color, #4b64ff);
|
|
716
|
-
cursor: pointer;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
#date-picker-label {
|
|
720
|
-
display: flex;
|
|
721
|
-
justify-content: space-between;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
.expand-date-picker-btn {
|
|
725
|
-
margin: 0;
|
|
726
|
-
padding: 0;
|
|
727
|
-
border: 0;
|
|
728
|
-
appearance: none;
|
|
729
|
-
background: none;
|
|
730
|
-
cursor: pointer;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
.expand-date-picker-btn > svg {
|
|
734
|
-
width: 14px;
|
|
735
|
-
height: 14px;
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
.sorting-icon {
|
|
739
|
-
height: 15px;
|
|
740
|
-
cursor: pointer;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
histogram-date-range.wide-inputs {
|
|
744
|
-
--histogramDateRangeInputWidth: 4.8rem;
|
|
745
|
-
}
|
|
626
|
+
css `
|
|
627
|
+
a:link {
|
|
628
|
+
text-decoration: none;
|
|
629
|
+
color: var(--ia-theme-link-color, #4b64ff);
|
|
630
|
+
}
|
|
631
|
+
a:link:hover {
|
|
632
|
+
text-decoration: underline;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
#container.loading {
|
|
636
|
+
opacity: 0.5;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
#container.managing {
|
|
640
|
+
opacity: 0.3;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.histogram-loading-indicator {
|
|
644
|
+
width: 100%;
|
|
645
|
+
height: 2.25rem;
|
|
646
|
+
margin-top: 1.75rem;
|
|
647
|
+
font-size: 1.4rem;
|
|
648
|
+
text-align: center;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.collapser {
|
|
652
|
+
display: inline-block;
|
|
653
|
+
cursor: pointer;
|
|
654
|
+
width: 10px;
|
|
655
|
+
height: 10px;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.collapser svg {
|
|
659
|
+
transition: transform 0.2s ease-in-out;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.collapser.open svg {
|
|
663
|
+
transform: rotate(90deg);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.facet-group:not(:last-child) {
|
|
667
|
+
margin-bottom: 2rem;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.facet-group h3 {
|
|
671
|
+
margin-bottom: 0.7rem;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.facet-group.mobile h3 {
|
|
675
|
+
cursor: pointer;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.facet-group-header {
|
|
679
|
+
display: flex;
|
|
680
|
+
margin-bottom: 0.7rem;
|
|
681
|
+
justify-content: space-between;
|
|
682
|
+
border-bottom: 1px solid rgb(232, 232, 232);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.facet-group-content {
|
|
686
|
+
transition: max-height 0.2s ease-in-out;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.facet-group.mobile .facet-group-content {
|
|
690
|
+
max-height: 0;
|
|
691
|
+
overflow: hidden;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
.facet-group.mobile .facet-group-content.open {
|
|
695
|
+
max-height: 2000px;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.partof-collections ul {
|
|
699
|
+
list-style-type: none;
|
|
700
|
+
padding: 0;
|
|
701
|
+
font-size: 1.2rem;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
h3 {
|
|
705
|
+
font-size: 1.4rem;
|
|
706
|
+
margin: 0;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.more-link {
|
|
710
|
+
font-size: 1.2rem;
|
|
711
|
+
text-decoration: none;
|
|
712
|
+
padding: 0;
|
|
713
|
+
background: inherit;
|
|
714
|
+
border: 0;
|
|
715
|
+
color: var(--ia-theme-link-color, #4b64ff);
|
|
716
|
+
cursor: pointer;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
#date-picker-label {
|
|
720
|
+
display: flex;
|
|
721
|
+
justify-content: space-between;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.expand-date-picker-btn {
|
|
725
|
+
margin: 0;
|
|
726
|
+
padding: 0;
|
|
727
|
+
border: 0;
|
|
728
|
+
appearance: none;
|
|
729
|
+
background: none;
|
|
730
|
+
cursor: pointer;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
.expand-date-picker-btn > svg {
|
|
734
|
+
width: 14px;
|
|
735
|
+
height: 14px;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.sorting-icon {
|
|
739
|
+
height: 15px;
|
|
740
|
+
cursor: pointer;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
histogram-date-range.wide-inputs {
|
|
744
|
+
--histogramDateRangeInputWidth: 4.8rem;
|
|
745
|
+
}
|
|
746
746
|
`,
|
|
747
747
|
];
|
|
748
748
|
}
|