Updates all the CSS files to be scoped only to apply inside an element with the editioncrafter class, which is applied to the outermost div of the component. This should fix issues with embedding the component in sites with their own CSS, where previously we were experiencing clashes (for example, link text turning red because EditionCrafter was applying styles to <a> elements globally). This should also help with issues where utilities like Tailwind or Bootstrap were imposing their own styling on elements within the viewer that had semantic or utility class names (e.g. thumbnail, fixed, sticky, etc.).
Improves error handling in the case that there is no image data associated with a canvas in the IIIF manifest; the current fix is to just not include that canvas on the list of folios. This avoids an infinite loop in which the grid view continually attempts to load an image that doesn't exist.
Updates the version number to 1.0.1 in preparation for a new release.
In this PR
editioncrafter
class, which is applied to the outermost div of the component. This should fix issues with embedding the component in sites with their own CSS, where previously we were experiencing clashes (for example, link text turning red because EditionCrafter was applying styles to<a>
elements globally). This should also help with issues where utilities like Tailwind or Bootstrap were imposing their own styling on elements within the viewer that had semantic or utility class names (e.g.thumbnail
,fixed
,sticky
, etc.).