@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.
Files changed (55) hide show
  1. package/.editorconfig +29 -29
  2. package/.github/workflows/ci.yml +27 -27
  3. package/.github/workflows/gh-pages-main.yml +39 -39
  4. package/.github/workflows/npm-publish.yml +39 -39
  5. package/.github/workflows/pr-preview.yml +38 -38
  6. package/.husky/pre-commit +4 -4
  7. package/.prettierignore +1 -1
  8. package/LICENSE +661 -661
  9. package/README.md +83 -83
  10. package/dist/src/collection-browser.js +0 -1
  11. package/dist/src/collection-browser.js.map +1 -1
  12. package/dist/src/collection-facets/facet-row.js +1 -2
  13. package/dist/src/collection-facets/facet-row.js.map +1 -1
  14. package/dist/src/collection-facets/models.d.ts +9 -0
  15. package/dist/src/collection-facets/models.js +10 -0
  16. package/dist/src/collection-facets/models.js.map +1 -0
  17. package/dist/src/collection-facets/more-facets-content.js +121 -120
  18. package/dist/src/collection-facets/more-facets-content.js.map +1 -1
  19. package/dist/src/collection-facets.js +0 -1
  20. package/dist/src/collection-facets.js.map +1 -1
  21. package/dist/src/sort-filter-bar/sort-filter-bar.js +1 -1
  22. package/dist/src/sort-filter-bar/sort-filter-bar.js.map +1 -1
  23. package/dist/src/tiles/grid/collection-tile.js +2 -3
  24. package/dist/src/tiles/grid/collection-tile.js.map +1 -1
  25. package/dist/src/tiles/grid/item-tile.js +2 -2
  26. package/dist/src/tiles/grid/item-tile.js.map +1 -1
  27. package/dist/src/tiles/grid/search-tile.js +2 -3
  28. package/dist/src/tiles/grid/search-tile.js.map +1 -1
  29. package/dist/src/tiles/grid/styles/tile-grid-shared-styles.js +1 -2
  30. package/dist/src/tiles/grid/styles/tile-grid-shared-styles.js.map +1 -1
  31. package/dist/src/tiles/list/tile-list.js +3 -13
  32. package/dist/src/tiles/list/tile-list.js.map +1 -1
  33. package/dist/test/tiles/list/tile-list.test.js +0 -13
  34. package/dist/test/tiles/list/tile-list.test.js.map +1 -1
  35. package/eslint.config.mjs +53 -53
  36. package/index.html +24 -24
  37. package/local.archive.org.cert +86 -86
  38. package/local.archive.org.key +27 -27
  39. package/package.json +117 -117
  40. package/renovate.json +6 -6
  41. package/src/collection-browser.ts +0 -1
  42. package/src/collection-facets/facet-row.ts +1 -2
  43. package/src/collection-facets/models.ts +10 -0
  44. package/src/collection-facets/more-facets-content.ts +636 -632
  45. package/src/collection-facets.ts +0 -1
  46. package/src/sort-filter-bar/sort-filter-bar.ts +1 -1
  47. package/src/tiles/grid/collection-tile.ts +2 -3
  48. package/src/tiles/grid/item-tile.ts +2 -2
  49. package/src/tiles/grid/search-tile.ts +2 -3
  50. package/src/tiles/grid/styles/tile-grid-shared-styles.ts +1 -2
  51. package/src/tiles/list/tile-list.ts +3 -11
  52. package/test/tiles/list/tile-list.test.ts +0 -15
  53. package/tsconfig.json +20 -20
  54. package/web-dev-server.config.mjs +30 -30
  55. 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: 0 auto;
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;