From 319b750bf1995e96a26568003bac8a20174d7168 Mon Sep 17 00:00:00 2001 From: Saira-A <139405429+Saira-A@users.noreply.github.com> Date: Tue, 29 Oct 2024 11:13:45 +0000 Subject: [PATCH 1/2] Add focus highlight to gallery control buttons (#1175) --- .../modules/uv-shared-module/css/styles.less | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/content-handlers/iiif/modules/uv-shared-module/css/styles.less b/src/content-handlers/iiif/modules/uv-shared-module/css/styles.less index 2be039a44..6492f4bad 100644 --- a/src/content-handlers/iiif/modules/uv-shared-module/css/styles.less +++ b/src/content-handlers/iiif/modules/uv-shared-module/css/styles.less @@ -149,3 +149,23 @@ } } } + +.iiif-gallery-component { + + .header { + .btn { + &.size-up, + &.size-down { + &:focus { + border: 1px solid @link-color; + } + } + } + + input[type="range"] { + &:focus { + border: 2px double @link-color; + } + } + } + } From fa07c4bf9c3b4d351cb6ac9e86b548ffc508e7ab Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Tue, 29 Oct 2024 07:17:28 -0400 Subject: [PATCH 2/2] Update @iiif/iiif-gallery-component to v1.1.22. (#1182) --- package-lock.json | 67 +++++++++-------------------------------------- package.json | 2 +- 2 files changed, 13 insertions(+), 56 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2fbb9f238..32a2c8307 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@google/model-viewer": "^1.9.2", "@iiif/base-component": "2.0.1", "@iiif/iiif-av-component": "1.2.4", - "@iiif/iiif-gallery-component": "^1.1.21", + "@iiif/iiif-gallery-component": "^1.1.22", "@iiif/iiif-metadata-component": "^1.1.19", "@iiif/iiif-tree-component": "2.0.6", "@iiif/manifold": "2.0.31", @@ -925,27 +925,18 @@ } }, "node_modules/@iiif/iiif-gallery-component": { - "version": "1.1.21", - "resolved": "https://registry.npmjs.org/@iiif/iiif-gallery-component/-/iiif-gallery-component-1.1.21.tgz", - "integrity": "sha512-zbbsnO7Q5hcfNbuafpGZv/9yzGabXI9G1qavqnWzhSg+7vfL78ehIfC3tfSH6bpTPkmB/m0JVcrG4sbUzuqW5g==", + "version": "1.1.22", + "resolved": "https://registry.npmjs.org/@iiif/iiif-gallery-component/-/iiif-gallery-component-1.1.22.tgz", + "integrity": "sha512-d+iUi8HU5tMkVszbTqCnvA8H/a5rxM8PKVC8gNorMHyWdmEjaWSW2aNhSUQgItxKkxGEPYxXV1yisbsor5QL4A==", + "license": "MIT", "dependencies": { "@edsilv/jquery-plugins": "1.0.7", "@edsilv/utils": "1.0.2", "@iiif/base-component": "2.0.1", - "@iiif/manifold": "2.0.2", + "@iiif/manifold": "2.*", "@iiif/vocabulary": "1.0.11", "@types/jquery": "3.3.14", - "manifesto.js": "4.0.1" - } - }, - "node_modules/@iiif/iiif-gallery-component/node_modules/@iiif/manifold": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@iiif/manifold/-/manifold-2.0.2.tgz", - "integrity": "sha512-wZL7JzIGL09O1yIdaI+5tGuwhtIjOyL1SJN8mHsBiRKZqahDtsp/BkDQA7xM8XzDBzUhvobYNRuLnfZ1fQTJ2Q==", - "dependencies": { - "@edsilv/http-status-codes": "^1.0.3", - "@iiif/vocabulary": "^1.0.11", - "manifesto.js": "4.0.1" + "manifesto.js": "4.*" } }, "node_modules/@iiif/iiif-gallery-component/node_modules/@iiif/vocabulary": { @@ -961,20 +952,6 @@ "@types/sizzle": "*" } }, - "node_modules/@iiif/iiif-gallery-component/node_modules/manifesto.js": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/manifesto.js/-/manifesto.js-4.0.1.tgz", - "integrity": "sha512-COHlq5zd+qWk7rP1iWAbSN9aMw+xPpSgKl9MVvvT3RP8J7mvY4wVsifyJTPdpJBV2k8hjjvACET/Qz2tzVwcqw==", - "dependencies": { - "@edsilv/http-status-codes": "^1.0.3", - "@iiif/vocabulary": "^1.0.11", - "isomorphic-unfetch": "^3.0.0" - }, - "engines": { - "node": ">=8.9.1", - "npm": ">=3.10.8" - } - }, "node_modules/@iiif/iiif-metadata-component": { "version": "1.1.19", "resolved": "https://registry.npmjs.org/@iiif/iiif-metadata-component/-/iiif-metadata-component-1.1.19.tgz", @@ -16501,29 +16478,19 @@ } }, "@iiif/iiif-gallery-component": { - "version": "1.1.21", - "resolved": "https://registry.npmjs.org/@iiif/iiif-gallery-component/-/iiif-gallery-component-1.1.21.tgz", - "integrity": "sha512-zbbsnO7Q5hcfNbuafpGZv/9yzGabXI9G1qavqnWzhSg+7vfL78ehIfC3tfSH6bpTPkmB/m0JVcrG4sbUzuqW5g==", + "version": "1.1.22", + "resolved": "https://registry.npmjs.org/@iiif/iiif-gallery-component/-/iiif-gallery-component-1.1.22.tgz", + "integrity": "sha512-d+iUi8HU5tMkVszbTqCnvA8H/a5rxM8PKVC8gNorMHyWdmEjaWSW2aNhSUQgItxKkxGEPYxXV1yisbsor5QL4A==", "requires": { "@edsilv/jquery-plugins": "1.0.7", "@edsilv/utils": "1.0.2", "@iiif/base-component": "2.0.1", - "@iiif/manifold": "2.0.2", + "@iiif/manifold": "2.*", "@iiif/vocabulary": "1.0.11", "@types/jquery": "3.3.14", - "manifesto.js": "4.0.1" + "manifesto.js": "4.*" }, "dependencies": { - "@iiif/manifold": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@iiif/manifold/-/manifold-2.0.2.tgz", - "integrity": "sha512-wZL7JzIGL09O1yIdaI+5tGuwhtIjOyL1SJN8mHsBiRKZqahDtsp/BkDQA7xM8XzDBzUhvobYNRuLnfZ1fQTJ2Q==", - "requires": { - "@edsilv/http-status-codes": "^1.0.3", - "@iiif/vocabulary": "^1.0.11", - "manifesto.js": "4.0.1" - } - }, "@iiif/vocabulary": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/@iiif/vocabulary/-/vocabulary-1.0.11.tgz", @@ -16536,16 +16503,6 @@ "requires": { "@types/sizzle": "*" } - }, - "manifesto.js": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/manifesto.js/-/manifesto.js-4.0.1.tgz", - "integrity": "sha512-COHlq5zd+qWk7rP1iWAbSN9aMw+xPpSgKl9MVvvT3RP8J7mvY4wVsifyJTPdpJBV2k8hjjvACET/Qz2tzVwcqw==", - "requires": { - "@edsilv/http-status-codes": "^1.0.3", - "@iiif/vocabulary": "^1.0.11", - "isomorphic-unfetch": "^3.0.0" - } } } }, diff --git a/package.json b/package.json index e34b010de..10e5b0392 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "@google/model-viewer": "^1.9.2", "@iiif/base-component": "2.0.1", "@iiif/iiif-av-component": "1.2.4", - "@iiif/iiif-gallery-component": "^1.1.21", + "@iiif/iiif-gallery-component": "^1.1.22", "@iiif/iiif-metadata-component": "^1.1.19", "@iiif/iiif-tree-component": "2.0.6", "@iiif/manifold": "2.0.31",