@internetarchive/collection-browser 4.3.1-alpha-webdev8257.0 → 4.3.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 (41) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.js.map +1 -1
  3. package/dist/src/app-root.d.ts +0 -8
  4. package/dist/src/app-root.js +672 -698
  5. package/dist/src/app-root.js.map +1 -1
  6. package/dist/src/collection-browser.d.ts +0 -8
  7. package/dist/src/collection-browser.js +762 -779
  8. package/dist/src/collection-browser.js.map +1 -1
  9. package/dist/src/tiles/base-tile-component.d.ts +1 -17
  10. package/dist/src/tiles/base-tile-component.js +1 -48
  11. package/dist/src/tiles/base-tile-component.js.map +1 -1
  12. package/dist/src/tiles/grid/item-tile.js +138 -139
  13. package/dist/src/tiles/grid/item-tile.js.map +1 -1
  14. package/dist/src/tiles/list/tile-list-compact-header.js +46 -66
  15. package/dist/src/tiles/list/tile-list-compact-header.js.map +1 -1
  16. package/dist/src/tiles/list/tile-list-compact.d.ts +1 -1
  17. package/dist/src/tiles/list/tile-list-compact.js +100 -132
  18. package/dist/src/tiles/list/tile-list-compact.js.map +1 -1
  19. package/dist/src/tiles/list/tile-list.d.ts +1 -1
  20. package/dist/src/tiles/list/tile-list.js +298 -316
  21. package/dist/src/tiles/list/tile-list.js.map +1 -1
  22. package/dist/src/tiles/models.d.ts +0 -14
  23. package/dist/src/tiles/models.js.map +1 -1
  24. package/dist/src/tiles/tile-dispatcher.d.ts +0 -14
  25. package/dist/src/tiles/tile-dispatcher.js +216 -319
  26. package/dist/src/tiles/tile-dispatcher.js.map +1 -1
  27. package/index.ts +28 -29
  28. package/package.json +2 -2
  29. package/src/app-root.ts +1251 -1281
  30. package/src/collection-browser.ts +3049 -3063
  31. package/src/tiles/base-tile-component.ts +65 -121
  32. package/src/tiles/grid/item-tile.ts +346 -347
  33. package/src/tiles/list/tile-list-compact-header.ts +86 -106
  34. package/src/tiles/list/tile-list-compact.ts +239 -273
  35. package/src/tiles/list/tile-list.ts +700 -718
  36. package/src/tiles/models.ts +8 -24
  37. package/src/tiles/tile-dispatcher.ts +527 -637
  38. package/dist/src/styles/tile-action-styles.d.ts +0 -14
  39. package/dist/src/styles/tile-action-styles.js +0 -52
  40. package/dist/src/styles/tile-action-styles.js.map +0 -1
  41. package/src/styles/tile-action-styles.ts +0 -52
@@ -1,24 +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';
9
-
10
- /**
11
- * Describes an action button to render at the bottom of a tile.
12
- * Styling is controlled via CSS custom properties on the host:
13
- * - `--tileActionColor` (default: #333)
14
- * - `--tileActionBg` (default: #fff)
15
- * - `--tileActionHoverBg` (default: #f0f0f0)
16
- * - `--tileActionSeparatorColor` (default: #ddd)
17
- */
18
- export interface TileAction {
19
- /** Unique identifier for this action */
20
- id: string;
21
-
22
- /** Label text displayed on the button */
23
- label: string;
24
- }
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';