@internetarchive/collection-browser 3.0.1-webdev-7936.0 → 3.0.2-alpha1

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/src/collection-browser.js +0 -1
  2. package/dist/src/collection-browser.js.map +1 -1
  3. package/dist/src/collection-facets/facet-row.js +1 -2
  4. package/dist/src/collection-facets/facet-row.js.map +1 -1
  5. package/dist/src/collection-facets/models.d.ts +9 -0
  6. package/dist/src/collection-facets/models.js +10 -0
  7. package/dist/src/collection-facets/models.js.map +1 -0
  8. package/dist/src/collection-facets/more-facets-content.js +3 -2
  9. package/dist/src/collection-facets/more-facets-content.js.map +1 -1
  10. package/dist/src/collection-facets.js +0 -1
  11. package/dist/src/collection-facets.js.map +1 -1
  12. package/dist/src/manage/manage-bar.js +1 -1
  13. package/dist/src/manage/manage-bar.js.map +1 -1
  14. package/dist/src/sort-filter-bar/sort-filter-bar.js +1 -1
  15. package/dist/src/sort-filter-bar/sort-filter-bar.js.map +1 -1
  16. package/dist/src/tiles/grid/collection-tile.js +2 -3
  17. package/dist/src/tiles/grid/collection-tile.js.map +1 -1
  18. package/dist/src/tiles/grid/item-tile.js +2 -2
  19. package/dist/src/tiles/grid/item-tile.js.map +1 -1
  20. package/dist/src/tiles/grid/search-tile.js +2 -3
  21. package/dist/src/tiles/grid/search-tile.js.map +1 -1
  22. package/dist/src/tiles/grid/styles/tile-grid-shared-styles.js +1 -2
  23. package/dist/src/tiles/grid/styles/tile-grid-shared-styles.js.map +1 -1
  24. package/dist/src/tiles/list/tile-list.js +3 -13
  25. package/dist/src/tiles/list/tile-list.js.map +1 -1
  26. package/dist/test/tiles/list/tile-list.test.js +0 -13
  27. package/dist/test/tiles/list/tile-list.test.js.map +1 -1
  28. package/package.json +2 -2
  29. package/src/collection-browser.ts +0 -1
  30. package/src/collection-facets/facet-row.ts +1 -2
  31. package/src/collection-facets/models.ts +10 -0
  32. package/src/collection-facets/more-facets-content.ts +6 -2
  33. package/src/collection-facets.ts +0 -1
  34. package/src/manage/manage-bar.ts +1 -1
  35. package/src/sort-filter-bar/sort-filter-bar.ts +1 -1
  36. package/src/tiles/grid/collection-tile.ts +2 -3
  37. package/src/tiles/grid/item-tile.ts +2 -2
  38. package/src/tiles/grid/search-tile.ts +2 -3
  39. package/src/tiles/grid/styles/tile-grid-shared-styles.ts +1 -2
  40. package/src/tiles/list/tile-list.ts +3 -11
  41. package/test/tiles/list/tile-list.test.ts +0 -15
@@ -49,20 +49,6 @@ describe('List Tile', () => {
49
49
  expect(title?.getAttribute('href')).to.equal('/foo/bar');
50
50
  });
51
51
 
52
- it('should add title to image link if provided', async () => {
53
- const el = await fixture<TileList>(html`
54
- <tile-list
55
- .baseNavigationUrl=${''}
56
- .model=${{ title: 'foo', href: '/foo/bar' }}
57
- ></tile-list>
58
- `);
59
-
60
- const imageLink = el.shadowRoot?.querySelector('#image-link');
61
-
62
- expect(imageLink).to.exist;
63
- expect(imageLink?.getAttribute('title')).to.equal('View foo');
64
- });
65
-
66
52
  it('should render with creator element but not dates', async () => {
67
53
  const el = await fixture<TileList>(html`
68
54
  <tile-list .model=${{ creators: ['someone'] }}></tile-list>
@@ -338,7 +324,6 @@ describe('List Tile', () => {
338
324
  expect(mediatypeLink?.getAttribute('href')).to.equal(
339
325
  `https://archive.org/details/texts`,
340
326
  );
341
- expect(mediatypeLink?.getAttribute('title')).to.equal('See more: texts');
342
327
  });
343
328
 
344
329
  it('should render mediatype icon as link even with empty baseNavigationUrl', async () => {