@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.
- 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/index.d.ts +1 -0
- package/dist/index.js.map +1 -1
- package/dist/src/app-root.js +614 -614
- package/dist/src/app-root.js.map +1 -1
- package/dist/src/collection-browser.js +764 -764
- package/dist/src/collection-browser.js.map +1 -1
- package/dist/src/collection-facets/more-facets-content.js +121 -121
- package/dist/src/collection-facets/more-facets-content.js.map +1 -1
- package/dist/src/data-source/collection-browser-query-state.js.map +1 -1
- package/dist/src/models.js.map +1 -1
- package/dist/src/tiles/grid/collection-tile.js +89 -89
- package/dist/src/tiles/grid/collection-tile.js.map +1 -1
- package/dist/src/tiles/grid/item-tile.js +138 -138
- package/dist/src/tiles/grid/item-tile.js.map +1 -1
- package/dist/src/tiles/hover/hover-pane-controller.js +28 -28
- package/dist/src/tiles/hover/hover-pane-controller.js.map +1 -1
- package/dist/src/tiles/models.js.map +1 -1
- package/dist/src/tiles/tile-dispatcher.js +216 -216
- package/dist/src/tiles/tile-dispatcher.js.map +1 -1
- package/dist/test/collection-browser.test.js +189 -189
- package/dist/test/collection-browser.test.js.map +1 -1
- package/eslint.config.mjs +53 -53
- package/index.html +24 -24
- package/index.ts +28 -27
- package/local.archive.org.cert +86 -86
- package/local.archive.org.key +27 -27
- package/package.json +121 -121
- package/renovate.json +6 -6
- package/src/app-root.ts +1166 -1166
- package/src/collection-browser.ts +3075 -3075
- package/src/collection-facets/more-facets-content.ts +644 -644
- package/src/data-source/collection-browser-query-state.ts +59 -59
- package/src/models.ts +873 -873
- package/src/tiles/grid/collection-tile.ts +184 -184
- package/src/tiles/grid/item-tile.ts +346 -346
- package/src/tiles/hover/hover-pane-controller.ts +627 -627
- package/src/tiles/models.ts +8 -8
- package/src/tiles/tile-dispatcher.ts +518 -518
- package/test/collection-browser.test.ts +2413 -2413
- package/tsconfig.json +25 -25
- package/web-dev-server.config.mjs +30 -30
- package/web-test-runner.config.mjs +52 -52
package/src/tiles/models.ts
CHANGED
|
@@ -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';
|