gatsby-theme-carbon 3.2.0 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-theme-carbon",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "vpicone <vp@vincepic.one> (@vpicone)",
|
|
6
6
|
"repository": {
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"react-dom": "^17.0.2"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@babel/core": "^7.23.
|
|
26
|
-
"@carbon/elements": "^11.
|
|
27
|
-
"@carbon/grid": "^11.21.
|
|
25
|
+
"@babel/core": "^7.23.6",
|
|
26
|
+
"@carbon/elements": "^11.35.0",
|
|
27
|
+
"@carbon/grid": "^11.21.1",
|
|
28
28
|
"@carbon/pictograms-react": "^11.54.0",
|
|
29
|
-
"@carbon/react": "^1.
|
|
29
|
+
"@carbon/react": "^1.45.0",
|
|
30
30
|
"@carbon/themes": "^11.28.0",
|
|
31
31
|
"@mdx-js/mdx": "^1.6.22",
|
|
32
32
|
"@mdx-js/react": "^1.6.22",
|
|
@@ -64,6 +64,6 @@
|
|
|
64
64
|
"sass": "^1.69.5",
|
|
65
65
|
"slugify": "^1.6.6",
|
|
66
66
|
"smooth-scroll": "^16.1.3",
|
|
67
|
-
"use-media": "^1.
|
|
67
|
+
"use-media": "^1.5.0"
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -142,6 +142,7 @@ function ImageGallery({ children, className }) {
|
|
|
142
142
|
<button
|
|
143
143
|
type="button"
|
|
144
144
|
className={closeButton}
|
|
145
|
+
aria-label="Close gallery"
|
|
145
146
|
onClick={closeGallery}>
|
|
146
147
|
<Close size={32} className={icon} />
|
|
147
148
|
</button>
|
|
@@ -154,6 +155,7 @@ function ImageGallery({ children, className }) {
|
|
|
154
155
|
<button
|
|
155
156
|
type="button"
|
|
156
157
|
className={leftNavButton}
|
|
158
|
+
aria-label="Previous image"
|
|
157
159
|
onClick={selectPrevImage}>
|
|
158
160
|
<ChevronLeft size={32} className={icon} />
|
|
159
161
|
</button>
|
|
@@ -177,6 +179,7 @@ function ImageGallery({ children, className }) {
|
|
|
177
179
|
<button
|
|
178
180
|
type="button"
|
|
179
181
|
className={rightNavButton}
|
|
182
|
+
aria-label="Next image"
|
|
180
183
|
onClick={selectNextImage}>
|
|
181
184
|
<ChevronRight size={32} className={icon} />
|
|
182
185
|
</button>
|