@internetarchive/collection-browser 4.0.1 → 4.0.2

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 (51) 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/index.d.ts +1 -0
  11. package/dist/index.js.map +1 -1
  12. package/dist/src/app-root.js +614 -614
  13. package/dist/src/app-root.js.map +1 -1
  14. package/dist/src/collection-browser.js +764 -764
  15. package/dist/src/collection-browser.js.map +1 -1
  16. package/dist/src/collection-facets/more-facets-content.js +121 -121
  17. package/dist/src/collection-facets/more-facets-content.js.map +1 -1
  18. package/dist/src/data-source/collection-browser-query-state.js.map +1 -1
  19. package/dist/src/models.js.map +1 -1
  20. package/dist/src/tiles/grid/collection-tile.js +89 -89
  21. package/dist/src/tiles/grid/collection-tile.js.map +1 -1
  22. package/dist/src/tiles/grid/item-tile.js +138 -138
  23. package/dist/src/tiles/grid/item-tile.js.map +1 -1
  24. package/dist/src/tiles/hover/hover-pane-controller.js +28 -28
  25. package/dist/src/tiles/hover/hover-pane-controller.js.map +1 -1
  26. package/dist/src/tiles/models.js.map +1 -1
  27. package/dist/src/tiles/tile-dispatcher.js +216 -216
  28. package/dist/src/tiles/tile-dispatcher.js.map +1 -1
  29. package/dist/test/collection-browser.test.js +189 -189
  30. package/dist/test/collection-browser.test.js.map +1 -1
  31. package/eslint.config.mjs +53 -53
  32. package/index.html +24 -24
  33. package/index.ts +28 -27
  34. package/local.archive.org.cert +86 -86
  35. package/local.archive.org.key +27 -27
  36. package/package.json +121 -121
  37. package/renovate.json +6 -6
  38. package/src/app-root.ts +1166 -1166
  39. package/src/collection-browser.ts +3075 -3075
  40. package/src/collection-facets/more-facets-content.ts +644 -644
  41. package/src/data-source/collection-browser-query-state.ts +59 -59
  42. package/src/models.ts +873 -873
  43. package/src/tiles/grid/collection-tile.ts +184 -184
  44. package/src/tiles/grid/item-tile.ts +346 -346
  45. package/src/tiles/hover/hover-pane-controller.ts +627 -627
  46. package/src/tiles/models.ts +8 -8
  47. package/src/tiles/tile-dispatcher.ts +518 -518
  48. package/test/collection-browser.test.ts +2413 -2413
  49. package/tsconfig.json +25 -25
  50. package/web-dev-server.config.mjs +30 -30
  51. package/web-test-runner.config.mjs +52 -52
@@ -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';