@internetarchive/collection-browser 4.0.0 → 4.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 (48) 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/app-root.js +614 -614
  11. package/dist/src/app-root.js.map +1 -1
  12. package/dist/src/collection-browser.js +764 -764
  13. package/dist/src/collection-browser.js.map +1 -1
  14. package/dist/src/collection-facets/more-facets-content.js +121 -121
  15. package/dist/src/collection-facets/more-facets-content.js.map +1 -1
  16. package/dist/src/data-source/collection-browser-query-state.js.map +1 -1
  17. package/dist/src/models.js.map +1 -1
  18. package/dist/src/tiles/grid/collection-tile.js +89 -89
  19. package/dist/src/tiles/grid/collection-tile.js.map +1 -1
  20. package/dist/src/tiles/grid/item-tile.js +138 -138
  21. package/dist/src/tiles/grid/item-tile.js.map +1 -1
  22. package/dist/src/tiles/hover/hover-pane-controller.js +28 -28
  23. package/dist/src/tiles/hover/hover-pane-controller.js.map +1 -1
  24. package/dist/src/tiles/models.js.map +1 -1
  25. package/dist/src/tiles/tile-dispatcher.js +216 -216
  26. package/dist/src/tiles/tile-dispatcher.js.map +1 -1
  27. package/dist/test/collection-browser.test.js +1 -1
  28. package/dist/test/collection-browser.test.js.map +1 -1
  29. package/eslint.config.mjs +53 -53
  30. package/index.html +24 -24
  31. package/local.archive.org.cert +86 -86
  32. package/local.archive.org.key +27 -27
  33. package/package.json +121 -119
  34. package/renovate.json +6 -6
  35. package/src/app-root.ts +1166 -1166
  36. package/src/collection-browser.ts +3075 -3075
  37. package/src/collection-facets/more-facets-content.ts +644 -644
  38. package/src/data-source/collection-browser-query-state.ts +59 -59
  39. package/src/models.ts +873 -873
  40. package/src/tiles/grid/collection-tile.ts +184 -184
  41. package/src/tiles/grid/item-tile.ts +346 -346
  42. package/src/tiles/hover/hover-pane-controller.ts +627 -627
  43. package/src/tiles/models.ts +8 -8
  44. package/src/tiles/tile-dispatcher.ts +518 -518
  45. package/test/collection-browser.test.ts +1 -1
  46. package/tsconfig.json +25 -25
  47. package/web-dev-server.config.mjs +30 -30
  48. package/web-test-runner.config.mjs +52 -41
@@ -1,8 +1,8 @@
1
- /**
2
- * What type of simplified tile layout to use.
3
- * - `default`: Do not apply any layout simplifications.
4
- * - `stats-only`: Only show the tile stats row, but not text snippets.
5
- * - `snippets-only`: Only show the text snippets row (if snippets exist), but not tile stats.
6
- * - `minimal`: Show neither tile stats nor the text snippets.
7
- */
8
- export type LayoutType = 'default' | 'stats-only' | 'snippets-only' | 'minimal';
1
+ /**
2
+ * What type of simplified tile layout to use.
3
+ * - `default`: Do not apply any layout simplifications.
4
+ * - `stats-only`: Only show the tile stats row, but not text snippets.
5
+ * - `snippets-only`: Only show the text snippets row (if snippets exist), but not tile stats.
6
+ * - `minimal`: Show neither tile stats nor the text snippets.
7
+ */
8
+ export type LayoutType = 'default' | 'stats-only' | 'snippets-only' | 'minimal';