@internetarchive/collection-browser 3.0.1-webdev-7936.0 → 3.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.
- package/.editorconfig +29 -29
- 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/.husky/pre-commit +4 -4
- package/.prettierignore +1 -1
- package/LICENSE +661 -661
- package/README.md +83 -83
- package/dist/src/collection-browser.js +0 -1
- package/dist/src/collection-browser.js.map +1 -1
- package/dist/src/collection-facets/facet-row.js +1 -2
- package/dist/src/collection-facets/facet-row.js.map +1 -1
- package/dist/src/collection-facets/models.d.ts +9 -0
- package/dist/src/collection-facets/models.js +10 -0
- package/dist/src/collection-facets/models.js.map +1 -0
- package/dist/src/collection-facets/more-facets-content.js +121 -120
- package/dist/src/collection-facets/more-facets-content.js.map +1 -1
- package/dist/src/collection-facets.js +0 -1
- package/dist/src/collection-facets.js.map +1 -1
- package/dist/src/sort-filter-bar/sort-filter-bar.js +1 -1
- package/dist/src/sort-filter-bar/sort-filter-bar.js.map +1 -1
- package/dist/src/tiles/grid/collection-tile.js +2 -3
- package/dist/src/tiles/grid/collection-tile.js.map +1 -1
- package/dist/src/tiles/grid/item-tile.js +2 -2
- package/dist/src/tiles/grid/item-tile.js.map +1 -1
- package/dist/src/tiles/grid/search-tile.js +2 -3
- package/dist/src/tiles/grid/search-tile.js.map +1 -1
- package/dist/src/tiles/grid/styles/tile-grid-shared-styles.js +1 -2
- package/dist/src/tiles/grid/styles/tile-grid-shared-styles.js.map +1 -1
- package/dist/src/tiles/list/tile-list.js +3 -13
- package/dist/src/tiles/list/tile-list.js.map +1 -1
- package/dist/test/tiles/list/tile-list.test.js +0 -13
- package/dist/test/tiles/list/tile-list.test.js.map +1 -1
- package/eslint.config.mjs +53 -53
- package/index.html +24 -24
- package/local.archive.org.cert +86 -86
- package/local.archive.org.key +27 -27
- package/package.json +117 -117
- package/renovate.json +6 -6
- package/src/collection-browser.ts +0 -1
- package/src/collection-facets/facet-row.ts +1 -2
- package/src/collection-facets/models.ts +10 -0
- package/src/collection-facets/more-facets-content.ts +636 -632
- package/src/collection-facets.ts +0 -1
- package/src/sort-filter-bar/sort-filter-bar.ts +1 -1
- package/src/tiles/grid/collection-tile.ts +2 -3
- package/src/tiles/grid/item-tile.ts +2 -2
- package/src/tiles/grid/search-tile.ts +2 -3
- package/src/tiles/grid/styles/tile-grid-shared-styles.ts +1 -2
- package/src/tiles/list/tile-list.ts +3 -11
- package/test/tiles/list/tile-list.test.ts +0 -15
- package/tsconfig.json +20 -20
- package/web-dev-server.config.mjs +30 -30
- package/web-test-runner.config.mjs +41 -41
|
@@ -213,8 +213,7 @@ export class FacetRow extends LitElement {
|
|
|
213
213
|
display: flex;
|
|
214
214
|
font-weight: 500;
|
|
215
215
|
font-size: 1.2rem;
|
|
216
|
-
margin:
|
|
217
|
-
padding: 0.5rem 0;
|
|
216
|
+
margin: 2.5px auto;
|
|
218
217
|
height: auto;
|
|
219
218
|
border-top: ${facetRowBorderTop};
|
|
220
219
|
border-bottom: ${facetRowBorderBottom};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Maximum number of aggregations to include in the More... facet dialogs.
|
|
3
|
+
*/
|
|
4
|
+
export const MORE_FACETS__MAX_AGGREGATIONS = 10000;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Default number of facets to show per page of the More... facet dialogs.
|
|
8
|
+
* Can be overridden via component property.
|
|
9
|
+
*/
|
|
10
|
+
export const MORE_FACETS__DEFAULT_PAGE_SIZE = 35;
|