From 9be5a4f1fea32bb4dae254799326d1be3a5cce62 Mon Sep 17 00:00:00 2001 From: Chris Beer Date: Tue, 12 Nov 2024 10:10:11 -0800 Subject: [PATCH] Convert projectmirador/mirador to a monorepo --- package.json | 136 +----------- .../mirador/.eslintignore | 0 .eslintrc => packages/mirador/.eslintrc | 0 packages/mirador/LICENSE | 203 ++++++++++++++++++ packages/mirador/README.md | 112 ++++++++++ .../mirador/__mocks__}/css.js | 0 .../fixtures/config/export.example.json | 0 .../__tests__}/fixtures/version-2/001.json | 0 .../__tests__}/fixtures/version-2/002.json | 0 .../__tests__}/fixtures/version-2/015.json | 0 .../__tests__}/fixtures/version-2/019.json | 0 .../__tests__}/fixtures/version-2/024.json | 0 .../fixtures/version-2/2017498721.json | 0 .../__tests__}/fixtures/version-2/299843.json | 0 .../BibliographicResource_3000126341277.json | 0 .../fixtures/version-2/Osbornfa1.json | 0 .../version-2/annotationMiradorDual.json | 0 .../__tests__}/fixtures/version-2/broken.json | 0 .../fixtures/version-2/canvasService.json | 0 .../fixtures/version-2/collection.json | 0 .../fixtures/version-2/emptyCanvas.json | 0 .../fixtures/version-2/fg165hz3589.json | 0 .../__tests__}/fixtures/version-2/gau.json | 0 .../fixtures/version-2/hamilton.json | 0 .../fixtures/version-2/iiifauth.json | 0 .../fixtures/version-2/minimumRequired.json | 0 .../fixtures/version-2/multipleSequences.json | 0 .../fixtures/version-2/related.json | 0 .../fixtures/version-2/sn904cj3429.json | 0 .../fixtures/version-2/structures.json | 0 .../fixtures/version-2/zeroWidthCanvas.json | 0 .../fixtures/version-3/0002-mvm-audio.json | 0 .../__tests__}/fixtures/version-3/001.json | 0 .../fixtures/version-3/0015-start.json | 0 .../fixtures/version-3/hamilton.json | 0 .../fixtures/version-3/minimumRequired.json | 0 .../fixtures/version-3/structures.json | 0 .../video_with_annotation_captions.json | 0 .../fixtures/version-3/with_a_provider.json | 0 .../integration/mirador/annotations.test.js | 0 .../__tests__}/integration/mirador/auth.html | 0 .../integration/mirador/basic.test.js | 0 .../__tests__}/integration/mirador/blank.html | 0 .../integration/mirador/collections.html | 0 .../mirador/companion_windows.test.js | 0 .../integration/mirador/contentsearch.html | 0 .../integration/mirador/embedding.html | 0 .../integration/mirador/iframe.html | 0 .../integration/mirador/import_export.js | 0 .../__tests__}/integration/mirador/index.html | 0 .../mirador/invalid-api-response.test.js | 0 .../mirador/language_switching.test.js | 0 .../integration/mirador/layers.html | 0 .../integration/mirador/level0.html | 0 .../integration/mirador/minimalist.html | 0 .../integration/mirador/minimalist.test.js | 0 .../integration/mirador/plugins/add.html | 0 .../integration/mirador/plugins/add.test.js | 0 .../mirador/plugins/companionWindow.html | 0 .../mirador/plugins/companionWindow.test.js | 0 .../integration/mirador/plugins/priority.html | 0 .../mirador/plugins/priority.test.js | 0 .../integration/mirador/plugins/state.html | 0 .../integration/mirador/plugins/state.test.js | 0 .../integration/mirador/plugins/validate.html | 0 .../mirador/plugins/validate.test.js | 0 .../integration/mirador/plugins/wrap.html | 0 .../integration/mirador/plugins/wrap.test.js | 0 .../__tests__}/integration/mirador/rtl.html | 0 .../mirador/sequence_switching.test.js | 0 .../integration/mirador/svg_annos.html | 0 .../mirador/thumbnail-navigation.test.js | 0 .../__tests__}/integration/mirador/toc.html | 0 .../__tests__}/integration/mirador/v3.html | 0 .../__tests__}/integration/mirador/video.html | 0 .../mirador/window_actions.test.js | 0 .../mirador/window_sidebar.test.js | 0 .../__tests__}/src/actions/annotation.test.js | 0 .../__tests__}/src/actions/auth.test.js | 0 .../__tests__}/src/actions/canvas.test.js | 0 .../__tests__}/src/actions/catalog.test.js | 0 .../src/actions/companionWindow.test.js | 0 .../__tests__}/src/actions/config.test.js | 0 .../src/actions/elasticLayout.test.js | 0 .../__tests__}/src/actions/errors.test.js | 0 .../src/actions/infoResponse.test.js | 0 .../__tests__}/src/actions/layers.test.js | 0 .../__tests__}/src/actions/manifest.test.js | 0 .../__tests__}/src/actions/search.test.js | 0 .../__tests__}/src/actions/window.test.js | 0 .../__tests__}/src/actions/workspace.test.js | 0 .../src/components/AccessTokenSender.test.js | 0 .../src/components/AnnotationSettings.test.js | 0 .../src/components/AnnotationsOverlay.test.js | 0 .../__tests__}/src/components/App.test.js | 0 .../src/components/AppProviders.test.js | 0 .../src/components/AttributionPanel.test.js | 0 .../src/components/AudioViewer.test.js | 0 .../components/BackgroundPluginArea.test.js | 0 .../src/components/Branding.test.js | 0 .../src/components/CanvasAnnotations.test.js | 0 .../src/components/CanvasInfo.test.js | 0 .../src/components/CanvasLayers.test.js | 0 .../src/components/ChangeThemeDialog.test.js | 0 .../src/components/CollapsibleSection.test.js | 0 .../src/components/CollectionDialog.test.js | 0 .../src/components/CollectionInfo.test.js | 0 .../src/components/CompanionArea.test.js | 0 .../src/components/CompanionWindow.test.js | 0 .../components/CompanionWindowFactory.test.js | 0 .../src/components/ErrorContent.test.js | 0 .../src/components/ErrorDialog.test.js | 0 .../src/components/FullScreenButton.test.js | 0 .../src/components/GalleryView.test.js | 0 .../components/GalleryViewThumbnail.test.js | 0 .../src/components/IIIFAuthentication.test.js | 0 .../src/components/IIIFDropTarget.test.js | 0 .../IIIFIFrameCommunication.test.js | 0 .../src/components/IIIFThumbnail.test.js | 0 .../src/components/LabelValueMetadata.test.js | 0 .../src/components/LanguageSettings.test.js | 0 .../src/components/LayersPanel.test.js | 0 .../src/components/LocalePicker.test.js | 0 .../src/components/ManifestForm.test.js | 0 .../src/components/ManifestInfo.test.js | 0 .../src/components/ManifestListItem.test.js | 0 .../components/ManifestListItemError.test.js | 0 .../components/ManifestRelatedLinks.test.js | 0 .../src/components/MiradorMenuButton.test.js | 0 .../components/MosaicRenderPreview.test.js | 0 .../src/components/NestedMenu.test.js | 0 .../src/components/NewWindow.test.js | 0 .../components/OpenSeadragonViewer.test.js | 0 .../src/components/PluginHook.test.js | 0 .../src/components/PrimaryWindow.test.js | 0 .../src/components/SanitizedHtml.test.js | 0 .../ScrollIndicatedDialogContent.test.js | 0 .../src/components/ScrollTo.test.js | 0 .../src/components/SearchHit.test.js | 0 .../src/components/SearchPanel.test.js | 0 .../components/SearchPanelControls.test.js | 0 .../components/SearchPanelNavigation.test.js | 0 .../src/components/SearchResults.test.js | 0 .../src/components/SidebarIndexItem.test.js | 0 .../src/components/SidebarIndexList.test.js | 0 .../SidebarIndexTableOfContents.test.js | 0 .../components/SidebarIndexThumbnail.test.js | 0 .../ThumbnailCanvasGrouping.test.js | 0 .../components/ThumbnailNavigation.test.js | 0 .../src/components/VideoViewer.test.js | 0 .../src/components/ViewerInfo.test.js | 0 .../src/components/ViewerNavigation.test.js | 0 .../__tests__}/src/components/Window.test.js | 0 .../WindowAuthenticationBar.test.js | 0 .../WindowCanvasNavigationControls.test.js | 0 .../src/components/WindowList.test.js | 0 .../src/components/WindowListButton.test.js | 0 .../src/components/WindowSideBar.test.js | 0 .../WindowSideBarAnnotationsPanel.test.js | 0 .../components/WindowSideBarButtons.test.js | 0 .../WindowSideBarCanvasPanel.test.js | 0 .../components/WindowSideBarInfoPanel.test.js | 0 .../WindowThumbnailSettings.test.js | 0 .../src/components/WindowTopBar.test.js | 0 .../components/WindowTopBarPluginArea.test.js | 0 .../components/WindowTopBarPluginMenu.test.js | 0 .../src/components/WindowTopBarTitle.test.js | 0 .../src/components/WindowTopMenu.test.js | 0 .../components/WindowTopMenuButton.test.js | 0 .../src/components/WindowViewSettings.test.js | 0 .../src/components/WindowViewer.test.js | 0 .../src/components/Workspace.test.js | 0 .../src/components/WorkspaceAdd.test.js | 0 .../src/components/WorkspaceAddButton.test.js | 0 .../src/components/WorkspaceArea.test.js | 0 .../components/WorkspaceControlPanel.test.js | 0 .../WorkspaceControlPanelButtons.test.js | 0 .../src/components/WorkspaceElastic.test.js | 0 .../components/WorkspaceElasticWindow.test.js | 0 .../src/components/WorkspaceExport.test.js | 0 .../src/components/WorkspaceImport.test.js | 0 .../src/components/WorkspaceMenu.test.js | 0 .../components/WorkspaceMenuButton.test.js | 0 .../src/components/WorkspaceMosaic.test.js | 0 .../components/WorkspaceOptionsButton.test.js | 0 .../components/WorkspaceOptionsMenu.test.js | 0 .../WorkspaceSelectionDialog.test.js | 0 .../src/components/ZoomControls.test.js | 0 .../src/extend/pluginMapping.test.js | 0 .../src/extend/pluginPreprocessing.test.js | 0 .../src/extend/pluginValidation.test.js | 0 .../__tests__}/src/extend/withPlugins.test.js | 0 .../__tests__}/src/extend/withSize.test.js | 0 .../src/lib/AnnotationFactory.test.js | 0 .../__tests__}/src/lib/AnnotationItem.test.js | 0 .../__tests__}/src/lib/AnnotationList.test.js | 0 .../__tests__}/src/lib/AnnotationPage.test.js | 0 .../src/lib/AnnotationResource.test.js | 0 .../src/lib/CanvasAnnotationDisplay.test.js | 0 .../src/lib/CanvasGroupings.test.js | 0 .../__tests__}/src/lib/CanvasWorld.test.js | 0 .../__tests__}/src/lib/MiradorCanvas.test.js | 0 .../src/lib/MiradorManifest.test.js | 0 .../__tests__}/src/lib/MiradorViewer.test.js | 0 .../__tests__}/src/lib/MosaicLayout.test.js | 0 .../lib/OpenSeadragonCanvasOverlay.test.js | 0 .../src/lib/ThumbnailFactory.test.js | 0 .../__tests__}/src/lib/TruncatedHit.test.js | 0 .../src/reducers/accessTokens.test.js | 0 .../src/reducers/annotations.test.js | 0 .../__tests__}/src/reducers/auth.test.js | 0 .../__tests__}/src/reducers/catalog.test.js | 0 .../src/reducers/companionWindows.test.js | 0 .../__tests__}/src/reducers/config.test.js | 0 .../src/reducers/elasticLayout.test.js | 0 .../__tests__}/src/reducers/errors.test.js | 0 .../src/reducers/infoResponse.test.js | 0 .../__tests__}/src/reducers/layers.test.js | 0 .../__tests__}/src/reducers/manifests.test.js | 0 .../__tests__}/src/reducers/search.test.js | 0 .../__tests__}/src/reducers/utils.test.js | 0 .../__tests__}/src/reducers/viewers.test.js | 0 .../__tests__}/src/reducers/windows.test.js | 0 .../__tests__}/src/reducers/workspace.test.js | 0 .../__tests__}/src/sagas/annotations.test.js | 0 .../mirador/__tests__}/src/sagas/app.test.js | 0 .../mirador/__tests__}/src/sagas/auth.test.js | 0 .../mirador/__tests__}/src/sagas/iiif.test.js | 0 .../__tests__}/src/sagas/windows.test.js | 0 .../src/selectors/annotations.test.js | 0 .../__tests__}/src/selectors/auth.test.js | 0 .../__tests__}/src/selectors/canvases.test.js | 0 .../src/selectors/companionWindows.test.js | 0 .../__tests__}/src/selectors/config.test.js | 0 .../__tests__}/src/selectors/getters.test.js | 0 .../__tests__}/src/selectors/index.test.js | 0 .../__tests__}/src/selectors/layers.test.js | 0 .../src/selectors/manifests.test.js | 0 .../__tests__}/src/selectors/ranges.test.js | 0 .../__tests__}/src/selectors/searches.test.js | 0 .../src/selectors/sequences.test.js | 0 .../__tests__}/src/selectors/viewer.test.js | 0 .../__tests__}/src/selectors/windows.test.js | 0 .../src/selectors/workspace.test.js | 0 .../mirador/__tests__}/utils/test-utils.js | 0 .../mirador/babel.config.js | 0 .../mirador/bundlewatch.config.json | 0 .../mirador/jest-puppeteer.config.js | 0 jest.json => packages/mirador/jest.json | 0 packages/mirador/package.json | 139 ++++++++++++ .../mirador/scripts}/container-lint.js | 0 .../mirador/scripts}/i18n-lint.js | 0 setupJest.js => packages/mirador/setupJest.js | 0 .../mirador/setupJestIntegration.js | 0 .../src}/components/AccessTokenSender.js | 0 .../src}/components/AnnotationSettings.js | 0 .../src}/components/AnnotationsOverlay.js | 0 .../mirador/src}/components/App.js | 0 .../mirador/src}/components/AppProviders.js | 0 .../src}/components/AttributionPanel.js | 0 .../mirador/src}/components/AudioViewer.js | 0 .../src}/components/BackgroundPluginArea.js | 0 .../mirador/src}/components/Branding.js | 0 .../src}/components/CanvasAnnotations.js | 0 .../mirador/src}/components/CanvasInfo.js | 0 .../mirador/src}/components/CanvasLayers.js | 0 .../src}/components/ChangeThemeDialog.js | 0 .../src}/components/CollapsibleSection.js | 0 .../src}/components/CollectionDialog.js | 0 .../mirador/src}/components/CollectionInfo.js | 0 .../mirador/src}/components/CompanionArea.js | 0 .../src}/components/CompanionWindow.js | 0 .../src}/components/CompanionWindowFactory.js | 0 .../src}/components/CompanionWindowSection.js | 0 .../mirador/src}/components/CustomPanel.js | 0 .../mirador/src}/components/ErrorContent.js | 0 .../mirador/src}/components/ErrorDialog.js | 0 .../src}/components/FullScreenButton.js | 0 .../mirador/src}/components/GalleryView.js | 0 .../src}/components/GalleryViewThumbnail.js | 0 .../src}/components/IIIFAuthentication.js | 0 .../mirador/src}/components/IIIFDropTarget.js | 0 .../components/IIIFIFrameCommunication.js | 0 .../mirador/src}/components/IIIFThumbnail.js | 0 .../src}/components/LabelValueMetadata.js | 0 .../src}/components/LanguageSettings.js | 0 .../mirador/src}/components/LayersPanel.js | 0 .../mirador/src}/components/LocalePicker.js | 0 .../mirador/src}/components/ManifestForm.js | 0 .../mirador/src}/components/ManifestInfo.js | 0 .../src}/components/ManifestListItem.js | 0 .../src}/components/ManifestListItemError.js | 0 .../src}/components/ManifestRelatedLinks.js | 0 .../mirador/src}/components/MinimalWindow.js | 0 .../src}/components/MiradorMenuButton.js | 0 .../src}/components/MosaicRenderPreview.js | 0 .../mirador/src}/components/NestedMenu.js | 0 .../mirador/src}/components/NewWindow.js | 0 .../src}/components/OpenSeadragonViewer.js | 0 .../mirador/src}/components/PluginHook.js | 0 .../mirador/src}/components/PrimaryWindow.js | 0 .../mirador/src}/components/SanitizedHtml.js | 0 .../ScrollIndicatedDialogContent.js | 0 .../mirador/src}/components/ScrollTo.js | 0 .../mirador/src}/components/SearchHit.js | 0 .../mirador/src}/components/SearchPanel.js | 0 .../src}/components/SearchPanelControls.js | 0 .../src}/components/SearchPanelNavigation.js | 0 .../mirador/src}/components/SearchResults.js | 0 .../src}/components/SelectCollection.js | 0 .../src}/components/SidebarIndexItem.js | 0 .../src}/components/SidebarIndexList.js | 0 .../components/SidebarIndexTableOfContents.js | 0 .../src}/components/SidebarIndexThumbnail.js | 0 .../components/ThumbnailCanvasGrouping.js | 0 .../src}/components/ThumbnailNavigation.js | 0 .../mirador/src}/components/VideoViewer.js | 0 .../mirador/src}/components/ViewerInfo.js | 0 .../src}/components/ViewerNavigation.js | 0 .../mirador/src}/components/Window.js | 0 .../components/WindowAuthenticationBar.js | 0 .../WindowCanvasNavigationControls.js | 0 .../mirador/src}/components/WindowList.js | 0 .../src}/components/WindowListButton.js | 0 .../mirador/src}/components/WindowSideBar.js | 0 .../WindowSideBarAnnotationsPanel.js | 0 .../src}/components/WindowSideBarButtons.js | 0 .../components/WindowSideBarCanvasPanel.js | 0 .../WindowSideBarCollectionPanel.js | 0 .../src}/components/WindowSideBarInfoPanel.js | 0 .../components/WindowThumbnailSettings.js | 0 .../mirador/src}/components/WindowTopBar.js | 0 .../src}/components/WindowTopBarPluginArea.js | 0 .../src}/components/WindowTopBarPluginMenu.js | 0 .../src}/components/WindowTopBarTitle.js | 0 .../mirador/src}/components/WindowTopMenu.js | 0 .../src}/components/WindowTopMenuButton.js | 0 .../src}/components/WindowViewSettings.js | 0 .../mirador/src}/components/WindowViewer.js | 0 .../mirador/src}/components/Workspace.js | 0 .../mirador/src}/components/WorkspaceAdd.js | 0 .../src}/components/WorkspaceAddButton.js | 0 .../mirador/src}/components/WorkspaceArea.js | 0 .../src}/components/WorkspaceControlPanel.js | 0 .../WorkspaceControlPanelButtons.js | 0 .../src}/components/WorkspaceDialog.js | 0 .../src}/components/WorkspaceElastic.js | 0 .../src}/components/WorkspaceElasticWindow.js | 0 .../src}/components/WorkspaceExport.js | 0 .../src}/components/WorkspaceImport.js | 0 .../mirador/src}/components/WorkspaceMenu.js | 0 .../src}/components/WorkspaceMenuButton.js | 0 .../src}/components/WorkspaceMosaic.js | 0 .../src}/components/WorkspaceOptionsButton.js | 0 .../src}/components/WorkspaceOptionsMenu.js | 0 .../components/WorkspaceSelectionDialog.js | 0 .../mirador/src}/components/ZoomControls.js | 0 .../src}/components/icons/BookViewIcon.js | 0 .../src}/components/icons/CanvasIndexIcon.js | 0 .../src}/components/icons/GalleryViewIcon.js | 0 .../src}/components/icons/MiradorIcon.js | 0 .../src}/components/icons/RestoreZoomIcon.js | 0 .../icons/ThumbnailNavigationBottomIcon.js | 0 .../icons/ThumbnailNavigationRightIcon.js | 0 .../src}/components/icons/WindowMaxIcon.js | 0 .../src}/components/icons/WindowMinIcon.js | 0 .../components/icons/WindowOptionsIcon.js | 0 .../icons/WorkspaceTypeElasticIcon.js | 0 .../icons/WorkspaceTypeMosaicIcon.js | 0 .../mirador/src}/config/css-ns.js | 0 .../mirador/src}/config/settings.js | 0 .../src}/containers/AnnotationSettings.js | 0 .../src}/containers/AnnotationsOverlay.js | 0 .../mirador/src}/containers/AppProviders.js | 0 .../src}/containers/AttributionPanel.js | 0 .../mirador/src}/containers/AudioViewer.js | 0 .../src}/containers/BackgroundPluginArea.js | 0 .../mirador/src}/containers/Branding.js | 0 .../src}/containers/CanvasAnnotations.js | 0 .../mirador/src}/containers/CanvasInfo.js | 0 .../mirador/src}/containers/CanvasLayers.js | 0 .../src}/containers/ChangeThemeDialog.js | 0 .../src}/containers/CollapsibleSection.js | 0 .../src}/containers/CollectionDialog.js | 0 .../mirador/src}/containers/CollectionInfo.js | 0 .../mirador/src}/containers/CompanionArea.js | 0 .../src}/containers/CompanionWindow.js | 0 .../src}/containers/CompanionWindowFactory.js | 0 .../mirador/src}/containers/CustomPanel.js | 0 .../mirador/src}/containers/ErrorContent.js | 0 .../mirador/src}/containers/ErrorDialog.js | 0 .../src}/containers/FullScreenButton.js | 0 .../mirador/src}/containers/GalleryView.js | 0 .../src}/containers/GalleryViewThumbnail.js | 0 .../src}/containers/IIIFAuthentication.js | 0 .../mirador/src}/containers/IIIFThumbnail.js | 0 .../src}/containers/LanguageSettings.js | 0 .../mirador/src}/containers/LayersPanel.js | 0 .../mirador/src}/containers/LocalePicker.js | 0 .../mirador/src}/containers/ManifestForm.js | 0 .../mirador/src}/containers/ManifestInfo.js | 0 .../src}/containers/ManifestListItem.js | 0 .../src}/containers/ManifestListItemError.js | 0 .../src}/containers/ManifestRelatedLinks.js | 0 .../mirador/src}/containers/MinimalWindow.js | 0 .../src}/containers/MiradorMenuButton.js | 0 .../src}/containers/MosaicRenderPreview.js | 0 .../src}/containers/OpenSeadragonViewer.js | 0 .../mirador/src}/containers/PrimaryWindow.js | 0 .../mirador/src}/containers/SanitizedHtml.js | 0 .../ScrollIndicatedDialogContent.js | 0 .../mirador/src}/containers/SearchHit.js | 0 .../mirador/src}/containers/SearchPanel.js | 0 .../src}/containers/SearchPanelControls.js | 0 .../src}/containers/SearchPanelNavigation.js | 0 .../mirador/src}/containers/SearchResults.js | 0 .../src}/containers/SelectCollection.js | 0 .../src}/containers/SidebarIndexItem.js | 0 .../src}/containers/SidebarIndexList.js | 0 .../containers/SidebarIndexTableOfContents.js | 0 .../src}/containers/SidebarIndexThumbnail.js | 0 .../containers/ThumbnailCanvasGrouping.js | 0 .../src}/containers/ThumbnailNavigation.js | 0 .../mirador/src}/containers/VideoViewer.js | 0 .../mirador/src}/containers/ViewerInfo.js | 0 .../src}/containers/ViewerNavigation.js | 0 .../mirador/src}/containers/Window.js | 0 .../containers/WindowAuthenticationBar.js | 0 .../WindowCanvasNavigationControls.js | 0 .../mirador/src}/containers/WindowList.js | 0 .../src}/containers/WindowListButton.js | 0 .../mirador/src}/containers/WindowSideBar.js | 0 .../WindowSideBarAnnotationsPanel.js | 0 .../src}/containers/WindowSideBarButtons.js | 0 .../containers/WindowSideBarCanvasPanel.js | 0 .../WindowSideBarCollectionPanel.js | 0 .../src}/containers/WindowSideBarInfoPanel.js | 0 .../containers/WindowThumbnailSettings.js | 0 .../mirador/src}/containers/WindowTopBar.js | 0 .../src}/containers/WindowTopBarPluginArea.js | 0 .../src}/containers/WindowTopBarPluginMenu.js | 0 .../src}/containers/WindowTopBarTitle.js | 0 .../mirador/src}/containers/WindowTopMenu.js | 0 .../src}/containers/WindowTopMenuButton.js | 0 .../src}/containers/WindowViewSettings.js | 0 .../mirador/src}/containers/WindowViewer.js | 0 .../mirador/src}/containers/Workspace.js | 0 .../mirador/src}/containers/WorkspaceAdd.js | 0 .../src}/containers/WorkspaceAddButton.js | 0 .../mirador/src}/containers/WorkspaceArea.js | 0 .../src}/containers/WorkspaceControlPanel.js | 0 .../WorkspaceControlPanelButtons.js | 0 .../src}/containers/WorkspaceElastic.js | 0 .../src}/containers/WorkspaceElasticWindow.js | 0 .../src}/containers/WorkspaceExport.js | 0 .../src}/containers/WorkspaceImport.js | 0 .../mirador/src}/containers/WorkspaceMenu.js | 0 .../src}/containers/WorkspaceMenuButton.js | 0 .../src}/containers/WorkspaceMosaic.js | 0 .../src}/containers/WorkspaceOptionsButton.js | 0 .../src}/containers/WorkspaceOptionsMenu.js | 0 .../containers/WorkspaceSelectionDialog.js | 0 .../mirador/src}/containers/ZoomControls.js | 0 .../src}/contexts/FullScreenContext.js | 0 .../mirador/src}/contexts/WorkspaceContext.js | 0 .../mirador/src}/extend/PluginContext.js | 0 .../mirador/src}/extend/PluginProvider.js | 0 .../mirador/src}/extend/pluginMapping.js | 0 .../src}/extend/pluginPreprocessing.js | 0 .../mirador/src}/extend/pluginValidation.js | 0 .../mirador/src}/extend/withPlugins.js | 0 .../mirador/src}/extend/withRef.js | 0 .../mirador/src}/extend/withSize.js | 0 {src => packages/mirador/src}/i18n.js | 0 {src => packages/mirador/src}/index.js | 0 {src => packages/mirador/src}/init.js | 0 .../mirador/src}/lib/AnnotationFactory.js | 0 .../mirador/src}/lib/AnnotationItem.js | 0 .../mirador/src}/lib/AnnotationList.js | 0 .../mirador/src}/lib/AnnotationPage.js | 0 .../mirador/src}/lib/AnnotationResource.js | 0 .../src}/lib/CanvasAnnotationDisplay.js | 0 .../mirador/src}/lib/CanvasGroupings.js | 0 .../mirador/src}/lib/CanvasWorld.js | 0 .../src}/lib/CompanionWindowRegistry.js | 0 .../mirador/src}/lib/MiradorCanvas.js | 0 .../mirador/src}/lib/MiradorManifest.js | 0 .../mirador/src}/lib/MiradorViewer.js | 0 .../mirador/src}/lib/MosaicLayout.js | 0 .../src}/lib/OpenSeadragonCanvasOverlay.js | 0 .../mirador/src}/lib/ThumbnailFactory.js | 0 .../mirador/src}/lib/TruncatedHit.js | 0 {src => packages/mirador/src}/lib/asArray.js | 0 .../mirador/src}/lib/htmlRules.js | 0 .../mirador/src}/lib/readImageMetadata.js | 0 .../mirador/src}/locales/README.md | 0 .../mirador/src}/locales/ar/translation.json | 0 .../mirador/src}/locales/bg/translation.json | 0 .../mirador/src}/locales/de/translation.json | 0 .../mirador/src}/locales/en/translation.json | 0 .../mirador/src}/locales/et/translation.json | 0 .../mirador/src}/locales/fa/translation.json | 0 .../mirador/src}/locales/fr/translation.json | 0 .../mirador/src}/locales/hr/translation.json | 0 .../mirador/src}/locales/it/translation.json | 0 .../mirador/src}/locales/ja/translation.json | 0 .../mirador/src}/locales/kr/translation.json | 0 .../mirador/src}/locales/lt/translation.json | 0 .../src}/locales/nbNo/translation.json | 0 .../mirador/src}/locales/nl/translation.json | 0 .../mirador/src}/locales/pl/translation.json | 0 .../src}/locales/ptBr/translation.json | 0 .../mirador/src}/locales/sr/translation.json | 0 .../mirador/src}/locales/sv/translation.json | 0 .../mirador/src}/locales/vi/translation.json | 0 .../src}/locales/zhCn/translation.json | 0 .../src}/locales/zhTw/translation.json | 0 .../mirador/src}/plugins/OSDReferences.js | 0 {src => packages/mirador/src}/polyfills.js | 0 .../src}/state/actions/action-types.js | 0 .../mirador/src}/state/actions/annotation.js | 0 .../mirador/src}/state/actions/auth.js | 0 .../mirador/src}/state/actions/canvas.js | 0 .../mirador/src}/state/actions/catalog.js | 0 .../src}/state/actions/companionWindow.js | 0 .../mirador/src}/state/actions/config.js | 0 .../src}/state/actions/elasticLayout.js | 0 .../mirador/src}/state/actions/errors.js | 0 .../mirador/src}/state/actions/index.js | 0 .../src}/state/actions/infoResponse.js | 0 .../mirador/src}/state/actions/layers.js | 0 .../mirador/src}/state/actions/manifest.js | 0 .../mirador/src}/state/actions/search.js | 0 .../mirador/src}/state/actions/window.js | 0 .../mirador/src}/state/actions/workspace.js | 0 .../src}/state/createPluggableStore.js | 0 .../mirador/src}/state/createStore.js | 0 {src => packages/mirador/src}/state/index.js | 0 .../src}/state/reducers/accessTokens.js | 0 .../src}/state/reducers/annotations.js | 0 .../mirador/src}/state/reducers/auth.js | 0 .../mirador/src}/state/reducers/catalog.js | 0 .../src}/state/reducers/companionWindows.js | 0 .../mirador/src}/state/reducers/config.js | 0 .../src}/state/reducers/elasticLayout.js | 0 .../mirador/src}/state/reducers/errors.js | 0 .../mirador/src}/state/reducers/index.js | 0 .../src}/state/reducers/infoResponses.js | 0 .../mirador/src}/state/reducers/layers.js | 0 .../mirador/src}/state/reducers/manifests.js | 0 .../src}/state/reducers/rootReducer.js | 0 .../mirador/src}/state/reducers/search.js | 0 .../mirador/src}/state/reducers/utils.js | 0 .../mirador/src}/state/reducers/viewers.js | 0 .../mirador/src}/state/reducers/windows.js | 0 .../mirador/src}/state/reducers/workspace.js | 0 .../mirador/src}/state/sagas/annotations.js | 0 .../mirador/src}/state/sagas/app.js | 0 .../mirador/src}/state/sagas/auth.js | 0 .../mirador/src}/state/sagas/iiif.js | 0 .../mirador/src}/state/sagas/index.js | 0 .../mirador/src}/state/sagas/windows.js | 0 .../src}/state/selectors/annotations.js | 0 .../mirador/src}/state/selectors/auth.js | 0 .../mirador/src}/state/selectors/canvases.js | 0 .../src}/state/selectors/companionWindows.js | 0 .../mirador/src}/state/selectors/config.js | 0 .../mirador/src}/state/selectors/getters.js | 0 .../mirador/src}/state/selectors/index.js | 0 .../mirador/src}/state/selectors/layers.js | 0 .../mirador/src}/state/selectors/manifests.js | 0 .../mirador/src}/state/selectors/ranges.js | 0 .../mirador/src}/state/selectors/searches.js | 0 .../mirador/src}/state/selectors/sequences.js | 0 .../mirador/src}/state/selectors/utils.js | 0 .../mirador/src}/state/selectors/viewer.js | 0 .../mirador/src}/state/selectors/windows.js | 0 .../mirador/src}/state/selectors/workspace.js | 0 .../src}/styles/react-mosaic-component.js | 0 .../mirador/webpack.config.js | 0 580 files changed, 462 insertions(+), 128 deletions(-) rename .eslintignore => packages/mirador/.eslintignore (100%) rename .eslintrc => packages/mirador/.eslintrc (100%) create mode 100644 packages/mirador/LICENSE create mode 100644 packages/mirador/README.md rename {__mocks__ => packages/mirador/__mocks__}/css.js (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/config/export.example.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/001.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/002.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/015.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/019.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/024.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/2017498721.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/299843.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/BibliographicResource_3000126341277.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/Osbornfa1.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/annotationMiradorDual.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/broken.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/canvasService.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/collection.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/emptyCanvas.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/fg165hz3589.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/gau.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/hamilton.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/iiifauth.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/minimumRequired.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/multipleSequences.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/related.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/sn904cj3429.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/structures.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-2/zeroWidthCanvas.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-3/0002-mvm-audio.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-3/001.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-3/0015-start.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-3/hamilton.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-3/minimumRequired.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-3/structures.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-3/video_with_annotation_captions.json (100%) rename {__tests__ => packages/mirador/__tests__}/fixtures/version-3/with_a_provider.json (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/annotations.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/auth.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/basic.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/blank.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/collections.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/companion_windows.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/contentsearch.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/embedding.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/iframe.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/import_export.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/index.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/invalid-api-response.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/language_switching.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/layers.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/level0.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/minimalist.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/minimalist.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/add.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/add.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/companionWindow.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/companionWindow.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/priority.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/priority.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/state.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/state.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/validate.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/validate.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/wrap.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/plugins/wrap.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/rtl.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/sequence_switching.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/svg_annos.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/thumbnail-navigation.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/toc.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/v3.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/video.html (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/window_actions.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/integration/mirador/window_sidebar.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/annotation.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/auth.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/canvas.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/catalog.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/companionWindow.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/config.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/elasticLayout.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/errors.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/infoResponse.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/layers.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/manifest.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/search.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/window.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/actions/workspace.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/AccessTokenSender.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/AnnotationSettings.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/AnnotationsOverlay.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/App.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/AppProviders.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/AttributionPanel.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/AudioViewer.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/BackgroundPluginArea.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/Branding.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/CanvasAnnotations.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/CanvasInfo.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/CanvasLayers.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ChangeThemeDialog.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/CollapsibleSection.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/CollectionDialog.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/CollectionInfo.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/CompanionArea.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/CompanionWindow.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/CompanionWindowFactory.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ErrorContent.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ErrorDialog.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/FullScreenButton.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/GalleryView.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/GalleryViewThumbnail.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/IIIFAuthentication.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/IIIFDropTarget.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/IIIFIFrameCommunication.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/IIIFThumbnail.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/LabelValueMetadata.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/LanguageSettings.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/LayersPanel.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/LocalePicker.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ManifestForm.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ManifestInfo.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ManifestListItem.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ManifestListItemError.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ManifestRelatedLinks.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/MiradorMenuButton.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/MosaicRenderPreview.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/NestedMenu.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/NewWindow.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/OpenSeadragonViewer.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/PluginHook.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/PrimaryWindow.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/SanitizedHtml.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ScrollIndicatedDialogContent.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ScrollTo.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/SearchHit.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/SearchPanel.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/SearchPanelControls.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/SearchPanelNavigation.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/SearchResults.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/SidebarIndexItem.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/SidebarIndexList.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/SidebarIndexTableOfContents.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/SidebarIndexThumbnail.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ThumbnailCanvasGrouping.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ThumbnailNavigation.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/VideoViewer.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ViewerInfo.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ViewerNavigation.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/Window.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowAuthenticationBar.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowCanvasNavigationControls.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowList.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowListButton.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowSideBar.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowSideBarAnnotationsPanel.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowSideBarButtons.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowSideBarCanvasPanel.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowSideBarInfoPanel.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowThumbnailSettings.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowTopBar.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowTopBarPluginArea.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowTopBarPluginMenu.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowTopBarTitle.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowTopMenu.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowTopMenuButton.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowViewSettings.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WindowViewer.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/Workspace.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceAdd.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceAddButton.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceArea.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceControlPanel.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceControlPanelButtons.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceElastic.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceElasticWindow.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceExport.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceImport.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceMenu.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceMenuButton.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceMosaic.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceOptionsButton.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceOptionsMenu.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/WorkspaceSelectionDialog.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/components/ZoomControls.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/extend/pluginMapping.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/extend/pluginPreprocessing.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/extend/pluginValidation.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/extend/withPlugins.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/extend/withSize.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/AnnotationFactory.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/AnnotationItem.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/AnnotationList.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/AnnotationPage.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/AnnotationResource.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/CanvasAnnotationDisplay.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/CanvasGroupings.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/CanvasWorld.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/MiradorCanvas.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/MiradorManifest.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/MiradorViewer.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/MosaicLayout.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/OpenSeadragonCanvasOverlay.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/ThumbnailFactory.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/lib/TruncatedHit.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/accessTokens.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/annotations.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/auth.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/catalog.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/companionWindows.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/config.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/elasticLayout.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/errors.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/infoResponse.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/layers.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/manifests.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/search.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/utils.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/viewers.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/windows.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/reducers/workspace.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/sagas/annotations.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/sagas/app.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/sagas/auth.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/sagas/iiif.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/sagas/windows.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/annotations.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/auth.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/canvases.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/companionWindows.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/config.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/getters.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/index.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/layers.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/manifests.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/ranges.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/searches.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/sequences.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/viewer.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/windows.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/src/selectors/workspace.test.js (100%) rename {__tests__ => packages/mirador/__tests__}/utils/test-utils.js (100%) rename babel.config.js => packages/mirador/babel.config.js (100%) rename bundlewatch.config.json => packages/mirador/bundlewatch.config.json (100%) rename jest-puppeteer.config.js => packages/mirador/jest-puppeteer.config.js (100%) rename jest.json => packages/mirador/jest.json (100%) create mode 100644 packages/mirador/package.json rename {scripts => packages/mirador/scripts}/container-lint.js (100%) rename {scripts => packages/mirador/scripts}/i18n-lint.js (100%) rename setupJest.js => packages/mirador/setupJest.js (100%) rename setupJestIntegration.js => packages/mirador/setupJestIntegration.js (100%) rename {src => packages/mirador/src}/components/AccessTokenSender.js (100%) rename {src => packages/mirador/src}/components/AnnotationSettings.js (100%) rename {src => packages/mirador/src}/components/AnnotationsOverlay.js (100%) rename {src => packages/mirador/src}/components/App.js (100%) rename {src => packages/mirador/src}/components/AppProviders.js (100%) rename {src => packages/mirador/src}/components/AttributionPanel.js (100%) rename {src => packages/mirador/src}/components/AudioViewer.js (100%) rename {src => packages/mirador/src}/components/BackgroundPluginArea.js (100%) rename {src => packages/mirador/src}/components/Branding.js (100%) rename {src => packages/mirador/src}/components/CanvasAnnotations.js (100%) rename {src => packages/mirador/src}/components/CanvasInfo.js (100%) rename {src => packages/mirador/src}/components/CanvasLayers.js (100%) rename {src => packages/mirador/src}/components/ChangeThemeDialog.js (100%) rename {src => packages/mirador/src}/components/CollapsibleSection.js (100%) rename {src => packages/mirador/src}/components/CollectionDialog.js (100%) rename {src => packages/mirador/src}/components/CollectionInfo.js (100%) rename {src => packages/mirador/src}/components/CompanionArea.js (100%) rename {src => packages/mirador/src}/components/CompanionWindow.js (100%) rename {src => packages/mirador/src}/components/CompanionWindowFactory.js (100%) rename {src => packages/mirador/src}/components/CompanionWindowSection.js (100%) rename {src => packages/mirador/src}/components/CustomPanel.js (100%) rename {src => packages/mirador/src}/components/ErrorContent.js (100%) rename {src => packages/mirador/src}/components/ErrorDialog.js (100%) rename {src => packages/mirador/src}/components/FullScreenButton.js (100%) rename {src => packages/mirador/src}/components/GalleryView.js (100%) rename {src => packages/mirador/src}/components/GalleryViewThumbnail.js (100%) rename {src => packages/mirador/src}/components/IIIFAuthentication.js (100%) rename {src => packages/mirador/src}/components/IIIFDropTarget.js (100%) rename {src => packages/mirador/src}/components/IIIFIFrameCommunication.js (100%) rename {src => packages/mirador/src}/components/IIIFThumbnail.js (100%) rename {src => packages/mirador/src}/components/LabelValueMetadata.js (100%) rename {src => packages/mirador/src}/components/LanguageSettings.js (100%) rename {src => packages/mirador/src}/components/LayersPanel.js (100%) rename {src => packages/mirador/src}/components/LocalePicker.js (100%) rename {src => packages/mirador/src}/components/ManifestForm.js (100%) rename {src => packages/mirador/src}/components/ManifestInfo.js (100%) rename {src => packages/mirador/src}/components/ManifestListItem.js (100%) rename {src => packages/mirador/src}/components/ManifestListItemError.js (100%) rename {src => packages/mirador/src}/components/ManifestRelatedLinks.js (100%) rename {src => packages/mirador/src}/components/MinimalWindow.js (100%) rename {src => packages/mirador/src}/components/MiradorMenuButton.js (100%) rename {src => packages/mirador/src}/components/MosaicRenderPreview.js (100%) rename {src => packages/mirador/src}/components/NestedMenu.js (100%) rename {src => packages/mirador/src}/components/NewWindow.js (100%) rename {src => packages/mirador/src}/components/OpenSeadragonViewer.js (100%) rename {src => packages/mirador/src}/components/PluginHook.js (100%) rename {src => packages/mirador/src}/components/PrimaryWindow.js (100%) rename {src => packages/mirador/src}/components/SanitizedHtml.js (100%) rename {src => packages/mirador/src}/components/ScrollIndicatedDialogContent.js (100%) rename {src => packages/mirador/src}/components/ScrollTo.js (100%) rename {src => packages/mirador/src}/components/SearchHit.js (100%) rename {src => packages/mirador/src}/components/SearchPanel.js (100%) rename {src => packages/mirador/src}/components/SearchPanelControls.js (100%) rename {src => packages/mirador/src}/components/SearchPanelNavigation.js (100%) rename {src => packages/mirador/src}/components/SearchResults.js (100%) rename {src => packages/mirador/src}/components/SelectCollection.js (100%) rename {src => packages/mirador/src}/components/SidebarIndexItem.js (100%) rename {src => packages/mirador/src}/components/SidebarIndexList.js (100%) rename {src => packages/mirador/src}/components/SidebarIndexTableOfContents.js (100%) rename {src => packages/mirador/src}/components/SidebarIndexThumbnail.js (100%) rename {src => packages/mirador/src}/components/ThumbnailCanvasGrouping.js (100%) rename {src => packages/mirador/src}/components/ThumbnailNavigation.js (100%) rename {src => packages/mirador/src}/components/VideoViewer.js (100%) rename {src => packages/mirador/src}/components/ViewerInfo.js (100%) rename {src => packages/mirador/src}/components/ViewerNavigation.js (100%) rename {src => packages/mirador/src}/components/Window.js (100%) rename {src => packages/mirador/src}/components/WindowAuthenticationBar.js (100%) rename {src => packages/mirador/src}/components/WindowCanvasNavigationControls.js (100%) rename {src => packages/mirador/src}/components/WindowList.js (100%) rename {src => packages/mirador/src}/components/WindowListButton.js (100%) rename {src => packages/mirador/src}/components/WindowSideBar.js (100%) rename {src => packages/mirador/src}/components/WindowSideBarAnnotationsPanel.js (100%) rename {src => packages/mirador/src}/components/WindowSideBarButtons.js (100%) rename {src => packages/mirador/src}/components/WindowSideBarCanvasPanel.js (100%) rename {src => packages/mirador/src}/components/WindowSideBarCollectionPanel.js (100%) rename {src => packages/mirador/src}/components/WindowSideBarInfoPanel.js (100%) rename {src => packages/mirador/src}/components/WindowThumbnailSettings.js (100%) rename {src => packages/mirador/src}/components/WindowTopBar.js (100%) rename {src => packages/mirador/src}/components/WindowTopBarPluginArea.js (100%) rename {src => packages/mirador/src}/components/WindowTopBarPluginMenu.js (100%) rename {src => packages/mirador/src}/components/WindowTopBarTitle.js (100%) rename {src => packages/mirador/src}/components/WindowTopMenu.js (100%) rename {src => packages/mirador/src}/components/WindowTopMenuButton.js (100%) rename {src => packages/mirador/src}/components/WindowViewSettings.js (100%) rename {src => packages/mirador/src}/components/WindowViewer.js (100%) rename {src => packages/mirador/src}/components/Workspace.js (100%) rename {src => packages/mirador/src}/components/WorkspaceAdd.js (100%) rename {src => packages/mirador/src}/components/WorkspaceAddButton.js (100%) rename {src => packages/mirador/src}/components/WorkspaceArea.js (100%) rename {src => packages/mirador/src}/components/WorkspaceControlPanel.js (100%) rename {src => packages/mirador/src}/components/WorkspaceControlPanelButtons.js (100%) rename {src => packages/mirador/src}/components/WorkspaceDialog.js (100%) rename {src => packages/mirador/src}/components/WorkspaceElastic.js (100%) rename {src => packages/mirador/src}/components/WorkspaceElasticWindow.js (100%) rename {src => packages/mirador/src}/components/WorkspaceExport.js (100%) rename {src => packages/mirador/src}/components/WorkspaceImport.js (100%) rename {src => packages/mirador/src}/components/WorkspaceMenu.js (100%) rename {src => packages/mirador/src}/components/WorkspaceMenuButton.js (100%) rename {src => packages/mirador/src}/components/WorkspaceMosaic.js (100%) rename {src => packages/mirador/src}/components/WorkspaceOptionsButton.js (100%) rename {src => packages/mirador/src}/components/WorkspaceOptionsMenu.js (100%) rename {src => packages/mirador/src}/components/WorkspaceSelectionDialog.js (100%) rename {src => packages/mirador/src}/components/ZoomControls.js (100%) rename {src => packages/mirador/src}/components/icons/BookViewIcon.js (100%) rename {src => packages/mirador/src}/components/icons/CanvasIndexIcon.js (100%) rename {src => packages/mirador/src}/components/icons/GalleryViewIcon.js (100%) rename {src => packages/mirador/src}/components/icons/MiradorIcon.js (100%) rename {src => packages/mirador/src}/components/icons/RestoreZoomIcon.js (100%) rename {src => packages/mirador/src}/components/icons/ThumbnailNavigationBottomIcon.js (100%) rename {src => packages/mirador/src}/components/icons/ThumbnailNavigationRightIcon.js (100%) rename {src => packages/mirador/src}/components/icons/WindowMaxIcon.js (100%) rename {src => packages/mirador/src}/components/icons/WindowMinIcon.js (100%) rename {src => packages/mirador/src}/components/icons/WindowOptionsIcon.js (100%) rename {src => packages/mirador/src}/components/icons/WorkspaceTypeElasticIcon.js (100%) rename {src => packages/mirador/src}/components/icons/WorkspaceTypeMosaicIcon.js (100%) rename {src => packages/mirador/src}/config/css-ns.js (100%) rename {src => packages/mirador/src}/config/settings.js (100%) rename {src => packages/mirador/src}/containers/AnnotationSettings.js (100%) rename {src => packages/mirador/src}/containers/AnnotationsOverlay.js (100%) rename {src => packages/mirador/src}/containers/AppProviders.js (100%) rename {src => packages/mirador/src}/containers/AttributionPanel.js (100%) rename {src => packages/mirador/src}/containers/AudioViewer.js (100%) rename {src => packages/mirador/src}/containers/BackgroundPluginArea.js (100%) rename {src => packages/mirador/src}/containers/Branding.js (100%) rename {src => packages/mirador/src}/containers/CanvasAnnotations.js (100%) rename {src => packages/mirador/src}/containers/CanvasInfo.js (100%) rename {src => packages/mirador/src}/containers/CanvasLayers.js (100%) rename {src => packages/mirador/src}/containers/ChangeThemeDialog.js (100%) rename {src => packages/mirador/src}/containers/CollapsibleSection.js (100%) rename {src => packages/mirador/src}/containers/CollectionDialog.js (100%) rename {src => packages/mirador/src}/containers/CollectionInfo.js (100%) rename {src => packages/mirador/src}/containers/CompanionArea.js (100%) rename {src => packages/mirador/src}/containers/CompanionWindow.js (100%) rename {src => packages/mirador/src}/containers/CompanionWindowFactory.js (100%) rename {src => packages/mirador/src}/containers/CustomPanel.js (100%) rename {src => packages/mirador/src}/containers/ErrorContent.js (100%) rename {src => packages/mirador/src}/containers/ErrorDialog.js (100%) rename {src => packages/mirador/src}/containers/FullScreenButton.js (100%) rename {src => packages/mirador/src}/containers/GalleryView.js (100%) rename {src => packages/mirador/src}/containers/GalleryViewThumbnail.js (100%) rename {src => packages/mirador/src}/containers/IIIFAuthentication.js (100%) rename {src => packages/mirador/src}/containers/IIIFThumbnail.js (100%) rename {src => packages/mirador/src}/containers/LanguageSettings.js (100%) rename {src => packages/mirador/src}/containers/LayersPanel.js (100%) rename {src => packages/mirador/src}/containers/LocalePicker.js (100%) rename {src => packages/mirador/src}/containers/ManifestForm.js (100%) rename {src => packages/mirador/src}/containers/ManifestInfo.js (100%) rename {src => packages/mirador/src}/containers/ManifestListItem.js (100%) rename {src => packages/mirador/src}/containers/ManifestListItemError.js (100%) rename {src => packages/mirador/src}/containers/ManifestRelatedLinks.js (100%) rename {src => packages/mirador/src}/containers/MinimalWindow.js (100%) rename {src => packages/mirador/src}/containers/MiradorMenuButton.js (100%) rename {src => packages/mirador/src}/containers/MosaicRenderPreview.js (100%) rename {src => packages/mirador/src}/containers/OpenSeadragonViewer.js (100%) rename {src => packages/mirador/src}/containers/PrimaryWindow.js (100%) rename {src => packages/mirador/src}/containers/SanitizedHtml.js (100%) rename {src => packages/mirador/src}/containers/ScrollIndicatedDialogContent.js (100%) rename {src => packages/mirador/src}/containers/SearchHit.js (100%) rename {src => packages/mirador/src}/containers/SearchPanel.js (100%) rename {src => packages/mirador/src}/containers/SearchPanelControls.js (100%) rename {src => packages/mirador/src}/containers/SearchPanelNavigation.js (100%) rename {src => packages/mirador/src}/containers/SearchResults.js (100%) rename {src => packages/mirador/src}/containers/SelectCollection.js (100%) rename {src => packages/mirador/src}/containers/SidebarIndexItem.js (100%) rename {src => packages/mirador/src}/containers/SidebarIndexList.js (100%) rename {src => packages/mirador/src}/containers/SidebarIndexTableOfContents.js (100%) rename {src => packages/mirador/src}/containers/SidebarIndexThumbnail.js (100%) rename {src => packages/mirador/src}/containers/ThumbnailCanvasGrouping.js (100%) rename {src => packages/mirador/src}/containers/ThumbnailNavigation.js (100%) rename {src => packages/mirador/src}/containers/VideoViewer.js (100%) rename {src => packages/mirador/src}/containers/ViewerInfo.js (100%) rename {src => packages/mirador/src}/containers/ViewerNavigation.js (100%) rename {src => packages/mirador/src}/containers/Window.js (100%) rename {src => packages/mirador/src}/containers/WindowAuthenticationBar.js (100%) rename {src => packages/mirador/src}/containers/WindowCanvasNavigationControls.js (100%) rename {src => packages/mirador/src}/containers/WindowList.js (100%) rename {src => packages/mirador/src}/containers/WindowListButton.js (100%) rename {src => packages/mirador/src}/containers/WindowSideBar.js (100%) rename {src => packages/mirador/src}/containers/WindowSideBarAnnotationsPanel.js (100%) rename {src => packages/mirador/src}/containers/WindowSideBarButtons.js (100%) rename {src => packages/mirador/src}/containers/WindowSideBarCanvasPanel.js (100%) rename {src => packages/mirador/src}/containers/WindowSideBarCollectionPanel.js (100%) rename {src => packages/mirador/src}/containers/WindowSideBarInfoPanel.js (100%) rename {src => packages/mirador/src}/containers/WindowThumbnailSettings.js (100%) rename {src => packages/mirador/src}/containers/WindowTopBar.js (100%) rename {src => packages/mirador/src}/containers/WindowTopBarPluginArea.js (100%) rename {src => packages/mirador/src}/containers/WindowTopBarPluginMenu.js (100%) rename {src => packages/mirador/src}/containers/WindowTopBarTitle.js (100%) rename {src => packages/mirador/src}/containers/WindowTopMenu.js (100%) rename {src => packages/mirador/src}/containers/WindowTopMenuButton.js (100%) rename {src => packages/mirador/src}/containers/WindowViewSettings.js (100%) rename {src => packages/mirador/src}/containers/WindowViewer.js (100%) rename {src => packages/mirador/src}/containers/Workspace.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceAdd.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceAddButton.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceArea.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceControlPanel.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceControlPanelButtons.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceElastic.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceElasticWindow.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceExport.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceImport.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceMenu.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceMenuButton.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceMosaic.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceOptionsButton.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceOptionsMenu.js (100%) rename {src => packages/mirador/src}/containers/WorkspaceSelectionDialog.js (100%) rename {src => packages/mirador/src}/containers/ZoomControls.js (100%) rename {src => packages/mirador/src}/contexts/FullScreenContext.js (100%) rename {src => packages/mirador/src}/contexts/WorkspaceContext.js (100%) rename {src => packages/mirador/src}/extend/PluginContext.js (100%) rename {src => packages/mirador/src}/extend/PluginProvider.js (100%) rename {src => packages/mirador/src}/extend/pluginMapping.js (100%) rename {src => packages/mirador/src}/extend/pluginPreprocessing.js (100%) rename {src => packages/mirador/src}/extend/pluginValidation.js (100%) rename {src => packages/mirador/src}/extend/withPlugins.js (100%) rename {src => packages/mirador/src}/extend/withRef.js (100%) rename {src => packages/mirador/src}/extend/withSize.js (100%) rename {src => packages/mirador/src}/i18n.js (100%) rename {src => packages/mirador/src}/index.js (100%) rename {src => packages/mirador/src}/init.js (100%) rename {src => packages/mirador/src}/lib/AnnotationFactory.js (100%) rename {src => packages/mirador/src}/lib/AnnotationItem.js (100%) rename {src => packages/mirador/src}/lib/AnnotationList.js (100%) rename {src => packages/mirador/src}/lib/AnnotationPage.js (100%) rename {src => packages/mirador/src}/lib/AnnotationResource.js (100%) rename {src => packages/mirador/src}/lib/CanvasAnnotationDisplay.js (100%) rename {src => packages/mirador/src}/lib/CanvasGroupings.js (100%) rename {src => packages/mirador/src}/lib/CanvasWorld.js (100%) rename {src => packages/mirador/src}/lib/CompanionWindowRegistry.js (100%) rename {src => packages/mirador/src}/lib/MiradorCanvas.js (100%) rename {src => packages/mirador/src}/lib/MiradorManifest.js (100%) rename {src => packages/mirador/src}/lib/MiradorViewer.js (100%) rename {src => packages/mirador/src}/lib/MosaicLayout.js (100%) rename {src => packages/mirador/src}/lib/OpenSeadragonCanvasOverlay.js (100%) rename {src => packages/mirador/src}/lib/ThumbnailFactory.js (100%) rename {src => packages/mirador/src}/lib/TruncatedHit.js (100%) rename {src => packages/mirador/src}/lib/asArray.js (100%) rename {src => packages/mirador/src}/lib/htmlRules.js (100%) rename {src => packages/mirador/src}/lib/readImageMetadata.js (100%) rename {src => packages/mirador/src}/locales/README.md (100%) rename {src => packages/mirador/src}/locales/ar/translation.json (100%) rename {src => packages/mirador/src}/locales/bg/translation.json (100%) rename {src => packages/mirador/src}/locales/de/translation.json (100%) rename {src => packages/mirador/src}/locales/en/translation.json (100%) rename {src => packages/mirador/src}/locales/et/translation.json (100%) rename {src => packages/mirador/src}/locales/fa/translation.json (100%) rename {src => packages/mirador/src}/locales/fr/translation.json (100%) rename {src => packages/mirador/src}/locales/hr/translation.json (100%) rename {src => packages/mirador/src}/locales/it/translation.json (100%) rename {src => packages/mirador/src}/locales/ja/translation.json (100%) rename {src => packages/mirador/src}/locales/kr/translation.json (100%) rename {src => packages/mirador/src}/locales/lt/translation.json (100%) rename {src => packages/mirador/src}/locales/nbNo/translation.json (100%) rename {src => packages/mirador/src}/locales/nl/translation.json (100%) rename {src => packages/mirador/src}/locales/pl/translation.json (100%) rename {src => packages/mirador/src}/locales/ptBr/translation.json (100%) rename {src => packages/mirador/src}/locales/sr/translation.json (100%) rename {src => packages/mirador/src}/locales/sv/translation.json (100%) rename {src => packages/mirador/src}/locales/vi/translation.json (100%) rename {src => packages/mirador/src}/locales/zhCn/translation.json (100%) rename {src => packages/mirador/src}/locales/zhTw/translation.json (100%) rename {src => packages/mirador/src}/plugins/OSDReferences.js (100%) rename {src => packages/mirador/src}/polyfills.js (100%) rename {src => packages/mirador/src}/state/actions/action-types.js (100%) rename {src => packages/mirador/src}/state/actions/annotation.js (100%) rename {src => packages/mirador/src}/state/actions/auth.js (100%) rename {src => packages/mirador/src}/state/actions/canvas.js (100%) rename {src => packages/mirador/src}/state/actions/catalog.js (100%) rename {src => packages/mirador/src}/state/actions/companionWindow.js (100%) rename {src => packages/mirador/src}/state/actions/config.js (100%) rename {src => packages/mirador/src}/state/actions/elasticLayout.js (100%) rename {src => packages/mirador/src}/state/actions/errors.js (100%) rename {src => packages/mirador/src}/state/actions/index.js (100%) rename {src => packages/mirador/src}/state/actions/infoResponse.js (100%) rename {src => packages/mirador/src}/state/actions/layers.js (100%) rename {src => packages/mirador/src}/state/actions/manifest.js (100%) rename {src => packages/mirador/src}/state/actions/search.js (100%) rename {src => packages/mirador/src}/state/actions/window.js (100%) rename {src => packages/mirador/src}/state/actions/workspace.js (100%) rename {src => packages/mirador/src}/state/createPluggableStore.js (100%) rename {src => packages/mirador/src}/state/createStore.js (100%) rename {src => packages/mirador/src}/state/index.js (100%) rename {src => packages/mirador/src}/state/reducers/accessTokens.js (100%) rename {src => packages/mirador/src}/state/reducers/annotations.js (100%) rename {src => packages/mirador/src}/state/reducers/auth.js (100%) rename {src => packages/mirador/src}/state/reducers/catalog.js (100%) rename {src => packages/mirador/src}/state/reducers/companionWindows.js (100%) rename {src => packages/mirador/src}/state/reducers/config.js (100%) rename {src => packages/mirador/src}/state/reducers/elasticLayout.js (100%) rename {src => packages/mirador/src}/state/reducers/errors.js (100%) rename {src => packages/mirador/src}/state/reducers/index.js (100%) rename {src => packages/mirador/src}/state/reducers/infoResponses.js (100%) rename {src => packages/mirador/src}/state/reducers/layers.js (100%) rename {src => packages/mirador/src}/state/reducers/manifests.js (100%) rename {src => packages/mirador/src}/state/reducers/rootReducer.js (100%) rename {src => packages/mirador/src}/state/reducers/search.js (100%) rename {src => packages/mirador/src}/state/reducers/utils.js (100%) rename {src => packages/mirador/src}/state/reducers/viewers.js (100%) rename {src => packages/mirador/src}/state/reducers/windows.js (100%) rename {src => packages/mirador/src}/state/reducers/workspace.js (100%) rename {src => packages/mirador/src}/state/sagas/annotations.js (100%) rename {src => packages/mirador/src}/state/sagas/app.js (100%) rename {src => packages/mirador/src}/state/sagas/auth.js (100%) rename {src => packages/mirador/src}/state/sagas/iiif.js (100%) rename {src => packages/mirador/src}/state/sagas/index.js (100%) rename {src => packages/mirador/src}/state/sagas/windows.js (100%) rename {src => packages/mirador/src}/state/selectors/annotations.js (100%) rename {src => packages/mirador/src}/state/selectors/auth.js (100%) rename {src => packages/mirador/src}/state/selectors/canvases.js (100%) rename {src => packages/mirador/src}/state/selectors/companionWindows.js (100%) rename {src => packages/mirador/src}/state/selectors/config.js (100%) rename {src => packages/mirador/src}/state/selectors/getters.js (100%) rename {src => packages/mirador/src}/state/selectors/index.js (100%) rename {src => packages/mirador/src}/state/selectors/layers.js (100%) rename {src => packages/mirador/src}/state/selectors/manifests.js (100%) rename {src => packages/mirador/src}/state/selectors/ranges.js (100%) rename {src => packages/mirador/src}/state/selectors/searches.js (100%) rename {src => packages/mirador/src}/state/selectors/sequences.js (100%) rename {src => packages/mirador/src}/state/selectors/utils.js (100%) rename {src => packages/mirador/src}/state/selectors/viewer.js (100%) rename {src => packages/mirador/src}/state/selectors/windows.js (100%) rename {src => packages/mirador/src}/state/selectors/workspace.js (100%) rename {src => packages/mirador/src}/styles/react-mosaic-component.js (100%) rename webpack.config.js => packages/mirador/webpack.config.js (100%) diff --git a/package.json b/package.json index b2ef3d72b2..2d2c6fddc3 100644 --- a/package.json +++ b/package.json @@ -1,139 +1,19 @@ { - "name": "mirador", + "name": "@projectmirador/mirador-monorepo", "version": "4.0.0-alpha.2", "description": "An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.", - "main": "dist/cjs/src/index.js", - "module": "dist/es/src/index.js", - "files": [ - "dist" - ], - "sideEffects": false, - "scripts": { - "clean": "rm -rf ./dist", - "lint": "node_modules/.bin/eslint ./ && npm run lint:translations && npm run lint:containers", - "lint:containers": "node ./scripts/container-lint.js", - "lint:translations": "node ./scripts/i18n-lint.js", - "server": "node_modules/.bin/http-server --cors", - "test": "npm run build && npm run lint && npm run size && jest -c jest.json", - "test:debug": "node --inspect node_modules/.bin/jest -c jest.json --runInBand", - "test:watch": "jest -c jest.json --watch", - "build": "NODE_ENV=production webpack --mode=production", - "build:dev": "webpack --mode=development", - "build:es": "mkdir -p dist/es && cp -r src dist/es && NODE_ENV=production MODULE_FORMAT=es babel dist/es -d dist/es", - "build:cjs": "mkdir -p dist/cjs && cp -r src dist/cjs && NODE_ENV=production MODULE_FORMAT=cjs babel dist/cjs -d dist/cjs", - "build:watch": "webpack --watch --mode=development", - "prepublishOnly": "npm run clean && npm run build:es && npm run build:cjs && npm run build", - "size": "bundlewatch --config bundlewatch.config.json", - "start": "NODE_ENV=development webpack serve --open" - }, "license": "Apache-2.0", "contributors": [ "Drew Winget (https://aeschylus.net/)", "Jack Reed (https://www.jack-reed.com)" ], "repository": "https://github.com/ProjectMirador/mirador", - "dependencies": { - "@emotion/cache": "^11.11.0", - "@emotion/react": "^11.10.6", - "@emotion/styled": "^11.10.6", - "@hello-pangea/dnd": "^16.0.1 || ^17.0.0", - "@mui/icons-material": "^5.11.16", - "@mui/lab": "^5.0.0-alpha.134", - "@mui/material": "^5.13.5", - "@mui/utils": "^5.13.1", - "@mui/x-tree-view": "^6.17.0", - "@react-aria/live-announcer": "^3.1.2", - "@redux-devtools/extension": "^3.3.0", - "classnames": "^2.2.6", - "deepmerge": "^4.2.2", - "dompurify": "^3.0.0", - "i18next": "^21.0.0 || ^22.0.0 || ^23.0.0", - "lodash": "^4.17.11", - "manifesto.js": "^4.2.0", - "normalize-url": "^4.5.0", - "openseadragon": "^2.4.2 || ^3.0.0 || 4.0.x || ^4.1.1 || ^5.0.0", - "prop-types": "^15.6.2", - "rdndmb-html5-to-touch": "^8.0.0", - "re-reselect": "^5.0.0", - "react-copy-to-clipboard": "^5.0.1", - "react-dnd": "^16.0.0", - "react-dnd-html5-backend": "^16.0.0", - "react-dnd-multi-backend": "^8.0.0", - "react-dnd-touch-backend": "^16.0.0", - "react-full-screen": "^1.1.1", - "react-i18next": "^13.0.0 || ^14.0.0 || ^15.0.0", - "react-image": "^4.0.1", - "react-intersection-observer": "^9.0.0", - "react-mosaic-component": "^6.0.0", - "react-redux": "^8.0.0 || ^9.0.0", - "react-resize-observer": "^1.1.1", - "react-rnd": "^10.1", - "react-virtualized-auto-sizer": "^1.0.2", - "react-window": "^1.8.5", - "redux": "^5.0.0", - "redux-saga": "^1.1.3", - "redux-thunk": "^3.1.0", - "reselect": "^5.0.0", - "stylis": "^4.3.0", - "stylis-plugin-rtl": "^2.1.1", - "url": "^0.11.0", - "uuid": "^8.1.0 || ^9.0.0 || ^10.0.0 || ^11.0.0" - }, - "devDependencies": { - "@babel/cli": "^7.22.10", - "@babel/core": "^7.22.10", - "@babel/plugin-transform-regenerator": "^7.22.10", - "@babel/plugin-transform-runtime": "^7.22.10", - "@babel/preset-env": "^7.22.10", - "@babel/preset-react": "^7.22.10", - "@pmmmwh/react-refresh-webpack-plugin": "^0.5.4", - "@testing-library/dom": "^10.4.0", - "@testing-library/jest-dom": "^6.1.5", - "@testing-library/react": "^16.0.1", - "@testing-library/user-event": "^14.4.3", - "@typescript-eslint/eslint-plugin": "^6.14.0", - "@typescript-eslint/parser": "^6.14.0", - "babel-jest": "^29.3.1", - "babel-loader": "^9.1.0", - "babel-plugin-lodash": "^3.3.4", - "babel-plugin-macros": "^3.0.1", - "babel-plugin-transform-react-remove-prop-types": "^0.4.24", - "bundlewatch": "^0.4.0", - "canvas": "^2.11.0", - "chalk": "^4.1.0", - "core-js": "^3.21.1", - "eslint": "^8.11.0", - "eslint-config-airbnb": "^19.0.4", - "eslint-config-react-app": "^7.0.0", - "eslint-plugin-flowtype": "^8.0.3", - "eslint-plugin-import": "^2.25.4", - "eslint-plugin-jest": "^27.1.5", - "eslint-plugin-jest-dom": "^5.1.0", - "eslint-plugin-jsx-a11y": "^6.4.1", - "eslint-plugin-react": "^7.29.4", - "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-testing-library": "^6.2.0", - "glob": "^10.3.0", - "http-server": "^14.1.0", - "jest": "^29.3.1", - "jest-environment-jsdom": "^29.4.3", - "jest-fetch-mock": "^3.0.0", - "jest-puppeteer": "^10.1.0", - "jsdom": "^25.0.0", - "puppeteer": "^23.0.0", - "react": "^18.0.0", - "react-dnd-test-backend": "^16.0.1", - "react-dom": "^18.0.0", - "react-refresh": "^0.14.0", - "redux-mock-store": "^1.5.1", - "redux-saga-test-plan": "^4.0.0-rc.3", - "terser-webpack-plugin": "^5.3.1", - "webpack": "^5.70.0", - "webpack-cli": "^5.0.0", - "webpack-dev-server": "^5.1.0" - }, - "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" + "workspaces": [ + "packages/mirador" + ], + "scripts": { + "start": "npm run start --workspace mirador", + "build": "npm run build --workspaces", + "test": "npm run test --workspaces" } } diff --git a/.eslintignore b/packages/mirador/.eslintignore similarity index 100% rename from .eslintignore rename to packages/mirador/.eslintignore diff --git a/.eslintrc b/packages/mirador/.eslintrc similarity index 100% rename from .eslintrc rename to packages/mirador/.eslintrc diff --git a/packages/mirador/LICENSE b/packages/mirador/LICENSE new file mode 100644 index 0000000000..c44985806a --- /dev/null +++ b/packages/mirador/LICENSE @@ -0,0 +1,203 @@ +Copyright 2023 The Board of Trustees of the Leland Stanford Junior University + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/packages/mirador/README.md b/packages/mirador/README.md new file mode 100644 index 0000000000..48adf7c374 --- /dev/null +++ b/packages/mirador/README.md @@ -0,0 +1,112 @@ +⚠️ This project is for Mirador 3, the latest version of Mirador. For Mirador 2, please see [ProjectMirador/mirador2](https://github.com/projectmirador/mirador2) or legacy documentation on the [Mirador 2 wiki](https://github.com/ProjectMirador/mirador-2-wiki/wiki). Please note that the community's focus is on Mirador 3, and are unlikely to accept pull requests or provide support for Mirador 2. +# Mirador +![Node.js CI](https://github.com/ProjectMirador/mirador/workflows/Node.js%20CI/badge.svg) [![codecov](https://codecov.io/gh/ProjectMirador/mirador/branch/master/graph/badge.svg)](https://codecov.io/gh/ProjectMirador/mirador) + +## For Mirador Users +You can quickly use and configure Mirador by remixing the [mirador-start](https://mirador-start.glitch.me/) Glitch. + +We recommend installing Mirador using a JavaScript package manager like [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/). + +```sh +$ npm install mirador + +# or + +$ yarn add mirador +``` + +If you are interested in integrating Mirador with plugins into your project, we recommend using webpack or parcel to integrate the es version of the packages. Examples are here: + +[https://github.com/ProjectMirador/mirador-integration](https://github.com/ProjectMirador/mirador-integration) + +If you want to simply embed Mirador in an HTML page without further customization, include the Mirador UMD build: + +``` + +``` + +More examples of embedding Mirador can be found at [https://github.com/ProjectMirador/mirador/wiki/M3-Embedding-in-Another-Environment#in-an-html-document-with-javascript](https://github.com/ProjectMirador/mirador/wiki/M3-Embedding-in-Another-Environment#in-an-html-document-with-javascript). + +## Adding translations to Mirador +For help with adding a translation, see [src/locales/README.md](src/locales/README.md) + +## Running Mirador locally for development + +Mirador local development requires [nodejs](https://nodejs.org/en/download/) to be installed. + +1. Run `npm install` to install the dependencies. + +### Starting the project + +```sh +$ npm start +``` + +Then navigate to [http://127.0.0.1:4444/](http://127.0.0.1:4444/) + +### Instantiating Mirador + +```javascript +var miradorInstance = Mirador.viewer({ + id: 'mirador' // id selector where Mirador should be instantiated +}); + +> miradorInstance +{ actions, store } +``` + +### Example Action + +Add a window: +```javascript +store.dispatch(actions.addWindow()); +``` + +To focus a window run: + +```javascript +store.dispatch(actions.focusWindow('window-1')) +``` + +### Check current state + +```javascript +store.getState() +``` + +## Running the tests + +```sh +$ npm test # For headless CI=true npm test +``` + +or to continually watch the source files + +```sh +$ npm run test:watch +``` + +## Linting the project + +```sh +$ npm run lint +``` + +## Debugging + +### Local instance + +The following browser extensions are useful for debugging a local development instance of Mirador: + + - [React DevTools](https://github.com/facebook/react-devtools) + - [Redux DevTools](https://github.com/zalmoxisus/redux-devtools-extension) + +### Test suite + +To debug the test suite, run: + +```sh +$ npm run test:debug +``` + +then spin up a [nodejs inspector client](https://nodejs.org/en/docs/guides/debugging-getting-started/#inspector-clients) and set some breakpoints. See [here](https://www.digitalocean.com/community/tutorials/how-to-debug-node-js-with-the-built-in-debugger-and-chrome-devtools#step-3-%E2%80%94-debugging-node-js-with-chrome-devtools) for a guide to debugging with Chrome DevTools. diff --git a/__mocks__/css.js b/packages/mirador/__mocks__/css.js similarity index 100% rename from __mocks__/css.js rename to packages/mirador/__mocks__/css.js diff --git a/__tests__/fixtures/config/export.example.json b/packages/mirador/__tests__/fixtures/config/export.example.json similarity index 100% rename from __tests__/fixtures/config/export.example.json rename to packages/mirador/__tests__/fixtures/config/export.example.json diff --git a/__tests__/fixtures/version-2/001.json b/packages/mirador/__tests__/fixtures/version-2/001.json similarity index 100% rename from __tests__/fixtures/version-2/001.json rename to packages/mirador/__tests__/fixtures/version-2/001.json diff --git a/__tests__/fixtures/version-2/002.json b/packages/mirador/__tests__/fixtures/version-2/002.json similarity index 100% rename from __tests__/fixtures/version-2/002.json rename to packages/mirador/__tests__/fixtures/version-2/002.json diff --git a/__tests__/fixtures/version-2/015.json b/packages/mirador/__tests__/fixtures/version-2/015.json similarity index 100% rename from __tests__/fixtures/version-2/015.json rename to packages/mirador/__tests__/fixtures/version-2/015.json diff --git a/__tests__/fixtures/version-2/019.json b/packages/mirador/__tests__/fixtures/version-2/019.json similarity index 100% rename from __tests__/fixtures/version-2/019.json rename to packages/mirador/__tests__/fixtures/version-2/019.json diff --git a/__tests__/fixtures/version-2/024.json b/packages/mirador/__tests__/fixtures/version-2/024.json similarity index 100% rename from __tests__/fixtures/version-2/024.json rename to packages/mirador/__tests__/fixtures/version-2/024.json diff --git a/__tests__/fixtures/version-2/2017498721.json b/packages/mirador/__tests__/fixtures/version-2/2017498721.json similarity index 100% rename from __tests__/fixtures/version-2/2017498721.json rename to packages/mirador/__tests__/fixtures/version-2/2017498721.json diff --git a/__tests__/fixtures/version-2/299843.json b/packages/mirador/__tests__/fixtures/version-2/299843.json similarity index 100% rename from __tests__/fixtures/version-2/299843.json rename to packages/mirador/__tests__/fixtures/version-2/299843.json diff --git a/__tests__/fixtures/version-2/BibliographicResource_3000126341277.json b/packages/mirador/__tests__/fixtures/version-2/BibliographicResource_3000126341277.json similarity index 100% rename from __tests__/fixtures/version-2/BibliographicResource_3000126341277.json rename to packages/mirador/__tests__/fixtures/version-2/BibliographicResource_3000126341277.json diff --git a/__tests__/fixtures/version-2/Osbornfa1.json b/packages/mirador/__tests__/fixtures/version-2/Osbornfa1.json similarity index 100% rename from __tests__/fixtures/version-2/Osbornfa1.json rename to packages/mirador/__tests__/fixtures/version-2/Osbornfa1.json diff --git a/__tests__/fixtures/version-2/annotationMiradorDual.json b/packages/mirador/__tests__/fixtures/version-2/annotationMiradorDual.json similarity index 100% rename from __tests__/fixtures/version-2/annotationMiradorDual.json rename to packages/mirador/__tests__/fixtures/version-2/annotationMiradorDual.json diff --git a/__tests__/fixtures/version-2/broken.json b/packages/mirador/__tests__/fixtures/version-2/broken.json similarity index 100% rename from __tests__/fixtures/version-2/broken.json rename to packages/mirador/__tests__/fixtures/version-2/broken.json diff --git a/__tests__/fixtures/version-2/canvasService.json b/packages/mirador/__tests__/fixtures/version-2/canvasService.json similarity index 100% rename from __tests__/fixtures/version-2/canvasService.json rename to packages/mirador/__tests__/fixtures/version-2/canvasService.json diff --git a/__tests__/fixtures/version-2/collection.json b/packages/mirador/__tests__/fixtures/version-2/collection.json similarity index 100% rename from __tests__/fixtures/version-2/collection.json rename to packages/mirador/__tests__/fixtures/version-2/collection.json diff --git a/__tests__/fixtures/version-2/emptyCanvas.json b/packages/mirador/__tests__/fixtures/version-2/emptyCanvas.json similarity index 100% rename from __tests__/fixtures/version-2/emptyCanvas.json rename to packages/mirador/__tests__/fixtures/version-2/emptyCanvas.json diff --git a/__tests__/fixtures/version-2/fg165hz3589.json b/packages/mirador/__tests__/fixtures/version-2/fg165hz3589.json similarity index 100% rename from __tests__/fixtures/version-2/fg165hz3589.json rename to packages/mirador/__tests__/fixtures/version-2/fg165hz3589.json diff --git a/__tests__/fixtures/version-2/gau.json b/packages/mirador/__tests__/fixtures/version-2/gau.json similarity index 100% rename from __tests__/fixtures/version-2/gau.json rename to packages/mirador/__tests__/fixtures/version-2/gau.json diff --git a/__tests__/fixtures/version-2/hamilton.json b/packages/mirador/__tests__/fixtures/version-2/hamilton.json similarity index 100% rename from __tests__/fixtures/version-2/hamilton.json rename to packages/mirador/__tests__/fixtures/version-2/hamilton.json diff --git a/__tests__/fixtures/version-2/iiifauth.json b/packages/mirador/__tests__/fixtures/version-2/iiifauth.json similarity index 100% rename from __tests__/fixtures/version-2/iiifauth.json rename to packages/mirador/__tests__/fixtures/version-2/iiifauth.json diff --git a/__tests__/fixtures/version-2/minimumRequired.json b/packages/mirador/__tests__/fixtures/version-2/minimumRequired.json similarity index 100% rename from __tests__/fixtures/version-2/minimumRequired.json rename to packages/mirador/__tests__/fixtures/version-2/minimumRequired.json diff --git a/__tests__/fixtures/version-2/multipleSequences.json b/packages/mirador/__tests__/fixtures/version-2/multipleSequences.json similarity index 100% rename from __tests__/fixtures/version-2/multipleSequences.json rename to packages/mirador/__tests__/fixtures/version-2/multipleSequences.json diff --git a/__tests__/fixtures/version-2/related.json b/packages/mirador/__tests__/fixtures/version-2/related.json similarity index 100% rename from __tests__/fixtures/version-2/related.json rename to packages/mirador/__tests__/fixtures/version-2/related.json diff --git a/__tests__/fixtures/version-2/sn904cj3429.json b/packages/mirador/__tests__/fixtures/version-2/sn904cj3429.json similarity index 100% rename from __tests__/fixtures/version-2/sn904cj3429.json rename to packages/mirador/__tests__/fixtures/version-2/sn904cj3429.json diff --git a/__tests__/fixtures/version-2/structures.json b/packages/mirador/__tests__/fixtures/version-2/structures.json similarity index 100% rename from __tests__/fixtures/version-2/structures.json rename to packages/mirador/__tests__/fixtures/version-2/structures.json diff --git a/__tests__/fixtures/version-2/zeroWidthCanvas.json b/packages/mirador/__tests__/fixtures/version-2/zeroWidthCanvas.json similarity index 100% rename from __tests__/fixtures/version-2/zeroWidthCanvas.json rename to packages/mirador/__tests__/fixtures/version-2/zeroWidthCanvas.json diff --git a/__tests__/fixtures/version-3/0002-mvm-audio.json b/packages/mirador/__tests__/fixtures/version-3/0002-mvm-audio.json similarity index 100% rename from __tests__/fixtures/version-3/0002-mvm-audio.json rename to packages/mirador/__tests__/fixtures/version-3/0002-mvm-audio.json diff --git a/__tests__/fixtures/version-3/001.json b/packages/mirador/__tests__/fixtures/version-3/001.json similarity index 100% rename from __tests__/fixtures/version-3/001.json rename to packages/mirador/__tests__/fixtures/version-3/001.json diff --git a/__tests__/fixtures/version-3/0015-start.json b/packages/mirador/__tests__/fixtures/version-3/0015-start.json similarity index 100% rename from __tests__/fixtures/version-3/0015-start.json rename to packages/mirador/__tests__/fixtures/version-3/0015-start.json diff --git a/__tests__/fixtures/version-3/hamilton.json b/packages/mirador/__tests__/fixtures/version-3/hamilton.json similarity index 100% rename from __tests__/fixtures/version-3/hamilton.json rename to packages/mirador/__tests__/fixtures/version-3/hamilton.json diff --git a/__tests__/fixtures/version-3/minimumRequired.json b/packages/mirador/__tests__/fixtures/version-3/minimumRequired.json similarity index 100% rename from __tests__/fixtures/version-3/minimumRequired.json rename to packages/mirador/__tests__/fixtures/version-3/minimumRequired.json diff --git a/__tests__/fixtures/version-3/structures.json b/packages/mirador/__tests__/fixtures/version-3/structures.json similarity index 100% rename from __tests__/fixtures/version-3/structures.json rename to packages/mirador/__tests__/fixtures/version-3/structures.json diff --git a/__tests__/fixtures/version-3/video_with_annotation_captions.json b/packages/mirador/__tests__/fixtures/version-3/video_with_annotation_captions.json similarity index 100% rename from __tests__/fixtures/version-3/video_with_annotation_captions.json rename to packages/mirador/__tests__/fixtures/version-3/video_with_annotation_captions.json diff --git a/__tests__/fixtures/version-3/with_a_provider.json b/packages/mirador/__tests__/fixtures/version-3/with_a_provider.json similarity index 100% rename from __tests__/fixtures/version-3/with_a_provider.json rename to packages/mirador/__tests__/fixtures/version-3/with_a_provider.json diff --git a/__tests__/integration/mirador/annotations.test.js b/packages/mirador/__tests__/integration/mirador/annotations.test.js similarity index 100% rename from __tests__/integration/mirador/annotations.test.js rename to packages/mirador/__tests__/integration/mirador/annotations.test.js diff --git a/__tests__/integration/mirador/auth.html b/packages/mirador/__tests__/integration/mirador/auth.html similarity index 100% rename from __tests__/integration/mirador/auth.html rename to packages/mirador/__tests__/integration/mirador/auth.html diff --git a/__tests__/integration/mirador/basic.test.js b/packages/mirador/__tests__/integration/mirador/basic.test.js similarity index 100% rename from __tests__/integration/mirador/basic.test.js rename to packages/mirador/__tests__/integration/mirador/basic.test.js diff --git a/__tests__/integration/mirador/blank.html b/packages/mirador/__tests__/integration/mirador/blank.html similarity index 100% rename from __tests__/integration/mirador/blank.html rename to packages/mirador/__tests__/integration/mirador/blank.html diff --git a/__tests__/integration/mirador/collections.html b/packages/mirador/__tests__/integration/mirador/collections.html similarity index 100% rename from __tests__/integration/mirador/collections.html rename to packages/mirador/__tests__/integration/mirador/collections.html diff --git a/__tests__/integration/mirador/companion_windows.test.js b/packages/mirador/__tests__/integration/mirador/companion_windows.test.js similarity index 100% rename from __tests__/integration/mirador/companion_windows.test.js rename to packages/mirador/__tests__/integration/mirador/companion_windows.test.js diff --git a/__tests__/integration/mirador/contentsearch.html b/packages/mirador/__tests__/integration/mirador/contentsearch.html similarity index 100% rename from __tests__/integration/mirador/contentsearch.html rename to packages/mirador/__tests__/integration/mirador/contentsearch.html diff --git a/__tests__/integration/mirador/embedding.html b/packages/mirador/__tests__/integration/mirador/embedding.html similarity index 100% rename from __tests__/integration/mirador/embedding.html rename to packages/mirador/__tests__/integration/mirador/embedding.html diff --git a/__tests__/integration/mirador/iframe.html b/packages/mirador/__tests__/integration/mirador/iframe.html similarity index 100% rename from __tests__/integration/mirador/iframe.html rename to packages/mirador/__tests__/integration/mirador/iframe.html diff --git a/__tests__/integration/mirador/import_export.js b/packages/mirador/__tests__/integration/mirador/import_export.js similarity index 100% rename from __tests__/integration/mirador/import_export.js rename to packages/mirador/__tests__/integration/mirador/import_export.js diff --git a/__tests__/integration/mirador/index.html b/packages/mirador/__tests__/integration/mirador/index.html similarity index 100% rename from __tests__/integration/mirador/index.html rename to packages/mirador/__tests__/integration/mirador/index.html diff --git a/__tests__/integration/mirador/invalid-api-response.test.js b/packages/mirador/__tests__/integration/mirador/invalid-api-response.test.js similarity index 100% rename from __tests__/integration/mirador/invalid-api-response.test.js rename to packages/mirador/__tests__/integration/mirador/invalid-api-response.test.js diff --git a/__tests__/integration/mirador/language_switching.test.js b/packages/mirador/__tests__/integration/mirador/language_switching.test.js similarity index 100% rename from __tests__/integration/mirador/language_switching.test.js rename to packages/mirador/__tests__/integration/mirador/language_switching.test.js diff --git a/__tests__/integration/mirador/layers.html b/packages/mirador/__tests__/integration/mirador/layers.html similarity index 100% rename from __tests__/integration/mirador/layers.html rename to packages/mirador/__tests__/integration/mirador/layers.html diff --git a/__tests__/integration/mirador/level0.html b/packages/mirador/__tests__/integration/mirador/level0.html similarity index 100% rename from __tests__/integration/mirador/level0.html rename to packages/mirador/__tests__/integration/mirador/level0.html diff --git a/__tests__/integration/mirador/minimalist.html b/packages/mirador/__tests__/integration/mirador/minimalist.html similarity index 100% rename from __tests__/integration/mirador/minimalist.html rename to packages/mirador/__tests__/integration/mirador/minimalist.html diff --git a/__tests__/integration/mirador/minimalist.test.js b/packages/mirador/__tests__/integration/mirador/minimalist.test.js similarity index 100% rename from __tests__/integration/mirador/minimalist.test.js rename to packages/mirador/__tests__/integration/mirador/minimalist.test.js diff --git a/__tests__/integration/mirador/plugins/add.html b/packages/mirador/__tests__/integration/mirador/plugins/add.html similarity index 100% rename from __tests__/integration/mirador/plugins/add.html rename to packages/mirador/__tests__/integration/mirador/plugins/add.html diff --git a/__tests__/integration/mirador/plugins/add.test.js b/packages/mirador/__tests__/integration/mirador/plugins/add.test.js similarity index 100% rename from __tests__/integration/mirador/plugins/add.test.js rename to packages/mirador/__tests__/integration/mirador/plugins/add.test.js diff --git a/__tests__/integration/mirador/plugins/companionWindow.html b/packages/mirador/__tests__/integration/mirador/plugins/companionWindow.html similarity index 100% rename from __tests__/integration/mirador/plugins/companionWindow.html rename to packages/mirador/__tests__/integration/mirador/plugins/companionWindow.html diff --git a/__tests__/integration/mirador/plugins/companionWindow.test.js b/packages/mirador/__tests__/integration/mirador/plugins/companionWindow.test.js similarity index 100% rename from __tests__/integration/mirador/plugins/companionWindow.test.js rename to packages/mirador/__tests__/integration/mirador/plugins/companionWindow.test.js diff --git a/__tests__/integration/mirador/plugins/priority.html b/packages/mirador/__tests__/integration/mirador/plugins/priority.html similarity index 100% rename from __tests__/integration/mirador/plugins/priority.html rename to packages/mirador/__tests__/integration/mirador/plugins/priority.html diff --git a/__tests__/integration/mirador/plugins/priority.test.js b/packages/mirador/__tests__/integration/mirador/plugins/priority.test.js similarity index 100% rename from __tests__/integration/mirador/plugins/priority.test.js rename to packages/mirador/__tests__/integration/mirador/plugins/priority.test.js diff --git a/__tests__/integration/mirador/plugins/state.html b/packages/mirador/__tests__/integration/mirador/plugins/state.html similarity index 100% rename from __tests__/integration/mirador/plugins/state.html rename to packages/mirador/__tests__/integration/mirador/plugins/state.html diff --git a/__tests__/integration/mirador/plugins/state.test.js b/packages/mirador/__tests__/integration/mirador/plugins/state.test.js similarity index 100% rename from __tests__/integration/mirador/plugins/state.test.js rename to packages/mirador/__tests__/integration/mirador/plugins/state.test.js diff --git a/__tests__/integration/mirador/plugins/validate.html b/packages/mirador/__tests__/integration/mirador/plugins/validate.html similarity index 100% rename from __tests__/integration/mirador/plugins/validate.html rename to packages/mirador/__tests__/integration/mirador/plugins/validate.html diff --git a/__tests__/integration/mirador/plugins/validate.test.js b/packages/mirador/__tests__/integration/mirador/plugins/validate.test.js similarity index 100% rename from __tests__/integration/mirador/plugins/validate.test.js rename to packages/mirador/__tests__/integration/mirador/plugins/validate.test.js diff --git a/__tests__/integration/mirador/plugins/wrap.html b/packages/mirador/__tests__/integration/mirador/plugins/wrap.html similarity index 100% rename from __tests__/integration/mirador/plugins/wrap.html rename to packages/mirador/__tests__/integration/mirador/plugins/wrap.html diff --git a/__tests__/integration/mirador/plugins/wrap.test.js b/packages/mirador/__tests__/integration/mirador/plugins/wrap.test.js similarity index 100% rename from __tests__/integration/mirador/plugins/wrap.test.js rename to packages/mirador/__tests__/integration/mirador/plugins/wrap.test.js diff --git a/__tests__/integration/mirador/rtl.html b/packages/mirador/__tests__/integration/mirador/rtl.html similarity index 100% rename from __tests__/integration/mirador/rtl.html rename to packages/mirador/__tests__/integration/mirador/rtl.html diff --git a/__tests__/integration/mirador/sequence_switching.test.js b/packages/mirador/__tests__/integration/mirador/sequence_switching.test.js similarity index 100% rename from __tests__/integration/mirador/sequence_switching.test.js rename to packages/mirador/__tests__/integration/mirador/sequence_switching.test.js diff --git a/__tests__/integration/mirador/svg_annos.html b/packages/mirador/__tests__/integration/mirador/svg_annos.html similarity index 100% rename from __tests__/integration/mirador/svg_annos.html rename to packages/mirador/__tests__/integration/mirador/svg_annos.html diff --git a/__tests__/integration/mirador/thumbnail-navigation.test.js b/packages/mirador/__tests__/integration/mirador/thumbnail-navigation.test.js similarity index 100% rename from __tests__/integration/mirador/thumbnail-navigation.test.js rename to packages/mirador/__tests__/integration/mirador/thumbnail-navigation.test.js diff --git a/__tests__/integration/mirador/toc.html b/packages/mirador/__tests__/integration/mirador/toc.html similarity index 100% rename from __tests__/integration/mirador/toc.html rename to packages/mirador/__tests__/integration/mirador/toc.html diff --git a/__tests__/integration/mirador/v3.html b/packages/mirador/__tests__/integration/mirador/v3.html similarity index 100% rename from __tests__/integration/mirador/v3.html rename to packages/mirador/__tests__/integration/mirador/v3.html diff --git a/__tests__/integration/mirador/video.html b/packages/mirador/__tests__/integration/mirador/video.html similarity index 100% rename from __tests__/integration/mirador/video.html rename to packages/mirador/__tests__/integration/mirador/video.html diff --git a/__tests__/integration/mirador/window_actions.test.js b/packages/mirador/__tests__/integration/mirador/window_actions.test.js similarity index 100% rename from __tests__/integration/mirador/window_actions.test.js rename to packages/mirador/__tests__/integration/mirador/window_actions.test.js diff --git a/__tests__/integration/mirador/window_sidebar.test.js b/packages/mirador/__tests__/integration/mirador/window_sidebar.test.js similarity index 100% rename from __tests__/integration/mirador/window_sidebar.test.js rename to packages/mirador/__tests__/integration/mirador/window_sidebar.test.js diff --git a/__tests__/src/actions/annotation.test.js b/packages/mirador/__tests__/src/actions/annotation.test.js similarity index 100% rename from __tests__/src/actions/annotation.test.js rename to packages/mirador/__tests__/src/actions/annotation.test.js diff --git a/__tests__/src/actions/auth.test.js b/packages/mirador/__tests__/src/actions/auth.test.js similarity index 100% rename from __tests__/src/actions/auth.test.js rename to packages/mirador/__tests__/src/actions/auth.test.js diff --git a/__tests__/src/actions/canvas.test.js b/packages/mirador/__tests__/src/actions/canvas.test.js similarity index 100% rename from __tests__/src/actions/canvas.test.js rename to packages/mirador/__tests__/src/actions/canvas.test.js diff --git a/__tests__/src/actions/catalog.test.js b/packages/mirador/__tests__/src/actions/catalog.test.js similarity index 100% rename from __tests__/src/actions/catalog.test.js rename to packages/mirador/__tests__/src/actions/catalog.test.js diff --git a/__tests__/src/actions/companionWindow.test.js b/packages/mirador/__tests__/src/actions/companionWindow.test.js similarity index 100% rename from __tests__/src/actions/companionWindow.test.js rename to packages/mirador/__tests__/src/actions/companionWindow.test.js diff --git a/__tests__/src/actions/config.test.js b/packages/mirador/__tests__/src/actions/config.test.js similarity index 100% rename from __tests__/src/actions/config.test.js rename to packages/mirador/__tests__/src/actions/config.test.js diff --git a/__tests__/src/actions/elasticLayout.test.js b/packages/mirador/__tests__/src/actions/elasticLayout.test.js similarity index 100% rename from __tests__/src/actions/elasticLayout.test.js rename to packages/mirador/__tests__/src/actions/elasticLayout.test.js diff --git a/__tests__/src/actions/errors.test.js b/packages/mirador/__tests__/src/actions/errors.test.js similarity index 100% rename from __tests__/src/actions/errors.test.js rename to packages/mirador/__tests__/src/actions/errors.test.js diff --git a/__tests__/src/actions/infoResponse.test.js b/packages/mirador/__tests__/src/actions/infoResponse.test.js similarity index 100% rename from __tests__/src/actions/infoResponse.test.js rename to packages/mirador/__tests__/src/actions/infoResponse.test.js diff --git a/__tests__/src/actions/layers.test.js b/packages/mirador/__tests__/src/actions/layers.test.js similarity index 100% rename from __tests__/src/actions/layers.test.js rename to packages/mirador/__tests__/src/actions/layers.test.js diff --git a/__tests__/src/actions/manifest.test.js b/packages/mirador/__tests__/src/actions/manifest.test.js similarity index 100% rename from __tests__/src/actions/manifest.test.js rename to packages/mirador/__tests__/src/actions/manifest.test.js diff --git a/__tests__/src/actions/search.test.js b/packages/mirador/__tests__/src/actions/search.test.js similarity index 100% rename from __tests__/src/actions/search.test.js rename to packages/mirador/__tests__/src/actions/search.test.js diff --git a/__tests__/src/actions/window.test.js b/packages/mirador/__tests__/src/actions/window.test.js similarity index 100% rename from __tests__/src/actions/window.test.js rename to packages/mirador/__tests__/src/actions/window.test.js diff --git a/__tests__/src/actions/workspace.test.js b/packages/mirador/__tests__/src/actions/workspace.test.js similarity index 100% rename from __tests__/src/actions/workspace.test.js rename to packages/mirador/__tests__/src/actions/workspace.test.js diff --git a/__tests__/src/components/AccessTokenSender.test.js b/packages/mirador/__tests__/src/components/AccessTokenSender.test.js similarity index 100% rename from __tests__/src/components/AccessTokenSender.test.js rename to packages/mirador/__tests__/src/components/AccessTokenSender.test.js diff --git a/__tests__/src/components/AnnotationSettings.test.js b/packages/mirador/__tests__/src/components/AnnotationSettings.test.js similarity index 100% rename from __tests__/src/components/AnnotationSettings.test.js rename to packages/mirador/__tests__/src/components/AnnotationSettings.test.js diff --git a/__tests__/src/components/AnnotationsOverlay.test.js b/packages/mirador/__tests__/src/components/AnnotationsOverlay.test.js similarity index 100% rename from __tests__/src/components/AnnotationsOverlay.test.js rename to packages/mirador/__tests__/src/components/AnnotationsOverlay.test.js diff --git a/__tests__/src/components/App.test.js b/packages/mirador/__tests__/src/components/App.test.js similarity index 100% rename from __tests__/src/components/App.test.js rename to packages/mirador/__tests__/src/components/App.test.js diff --git a/__tests__/src/components/AppProviders.test.js b/packages/mirador/__tests__/src/components/AppProviders.test.js similarity index 100% rename from __tests__/src/components/AppProviders.test.js rename to packages/mirador/__tests__/src/components/AppProviders.test.js diff --git a/__tests__/src/components/AttributionPanel.test.js b/packages/mirador/__tests__/src/components/AttributionPanel.test.js similarity index 100% rename from __tests__/src/components/AttributionPanel.test.js rename to packages/mirador/__tests__/src/components/AttributionPanel.test.js diff --git a/__tests__/src/components/AudioViewer.test.js b/packages/mirador/__tests__/src/components/AudioViewer.test.js similarity index 100% rename from __tests__/src/components/AudioViewer.test.js rename to packages/mirador/__tests__/src/components/AudioViewer.test.js diff --git a/__tests__/src/components/BackgroundPluginArea.test.js b/packages/mirador/__tests__/src/components/BackgroundPluginArea.test.js similarity index 100% rename from __tests__/src/components/BackgroundPluginArea.test.js rename to packages/mirador/__tests__/src/components/BackgroundPluginArea.test.js diff --git a/__tests__/src/components/Branding.test.js b/packages/mirador/__tests__/src/components/Branding.test.js similarity index 100% rename from __tests__/src/components/Branding.test.js rename to packages/mirador/__tests__/src/components/Branding.test.js diff --git a/__tests__/src/components/CanvasAnnotations.test.js b/packages/mirador/__tests__/src/components/CanvasAnnotations.test.js similarity index 100% rename from __tests__/src/components/CanvasAnnotations.test.js rename to packages/mirador/__tests__/src/components/CanvasAnnotations.test.js diff --git a/__tests__/src/components/CanvasInfo.test.js b/packages/mirador/__tests__/src/components/CanvasInfo.test.js similarity index 100% rename from __tests__/src/components/CanvasInfo.test.js rename to packages/mirador/__tests__/src/components/CanvasInfo.test.js diff --git a/__tests__/src/components/CanvasLayers.test.js b/packages/mirador/__tests__/src/components/CanvasLayers.test.js similarity index 100% rename from __tests__/src/components/CanvasLayers.test.js rename to packages/mirador/__tests__/src/components/CanvasLayers.test.js diff --git a/__tests__/src/components/ChangeThemeDialog.test.js b/packages/mirador/__tests__/src/components/ChangeThemeDialog.test.js similarity index 100% rename from __tests__/src/components/ChangeThemeDialog.test.js rename to packages/mirador/__tests__/src/components/ChangeThemeDialog.test.js diff --git a/__tests__/src/components/CollapsibleSection.test.js b/packages/mirador/__tests__/src/components/CollapsibleSection.test.js similarity index 100% rename from __tests__/src/components/CollapsibleSection.test.js rename to packages/mirador/__tests__/src/components/CollapsibleSection.test.js diff --git a/__tests__/src/components/CollectionDialog.test.js b/packages/mirador/__tests__/src/components/CollectionDialog.test.js similarity index 100% rename from __tests__/src/components/CollectionDialog.test.js rename to packages/mirador/__tests__/src/components/CollectionDialog.test.js diff --git a/__tests__/src/components/CollectionInfo.test.js b/packages/mirador/__tests__/src/components/CollectionInfo.test.js similarity index 100% rename from __tests__/src/components/CollectionInfo.test.js rename to packages/mirador/__tests__/src/components/CollectionInfo.test.js diff --git a/__tests__/src/components/CompanionArea.test.js b/packages/mirador/__tests__/src/components/CompanionArea.test.js similarity index 100% rename from __tests__/src/components/CompanionArea.test.js rename to packages/mirador/__tests__/src/components/CompanionArea.test.js diff --git a/__tests__/src/components/CompanionWindow.test.js b/packages/mirador/__tests__/src/components/CompanionWindow.test.js similarity index 100% rename from __tests__/src/components/CompanionWindow.test.js rename to packages/mirador/__tests__/src/components/CompanionWindow.test.js diff --git a/__tests__/src/components/CompanionWindowFactory.test.js b/packages/mirador/__tests__/src/components/CompanionWindowFactory.test.js similarity index 100% rename from __tests__/src/components/CompanionWindowFactory.test.js rename to packages/mirador/__tests__/src/components/CompanionWindowFactory.test.js diff --git a/__tests__/src/components/ErrorContent.test.js b/packages/mirador/__tests__/src/components/ErrorContent.test.js similarity index 100% rename from __tests__/src/components/ErrorContent.test.js rename to packages/mirador/__tests__/src/components/ErrorContent.test.js diff --git a/__tests__/src/components/ErrorDialog.test.js b/packages/mirador/__tests__/src/components/ErrorDialog.test.js similarity index 100% rename from __tests__/src/components/ErrorDialog.test.js rename to packages/mirador/__tests__/src/components/ErrorDialog.test.js diff --git a/__tests__/src/components/FullScreenButton.test.js b/packages/mirador/__tests__/src/components/FullScreenButton.test.js similarity index 100% rename from __tests__/src/components/FullScreenButton.test.js rename to packages/mirador/__tests__/src/components/FullScreenButton.test.js diff --git a/__tests__/src/components/GalleryView.test.js b/packages/mirador/__tests__/src/components/GalleryView.test.js similarity index 100% rename from __tests__/src/components/GalleryView.test.js rename to packages/mirador/__tests__/src/components/GalleryView.test.js diff --git a/__tests__/src/components/GalleryViewThumbnail.test.js b/packages/mirador/__tests__/src/components/GalleryViewThumbnail.test.js similarity index 100% rename from __tests__/src/components/GalleryViewThumbnail.test.js rename to packages/mirador/__tests__/src/components/GalleryViewThumbnail.test.js diff --git a/__tests__/src/components/IIIFAuthentication.test.js b/packages/mirador/__tests__/src/components/IIIFAuthentication.test.js similarity index 100% rename from __tests__/src/components/IIIFAuthentication.test.js rename to packages/mirador/__tests__/src/components/IIIFAuthentication.test.js diff --git a/__tests__/src/components/IIIFDropTarget.test.js b/packages/mirador/__tests__/src/components/IIIFDropTarget.test.js similarity index 100% rename from __tests__/src/components/IIIFDropTarget.test.js rename to packages/mirador/__tests__/src/components/IIIFDropTarget.test.js diff --git a/__tests__/src/components/IIIFIFrameCommunication.test.js b/packages/mirador/__tests__/src/components/IIIFIFrameCommunication.test.js similarity index 100% rename from __tests__/src/components/IIIFIFrameCommunication.test.js rename to packages/mirador/__tests__/src/components/IIIFIFrameCommunication.test.js diff --git a/__tests__/src/components/IIIFThumbnail.test.js b/packages/mirador/__tests__/src/components/IIIFThumbnail.test.js similarity index 100% rename from __tests__/src/components/IIIFThumbnail.test.js rename to packages/mirador/__tests__/src/components/IIIFThumbnail.test.js diff --git a/__tests__/src/components/LabelValueMetadata.test.js b/packages/mirador/__tests__/src/components/LabelValueMetadata.test.js similarity index 100% rename from __tests__/src/components/LabelValueMetadata.test.js rename to packages/mirador/__tests__/src/components/LabelValueMetadata.test.js diff --git a/__tests__/src/components/LanguageSettings.test.js b/packages/mirador/__tests__/src/components/LanguageSettings.test.js similarity index 100% rename from __tests__/src/components/LanguageSettings.test.js rename to packages/mirador/__tests__/src/components/LanguageSettings.test.js diff --git a/__tests__/src/components/LayersPanel.test.js b/packages/mirador/__tests__/src/components/LayersPanel.test.js similarity index 100% rename from __tests__/src/components/LayersPanel.test.js rename to packages/mirador/__tests__/src/components/LayersPanel.test.js diff --git a/__tests__/src/components/LocalePicker.test.js b/packages/mirador/__tests__/src/components/LocalePicker.test.js similarity index 100% rename from __tests__/src/components/LocalePicker.test.js rename to packages/mirador/__tests__/src/components/LocalePicker.test.js diff --git a/__tests__/src/components/ManifestForm.test.js b/packages/mirador/__tests__/src/components/ManifestForm.test.js similarity index 100% rename from __tests__/src/components/ManifestForm.test.js rename to packages/mirador/__tests__/src/components/ManifestForm.test.js diff --git a/__tests__/src/components/ManifestInfo.test.js b/packages/mirador/__tests__/src/components/ManifestInfo.test.js similarity index 100% rename from __tests__/src/components/ManifestInfo.test.js rename to packages/mirador/__tests__/src/components/ManifestInfo.test.js diff --git a/__tests__/src/components/ManifestListItem.test.js b/packages/mirador/__tests__/src/components/ManifestListItem.test.js similarity index 100% rename from __tests__/src/components/ManifestListItem.test.js rename to packages/mirador/__tests__/src/components/ManifestListItem.test.js diff --git a/__tests__/src/components/ManifestListItemError.test.js b/packages/mirador/__tests__/src/components/ManifestListItemError.test.js similarity index 100% rename from __tests__/src/components/ManifestListItemError.test.js rename to packages/mirador/__tests__/src/components/ManifestListItemError.test.js diff --git a/__tests__/src/components/ManifestRelatedLinks.test.js b/packages/mirador/__tests__/src/components/ManifestRelatedLinks.test.js similarity index 100% rename from __tests__/src/components/ManifestRelatedLinks.test.js rename to packages/mirador/__tests__/src/components/ManifestRelatedLinks.test.js diff --git a/__tests__/src/components/MiradorMenuButton.test.js b/packages/mirador/__tests__/src/components/MiradorMenuButton.test.js similarity index 100% rename from __tests__/src/components/MiradorMenuButton.test.js rename to packages/mirador/__tests__/src/components/MiradorMenuButton.test.js diff --git a/__tests__/src/components/MosaicRenderPreview.test.js b/packages/mirador/__tests__/src/components/MosaicRenderPreview.test.js similarity index 100% rename from __tests__/src/components/MosaicRenderPreview.test.js rename to packages/mirador/__tests__/src/components/MosaicRenderPreview.test.js diff --git a/__tests__/src/components/NestedMenu.test.js b/packages/mirador/__tests__/src/components/NestedMenu.test.js similarity index 100% rename from __tests__/src/components/NestedMenu.test.js rename to packages/mirador/__tests__/src/components/NestedMenu.test.js diff --git a/__tests__/src/components/NewWindow.test.js b/packages/mirador/__tests__/src/components/NewWindow.test.js similarity index 100% rename from __tests__/src/components/NewWindow.test.js rename to packages/mirador/__tests__/src/components/NewWindow.test.js diff --git a/__tests__/src/components/OpenSeadragonViewer.test.js b/packages/mirador/__tests__/src/components/OpenSeadragonViewer.test.js similarity index 100% rename from __tests__/src/components/OpenSeadragonViewer.test.js rename to packages/mirador/__tests__/src/components/OpenSeadragonViewer.test.js diff --git a/__tests__/src/components/PluginHook.test.js b/packages/mirador/__tests__/src/components/PluginHook.test.js similarity index 100% rename from __tests__/src/components/PluginHook.test.js rename to packages/mirador/__tests__/src/components/PluginHook.test.js diff --git a/__tests__/src/components/PrimaryWindow.test.js b/packages/mirador/__tests__/src/components/PrimaryWindow.test.js similarity index 100% rename from __tests__/src/components/PrimaryWindow.test.js rename to packages/mirador/__tests__/src/components/PrimaryWindow.test.js diff --git a/__tests__/src/components/SanitizedHtml.test.js b/packages/mirador/__tests__/src/components/SanitizedHtml.test.js similarity index 100% rename from __tests__/src/components/SanitizedHtml.test.js rename to packages/mirador/__tests__/src/components/SanitizedHtml.test.js diff --git a/__tests__/src/components/ScrollIndicatedDialogContent.test.js b/packages/mirador/__tests__/src/components/ScrollIndicatedDialogContent.test.js similarity index 100% rename from __tests__/src/components/ScrollIndicatedDialogContent.test.js rename to packages/mirador/__tests__/src/components/ScrollIndicatedDialogContent.test.js diff --git a/__tests__/src/components/ScrollTo.test.js b/packages/mirador/__tests__/src/components/ScrollTo.test.js similarity index 100% rename from __tests__/src/components/ScrollTo.test.js rename to packages/mirador/__tests__/src/components/ScrollTo.test.js diff --git a/__tests__/src/components/SearchHit.test.js b/packages/mirador/__tests__/src/components/SearchHit.test.js similarity index 100% rename from __tests__/src/components/SearchHit.test.js rename to packages/mirador/__tests__/src/components/SearchHit.test.js diff --git a/__tests__/src/components/SearchPanel.test.js b/packages/mirador/__tests__/src/components/SearchPanel.test.js similarity index 100% rename from __tests__/src/components/SearchPanel.test.js rename to packages/mirador/__tests__/src/components/SearchPanel.test.js diff --git a/__tests__/src/components/SearchPanelControls.test.js b/packages/mirador/__tests__/src/components/SearchPanelControls.test.js similarity index 100% rename from __tests__/src/components/SearchPanelControls.test.js rename to packages/mirador/__tests__/src/components/SearchPanelControls.test.js diff --git a/__tests__/src/components/SearchPanelNavigation.test.js b/packages/mirador/__tests__/src/components/SearchPanelNavigation.test.js similarity index 100% rename from __tests__/src/components/SearchPanelNavigation.test.js rename to packages/mirador/__tests__/src/components/SearchPanelNavigation.test.js diff --git a/__tests__/src/components/SearchResults.test.js b/packages/mirador/__tests__/src/components/SearchResults.test.js similarity index 100% rename from __tests__/src/components/SearchResults.test.js rename to packages/mirador/__tests__/src/components/SearchResults.test.js diff --git a/__tests__/src/components/SidebarIndexItem.test.js b/packages/mirador/__tests__/src/components/SidebarIndexItem.test.js similarity index 100% rename from __tests__/src/components/SidebarIndexItem.test.js rename to packages/mirador/__tests__/src/components/SidebarIndexItem.test.js diff --git a/__tests__/src/components/SidebarIndexList.test.js b/packages/mirador/__tests__/src/components/SidebarIndexList.test.js similarity index 100% rename from __tests__/src/components/SidebarIndexList.test.js rename to packages/mirador/__tests__/src/components/SidebarIndexList.test.js diff --git a/__tests__/src/components/SidebarIndexTableOfContents.test.js b/packages/mirador/__tests__/src/components/SidebarIndexTableOfContents.test.js similarity index 100% rename from __tests__/src/components/SidebarIndexTableOfContents.test.js rename to packages/mirador/__tests__/src/components/SidebarIndexTableOfContents.test.js diff --git a/__tests__/src/components/SidebarIndexThumbnail.test.js b/packages/mirador/__tests__/src/components/SidebarIndexThumbnail.test.js similarity index 100% rename from __tests__/src/components/SidebarIndexThumbnail.test.js rename to packages/mirador/__tests__/src/components/SidebarIndexThumbnail.test.js diff --git a/__tests__/src/components/ThumbnailCanvasGrouping.test.js b/packages/mirador/__tests__/src/components/ThumbnailCanvasGrouping.test.js similarity index 100% rename from __tests__/src/components/ThumbnailCanvasGrouping.test.js rename to packages/mirador/__tests__/src/components/ThumbnailCanvasGrouping.test.js diff --git a/__tests__/src/components/ThumbnailNavigation.test.js b/packages/mirador/__tests__/src/components/ThumbnailNavigation.test.js similarity index 100% rename from __tests__/src/components/ThumbnailNavigation.test.js rename to packages/mirador/__tests__/src/components/ThumbnailNavigation.test.js diff --git a/__tests__/src/components/VideoViewer.test.js b/packages/mirador/__tests__/src/components/VideoViewer.test.js similarity index 100% rename from __tests__/src/components/VideoViewer.test.js rename to packages/mirador/__tests__/src/components/VideoViewer.test.js diff --git a/__tests__/src/components/ViewerInfo.test.js b/packages/mirador/__tests__/src/components/ViewerInfo.test.js similarity index 100% rename from __tests__/src/components/ViewerInfo.test.js rename to packages/mirador/__tests__/src/components/ViewerInfo.test.js diff --git a/__tests__/src/components/ViewerNavigation.test.js b/packages/mirador/__tests__/src/components/ViewerNavigation.test.js similarity index 100% rename from __tests__/src/components/ViewerNavigation.test.js rename to packages/mirador/__tests__/src/components/ViewerNavigation.test.js diff --git a/__tests__/src/components/Window.test.js b/packages/mirador/__tests__/src/components/Window.test.js similarity index 100% rename from __tests__/src/components/Window.test.js rename to packages/mirador/__tests__/src/components/Window.test.js diff --git a/__tests__/src/components/WindowAuthenticationBar.test.js b/packages/mirador/__tests__/src/components/WindowAuthenticationBar.test.js similarity index 100% rename from __tests__/src/components/WindowAuthenticationBar.test.js rename to packages/mirador/__tests__/src/components/WindowAuthenticationBar.test.js diff --git a/__tests__/src/components/WindowCanvasNavigationControls.test.js b/packages/mirador/__tests__/src/components/WindowCanvasNavigationControls.test.js similarity index 100% rename from __tests__/src/components/WindowCanvasNavigationControls.test.js rename to packages/mirador/__tests__/src/components/WindowCanvasNavigationControls.test.js diff --git a/__tests__/src/components/WindowList.test.js b/packages/mirador/__tests__/src/components/WindowList.test.js similarity index 100% rename from __tests__/src/components/WindowList.test.js rename to packages/mirador/__tests__/src/components/WindowList.test.js diff --git a/__tests__/src/components/WindowListButton.test.js b/packages/mirador/__tests__/src/components/WindowListButton.test.js similarity index 100% rename from __tests__/src/components/WindowListButton.test.js rename to packages/mirador/__tests__/src/components/WindowListButton.test.js diff --git a/__tests__/src/components/WindowSideBar.test.js b/packages/mirador/__tests__/src/components/WindowSideBar.test.js similarity index 100% rename from __tests__/src/components/WindowSideBar.test.js rename to packages/mirador/__tests__/src/components/WindowSideBar.test.js diff --git a/__tests__/src/components/WindowSideBarAnnotationsPanel.test.js b/packages/mirador/__tests__/src/components/WindowSideBarAnnotationsPanel.test.js similarity index 100% rename from __tests__/src/components/WindowSideBarAnnotationsPanel.test.js rename to packages/mirador/__tests__/src/components/WindowSideBarAnnotationsPanel.test.js diff --git a/__tests__/src/components/WindowSideBarButtons.test.js b/packages/mirador/__tests__/src/components/WindowSideBarButtons.test.js similarity index 100% rename from __tests__/src/components/WindowSideBarButtons.test.js rename to packages/mirador/__tests__/src/components/WindowSideBarButtons.test.js diff --git a/__tests__/src/components/WindowSideBarCanvasPanel.test.js b/packages/mirador/__tests__/src/components/WindowSideBarCanvasPanel.test.js similarity index 100% rename from __tests__/src/components/WindowSideBarCanvasPanel.test.js rename to packages/mirador/__tests__/src/components/WindowSideBarCanvasPanel.test.js diff --git a/__tests__/src/components/WindowSideBarInfoPanel.test.js b/packages/mirador/__tests__/src/components/WindowSideBarInfoPanel.test.js similarity index 100% rename from __tests__/src/components/WindowSideBarInfoPanel.test.js rename to packages/mirador/__tests__/src/components/WindowSideBarInfoPanel.test.js diff --git a/__tests__/src/components/WindowThumbnailSettings.test.js b/packages/mirador/__tests__/src/components/WindowThumbnailSettings.test.js similarity index 100% rename from __tests__/src/components/WindowThumbnailSettings.test.js rename to packages/mirador/__tests__/src/components/WindowThumbnailSettings.test.js diff --git a/__tests__/src/components/WindowTopBar.test.js b/packages/mirador/__tests__/src/components/WindowTopBar.test.js similarity index 100% rename from __tests__/src/components/WindowTopBar.test.js rename to packages/mirador/__tests__/src/components/WindowTopBar.test.js diff --git a/__tests__/src/components/WindowTopBarPluginArea.test.js b/packages/mirador/__tests__/src/components/WindowTopBarPluginArea.test.js similarity index 100% rename from __tests__/src/components/WindowTopBarPluginArea.test.js rename to packages/mirador/__tests__/src/components/WindowTopBarPluginArea.test.js diff --git a/__tests__/src/components/WindowTopBarPluginMenu.test.js b/packages/mirador/__tests__/src/components/WindowTopBarPluginMenu.test.js similarity index 100% rename from __tests__/src/components/WindowTopBarPluginMenu.test.js rename to packages/mirador/__tests__/src/components/WindowTopBarPluginMenu.test.js diff --git a/__tests__/src/components/WindowTopBarTitle.test.js b/packages/mirador/__tests__/src/components/WindowTopBarTitle.test.js similarity index 100% rename from __tests__/src/components/WindowTopBarTitle.test.js rename to packages/mirador/__tests__/src/components/WindowTopBarTitle.test.js diff --git a/__tests__/src/components/WindowTopMenu.test.js b/packages/mirador/__tests__/src/components/WindowTopMenu.test.js similarity index 100% rename from __tests__/src/components/WindowTopMenu.test.js rename to packages/mirador/__tests__/src/components/WindowTopMenu.test.js diff --git a/__tests__/src/components/WindowTopMenuButton.test.js b/packages/mirador/__tests__/src/components/WindowTopMenuButton.test.js similarity index 100% rename from __tests__/src/components/WindowTopMenuButton.test.js rename to packages/mirador/__tests__/src/components/WindowTopMenuButton.test.js diff --git a/__tests__/src/components/WindowViewSettings.test.js b/packages/mirador/__tests__/src/components/WindowViewSettings.test.js similarity index 100% rename from __tests__/src/components/WindowViewSettings.test.js rename to packages/mirador/__tests__/src/components/WindowViewSettings.test.js diff --git a/__tests__/src/components/WindowViewer.test.js b/packages/mirador/__tests__/src/components/WindowViewer.test.js similarity index 100% rename from __tests__/src/components/WindowViewer.test.js rename to packages/mirador/__tests__/src/components/WindowViewer.test.js diff --git a/__tests__/src/components/Workspace.test.js b/packages/mirador/__tests__/src/components/Workspace.test.js similarity index 100% rename from __tests__/src/components/Workspace.test.js rename to packages/mirador/__tests__/src/components/Workspace.test.js diff --git a/__tests__/src/components/WorkspaceAdd.test.js b/packages/mirador/__tests__/src/components/WorkspaceAdd.test.js similarity index 100% rename from __tests__/src/components/WorkspaceAdd.test.js rename to packages/mirador/__tests__/src/components/WorkspaceAdd.test.js diff --git a/__tests__/src/components/WorkspaceAddButton.test.js b/packages/mirador/__tests__/src/components/WorkspaceAddButton.test.js similarity index 100% rename from __tests__/src/components/WorkspaceAddButton.test.js rename to packages/mirador/__tests__/src/components/WorkspaceAddButton.test.js diff --git a/__tests__/src/components/WorkspaceArea.test.js b/packages/mirador/__tests__/src/components/WorkspaceArea.test.js similarity index 100% rename from __tests__/src/components/WorkspaceArea.test.js rename to packages/mirador/__tests__/src/components/WorkspaceArea.test.js diff --git a/__tests__/src/components/WorkspaceControlPanel.test.js b/packages/mirador/__tests__/src/components/WorkspaceControlPanel.test.js similarity index 100% rename from __tests__/src/components/WorkspaceControlPanel.test.js rename to packages/mirador/__tests__/src/components/WorkspaceControlPanel.test.js diff --git a/__tests__/src/components/WorkspaceControlPanelButtons.test.js b/packages/mirador/__tests__/src/components/WorkspaceControlPanelButtons.test.js similarity index 100% rename from __tests__/src/components/WorkspaceControlPanelButtons.test.js rename to packages/mirador/__tests__/src/components/WorkspaceControlPanelButtons.test.js diff --git a/__tests__/src/components/WorkspaceElastic.test.js b/packages/mirador/__tests__/src/components/WorkspaceElastic.test.js similarity index 100% rename from __tests__/src/components/WorkspaceElastic.test.js rename to packages/mirador/__tests__/src/components/WorkspaceElastic.test.js diff --git a/__tests__/src/components/WorkspaceElasticWindow.test.js b/packages/mirador/__tests__/src/components/WorkspaceElasticWindow.test.js similarity index 100% rename from __tests__/src/components/WorkspaceElasticWindow.test.js rename to packages/mirador/__tests__/src/components/WorkspaceElasticWindow.test.js diff --git a/__tests__/src/components/WorkspaceExport.test.js b/packages/mirador/__tests__/src/components/WorkspaceExport.test.js similarity index 100% rename from __tests__/src/components/WorkspaceExport.test.js rename to packages/mirador/__tests__/src/components/WorkspaceExport.test.js diff --git a/__tests__/src/components/WorkspaceImport.test.js b/packages/mirador/__tests__/src/components/WorkspaceImport.test.js similarity index 100% rename from __tests__/src/components/WorkspaceImport.test.js rename to packages/mirador/__tests__/src/components/WorkspaceImport.test.js diff --git a/__tests__/src/components/WorkspaceMenu.test.js b/packages/mirador/__tests__/src/components/WorkspaceMenu.test.js similarity index 100% rename from __tests__/src/components/WorkspaceMenu.test.js rename to packages/mirador/__tests__/src/components/WorkspaceMenu.test.js diff --git a/__tests__/src/components/WorkspaceMenuButton.test.js b/packages/mirador/__tests__/src/components/WorkspaceMenuButton.test.js similarity index 100% rename from __tests__/src/components/WorkspaceMenuButton.test.js rename to packages/mirador/__tests__/src/components/WorkspaceMenuButton.test.js diff --git a/__tests__/src/components/WorkspaceMosaic.test.js b/packages/mirador/__tests__/src/components/WorkspaceMosaic.test.js similarity index 100% rename from __tests__/src/components/WorkspaceMosaic.test.js rename to packages/mirador/__tests__/src/components/WorkspaceMosaic.test.js diff --git a/__tests__/src/components/WorkspaceOptionsButton.test.js b/packages/mirador/__tests__/src/components/WorkspaceOptionsButton.test.js similarity index 100% rename from __tests__/src/components/WorkspaceOptionsButton.test.js rename to packages/mirador/__tests__/src/components/WorkspaceOptionsButton.test.js diff --git a/__tests__/src/components/WorkspaceOptionsMenu.test.js b/packages/mirador/__tests__/src/components/WorkspaceOptionsMenu.test.js similarity index 100% rename from __tests__/src/components/WorkspaceOptionsMenu.test.js rename to packages/mirador/__tests__/src/components/WorkspaceOptionsMenu.test.js diff --git a/__tests__/src/components/WorkspaceSelectionDialog.test.js b/packages/mirador/__tests__/src/components/WorkspaceSelectionDialog.test.js similarity index 100% rename from __tests__/src/components/WorkspaceSelectionDialog.test.js rename to packages/mirador/__tests__/src/components/WorkspaceSelectionDialog.test.js diff --git a/__tests__/src/components/ZoomControls.test.js b/packages/mirador/__tests__/src/components/ZoomControls.test.js similarity index 100% rename from __tests__/src/components/ZoomControls.test.js rename to packages/mirador/__tests__/src/components/ZoomControls.test.js diff --git a/__tests__/src/extend/pluginMapping.test.js b/packages/mirador/__tests__/src/extend/pluginMapping.test.js similarity index 100% rename from __tests__/src/extend/pluginMapping.test.js rename to packages/mirador/__tests__/src/extend/pluginMapping.test.js diff --git a/__tests__/src/extend/pluginPreprocessing.test.js b/packages/mirador/__tests__/src/extend/pluginPreprocessing.test.js similarity index 100% rename from __tests__/src/extend/pluginPreprocessing.test.js rename to packages/mirador/__tests__/src/extend/pluginPreprocessing.test.js diff --git a/__tests__/src/extend/pluginValidation.test.js b/packages/mirador/__tests__/src/extend/pluginValidation.test.js similarity index 100% rename from __tests__/src/extend/pluginValidation.test.js rename to packages/mirador/__tests__/src/extend/pluginValidation.test.js diff --git a/__tests__/src/extend/withPlugins.test.js b/packages/mirador/__tests__/src/extend/withPlugins.test.js similarity index 100% rename from __tests__/src/extend/withPlugins.test.js rename to packages/mirador/__tests__/src/extend/withPlugins.test.js diff --git a/__tests__/src/extend/withSize.test.js b/packages/mirador/__tests__/src/extend/withSize.test.js similarity index 100% rename from __tests__/src/extend/withSize.test.js rename to packages/mirador/__tests__/src/extend/withSize.test.js diff --git a/__tests__/src/lib/AnnotationFactory.test.js b/packages/mirador/__tests__/src/lib/AnnotationFactory.test.js similarity index 100% rename from __tests__/src/lib/AnnotationFactory.test.js rename to packages/mirador/__tests__/src/lib/AnnotationFactory.test.js diff --git a/__tests__/src/lib/AnnotationItem.test.js b/packages/mirador/__tests__/src/lib/AnnotationItem.test.js similarity index 100% rename from __tests__/src/lib/AnnotationItem.test.js rename to packages/mirador/__tests__/src/lib/AnnotationItem.test.js diff --git a/__tests__/src/lib/AnnotationList.test.js b/packages/mirador/__tests__/src/lib/AnnotationList.test.js similarity index 100% rename from __tests__/src/lib/AnnotationList.test.js rename to packages/mirador/__tests__/src/lib/AnnotationList.test.js diff --git a/__tests__/src/lib/AnnotationPage.test.js b/packages/mirador/__tests__/src/lib/AnnotationPage.test.js similarity index 100% rename from __tests__/src/lib/AnnotationPage.test.js rename to packages/mirador/__tests__/src/lib/AnnotationPage.test.js diff --git a/__tests__/src/lib/AnnotationResource.test.js b/packages/mirador/__tests__/src/lib/AnnotationResource.test.js similarity index 100% rename from __tests__/src/lib/AnnotationResource.test.js rename to packages/mirador/__tests__/src/lib/AnnotationResource.test.js diff --git a/__tests__/src/lib/CanvasAnnotationDisplay.test.js b/packages/mirador/__tests__/src/lib/CanvasAnnotationDisplay.test.js similarity index 100% rename from __tests__/src/lib/CanvasAnnotationDisplay.test.js rename to packages/mirador/__tests__/src/lib/CanvasAnnotationDisplay.test.js diff --git a/__tests__/src/lib/CanvasGroupings.test.js b/packages/mirador/__tests__/src/lib/CanvasGroupings.test.js similarity index 100% rename from __tests__/src/lib/CanvasGroupings.test.js rename to packages/mirador/__tests__/src/lib/CanvasGroupings.test.js diff --git a/__tests__/src/lib/CanvasWorld.test.js b/packages/mirador/__tests__/src/lib/CanvasWorld.test.js similarity index 100% rename from __tests__/src/lib/CanvasWorld.test.js rename to packages/mirador/__tests__/src/lib/CanvasWorld.test.js diff --git a/__tests__/src/lib/MiradorCanvas.test.js b/packages/mirador/__tests__/src/lib/MiradorCanvas.test.js similarity index 100% rename from __tests__/src/lib/MiradorCanvas.test.js rename to packages/mirador/__tests__/src/lib/MiradorCanvas.test.js diff --git a/__tests__/src/lib/MiradorManifest.test.js b/packages/mirador/__tests__/src/lib/MiradorManifest.test.js similarity index 100% rename from __tests__/src/lib/MiradorManifest.test.js rename to packages/mirador/__tests__/src/lib/MiradorManifest.test.js diff --git a/__tests__/src/lib/MiradorViewer.test.js b/packages/mirador/__tests__/src/lib/MiradorViewer.test.js similarity index 100% rename from __tests__/src/lib/MiradorViewer.test.js rename to packages/mirador/__tests__/src/lib/MiradorViewer.test.js diff --git a/__tests__/src/lib/MosaicLayout.test.js b/packages/mirador/__tests__/src/lib/MosaicLayout.test.js similarity index 100% rename from __tests__/src/lib/MosaicLayout.test.js rename to packages/mirador/__tests__/src/lib/MosaicLayout.test.js diff --git a/__tests__/src/lib/OpenSeadragonCanvasOverlay.test.js b/packages/mirador/__tests__/src/lib/OpenSeadragonCanvasOverlay.test.js similarity index 100% rename from __tests__/src/lib/OpenSeadragonCanvasOverlay.test.js rename to packages/mirador/__tests__/src/lib/OpenSeadragonCanvasOverlay.test.js diff --git a/__tests__/src/lib/ThumbnailFactory.test.js b/packages/mirador/__tests__/src/lib/ThumbnailFactory.test.js similarity index 100% rename from __tests__/src/lib/ThumbnailFactory.test.js rename to packages/mirador/__tests__/src/lib/ThumbnailFactory.test.js diff --git a/__tests__/src/lib/TruncatedHit.test.js b/packages/mirador/__tests__/src/lib/TruncatedHit.test.js similarity index 100% rename from __tests__/src/lib/TruncatedHit.test.js rename to packages/mirador/__tests__/src/lib/TruncatedHit.test.js diff --git a/__tests__/src/reducers/accessTokens.test.js b/packages/mirador/__tests__/src/reducers/accessTokens.test.js similarity index 100% rename from __tests__/src/reducers/accessTokens.test.js rename to packages/mirador/__tests__/src/reducers/accessTokens.test.js diff --git a/__tests__/src/reducers/annotations.test.js b/packages/mirador/__tests__/src/reducers/annotations.test.js similarity index 100% rename from __tests__/src/reducers/annotations.test.js rename to packages/mirador/__tests__/src/reducers/annotations.test.js diff --git a/__tests__/src/reducers/auth.test.js b/packages/mirador/__tests__/src/reducers/auth.test.js similarity index 100% rename from __tests__/src/reducers/auth.test.js rename to packages/mirador/__tests__/src/reducers/auth.test.js diff --git a/__tests__/src/reducers/catalog.test.js b/packages/mirador/__tests__/src/reducers/catalog.test.js similarity index 100% rename from __tests__/src/reducers/catalog.test.js rename to packages/mirador/__tests__/src/reducers/catalog.test.js diff --git a/__tests__/src/reducers/companionWindows.test.js b/packages/mirador/__tests__/src/reducers/companionWindows.test.js similarity index 100% rename from __tests__/src/reducers/companionWindows.test.js rename to packages/mirador/__tests__/src/reducers/companionWindows.test.js diff --git a/__tests__/src/reducers/config.test.js b/packages/mirador/__tests__/src/reducers/config.test.js similarity index 100% rename from __tests__/src/reducers/config.test.js rename to packages/mirador/__tests__/src/reducers/config.test.js diff --git a/__tests__/src/reducers/elasticLayout.test.js b/packages/mirador/__tests__/src/reducers/elasticLayout.test.js similarity index 100% rename from __tests__/src/reducers/elasticLayout.test.js rename to packages/mirador/__tests__/src/reducers/elasticLayout.test.js diff --git a/__tests__/src/reducers/errors.test.js b/packages/mirador/__tests__/src/reducers/errors.test.js similarity index 100% rename from __tests__/src/reducers/errors.test.js rename to packages/mirador/__tests__/src/reducers/errors.test.js diff --git a/__tests__/src/reducers/infoResponse.test.js b/packages/mirador/__tests__/src/reducers/infoResponse.test.js similarity index 100% rename from __tests__/src/reducers/infoResponse.test.js rename to packages/mirador/__tests__/src/reducers/infoResponse.test.js diff --git a/__tests__/src/reducers/layers.test.js b/packages/mirador/__tests__/src/reducers/layers.test.js similarity index 100% rename from __tests__/src/reducers/layers.test.js rename to packages/mirador/__tests__/src/reducers/layers.test.js diff --git a/__tests__/src/reducers/manifests.test.js b/packages/mirador/__tests__/src/reducers/manifests.test.js similarity index 100% rename from __tests__/src/reducers/manifests.test.js rename to packages/mirador/__tests__/src/reducers/manifests.test.js diff --git a/__tests__/src/reducers/search.test.js b/packages/mirador/__tests__/src/reducers/search.test.js similarity index 100% rename from __tests__/src/reducers/search.test.js rename to packages/mirador/__tests__/src/reducers/search.test.js diff --git a/__tests__/src/reducers/utils.test.js b/packages/mirador/__tests__/src/reducers/utils.test.js similarity index 100% rename from __tests__/src/reducers/utils.test.js rename to packages/mirador/__tests__/src/reducers/utils.test.js diff --git a/__tests__/src/reducers/viewers.test.js b/packages/mirador/__tests__/src/reducers/viewers.test.js similarity index 100% rename from __tests__/src/reducers/viewers.test.js rename to packages/mirador/__tests__/src/reducers/viewers.test.js diff --git a/__tests__/src/reducers/windows.test.js b/packages/mirador/__tests__/src/reducers/windows.test.js similarity index 100% rename from __tests__/src/reducers/windows.test.js rename to packages/mirador/__tests__/src/reducers/windows.test.js diff --git a/__tests__/src/reducers/workspace.test.js b/packages/mirador/__tests__/src/reducers/workspace.test.js similarity index 100% rename from __tests__/src/reducers/workspace.test.js rename to packages/mirador/__tests__/src/reducers/workspace.test.js diff --git a/__tests__/src/sagas/annotations.test.js b/packages/mirador/__tests__/src/sagas/annotations.test.js similarity index 100% rename from __tests__/src/sagas/annotations.test.js rename to packages/mirador/__tests__/src/sagas/annotations.test.js diff --git a/__tests__/src/sagas/app.test.js b/packages/mirador/__tests__/src/sagas/app.test.js similarity index 100% rename from __tests__/src/sagas/app.test.js rename to packages/mirador/__tests__/src/sagas/app.test.js diff --git a/__tests__/src/sagas/auth.test.js b/packages/mirador/__tests__/src/sagas/auth.test.js similarity index 100% rename from __tests__/src/sagas/auth.test.js rename to packages/mirador/__tests__/src/sagas/auth.test.js diff --git a/__tests__/src/sagas/iiif.test.js b/packages/mirador/__tests__/src/sagas/iiif.test.js similarity index 100% rename from __tests__/src/sagas/iiif.test.js rename to packages/mirador/__tests__/src/sagas/iiif.test.js diff --git a/__tests__/src/sagas/windows.test.js b/packages/mirador/__tests__/src/sagas/windows.test.js similarity index 100% rename from __tests__/src/sagas/windows.test.js rename to packages/mirador/__tests__/src/sagas/windows.test.js diff --git a/__tests__/src/selectors/annotations.test.js b/packages/mirador/__tests__/src/selectors/annotations.test.js similarity index 100% rename from __tests__/src/selectors/annotations.test.js rename to packages/mirador/__tests__/src/selectors/annotations.test.js diff --git a/__tests__/src/selectors/auth.test.js b/packages/mirador/__tests__/src/selectors/auth.test.js similarity index 100% rename from __tests__/src/selectors/auth.test.js rename to packages/mirador/__tests__/src/selectors/auth.test.js diff --git a/__tests__/src/selectors/canvases.test.js b/packages/mirador/__tests__/src/selectors/canvases.test.js similarity index 100% rename from __tests__/src/selectors/canvases.test.js rename to packages/mirador/__tests__/src/selectors/canvases.test.js diff --git a/__tests__/src/selectors/companionWindows.test.js b/packages/mirador/__tests__/src/selectors/companionWindows.test.js similarity index 100% rename from __tests__/src/selectors/companionWindows.test.js rename to packages/mirador/__tests__/src/selectors/companionWindows.test.js diff --git a/__tests__/src/selectors/config.test.js b/packages/mirador/__tests__/src/selectors/config.test.js similarity index 100% rename from __tests__/src/selectors/config.test.js rename to packages/mirador/__tests__/src/selectors/config.test.js diff --git a/__tests__/src/selectors/getters.test.js b/packages/mirador/__tests__/src/selectors/getters.test.js similarity index 100% rename from __tests__/src/selectors/getters.test.js rename to packages/mirador/__tests__/src/selectors/getters.test.js diff --git a/__tests__/src/selectors/index.test.js b/packages/mirador/__tests__/src/selectors/index.test.js similarity index 100% rename from __tests__/src/selectors/index.test.js rename to packages/mirador/__tests__/src/selectors/index.test.js diff --git a/__tests__/src/selectors/layers.test.js b/packages/mirador/__tests__/src/selectors/layers.test.js similarity index 100% rename from __tests__/src/selectors/layers.test.js rename to packages/mirador/__tests__/src/selectors/layers.test.js diff --git a/__tests__/src/selectors/manifests.test.js b/packages/mirador/__tests__/src/selectors/manifests.test.js similarity index 100% rename from __tests__/src/selectors/manifests.test.js rename to packages/mirador/__tests__/src/selectors/manifests.test.js diff --git a/__tests__/src/selectors/ranges.test.js b/packages/mirador/__tests__/src/selectors/ranges.test.js similarity index 100% rename from __tests__/src/selectors/ranges.test.js rename to packages/mirador/__tests__/src/selectors/ranges.test.js diff --git a/__tests__/src/selectors/searches.test.js b/packages/mirador/__tests__/src/selectors/searches.test.js similarity index 100% rename from __tests__/src/selectors/searches.test.js rename to packages/mirador/__tests__/src/selectors/searches.test.js diff --git a/__tests__/src/selectors/sequences.test.js b/packages/mirador/__tests__/src/selectors/sequences.test.js similarity index 100% rename from __tests__/src/selectors/sequences.test.js rename to packages/mirador/__tests__/src/selectors/sequences.test.js diff --git a/__tests__/src/selectors/viewer.test.js b/packages/mirador/__tests__/src/selectors/viewer.test.js similarity index 100% rename from __tests__/src/selectors/viewer.test.js rename to packages/mirador/__tests__/src/selectors/viewer.test.js diff --git a/__tests__/src/selectors/windows.test.js b/packages/mirador/__tests__/src/selectors/windows.test.js similarity index 100% rename from __tests__/src/selectors/windows.test.js rename to packages/mirador/__tests__/src/selectors/windows.test.js diff --git a/__tests__/src/selectors/workspace.test.js b/packages/mirador/__tests__/src/selectors/workspace.test.js similarity index 100% rename from __tests__/src/selectors/workspace.test.js rename to packages/mirador/__tests__/src/selectors/workspace.test.js diff --git a/__tests__/utils/test-utils.js b/packages/mirador/__tests__/utils/test-utils.js similarity index 100% rename from __tests__/utils/test-utils.js rename to packages/mirador/__tests__/utils/test-utils.js diff --git a/babel.config.js b/packages/mirador/babel.config.js similarity index 100% rename from babel.config.js rename to packages/mirador/babel.config.js diff --git a/bundlewatch.config.json b/packages/mirador/bundlewatch.config.json similarity index 100% rename from bundlewatch.config.json rename to packages/mirador/bundlewatch.config.json diff --git a/jest-puppeteer.config.js b/packages/mirador/jest-puppeteer.config.js similarity index 100% rename from jest-puppeteer.config.js rename to packages/mirador/jest-puppeteer.config.js diff --git a/jest.json b/packages/mirador/jest.json similarity index 100% rename from jest.json rename to packages/mirador/jest.json diff --git a/packages/mirador/package.json b/packages/mirador/package.json new file mode 100644 index 0000000000..b2ef3d72b2 --- /dev/null +++ b/packages/mirador/package.json @@ -0,0 +1,139 @@ +{ + "name": "mirador", + "version": "4.0.0-alpha.2", + "description": "An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.", + "main": "dist/cjs/src/index.js", + "module": "dist/es/src/index.js", + "files": [ + "dist" + ], + "sideEffects": false, + "scripts": { + "clean": "rm -rf ./dist", + "lint": "node_modules/.bin/eslint ./ && npm run lint:translations && npm run lint:containers", + "lint:containers": "node ./scripts/container-lint.js", + "lint:translations": "node ./scripts/i18n-lint.js", + "server": "node_modules/.bin/http-server --cors", + "test": "npm run build && npm run lint && npm run size && jest -c jest.json", + "test:debug": "node --inspect node_modules/.bin/jest -c jest.json --runInBand", + "test:watch": "jest -c jest.json --watch", + "build": "NODE_ENV=production webpack --mode=production", + "build:dev": "webpack --mode=development", + "build:es": "mkdir -p dist/es && cp -r src dist/es && NODE_ENV=production MODULE_FORMAT=es babel dist/es -d dist/es", + "build:cjs": "mkdir -p dist/cjs && cp -r src dist/cjs && NODE_ENV=production MODULE_FORMAT=cjs babel dist/cjs -d dist/cjs", + "build:watch": "webpack --watch --mode=development", + "prepublishOnly": "npm run clean && npm run build:es && npm run build:cjs && npm run build", + "size": "bundlewatch --config bundlewatch.config.json", + "start": "NODE_ENV=development webpack serve --open" + }, + "license": "Apache-2.0", + "contributors": [ + "Drew Winget (https://aeschylus.net/)", + "Jack Reed (https://www.jack-reed.com)" + ], + "repository": "https://github.com/ProjectMirador/mirador", + "dependencies": { + "@emotion/cache": "^11.11.0", + "@emotion/react": "^11.10.6", + "@emotion/styled": "^11.10.6", + "@hello-pangea/dnd": "^16.0.1 || ^17.0.0", + "@mui/icons-material": "^5.11.16", + "@mui/lab": "^5.0.0-alpha.134", + "@mui/material": "^5.13.5", + "@mui/utils": "^5.13.1", + "@mui/x-tree-view": "^6.17.0", + "@react-aria/live-announcer": "^3.1.2", + "@redux-devtools/extension": "^3.3.0", + "classnames": "^2.2.6", + "deepmerge": "^4.2.2", + "dompurify": "^3.0.0", + "i18next": "^21.0.0 || ^22.0.0 || ^23.0.0", + "lodash": "^4.17.11", + "manifesto.js": "^4.2.0", + "normalize-url": "^4.5.0", + "openseadragon": "^2.4.2 || ^3.0.0 || 4.0.x || ^4.1.1 || ^5.0.0", + "prop-types": "^15.6.2", + "rdndmb-html5-to-touch": "^8.0.0", + "re-reselect": "^5.0.0", + "react-copy-to-clipboard": "^5.0.1", + "react-dnd": "^16.0.0", + "react-dnd-html5-backend": "^16.0.0", + "react-dnd-multi-backend": "^8.0.0", + "react-dnd-touch-backend": "^16.0.0", + "react-full-screen": "^1.1.1", + "react-i18next": "^13.0.0 || ^14.0.0 || ^15.0.0", + "react-image": "^4.0.1", + "react-intersection-observer": "^9.0.0", + "react-mosaic-component": "^6.0.0", + "react-redux": "^8.0.0 || ^9.0.0", + "react-resize-observer": "^1.1.1", + "react-rnd": "^10.1", + "react-virtualized-auto-sizer": "^1.0.2", + "react-window": "^1.8.5", + "redux": "^5.0.0", + "redux-saga": "^1.1.3", + "redux-thunk": "^3.1.0", + "reselect": "^5.0.0", + "stylis": "^4.3.0", + "stylis-plugin-rtl": "^2.1.1", + "url": "^0.11.0", + "uuid": "^8.1.0 || ^9.0.0 || ^10.0.0 || ^11.0.0" + }, + "devDependencies": { + "@babel/cli": "^7.22.10", + "@babel/core": "^7.22.10", + "@babel/plugin-transform-regenerator": "^7.22.10", + "@babel/plugin-transform-runtime": "^7.22.10", + "@babel/preset-env": "^7.22.10", + "@babel/preset-react": "^7.22.10", + "@pmmmwh/react-refresh-webpack-plugin": "^0.5.4", + "@testing-library/dom": "^10.4.0", + "@testing-library/jest-dom": "^6.1.5", + "@testing-library/react": "^16.0.1", + "@testing-library/user-event": "^14.4.3", + "@typescript-eslint/eslint-plugin": "^6.14.0", + "@typescript-eslint/parser": "^6.14.0", + "babel-jest": "^29.3.1", + "babel-loader": "^9.1.0", + "babel-plugin-lodash": "^3.3.4", + "babel-plugin-macros": "^3.0.1", + "babel-plugin-transform-react-remove-prop-types": "^0.4.24", + "bundlewatch": "^0.4.0", + "canvas": "^2.11.0", + "chalk": "^4.1.0", + "core-js": "^3.21.1", + "eslint": "^8.11.0", + "eslint-config-airbnb": "^19.0.4", + "eslint-config-react-app": "^7.0.0", + "eslint-plugin-flowtype": "^8.0.3", + "eslint-plugin-import": "^2.25.4", + "eslint-plugin-jest": "^27.1.5", + "eslint-plugin-jest-dom": "^5.1.0", + "eslint-plugin-jsx-a11y": "^6.4.1", + "eslint-plugin-react": "^7.29.4", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-testing-library": "^6.2.0", + "glob": "^10.3.0", + "http-server": "^14.1.0", + "jest": "^29.3.1", + "jest-environment-jsdom": "^29.4.3", + "jest-fetch-mock": "^3.0.0", + "jest-puppeteer": "^10.1.0", + "jsdom": "^25.0.0", + "puppeteer": "^23.0.0", + "react": "^18.0.0", + "react-dnd-test-backend": "^16.0.1", + "react-dom": "^18.0.0", + "react-refresh": "^0.14.0", + "redux-mock-store": "^1.5.1", + "redux-saga-test-plan": "^4.0.0-rc.3", + "terser-webpack-plugin": "^5.3.1", + "webpack": "^5.70.0", + "webpack-cli": "^5.0.0", + "webpack-dev-server": "^5.1.0" + }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + } +} diff --git a/scripts/container-lint.js b/packages/mirador/scripts/container-lint.js similarity index 100% rename from scripts/container-lint.js rename to packages/mirador/scripts/container-lint.js diff --git a/scripts/i18n-lint.js b/packages/mirador/scripts/i18n-lint.js similarity index 100% rename from scripts/i18n-lint.js rename to packages/mirador/scripts/i18n-lint.js diff --git a/setupJest.js b/packages/mirador/setupJest.js similarity index 100% rename from setupJest.js rename to packages/mirador/setupJest.js diff --git a/setupJestIntegration.js b/packages/mirador/setupJestIntegration.js similarity index 100% rename from setupJestIntegration.js rename to packages/mirador/setupJestIntegration.js diff --git a/src/components/AccessTokenSender.js b/packages/mirador/src/components/AccessTokenSender.js similarity index 100% rename from src/components/AccessTokenSender.js rename to packages/mirador/src/components/AccessTokenSender.js diff --git a/src/components/AnnotationSettings.js b/packages/mirador/src/components/AnnotationSettings.js similarity index 100% rename from src/components/AnnotationSettings.js rename to packages/mirador/src/components/AnnotationSettings.js diff --git a/src/components/AnnotationsOverlay.js b/packages/mirador/src/components/AnnotationsOverlay.js similarity index 100% rename from src/components/AnnotationsOverlay.js rename to packages/mirador/src/components/AnnotationsOverlay.js diff --git a/src/components/App.js b/packages/mirador/src/components/App.js similarity index 100% rename from src/components/App.js rename to packages/mirador/src/components/App.js diff --git a/src/components/AppProviders.js b/packages/mirador/src/components/AppProviders.js similarity index 100% rename from src/components/AppProviders.js rename to packages/mirador/src/components/AppProviders.js diff --git a/src/components/AttributionPanel.js b/packages/mirador/src/components/AttributionPanel.js similarity index 100% rename from src/components/AttributionPanel.js rename to packages/mirador/src/components/AttributionPanel.js diff --git a/src/components/AudioViewer.js b/packages/mirador/src/components/AudioViewer.js similarity index 100% rename from src/components/AudioViewer.js rename to packages/mirador/src/components/AudioViewer.js diff --git a/src/components/BackgroundPluginArea.js b/packages/mirador/src/components/BackgroundPluginArea.js similarity index 100% rename from src/components/BackgroundPluginArea.js rename to packages/mirador/src/components/BackgroundPluginArea.js diff --git a/src/components/Branding.js b/packages/mirador/src/components/Branding.js similarity index 100% rename from src/components/Branding.js rename to packages/mirador/src/components/Branding.js diff --git a/src/components/CanvasAnnotations.js b/packages/mirador/src/components/CanvasAnnotations.js similarity index 100% rename from src/components/CanvasAnnotations.js rename to packages/mirador/src/components/CanvasAnnotations.js diff --git a/src/components/CanvasInfo.js b/packages/mirador/src/components/CanvasInfo.js similarity index 100% rename from src/components/CanvasInfo.js rename to packages/mirador/src/components/CanvasInfo.js diff --git a/src/components/CanvasLayers.js b/packages/mirador/src/components/CanvasLayers.js similarity index 100% rename from src/components/CanvasLayers.js rename to packages/mirador/src/components/CanvasLayers.js diff --git a/src/components/ChangeThemeDialog.js b/packages/mirador/src/components/ChangeThemeDialog.js similarity index 100% rename from src/components/ChangeThemeDialog.js rename to packages/mirador/src/components/ChangeThemeDialog.js diff --git a/src/components/CollapsibleSection.js b/packages/mirador/src/components/CollapsibleSection.js similarity index 100% rename from src/components/CollapsibleSection.js rename to packages/mirador/src/components/CollapsibleSection.js diff --git a/src/components/CollectionDialog.js b/packages/mirador/src/components/CollectionDialog.js similarity index 100% rename from src/components/CollectionDialog.js rename to packages/mirador/src/components/CollectionDialog.js diff --git a/src/components/CollectionInfo.js b/packages/mirador/src/components/CollectionInfo.js similarity index 100% rename from src/components/CollectionInfo.js rename to packages/mirador/src/components/CollectionInfo.js diff --git a/src/components/CompanionArea.js b/packages/mirador/src/components/CompanionArea.js similarity index 100% rename from src/components/CompanionArea.js rename to packages/mirador/src/components/CompanionArea.js diff --git a/src/components/CompanionWindow.js b/packages/mirador/src/components/CompanionWindow.js similarity index 100% rename from src/components/CompanionWindow.js rename to packages/mirador/src/components/CompanionWindow.js diff --git a/src/components/CompanionWindowFactory.js b/packages/mirador/src/components/CompanionWindowFactory.js similarity index 100% rename from src/components/CompanionWindowFactory.js rename to packages/mirador/src/components/CompanionWindowFactory.js diff --git a/src/components/CompanionWindowSection.js b/packages/mirador/src/components/CompanionWindowSection.js similarity index 100% rename from src/components/CompanionWindowSection.js rename to packages/mirador/src/components/CompanionWindowSection.js diff --git a/src/components/CustomPanel.js b/packages/mirador/src/components/CustomPanel.js similarity index 100% rename from src/components/CustomPanel.js rename to packages/mirador/src/components/CustomPanel.js diff --git a/src/components/ErrorContent.js b/packages/mirador/src/components/ErrorContent.js similarity index 100% rename from src/components/ErrorContent.js rename to packages/mirador/src/components/ErrorContent.js diff --git a/src/components/ErrorDialog.js b/packages/mirador/src/components/ErrorDialog.js similarity index 100% rename from src/components/ErrorDialog.js rename to packages/mirador/src/components/ErrorDialog.js diff --git a/src/components/FullScreenButton.js b/packages/mirador/src/components/FullScreenButton.js similarity index 100% rename from src/components/FullScreenButton.js rename to packages/mirador/src/components/FullScreenButton.js diff --git a/src/components/GalleryView.js b/packages/mirador/src/components/GalleryView.js similarity index 100% rename from src/components/GalleryView.js rename to packages/mirador/src/components/GalleryView.js diff --git a/src/components/GalleryViewThumbnail.js b/packages/mirador/src/components/GalleryViewThumbnail.js similarity index 100% rename from src/components/GalleryViewThumbnail.js rename to packages/mirador/src/components/GalleryViewThumbnail.js diff --git a/src/components/IIIFAuthentication.js b/packages/mirador/src/components/IIIFAuthentication.js similarity index 100% rename from src/components/IIIFAuthentication.js rename to packages/mirador/src/components/IIIFAuthentication.js diff --git a/src/components/IIIFDropTarget.js b/packages/mirador/src/components/IIIFDropTarget.js similarity index 100% rename from src/components/IIIFDropTarget.js rename to packages/mirador/src/components/IIIFDropTarget.js diff --git a/src/components/IIIFIFrameCommunication.js b/packages/mirador/src/components/IIIFIFrameCommunication.js similarity index 100% rename from src/components/IIIFIFrameCommunication.js rename to packages/mirador/src/components/IIIFIFrameCommunication.js diff --git a/src/components/IIIFThumbnail.js b/packages/mirador/src/components/IIIFThumbnail.js similarity index 100% rename from src/components/IIIFThumbnail.js rename to packages/mirador/src/components/IIIFThumbnail.js diff --git a/src/components/LabelValueMetadata.js b/packages/mirador/src/components/LabelValueMetadata.js similarity index 100% rename from src/components/LabelValueMetadata.js rename to packages/mirador/src/components/LabelValueMetadata.js diff --git a/src/components/LanguageSettings.js b/packages/mirador/src/components/LanguageSettings.js similarity index 100% rename from src/components/LanguageSettings.js rename to packages/mirador/src/components/LanguageSettings.js diff --git a/src/components/LayersPanel.js b/packages/mirador/src/components/LayersPanel.js similarity index 100% rename from src/components/LayersPanel.js rename to packages/mirador/src/components/LayersPanel.js diff --git a/src/components/LocalePicker.js b/packages/mirador/src/components/LocalePicker.js similarity index 100% rename from src/components/LocalePicker.js rename to packages/mirador/src/components/LocalePicker.js diff --git a/src/components/ManifestForm.js b/packages/mirador/src/components/ManifestForm.js similarity index 100% rename from src/components/ManifestForm.js rename to packages/mirador/src/components/ManifestForm.js diff --git a/src/components/ManifestInfo.js b/packages/mirador/src/components/ManifestInfo.js similarity index 100% rename from src/components/ManifestInfo.js rename to packages/mirador/src/components/ManifestInfo.js diff --git a/src/components/ManifestListItem.js b/packages/mirador/src/components/ManifestListItem.js similarity index 100% rename from src/components/ManifestListItem.js rename to packages/mirador/src/components/ManifestListItem.js diff --git a/src/components/ManifestListItemError.js b/packages/mirador/src/components/ManifestListItemError.js similarity index 100% rename from src/components/ManifestListItemError.js rename to packages/mirador/src/components/ManifestListItemError.js diff --git a/src/components/ManifestRelatedLinks.js b/packages/mirador/src/components/ManifestRelatedLinks.js similarity index 100% rename from src/components/ManifestRelatedLinks.js rename to packages/mirador/src/components/ManifestRelatedLinks.js diff --git a/src/components/MinimalWindow.js b/packages/mirador/src/components/MinimalWindow.js similarity index 100% rename from src/components/MinimalWindow.js rename to packages/mirador/src/components/MinimalWindow.js diff --git a/src/components/MiradorMenuButton.js b/packages/mirador/src/components/MiradorMenuButton.js similarity index 100% rename from src/components/MiradorMenuButton.js rename to packages/mirador/src/components/MiradorMenuButton.js diff --git a/src/components/MosaicRenderPreview.js b/packages/mirador/src/components/MosaicRenderPreview.js similarity index 100% rename from src/components/MosaicRenderPreview.js rename to packages/mirador/src/components/MosaicRenderPreview.js diff --git a/src/components/NestedMenu.js b/packages/mirador/src/components/NestedMenu.js similarity index 100% rename from src/components/NestedMenu.js rename to packages/mirador/src/components/NestedMenu.js diff --git a/src/components/NewWindow.js b/packages/mirador/src/components/NewWindow.js similarity index 100% rename from src/components/NewWindow.js rename to packages/mirador/src/components/NewWindow.js diff --git a/src/components/OpenSeadragonViewer.js b/packages/mirador/src/components/OpenSeadragonViewer.js similarity index 100% rename from src/components/OpenSeadragonViewer.js rename to packages/mirador/src/components/OpenSeadragonViewer.js diff --git a/src/components/PluginHook.js b/packages/mirador/src/components/PluginHook.js similarity index 100% rename from src/components/PluginHook.js rename to packages/mirador/src/components/PluginHook.js diff --git a/src/components/PrimaryWindow.js b/packages/mirador/src/components/PrimaryWindow.js similarity index 100% rename from src/components/PrimaryWindow.js rename to packages/mirador/src/components/PrimaryWindow.js diff --git a/src/components/SanitizedHtml.js b/packages/mirador/src/components/SanitizedHtml.js similarity index 100% rename from src/components/SanitizedHtml.js rename to packages/mirador/src/components/SanitizedHtml.js diff --git a/src/components/ScrollIndicatedDialogContent.js b/packages/mirador/src/components/ScrollIndicatedDialogContent.js similarity index 100% rename from src/components/ScrollIndicatedDialogContent.js rename to packages/mirador/src/components/ScrollIndicatedDialogContent.js diff --git a/src/components/ScrollTo.js b/packages/mirador/src/components/ScrollTo.js similarity index 100% rename from src/components/ScrollTo.js rename to packages/mirador/src/components/ScrollTo.js diff --git a/src/components/SearchHit.js b/packages/mirador/src/components/SearchHit.js similarity index 100% rename from src/components/SearchHit.js rename to packages/mirador/src/components/SearchHit.js diff --git a/src/components/SearchPanel.js b/packages/mirador/src/components/SearchPanel.js similarity index 100% rename from src/components/SearchPanel.js rename to packages/mirador/src/components/SearchPanel.js diff --git a/src/components/SearchPanelControls.js b/packages/mirador/src/components/SearchPanelControls.js similarity index 100% rename from src/components/SearchPanelControls.js rename to packages/mirador/src/components/SearchPanelControls.js diff --git a/src/components/SearchPanelNavigation.js b/packages/mirador/src/components/SearchPanelNavigation.js similarity index 100% rename from src/components/SearchPanelNavigation.js rename to packages/mirador/src/components/SearchPanelNavigation.js diff --git a/src/components/SearchResults.js b/packages/mirador/src/components/SearchResults.js similarity index 100% rename from src/components/SearchResults.js rename to packages/mirador/src/components/SearchResults.js diff --git a/src/components/SelectCollection.js b/packages/mirador/src/components/SelectCollection.js similarity index 100% rename from src/components/SelectCollection.js rename to packages/mirador/src/components/SelectCollection.js diff --git a/src/components/SidebarIndexItem.js b/packages/mirador/src/components/SidebarIndexItem.js similarity index 100% rename from src/components/SidebarIndexItem.js rename to packages/mirador/src/components/SidebarIndexItem.js diff --git a/src/components/SidebarIndexList.js b/packages/mirador/src/components/SidebarIndexList.js similarity index 100% rename from src/components/SidebarIndexList.js rename to packages/mirador/src/components/SidebarIndexList.js diff --git a/src/components/SidebarIndexTableOfContents.js b/packages/mirador/src/components/SidebarIndexTableOfContents.js similarity index 100% rename from src/components/SidebarIndexTableOfContents.js rename to packages/mirador/src/components/SidebarIndexTableOfContents.js diff --git a/src/components/SidebarIndexThumbnail.js b/packages/mirador/src/components/SidebarIndexThumbnail.js similarity index 100% rename from src/components/SidebarIndexThumbnail.js rename to packages/mirador/src/components/SidebarIndexThumbnail.js diff --git a/src/components/ThumbnailCanvasGrouping.js b/packages/mirador/src/components/ThumbnailCanvasGrouping.js similarity index 100% rename from src/components/ThumbnailCanvasGrouping.js rename to packages/mirador/src/components/ThumbnailCanvasGrouping.js diff --git a/src/components/ThumbnailNavigation.js b/packages/mirador/src/components/ThumbnailNavigation.js similarity index 100% rename from src/components/ThumbnailNavigation.js rename to packages/mirador/src/components/ThumbnailNavigation.js diff --git a/src/components/VideoViewer.js b/packages/mirador/src/components/VideoViewer.js similarity index 100% rename from src/components/VideoViewer.js rename to packages/mirador/src/components/VideoViewer.js diff --git a/src/components/ViewerInfo.js b/packages/mirador/src/components/ViewerInfo.js similarity index 100% rename from src/components/ViewerInfo.js rename to packages/mirador/src/components/ViewerInfo.js diff --git a/src/components/ViewerNavigation.js b/packages/mirador/src/components/ViewerNavigation.js similarity index 100% rename from src/components/ViewerNavigation.js rename to packages/mirador/src/components/ViewerNavigation.js diff --git a/src/components/Window.js b/packages/mirador/src/components/Window.js similarity index 100% rename from src/components/Window.js rename to packages/mirador/src/components/Window.js diff --git a/src/components/WindowAuthenticationBar.js b/packages/mirador/src/components/WindowAuthenticationBar.js similarity index 100% rename from src/components/WindowAuthenticationBar.js rename to packages/mirador/src/components/WindowAuthenticationBar.js diff --git a/src/components/WindowCanvasNavigationControls.js b/packages/mirador/src/components/WindowCanvasNavigationControls.js similarity index 100% rename from src/components/WindowCanvasNavigationControls.js rename to packages/mirador/src/components/WindowCanvasNavigationControls.js diff --git a/src/components/WindowList.js b/packages/mirador/src/components/WindowList.js similarity index 100% rename from src/components/WindowList.js rename to packages/mirador/src/components/WindowList.js diff --git a/src/components/WindowListButton.js b/packages/mirador/src/components/WindowListButton.js similarity index 100% rename from src/components/WindowListButton.js rename to packages/mirador/src/components/WindowListButton.js diff --git a/src/components/WindowSideBar.js b/packages/mirador/src/components/WindowSideBar.js similarity index 100% rename from src/components/WindowSideBar.js rename to packages/mirador/src/components/WindowSideBar.js diff --git a/src/components/WindowSideBarAnnotationsPanel.js b/packages/mirador/src/components/WindowSideBarAnnotationsPanel.js similarity index 100% rename from src/components/WindowSideBarAnnotationsPanel.js rename to packages/mirador/src/components/WindowSideBarAnnotationsPanel.js diff --git a/src/components/WindowSideBarButtons.js b/packages/mirador/src/components/WindowSideBarButtons.js similarity index 100% rename from src/components/WindowSideBarButtons.js rename to packages/mirador/src/components/WindowSideBarButtons.js diff --git a/src/components/WindowSideBarCanvasPanel.js b/packages/mirador/src/components/WindowSideBarCanvasPanel.js similarity index 100% rename from src/components/WindowSideBarCanvasPanel.js rename to packages/mirador/src/components/WindowSideBarCanvasPanel.js diff --git a/src/components/WindowSideBarCollectionPanel.js b/packages/mirador/src/components/WindowSideBarCollectionPanel.js similarity index 100% rename from src/components/WindowSideBarCollectionPanel.js rename to packages/mirador/src/components/WindowSideBarCollectionPanel.js diff --git a/src/components/WindowSideBarInfoPanel.js b/packages/mirador/src/components/WindowSideBarInfoPanel.js similarity index 100% rename from src/components/WindowSideBarInfoPanel.js rename to packages/mirador/src/components/WindowSideBarInfoPanel.js diff --git a/src/components/WindowThumbnailSettings.js b/packages/mirador/src/components/WindowThumbnailSettings.js similarity index 100% rename from src/components/WindowThumbnailSettings.js rename to packages/mirador/src/components/WindowThumbnailSettings.js diff --git a/src/components/WindowTopBar.js b/packages/mirador/src/components/WindowTopBar.js similarity index 100% rename from src/components/WindowTopBar.js rename to packages/mirador/src/components/WindowTopBar.js diff --git a/src/components/WindowTopBarPluginArea.js b/packages/mirador/src/components/WindowTopBarPluginArea.js similarity index 100% rename from src/components/WindowTopBarPluginArea.js rename to packages/mirador/src/components/WindowTopBarPluginArea.js diff --git a/src/components/WindowTopBarPluginMenu.js b/packages/mirador/src/components/WindowTopBarPluginMenu.js similarity index 100% rename from src/components/WindowTopBarPluginMenu.js rename to packages/mirador/src/components/WindowTopBarPluginMenu.js diff --git a/src/components/WindowTopBarTitle.js b/packages/mirador/src/components/WindowTopBarTitle.js similarity index 100% rename from src/components/WindowTopBarTitle.js rename to packages/mirador/src/components/WindowTopBarTitle.js diff --git a/src/components/WindowTopMenu.js b/packages/mirador/src/components/WindowTopMenu.js similarity index 100% rename from src/components/WindowTopMenu.js rename to packages/mirador/src/components/WindowTopMenu.js diff --git a/src/components/WindowTopMenuButton.js b/packages/mirador/src/components/WindowTopMenuButton.js similarity index 100% rename from src/components/WindowTopMenuButton.js rename to packages/mirador/src/components/WindowTopMenuButton.js diff --git a/src/components/WindowViewSettings.js b/packages/mirador/src/components/WindowViewSettings.js similarity index 100% rename from src/components/WindowViewSettings.js rename to packages/mirador/src/components/WindowViewSettings.js diff --git a/src/components/WindowViewer.js b/packages/mirador/src/components/WindowViewer.js similarity index 100% rename from src/components/WindowViewer.js rename to packages/mirador/src/components/WindowViewer.js diff --git a/src/components/Workspace.js b/packages/mirador/src/components/Workspace.js similarity index 100% rename from src/components/Workspace.js rename to packages/mirador/src/components/Workspace.js diff --git a/src/components/WorkspaceAdd.js b/packages/mirador/src/components/WorkspaceAdd.js similarity index 100% rename from src/components/WorkspaceAdd.js rename to packages/mirador/src/components/WorkspaceAdd.js diff --git a/src/components/WorkspaceAddButton.js b/packages/mirador/src/components/WorkspaceAddButton.js similarity index 100% rename from src/components/WorkspaceAddButton.js rename to packages/mirador/src/components/WorkspaceAddButton.js diff --git a/src/components/WorkspaceArea.js b/packages/mirador/src/components/WorkspaceArea.js similarity index 100% rename from src/components/WorkspaceArea.js rename to packages/mirador/src/components/WorkspaceArea.js diff --git a/src/components/WorkspaceControlPanel.js b/packages/mirador/src/components/WorkspaceControlPanel.js similarity index 100% rename from src/components/WorkspaceControlPanel.js rename to packages/mirador/src/components/WorkspaceControlPanel.js diff --git a/src/components/WorkspaceControlPanelButtons.js b/packages/mirador/src/components/WorkspaceControlPanelButtons.js similarity index 100% rename from src/components/WorkspaceControlPanelButtons.js rename to packages/mirador/src/components/WorkspaceControlPanelButtons.js diff --git a/src/components/WorkspaceDialog.js b/packages/mirador/src/components/WorkspaceDialog.js similarity index 100% rename from src/components/WorkspaceDialog.js rename to packages/mirador/src/components/WorkspaceDialog.js diff --git a/src/components/WorkspaceElastic.js b/packages/mirador/src/components/WorkspaceElastic.js similarity index 100% rename from src/components/WorkspaceElastic.js rename to packages/mirador/src/components/WorkspaceElastic.js diff --git a/src/components/WorkspaceElasticWindow.js b/packages/mirador/src/components/WorkspaceElasticWindow.js similarity index 100% rename from src/components/WorkspaceElasticWindow.js rename to packages/mirador/src/components/WorkspaceElasticWindow.js diff --git a/src/components/WorkspaceExport.js b/packages/mirador/src/components/WorkspaceExport.js similarity index 100% rename from src/components/WorkspaceExport.js rename to packages/mirador/src/components/WorkspaceExport.js diff --git a/src/components/WorkspaceImport.js b/packages/mirador/src/components/WorkspaceImport.js similarity index 100% rename from src/components/WorkspaceImport.js rename to packages/mirador/src/components/WorkspaceImport.js diff --git a/src/components/WorkspaceMenu.js b/packages/mirador/src/components/WorkspaceMenu.js similarity index 100% rename from src/components/WorkspaceMenu.js rename to packages/mirador/src/components/WorkspaceMenu.js diff --git a/src/components/WorkspaceMenuButton.js b/packages/mirador/src/components/WorkspaceMenuButton.js similarity index 100% rename from src/components/WorkspaceMenuButton.js rename to packages/mirador/src/components/WorkspaceMenuButton.js diff --git a/src/components/WorkspaceMosaic.js b/packages/mirador/src/components/WorkspaceMosaic.js similarity index 100% rename from src/components/WorkspaceMosaic.js rename to packages/mirador/src/components/WorkspaceMosaic.js diff --git a/src/components/WorkspaceOptionsButton.js b/packages/mirador/src/components/WorkspaceOptionsButton.js similarity index 100% rename from src/components/WorkspaceOptionsButton.js rename to packages/mirador/src/components/WorkspaceOptionsButton.js diff --git a/src/components/WorkspaceOptionsMenu.js b/packages/mirador/src/components/WorkspaceOptionsMenu.js similarity index 100% rename from src/components/WorkspaceOptionsMenu.js rename to packages/mirador/src/components/WorkspaceOptionsMenu.js diff --git a/src/components/WorkspaceSelectionDialog.js b/packages/mirador/src/components/WorkspaceSelectionDialog.js similarity index 100% rename from src/components/WorkspaceSelectionDialog.js rename to packages/mirador/src/components/WorkspaceSelectionDialog.js diff --git a/src/components/ZoomControls.js b/packages/mirador/src/components/ZoomControls.js similarity index 100% rename from src/components/ZoomControls.js rename to packages/mirador/src/components/ZoomControls.js diff --git a/src/components/icons/BookViewIcon.js b/packages/mirador/src/components/icons/BookViewIcon.js similarity index 100% rename from src/components/icons/BookViewIcon.js rename to packages/mirador/src/components/icons/BookViewIcon.js diff --git a/src/components/icons/CanvasIndexIcon.js b/packages/mirador/src/components/icons/CanvasIndexIcon.js similarity index 100% rename from src/components/icons/CanvasIndexIcon.js rename to packages/mirador/src/components/icons/CanvasIndexIcon.js diff --git a/src/components/icons/GalleryViewIcon.js b/packages/mirador/src/components/icons/GalleryViewIcon.js similarity index 100% rename from src/components/icons/GalleryViewIcon.js rename to packages/mirador/src/components/icons/GalleryViewIcon.js diff --git a/src/components/icons/MiradorIcon.js b/packages/mirador/src/components/icons/MiradorIcon.js similarity index 100% rename from src/components/icons/MiradorIcon.js rename to packages/mirador/src/components/icons/MiradorIcon.js diff --git a/src/components/icons/RestoreZoomIcon.js b/packages/mirador/src/components/icons/RestoreZoomIcon.js similarity index 100% rename from src/components/icons/RestoreZoomIcon.js rename to packages/mirador/src/components/icons/RestoreZoomIcon.js diff --git a/src/components/icons/ThumbnailNavigationBottomIcon.js b/packages/mirador/src/components/icons/ThumbnailNavigationBottomIcon.js similarity index 100% rename from src/components/icons/ThumbnailNavigationBottomIcon.js rename to packages/mirador/src/components/icons/ThumbnailNavigationBottomIcon.js diff --git a/src/components/icons/ThumbnailNavigationRightIcon.js b/packages/mirador/src/components/icons/ThumbnailNavigationRightIcon.js similarity index 100% rename from src/components/icons/ThumbnailNavigationRightIcon.js rename to packages/mirador/src/components/icons/ThumbnailNavigationRightIcon.js diff --git a/src/components/icons/WindowMaxIcon.js b/packages/mirador/src/components/icons/WindowMaxIcon.js similarity index 100% rename from src/components/icons/WindowMaxIcon.js rename to packages/mirador/src/components/icons/WindowMaxIcon.js diff --git a/src/components/icons/WindowMinIcon.js b/packages/mirador/src/components/icons/WindowMinIcon.js similarity index 100% rename from src/components/icons/WindowMinIcon.js rename to packages/mirador/src/components/icons/WindowMinIcon.js diff --git a/src/components/icons/WindowOptionsIcon.js b/packages/mirador/src/components/icons/WindowOptionsIcon.js similarity index 100% rename from src/components/icons/WindowOptionsIcon.js rename to packages/mirador/src/components/icons/WindowOptionsIcon.js diff --git a/src/components/icons/WorkspaceTypeElasticIcon.js b/packages/mirador/src/components/icons/WorkspaceTypeElasticIcon.js similarity index 100% rename from src/components/icons/WorkspaceTypeElasticIcon.js rename to packages/mirador/src/components/icons/WorkspaceTypeElasticIcon.js diff --git a/src/components/icons/WorkspaceTypeMosaicIcon.js b/packages/mirador/src/components/icons/WorkspaceTypeMosaicIcon.js similarity index 100% rename from src/components/icons/WorkspaceTypeMosaicIcon.js rename to packages/mirador/src/components/icons/WorkspaceTypeMosaicIcon.js diff --git a/src/config/css-ns.js b/packages/mirador/src/config/css-ns.js similarity index 100% rename from src/config/css-ns.js rename to packages/mirador/src/config/css-ns.js diff --git a/src/config/settings.js b/packages/mirador/src/config/settings.js similarity index 100% rename from src/config/settings.js rename to packages/mirador/src/config/settings.js diff --git a/src/containers/AnnotationSettings.js b/packages/mirador/src/containers/AnnotationSettings.js similarity index 100% rename from src/containers/AnnotationSettings.js rename to packages/mirador/src/containers/AnnotationSettings.js diff --git a/src/containers/AnnotationsOverlay.js b/packages/mirador/src/containers/AnnotationsOverlay.js similarity index 100% rename from src/containers/AnnotationsOverlay.js rename to packages/mirador/src/containers/AnnotationsOverlay.js diff --git a/src/containers/AppProviders.js b/packages/mirador/src/containers/AppProviders.js similarity index 100% rename from src/containers/AppProviders.js rename to packages/mirador/src/containers/AppProviders.js diff --git a/src/containers/AttributionPanel.js b/packages/mirador/src/containers/AttributionPanel.js similarity index 100% rename from src/containers/AttributionPanel.js rename to packages/mirador/src/containers/AttributionPanel.js diff --git a/src/containers/AudioViewer.js b/packages/mirador/src/containers/AudioViewer.js similarity index 100% rename from src/containers/AudioViewer.js rename to packages/mirador/src/containers/AudioViewer.js diff --git a/src/containers/BackgroundPluginArea.js b/packages/mirador/src/containers/BackgroundPluginArea.js similarity index 100% rename from src/containers/BackgroundPluginArea.js rename to packages/mirador/src/containers/BackgroundPluginArea.js diff --git a/src/containers/Branding.js b/packages/mirador/src/containers/Branding.js similarity index 100% rename from src/containers/Branding.js rename to packages/mirador/src/containers/Branding.js diff --git a/src/containers/CanvasAnnotations.js b/packages/mirador/src/containers/CanvasAnnotations.js similarity index 100% rename from src/containers/CanvasAnnotations.js rename to packages/mirador/src/containers/CanvasAnnotations.js diff --git a/src/containers/CanvasInfo.js b/packages/mirador/src/containers/CanvasInfo.js similarity index 100% rename from src/containers/CanvasInfo.js rename to packages/mirador/src/containers/CanvasInfo.js diff --git a/src/containers/CanvasLayers.js b/packages/mirador/src/containers/CanvasLayers.js similarity index 100% rename from src/containers/CanvasLayers.js rename to packages/mirador/src/containers/CanvasLayers.js diff --git a/src/containers/ChangeThemeDialog.js b/packages/mirador/src/containers/ChangeThemeDialog.js similarity index 100% rename from src/containers/ChangeThemeDialog.js rename to packages/mirador/src/containers/ChangeThemeDialog.js diff --git a/src/containers/CollapsibleSection.js b/packages/mirador/src/containers/CollapsibleSection.js similarity index 100% rename from src/containers/CollapsibleSection.js rename to packages/mirador/src/containers/CollapsibleSection.js diff --git a/src/containers/CollectionDialog.js b/packages/mirador/src/containers/CollectionDialog.js similarity index 100% rename from src/containers/CollectionDialog.js rename to packages/mirador/src/containers/CollectionDialog.js diff --git a/src/containers/CollectionInfo.js b/packages/mirador/src/containers/CollectionInfo.js similarity index 100% rename from src/containers/CollectionInfo.js rename to packages/mirador/src/containers/CollectionInfo.js diff --git a/src/containers/CompanionArea.js b/packages/mirador/src/containers/CompanionArea.js similarity index 100% rename from src/containers/CompanionArea.js rename to packages/mirador/src/containers/CompanionArea.js diff --git a/src/containers/CompanionWindow.js b/packages/mirador/src/containers/CompanionWindow.js similarity index 100% rename from src/containers/CompanionWindow.js rename to packages/mirador/src/containers/CompanionWindow.js diff --git a/src/containers/CompanionWindowFactory.js b/packages/mirador/src/containers/CompanionWindowFactory.js similarity index 100% rename from src/containers/CompanionWindowFactory.js rename to packages/mirador/src/containers/CompanionWindowFactory.js diff --git a/src/containers/CustomPanel.js b/packages/mirador/src/containers/CustomPanel.js similarity index 100% rename from src/containers/CustomPanel.js rename to packages/mirador/src/containers/CustomPanel.js diff --git a/src/containers/ErrorContent.js b/packages/mirador/src/containers/ErrorContent.js similarity index 100% rename from src/containers/ErrorContent.js rename to packages/mirador/src/containers/ErrorContent.js diff --git a/src/containers/ErrorDialog.js b/packages/mirador/src/containers/ErrorDialog.js similarity index 100% rename from src/containers/ErrorDialog.js rename to packages/mirador/src/containers/ErrorDialog.js diff --git a/src/containers/FullScreenButton.js b/packages/mirador/src/containers/FullScreenButton.js similarity index 100% rename from src/containers/FullScreenButton.js rename to packages/mirador/src/containers/FullScreenButton.js diff --git a/src/containers/GalleryView.js b/packages/mirador/src/containers/GalleryView.js similarity index 100% rename from src/containers/GalleryView.js rename to packages/mirador/src/containers/GalleryView.js diff --git a/src/containers/GalleryViewThumbnail.js b/packages/mirador/src/containers/GalleryViewThumbnail.js similarity index 100% rename from src/containers/GalleryViewThumbnail.js rename to packages/mirador/src/containers/GalleryViewThumbnail.js diff --git a/src/containers/IIIFAuthentication.js b/packages/mirador/src/containers/IIIFAuthentication.js similarity index 100% rename from src/containers/IIIFAuthentication.js rename to packages/mirador/src/containers/IIIFAuthentication.js diff --git a/src/containers/IIIFThumbnail.js b/packages/mirador/src/containers/IIIFThumbnail.js similarity index 100% rename from src/containers/IIIFThumbnail.js rename to packages/mirador/src/containers/IIIFThumbnail.js diff --git a/src/containers/LanguageSettings.js b/packages/mirador/src/containers/LanguageSettings.js similarity index 100% rename from src/containers/LanguageSettings.js rename to packages/mirador/src/containers/LanguageSettings.js diff --git a/src/containers/LayersPanel.js b/packages/mirador/src/containers/LayersPanel.js similarity index 100% rename from src/containers/LayersPanel.js rename to packages/mirador/src/containers/LayersPanel.js diff --git a/src/containers/LocalePicker.js b/packages/mirador/src/containers/LocalePicker.js similarity index 100% rename from src/containers/LocalePicker.js rename to packages/mirador/src/containers/LocalePicker.js diff --git a/src/containers/ManifestForm.js b/packages/mirador/src/containers/ManifestForm.js similarity index 100% rename from src/containers/ManifestForm.js rename to packages/mirador/src/containers/ManifestForm.js diff --git a/src/containers/ManifestInfo.js b/packages/mirador/src/containers/ManifestInfo.js similarity index 100% rename from src/containers/ManifestInfo.js rename to packages/mirador/src/containers/ManifestInfo.js diff --git a/src/containers/ManifestListItem.js b/packages/mirador/src/containers/ManifestListItem.js similarity index 100% rename from src/containers/ManifestListItem.js rename to packages/mirador/src/containers/ManifestListItem.js diff --git a/src/containers/ManifestListItemError.js b/packages/mirador/src/containers/ManifestListItemError.js similarity index 100% rename from src/containers/ManifestListItemError.js rename to packages/mirador/src/containers/ManifestListItemError.js diff --git a/src/containers/ManifestRelatedLinks.js b/packages/mirador/src/containers/ManifestRelatedLinks.js similarity index 100% rename from src/containers/ManifestRelatedLinks.js rename to packages/mirador/src/containers/ManifestRelatedLinks.js diff --git a/src/containers/MinimalWindow.js b/packages/mirador/src/containers/MinimalWindow.js similarity index 100% rename from src/containers/MinimalWindow.js rename to packages/mirador/src/containers/MinimalWindow.js diff --git a/src/containers/MiradorMenuButton.js b/packages/mirador/src/containers/MiradorMenuButton.js similarity index 100% rename from src/containers/MiradorMenuButton.js rename to packages/mirador/src/containers/MiradorMenuButton.js diff --git a/src/containers/MosaicRenderPreview.js b/packages/mirador/src/containers/MosaicRenderPreview.js similarity index 100% rename from src/containers/MosaicRenderPreview.js rename to packages/mirador/src/containers/MosaicRenderPreview.js diff --git a/src/containers/OpenSeadragonViewer.js b/packages/mirador/src/containers/OpenSeadragonViewer.js similarity index 100% rename from src/containers/OpenSeadragonViewer.js rename to packages/mirador/src/containers/OpenSeadragonViewer.js diff --git a/src/containers/PrimaryWindow.js b/packages/mirador/src/containers/PrimaryWindow.js similarity index 100% rename from src/containers/PrimaryWindow.js rename to packages/mirador/src/containers/PrimaryWindow.js diff --git a/src/containers/SanitizedHtml.js b/packages/mirador/src/containers/SanitizedHtml.js similarity index 100% rename from src/containers/SanitizedHtml.js rename to packages/mirador/src/containers/SanitizedHtml.js diff --git a/src/containers/ScrollIndicatedDialogContent.js b/packages/mirador/src/containers/ScrollIndicatedDialogContent.js similarity index 100% rename from src/containers/ScrollIndicatedDialogContent.js rename to packages/mirador/src/containers/ScrollIndicatedDialogContent.js diff --git a/src/containers/SearchHit.js b/packages/mirador/src/containers/SearchHit.js similarity index 100% rename from src/containers/SearchHit.js rename to packages/mirador/src/containers/SearchHit.js diff --git a/src/containers/SearchPanel.js b/packages/mirador/src/containers/SearchPanel.js similarity index 100% rename from src/containers/SearchPanel.js rename to packages/mirador/src/containers/SearchPanel.js diff --git a/src/containers/SearchPanelControls.js b/packages/mirador/src/containers/SearchPanelControls.js similarity index 100% rename from src/containers/SearchPanelControls.js rename to packages/mirador/src/containers/SearchPanelControls.js diff --git a/src/containers/SearchPanelNavigation.js b/packages/mirador/src/containers/SearchPanelNavigation.js similarity index 100% rename from src/containers/SearchPanelNavigation.js rename to packages/mirador/src/containers/SearchPanelNavigation.js diff --git a/src/containers/SearchResults.js b/packages/mirador/src/containers/SearchResults.js similarity index 100% rename from src/containers/SearchResults.js rename to packages/mirador/src/containers/SearchResults.js diff --git a/src/containers/SelectCollection.js b/packages/mirador/src/containers/SelectCollection.js similarity index 100% rename from src/containers/SelectCollection.js rename to packages/mirador/src/containers/SelectCollection.js diff --git a/src/containers/SidebarIndexItem.js b/packages/mirador/src/containers/SidebarIndexItem.js similarity index 100% rename from src/containers/SidebarIndexItem.js rename to packages/mirador/src/containers/SidebarIndexItem.js diff --git a/src/containers/SidebarIndexList.js b/packages/mirador/src/containers/SidebarIndexList.js similarity index 100% rename from src/containers/SidebarIndexList.js rename to packages/mirador/src/containers/SidebarIndexList.js diff --git a/src/containers/SidebarIndexTableOfContents.js b/packages/mirador/src/containers/SidebarIndexTableOfContents.js similarity index 100% rename from src/containers/SidebarIndexTableOfContents.js rename to packages/mirador/src/containers/SidebarIndexTableOfContents.js diff --git a/src/containers/SidebarIndexThumbnail.js b/packages/mirador/src/containers/SidebarIndexThumbnail.js similarity index 100% rename from src/containers/SidebarIndexThumbnail.js rename to packages/mirador/src/containers/SidebarIndexThumbnail.js diff --git a/src/containers/ThumbnailCanvasGrouping.js b/packages/mirador/src/containers/ThumbnailCanvasGrouping.js similarity index 100% rename from src/containers/ThumbnailCanvasGrouping.js rename to packages/mirador/src/containers/ThumbnailCanvasGrouping.js diff --git a/src/containers/ThumbnailNavigation.js b/packages/mirador/src/containers/ThumbnailNavigation.js similarity index 100% rename from src/containers/ThumbnailNavigation.js rename to packages/mirador/src/containers/ThumbnailNavigation.js diff --git a/src/containers/VideoViewer.js b/packages/mirador/src/containers/VideoViewer.js similarity index 100% rename from src/containers/VideoViewer.js rename to packages/mirador/src/containers/VideoViewer.js diff --git a/src/containers/ViewerInfo.js b/packages/mirador/src/containers/ViewerInfo.js similarity index 100% rename from src/containers/ViewerInfo.js rename to packages/mirador/src/containers/ViewerInfo.js diff --git a/src/containers/ViewerNavigation.js b/packages/mirador/src/containers/ViewerNavigation.js similarity index 100% rename from src/containers/ViewerNavigation.js rename to packages/mirador/src/containers/ViewerNavigation.js diff --git a/src/containers/Window.js b/packages/mirador/src/containers/Window.js similarity index 100% rename from src/containers/Window.js rename to packages/mirador/src/containers/Window.js diff --git a/src/containers/WindowAuthenticationBar.js b/packages/mirador/src/containers/WindowAuthenticationBar.js similarity index 100% rename from src/containers/WindowAuthenticationBar.js rename to packages/mirador/src/containers/WindowAuthenticationBar.js diff --git a/src/containers/WindowCanvasNavigationControls.js b/packages/mirador/src/containers/WindowCanvasNavigationControls.js similarity index 100% rename from src/containers/WindowCanvasNavigationControls.js rename to packages/mirador/src/containers/WindowCanvasNavigationControls.js diff --git a/src/containers/WindowList.js b/packages/mirador/src/containers/WindowList.js similarity index 100% rename from src/containers/WindowList.js rename to packages/mirador/src/containers/WindowList.js diff --git a/src/containers/WindowListButton.js b/packages/mirador/src/containers/WindowListButton.js similarity index 100% rename from src/containers/WindowListButton.js rename to packages/mirador/src/containers/WindowListButton.js diff --git a/src/containers/WindowSideBar.js b/packages/mirador/src/containers/WindowSideBar.js similarity index 100% rename from src/containers/WindowSideBar.js rename to packages/mirador/src/containers/WindowSideBar.js diff --git a/src/containers/WindowSideBarAnnotationsPanel.js b/packages/mirador/src/containers/WindowSideBarAnnotationsPanel.js similarity index 100% rename from src/containers/WindowSideBarAnnotationsPanel.js rename to packages/mirador/src/containers/WindowSideBarAnnotationsPanel.js diff --git a/src/containers/WindowSideBarButtons.js b/packages/mirador/src/containers/WindowSideBarButtons.js similarity index 100% rename from src/containers/WindowSideBarButtons.js rename to packages/mirador/src/containers/WindowSideBarButtons.js diff --git a/src/containers/WindowSideBarCanvasPanel.js b/packages/mirador/src/containers/WindowSideBarCanvasPanel.js similarity index 100% rename from src/containers/WindowSideBarCanvasPanel.js rename to packages/mirador/src/containers/WindowSideBarCanvasPanel.js diff --git a/src/containers/WindowSideBarCollectionPanel.js b/packages/mirador/src/containers/WindowSideBarCollectionPanel.js similarity index 100% rename from src/containers/WindowSideBarCollectionPanel.js rename to packages/mirador/src/containers/WindowSideBarCollectionPanel.js diff --git a/src/containers/WindowSideBarInfoPanel.js b/packages/mirador/src/containers/WindowSideBarInfoPanel.js similarity index 100% rename from src/containers/WindowSideBarInfoPanel.js rename to packages/mirador/src/containers/WindowSideBarInfoPanel.js diff --git a/src/containers/WindowThumbnailSettings.js b/packages/mirador/src/containers/WindowThumbnailSettings.js similarity index 100% rename from src/containers/WindowThumbnailSettings.js rename to packages/mirador/src/containers/WindowThumbnailSettings.js diff --git a/src/containers/WindowTopBar.js b/packages/mirador/src/containers/WindowTopBar.js similarity index 100% rename from src/containers/WindowTopBar.js rename to packages/mirador/src/containers/WindowTopBar.js diff --git a/src/containers/WindowTopBarPluginArea.js b/packages/mirador/src/containers/WindowTopBarPluginArea.js similarity index 100% rename from src/containers/WindowTopBarPluginArea.js rename to packages/mirador/src/containers/WindowTopBarPluginArea.js diff --git a/src/containers/WindowTopBarPluginMenu.js b/packages/mirador/src/containers/WindowTopBarPluginMenu.js similarity index 100% rename from src/containers/WindowTopBarPluginMenu.js rename to packages/mirador/src/containers/WindowTopBarPluginMenu.js diff --git a/src/containers/WindowTopBarTitle.js b/packages/mirador/src/containers/WindowTopBarTitle.js similarity index 100% rename from src/containers/WindowTopBarTitle.js rename to packages/mirador/src/containers/WindowTopBarTitle.js diff --git a/src/containers/WindowTopMenu.js b/packages/mirador/src/containers/WindowTopMenu.js similarity index 100% rename from src/containers/WindowTopMenu.js rename to packages/mirador/src/containers/WindowTopMenu.js diff --git a/src/containers/WindowTopMenuButton.js b/packages/mirador/src/containers/WindowTopMenuButton.js similarity index 100% rename from src/containers/WindowTopMenuButton.js rename to packages/mirador/src/containers/WindowTopMenuButton.js diff --git a/src/containers/WindowViewSettings.js b/packages/mirador/src/containers/WindowViewSettings.js similarity index 100% rename from src/containers/WindowViewSettings.js rename to packages/mirador/src/containers/WindowViewSettings.js diff --git a/src/containers/WindowViewer.js b/packages/mirador/src/containers/WindowViewer.js similarity index 100% rename from src/containers/WindowViewer.js rename to packages/mirador/src/containers/WindowViewer.js diff --git a/src/containers/Workspace.js b/packages/mirador/src/containers/Workspace.js similarity index 100% rename from src/containers/Workspace.js rename to packages/mirador/src/containers/Workspace.js diff --git a/src/containers/WorkspaceAdd.js b/packages/mirador/src/containers/WorkspaceAdd.js similarity index 100% rename from src/containers/WorkspaceAdd.js rename to packages/mirador/src/containers/WorkspaceAdd.js diff --git a/src/containers/WorkspaceAddButton.js b/packages/mirador/src/containers/WorkspaceAddButton.js similarity index 100% rename from src/containers/WorkspaceAddButton.js rename to packages/mirador/src/containers/WorkspaceAddButton.js diff --git a/src/containers/WorkspaceArea.js b/packages/mirador/src/containers/WorkspaceArea.js similarity index 100% rename from src/containers/WorkspaceArea.js rename to packages/mirador/src/containers/WorkspaceArea.js diff --git a/src/containers/WorkspaceControlPanel.js b/packages/mirador/src/containers/WorkspaceControlPanel.js similarity index 100% rename from src/containers/WorkspaceControlPanel.js rename to packages/mirador/src/containers/WorkspaceControlPanel.js diff --git a/src/containers/WorkspaceControlPanelButtons.js b/packages/mirador/src/containers/WorkspaceControlPanelButtons.js similarity index 100% rename from src/containers/WorkspaceControlPanelButtons.js rename to packages/mirador/src/containers/WorkspaceControlPanelButtons.js diff --git a/src/containers/WorkspaceElastic.js b/packages/mirador/src/containers/WorkspaceElastic.js similarity index 100% rename from src/containers/WorkspaceElastic.js rename to packages/mirador/src/containers/WorkspaceElastic.js diff --git a/src/containers/WorkspaceElasticWindow.js b/packages/mirador/src/containers/WorkspaceElasticWindow.js similarity index 100% rename from src/containers/WorkspaceElasticWindow.js rename to packages/mirador/src/containers/WorkspaceElasticWindow.js diff --git a/src/containers/WorkspaceExport.js b/packages/mirador/src/containers/WorkspaceExport.js similarity index 100% rename from src/containers/WorkspaceExport.js rename to packages/mirador/src/containers/WorkspaceExport.js diff --git a/src/containers/WorkspaceImport.js b/packages/mirador/src/containers/WorkspaceImport.js similarity index 100% rename from src/containers/WorkspaceImport.js rename to packages/mirador/src/containers/WorkspaceImport.js diff --git a/src/containers/WorkspaceMenu.js b/packages/mirador/src/containers/WorkspaceMenu.js similarity index 100% rename from src/containers/WorkspaceMenu.js rename to packages/mirador/src/containers/WorkspaceMenu.js diff --git a/src/containers/WorkspaceMenuButton.js b/packages/mirador/src/containers/WorkspaceMenuButton.js similarity index 100% rename from src/containers/WorkspaceMenuButton.js rename to packages/mirador/src/containers/WorkspaceMenuButton.js diff --git a/src/containers/WorkspaceMosaic.js b/packages/mirador/src/containers/WorkspaceMosaic.js similarity index 100% rename from src/containers/WorkspaceMosaic.js rename to packages/mirador/src/containers/WorkspaceMosaic.js diff --git a/src/containers/WorkspaceOptionsButton.js b/packages/mirador/src/containers/WorkspaceOptionsButton.js similarity index 100% rename from src/containers/WorkspaceOptionsButton.js rename to packages/mirador/src/containers/WorkspaceOptionsButton.js diff --git a/src/containers/WorkspaceOptionsMenu.js b/packages/mirador/src/containers/WorkspaceOptionsMenu.js similarity index 100% rename from src/containers/WorkspaceOptionsMenu.js rename to packages/mirador/src/containers/WorkspaceOptionsMenu.js diff --git a/src/containers/WorkspaceSelectionDialog.js b/packages/mirador/src/containers/WorkspaceSelectionDialog.js similarity index 100% rename from src/containers/WorkspaceSelectionDialog.js rename to packages/mirador/src/containers/WorkspaceSelectionDialog.js diff --git a/src/containers/ZoomControls.js b/packages/mirador/src/containers/ZoomControls.js similarity index 100% rename from src/containers/ZoomControls.js rename to packages/mirador/src/containers/ZoomControls.js diff --git a/src/contexts/FullScreenContext.js b/packages/mirador/src/contexts/FullScreenContext.js similarity index 100% rename from src/contexts/FullScreenContext.js rename to packages/mirador/src/contexts/FullScreenContext.js diff --git a/src/contexts/WorkspaceContext.js b/packages/mirador/src/contexts/WorkspaceContext.js similarity index 100% rename from src/contexts/WorkspaceContext.js rename to packages/mirador/src/contexts/WorkspaceContext.js diff --git a/src/extend/PluginContext.js b/packages/mirador/src/extend/PluginContext.js similarity index 100% rename from src/extend/PluginContext.js rename to packages/mirador/src/extend/PluginContext.js diff --git a/src/extend/PluginProvider.js b/packages/mirador/src/extend/PluginProvider.js similarity index 100% rename from src/extend/PluginProvider.js rename to packages/mirador/src/extend/PluginProvider.js diff --git a/src/extend/pluginMapping.js b/packages/mirador/src/extend/pluginMapping.js similarity index 100% rename from src/extend/pluginMapping.js rename to packages/mirador/src/extend/pluginMapping.js diff --git a/src/extend/pluginPreprocessing.js b/packages/mirador/src/extend/pluginPreprocessing.js similarity index 100% rename from src/extend/pluginPreprocessing.js rename to packages/mirador/src/extend/pluginPreprocessing.js diff --git a/src/extend/pluginValidation.js b/packages/mirador/src/extend/pluginValidation.js similarity index 100% rename from src/extend/pluginValidation.js rename to packages/mirador/src/extend/pluginValidation.js diff --git a/src/extend/withPlugins.js b/packages/mirador/src/extend/withPlugins.js similarity index 100% rename from src/extend/withPlugins.js rename to packages/mirador/src/extend/withPlugins.js diff --git a/src/extend/withRef.js b/packages/mirador/src/extend/withRef.js similarity index 100% rename from src/extend/withRef.js rename to packages/mirador/src/extend/withRef.js diff --git a/src/extend/withSize.js b/packages/mirador/src/extend/withSize.js similarity index 100% rename from src/extend/withSize.js rename to packages/mirador/src/extend/withSize.js diff --git a/src/i18n.js b/packages/mirador/src/i18n.js similarity index 100% rename from src/i18n.js rename to packages/mirador/src/i18n.js diff --git a/src/index.js b/packages/mirador/src/index.js similarity index 100% rename from src/index.js rename to packages/mirador/src/index.js diff --git a/src/init.js b/packages/mirador/src/init.js similarity index 100% rename from src/init.js rename to packages/mirador/src/init.js diff --git a/src/lib/AnnotationFactory.js b/packages/mirador/src/lib/AnnotationFactory.js similarity index 100% rename from src/lib/AnnotationFactory.js rename to packages/mirador/src/lib/AnnotationFactory.js diff --git a/src/lib/AnnotationItem.js b/packages/mirador/src/lib/AnnotationItem.js similarity index 100% rename from src/lib/AnnotationItem.js rename to packages/mirador/src/lib/AnnotationItem.js diff --git a/src/lib/AnnotationList.js b/packages/mirador/src/lib/AnnotationList.js similarity index 100% rename from src/lib/AnnotationList.js rename to packages/mirador/src/lib/AnnotationList.js diff --git a/src/lib/AnnotationPage.js b/packages/mirador/src/lib/AnnotationPage.js similarity index 100% rename from src/lib/AnnotationPage.js rename to packages/mirador/src/lib/AnnotationPage.js diff --git a/src/lib/AnnotationResource.js b/packages/mirador/src/lib/AnnotationResource.js similarity index 100% rename from src/lib/AnnotationResource.js rename to packages/mirador/src/lib/AnnotationResource.js diff --git a/src/lib/CanvasAnnotationDisplay.js b/packages/mirador/src/lib/CanvasAnnotationDisplay.js similarity index 100% rename from src/lib/CanvasAnnotationDisplay.js rename to packages/mirador/src/lib/CanvasAnnotationDisplay.js diff --git a/src/lib/CanvasGroupings.js b/packages/mirador/src/lib/CanvasGroupings.js similarity index 100% rename from src/lib/CanvasGroupings.js rename to packages/mirador/src/lib/CanvasGroupings.js diff --git a/src/lib/CanvasWorld.js b/packages/mirador/src/lib/CanvasWorld.js similarity index 100% rename from src/lib/CanvasWorld.js rename to packages/mirador/src/lib/CanvasWorld.js diff --git a/src/lib/CompanionWindowRegistry.js b/packages/mirador/src/lib/CompanionWindowRegistry.js similarity index 100% rename from src/lib/CompanionWindowRegistry.js rename to packages/mirador/src/lib/CompanionWindowRegistry.js diff --git a/src/lib/MiradorCanvas.js b/packages/mirador/src/lib/MiradorCanvas.js similarity index 100% rename from src/lib/MiradorCanvas.js rename to packages/mirador/src/lib/MiradorCanvas.js diff --git a/src/lib/MiradorManifest.js b/packages/mirador/src/lib/MiradorManifest.js similarity index 100% rename from src/lib/MiradorManifest.js rename to packages/mirador/src/lib/MiradorManifest.js diff --git a/src/lib/MiradorViewer.js b/packages/mirador/src/lib/MiradorViewer.js similarity index 100% rename from src/lib/MiradorViewer.js rename to packages/mirador/src/lib/MiradorViewer.js diff --git a/src/lib/MosaicLayout.js b/packages/mirador/src/lib/MosaicLayout.js similarity index 100% rename from src/lib/MosaicLayout.js rename to packages/mirador/src/lib/MosaicLayout.js diff --git a/src/lib/OpenSeadragonCanvasOverlay.js b/packages/mirador/src/lib/OpenSeadragonCanvasOverlay.js similarity index 100% rename from src/lib/OpenSeadragonCanvasOverlay.js rename to packages/mirador/src/lib/OpenSeadragonCanvasOverlay.js diff --git a/src/lib/ThumbnailFactory.js b/packages/mirador/src/lib/ThumbnailFactory.js similarity index 100% rename from src/lib/ThumbnailFactory.js rename to packages/mirador/src/lib/ThumbnailFactory.js diff --git a/src/lib/TruncatedHit.js b/packages/mirador/src/lib/TruncatedHit.js similarity index 100% rename from src/lib/TruncatedHit.js rename to packages/mirador/src/lib/TruncatedHit.js diff --git a/src/lib/asArray.js b/packages/mirador/src/lib/asArray.js similarity index 100% rename from src/lib/asArray.js rename to packages/mirador/src/lib/asArray.js diff --git a/src/lib/htmlRules.js b/packages/mirador/src/lib/htmlRules.js similarity index 100% rename from src/lib/htmlRules.js rename to packages/mirador/src/lib/htmlRules.js diff --git a/src/lib/readImageMetadata.js b/packages/mirador/src/lib/readImageMetadata.js similarity index 100% rename from src/lib/readImageMetadata.js rename to packages/mirador/src/lib/readImageMetadata.js diff --git a/src/locales/README.md b/packages/mirador/src/locales/README.md similarity index 100% rename from src/locales/README.md rename to packages/mirador/src/locales/README.md diff --git a/src/locales/ar/translation.json b/packages/mirador/src/locales/ar/translation.json similarity index 100% rename from src/locales/ar/translation.json rename to packages/mirador/src/locales/ar/translation.json diff --git a/src/locales/bg/translation.json b/packages/mirador/src/locales/bg/translation.json similarity index 100% rename from src/locales/bg/translation.json rename to packages/mirador/src/locales/bg/translation.json diff --git a/src/locales/de/translation.json b/packages/mirador/src/locales/de/translation.json similarity index 100% rename from src/locales/de/translation.json rename to packages/mirador/src/locales/de/translation.json diff --git a/src/locales/en/translation.json b/packages/mirador/src/locales/en/translation.json similarity index 100% rename from src/locales/en/translation.json rename to packages/mirador/src/locales/en/translation.json diff --git a/src/locales/et/translation.json b/packages/mirador/src/locales/et/translation.json similarity index 100% rename from src/locales/et/translation.json rename to packages/mirador/src/locales/et/translation.json diff --git a/src/locales/fa/translation.json b/packages/mirador/src/locales/fa/translation.json similarity index 100% rename from src/locales/fa/translation.json rename to packages/mirador/src/locales/fa/translation.json diff --git a/src/locales/fr/translation.json b/packages/mirador/src/locales/fr/translation.json similarity index 100% rename from src/locales/fr/translation.json rename to packages/mirador/src/locales/fr/translation.json diff --git a/src/locales/hr/translation.json b/packages/mirador/src/locales/hr/translation.json similarity index 100% rename from src/locales/hr/translation.json rename to packages/mirador/src/locales/hr/translation.json diff --git a/src/locales/it/translation.json b/packages/mirador/src/locales/it/translation.json similarity index 100% rename from src/locales/it/translation.json rename to packages/mirador/src/locales/it/translation.json diff --git a/src/locales/ja/translation.json b/packages/mirador/src/locales/ja/translation.json similarity index 100% rename from src/locales/ja/translation.json rename to packages/mirador/src/locales/ja/translation.json diff --git a/src/locales/kr/translation.json b/packages/mirador/src/locales/kr/translation.json similarity index 100% rename from src/locales/kr/translation.json rename to packages/mirador/src/locales/kr/translation.json diff --git a/src/locales/lt/translation.json b/packages/mirador/src/locales/lt/translation.json similarity index 100% rename from src/locales/lt/translation.json rename to packages/mirador/src/locales/lt/translation.json diff --git a/src/locales/nbNo/translation.json b/packages/mirador/src/locales/nbNo/translation.json similarity index 100% rename from src/locales/nbNo/translation.json rename to packages/mirador/src/locales/nbNo/translation.json diff --git a/src/locales/nl/translation.json b/packages/mirador/src/locales/nl/translation.json similarity index 100% rename from src/locales/nl/translation.json rename to packages/mirador/src/locales/nl/translation.json diff --git a/src/locales/pl/translation.json b/packages/mirador/src/locales/pl/translation.json similarity index 100% rename from src/locales/pl/translation.json rename to packages/mirador/src/locales/pl/translation.json diff --git a/src/locales/ptBr/translation.json b/packages/mirador/src/locales/ptBr/translation.json similarity index 100% rename from src/locales/ptBr/translation.json rename to packages/mirador/src/locales/ptBr/translation.json diff --git a/src/locales/sr/translation.json b/packages/mirador/src/locales/sr/translation.json similarity index 100% rename from src/locales/sr/translation.json rename to packages/mirador/src/locales/sr/translation.json diff --git a/src/locales/sv/translation.json b/packages/mirador/src/locales/sv/translation.json similarity index 100% rename from src/locales/sv/translation.json rename to packages/mirador/src/locales/sv/translation.json diff --git a/src/locales/vi/translation.json b/packages/mirador/src/locales/vi/translation.json similarity index 100% rename from src/locales/vi/translation.json rename to packages/mirador/src/locales/vi/translation.json diff --git a/src/locales/zhCn/translation.json b/packages/mirador/src/locales/zhCn/translation.json similarity index 100% rename from src/locales/zhCn/translation.json rename to packages/mirador/src/locales/zhCn/translation.json diff --git a/src/locales/zhTw/translation.json b/packages/mirador/src/locales/zhTw/translation.json similarity index 100% rename from src/locales/zhTw/translation.json rename to packages/mirador/src/locales/zhTw/translation.json diff --git a/src/plugins/OSDReferences.js b/packages/mirador/src/plugins/OSDReferences.js similarity index 100% rename from src/plugins/OSDReferences.js rename to packages/mirador/src/plugins/OSDReferences.js diff --git a/src/polyfills.js b/packages/mirador/src/polyfills.js similarity index 100% rename from src/polyfills.js rename to packages/mirador/src/polyfills.js diff --git a/src/state/actions/action-types.js b/packages/mirador/src/state/actions/action-types.js similarity index 100% rename from src/state/actions/action-types.js rename to packages/mirador/src/state/actions/action-types.js diff --git a/src/state/actions/annotation.js b/packages/mirador/src/state/actions/annotation.js similarity index 100% rename from src/state/actions/annotation.js rename to packages/mirador/src/state/actions/annotation.js diff --git a/src/state/actions/auth.js b/packages/mirador/src/state/actions/auth.js similarity index 100% rename from src/state/actions/auth.js rename to packages/mirador/src/state/actions/auth.js diff --git a/src/state/actions/canvas.js b/packages/mirador/src/state/actions/canvas.js similarity index 100% rename from src/state/actions/canvas.js rename to packages/mirador/src/state/actions/canvas.js diff --git a/src/state/actions/catalog.js b/packages/mirador/src/state/actions/catalog.js similarity index 100% rename from src/state/actions/catalog.js rename to packages/mirador/src/state/actions/catalog.js diff --git a/src/state/actions/companionWindow.js b/packages/mirador/src/state/actions/companionWindow.js similarity index 100% rename from src/state/actions/companionWindow.js rename to packages/mirador/src/state/actions/companionWindow.js diff --git a/src/state/actions/config.js b/packages/mirador/src/state/actions/config.js similarity index 100% rename from src/state/actions/config.js rename to packages/mirador/src/state/actions/config.js diff --git a/src/state/actions/elasticLayout.js b/packages/mirador/src/state/actions/elasticLayout.js similarity index 100% rename from src/state/actions/elasticLayout.js rename to packages/mirador/src/state/actions/elasticLayout.js diff --git a/src/state/actions/errors.js b/packages/mirador/src/state/actions/errors.js similarity index 100% rename from src/state/actions/errors.js rename to packages/mirador/src/state/actions/errors.js diff --git a/src/state/actions/index.js b/packages/mirador/src/state/actions/index.js similarity index 100% rename from src/state/actions/index.js rename to packages/mirador/src/state/actions/index.js diff --git a/src/state/actions/infoResponse.js b/packages/mirador/src/state/actions/infoResponse.js similarity index 100% rename from src/state/actions/infoResponse.js rename to packages/mirador/src/state/actions/infoResponse.js diff --git a/src/state/actions/layers.js b/packages/mirador/src/state/actions/layers.js similarity index 100% rename from src/state/actions/layers.js rename to packages/mirador/src/state/actions/layers.js diff --git a/src/state/actions/manifest.js b/packages/mirador/src/state/actions/manifest.js similarity index 100% rename from src/state/actions/manifest.js rename to packages/mirador/src/state/actions/manifest.js diff --git a/src/state/actions/search.js b/packages/mirador/src/state/actions/search.js similarity index 100% rename from src/state/actions/search.js rename to packages/mirador/src/state/actions/search.js diff --git a/src/state/actions/window.js b/packages/mirador/src/state/actions/window.js similarity index 100% rename from src/state/actions/window.js rename to packages/mirador/src/state/actions/window.js diff --git a/src/state/actions/workspace.js b/packages/mirador/src/state/actions/workspace.js similarity index 100% rename from src/state/actions/workspace.js rename to packages/mirador/src/state/actions/workspace.js diff --git a/src/state/createPluggableStore.js b/packages/mirador/src/state/createPluggableStore.js similarity index 100% rename from src/state/createPluggableStore.js rename to packages/mirador/src/state/createPluggableStore.js diff --git a/src/state/createStore.js b/packages/mirador/src/state/createStore.js similarity index 100% rename from src/state/createStore.js rename to packages/mirador/src/state/createStore.js diff --git a/src/state/index.js b/packages/mirador/src/state/index.js similarity index 100% rename from src/state/index.js rename to packages/mirador/src/state/index.js diff --git a/src/state/reducers/accessTokens.js b/packages/mirador/src/state/reducers/accessTokens.js similarity index 100% rename from src/state/reducers/accessTokens.js rename to packages/mirador/src/state/reducers/accessTokens.js diff --git a/src/state/reducers/annotations.js b/packages/mirador/src/state/reducers/annotations.js similarity index 100% rename from src/state/reducers/annotations.js rename to packages/mirador/src/state/reducers/annotations.js diff --git a/src/state/reducers/auth.js b/packages/mirador/src/state/reducers/auth.js similarity index 100% rename from src/state/reducers/auth.js rename to packages/mirador/src/state/reducers/auth.js diff --git a/src/state/reducers/catalog.js b/packages/mirador/src/state/reducers/catalog.js similarity index 100% rename from src/state/reducers/catalog.js rename to packages/mirador/src/state/reducers/catalog.js diff --git a/src/state/reducers/companionWindows.js b/packages/mirador/src/state/reducers/companionWindows.js similarity index 100% rename from src/state/reducers/companionWindows.js rename to packages/mirador/src/state/reducers/companionWindows.js diff --git a/src/state/reducers/config.js b/packages/mirador/src/state/reducers/config.js similarity index 100% rename from src/state/reducers/config.js rename to packages/mirador/src/state/reducers/config.js diff --git a/src/state/reducers/elasticLayout.js b/packages/mirador/src/state/reducers/elasticLayout.js similarity index 100% rename from src/state/reducers/elasticLayout.js rename to packages/mirador/src/state/reducers/elasticLayout.js diff --git a/src/state/reducers/errors.js b/packages/mirador/src/state/reducers/errors.js similarity index 100% rename from src/state/reducers/errors.js rename to packages/mirador/src/state/reducers/errors.js diff --git a/src/state/reducers/index.js b/packages/mirador/src/state/reducers/index.js similarity index 100% rename from src/state/reducers/index.js rename to packages/mirador/src/state/reducers/index.js diff --git a/src/state/reducers/infoResponses.js b/packages/mirador/src/state/reducers/infoResponses.js similarity index 100% rename from src/state/reducers/infoResponses.js rename to packages/mirador/src/state/reducers/infoResponses.js diff --git a/src/state/reducers/layers.js b/packages/mirador/src/state/reducers/layers.js similarity index 100% rename from src/state/reducers/layers.js rename to packages/mirador/src/state/reducers/layers.js diff --git a/src/state/reducers/manifests.js b/packages/mirador/src/state/reducers/manifests.js similarity index 100% rename from src/state/reducers/manifests.js rename to packages/mirador/src/state/reducers/manifests.js diff --git a/src/state/reducers/rootReducer.js b/packages/mirador/src/state/reducers/rootReducer.js similarity index 100% rename from src/state/reducers/rootReducer.js rename to packages/mirador/src/state/reducers/rootReducer.js diff --git a/src/state/reducers/search.js b/packages/mirador/src/state/reducers/search.js similarity index 100% rename from src/state/reducers/search.js rename to packages/mirador/src/state/reducers/search.js diff --git a/src/state/reducers/utils.js b/packages/mirador/src/state/reducers/utils.js similarity index 100% rename from src/state/reducers/utils.js rename to packages/mirador/src/state/reducers/utils.js diff --git a/src/state/reducers/viewers.js b/packages/mirador/src/state/reducers/viewers.js similarity index 100% rename from src/state/reducers/viewers.js rename to packages/mirador/src/state/reducers/viewers.js diff --git a/src/state/reducers/windows.js b/packages/mirador/src/state/reducers/windows.js similarity index 100% rename from src/state/reducers/windows.js rename to packages/mirador/src/state/reducers/windows.js diff --git a/src/state/reducers/workspace.js b/packages/mirador/src/state/reducers/workspace.js similarity index 100% rename from src/state/reducers/workspace.js rename to packages/mirador/src/state/reducers/workspace.js diff --git a/src/state/sagas/annotations.js b/packages/mirador/src/state/sagas/annotations.js similarity index 100% rename from src/state/sagas/annotations.js rename to packages/mirador/src/state/sagas/annotations.js diff --git a/src/state/sagas/app.js b/packages/mirador/src/state/sagas/app.js similarity index 100% rename from src/state/sagas/app.js rename to packages/mirador/src/state/sagas/app.js diff --git a/src/state/sagas/auth.js b/packages/mirador/src/state/sagas/auth.js similarity index 100% rename from src/state/sagas/auth.js rename to packages/mirador/src/state/sagas/auth.js diff --git a/src/state/sagas/iiif.js b/packages/mirador/src/state/sagas/iiif.js similarity index 100% rename from src/state/sagas/iiif.js rename to packages/mirador/src/state/sagas/iiif.js diff --git a/src/state/sagas/index.js b/packages/mirador/src/state/sagas/index.js similarity index 100% rename from src/state/sagas/index.js rename to packages/mirador/src/state/sagas/index.js diff --git a/src/state/sagas/windows.js b/packages/mirador/src/state/sagas/windows.js similarity index 100% rename from src/state/sagas/windows.js rename to packages/mirador/src/state/sagas/windows.js diff --git a/src/state/selectors/annotations.js b/packages/mirador/src/state/selectors/annotations.js similarity index 100% rename from src/state/selectors/annotations.js rename to packages/mirador/src/state/selectors/annotations.js diff --git a/src/state/selectors/auth.js b/packages/mirador/src/state/selectors/auth.js similarity index 100% rename from src/state/selectors/auth.js rename to packages/mirador/src/state/selectors/auth.js diff --git a/src/state/selectors/canvases.js b/packages/mirador/src/state/selectors/canvases.js similarity index 100% rename from src/state/selectors/canvases.js rename to packages/mirador/src/state/selectors/canvases.js diff --git a/src/state/selectors/companionWindows.js b/packages/mirador/src/state/selectors/companionWindows.js similarity index 100% rename from src/state/selectors/companionWindows.js rename to packages/mirador/src/state/selectors/companionWindows.js diff --git a/src/state/selectors/config.js b/packages/mirador/src/state/selectors/config.js similarity index 100% rename from src/state/selectors/config.js rename to packages/mirador/src/state/selectors/config.js diff --git a/src/state/selectors/getters.js b/packages/mirador/src/state/selectors/getters.js similarity index 100% rename from src/state/selectors/getters.js rename to packages/mirador/src/state/selectors/getters.js diff --git a/src/state/selectors/index.js b/packages/mirador/src/state/selectors/index.js similarity index 100% rename from src/state/selectors/index.js rename to packages/mirador/src/state/selectors/index.js diff --git a/src/state/selectors/layers.js b/packages/mirador/src/state/selectors/layers.js similarity index 100% rename from src/state/selectors/layers.js rename to packages/mirador/src/state/selectors/layers.js diff --git a/src/state/selectors/manifests.js b/packages/mirador/src/state/selectors/manifests.js similarity index 100% rename from src/state/selectors/manifests.js rename to packages/mirador/src/state/selectors/manifests.js diff --git a/src/state/selectors/ranges.js b/packages/mirador/src/state/selectors/ranges.js similarity index 100% rename from src/state/selectors/ranges.js rename to packages/mirador/src/state/selectors/ranges.js diff --git a/src/state/selectors/searches.js b/packages/mirador/src/state/selectors/searches.js similarity index 100% rename from src/state/selectors/searches.js rename to packages/mirador/src/state/selectors/searches.js diff --git a/src/state/selectors/sequences.js b/packages/mirador/src/state/selectors/sequences.js similarity index 100% rename from src/state/selectors/sequences.js rename to packages/mirador/src/state/selectors/sequences.js diff --git a/src/state/selectors/utils.js b/packages/mirador/src/state/selectors/utils.js similarity index 100% rename from src/state/selectors/utils.js rename to packages/mirador/src/state/selectors/utils.js diff --git a/src/state/selectors/viewer.js b/packages/mirador/src/state/selectors/viewer.js similarity index 100% rename from src/state/selectors/viewer.js rename to packages/mirador/src/state/selectors/viewer.js diff --git a/src/state/selectors/windows.js b/packages/mirador/src/state/selectors/windows.js similarity index 100% rename from src/state/selectors/windows.js rename to packages/mirador/src/state/selectors/windows.js diff --git a/src/state/selectors/workspace.js b/packages/mirador/src/state/selectors/workspace.js similarity index 100% rename from src/state/selectors/workspace.js rename to packages/mirador/src/state/selectors/workspace.js diff --git a/src/styles/react-mosaic-component.js b/packages/mirador/src/styles/react-mosaic-component.js similarity index 100% rename from src/styles/react-mosaic-component.js rename to packages/mirador/src/styles/react-mosaic-component.js diff --git a/webpack.config.js b/packages/mirador/webpack.config.js similarity index 100% rename from webpack.config.js rename to packages/mirador/webpack.config.js