gatsby-core-theme 9.0.0 → 9.0.1
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [9.0.1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v9.0.0...v9.0.1) (2022-08-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update spotlights module ([c646f9c](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/c646f9c878cd17456e1b271cd23908ea8eb59462))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* Merge branch 'tm-2979-spotlight-module-images' into 'master' ([0db5a40](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/0db5a40df3a0897157d312590cc2e7325669adfc))
|
|
10
|
+
|
|
1
11
|
# [9.0.0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v8.0.13...v9.0.0) (2022-07-29)
|
|
2
12
|
|
|
3
13
|
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ const Spotlights = ({ module, themeStyles = {} }) => {
|
|
|
17
17
|
const content = (item) => {
|
|
18
18
|
const img = mode === 'icon' ? item.icon : item.image;
|
|
19
19
|
|
|
20
|
-
const imageSize = module.style ? imgSize[module.style] : imgSize.default;
|
|
20
|
+
const imageSize = imgSize[module.style] ? imgSize[module.style] : imgSize.default;
|
|
21
21
|
const imageSrc = imagePrettyUrl(img, imageSize?.width, imageSize?.height);
|
|
22
22
|
|
|
23
23
|
const fileName = getImageFilename(imageSrc);
|