gatsby-matrix-theme 53.16.1 → 53.16.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.
@@ -26,12 +26,16 @@ module.exports = {
26
26
  '../../node_modules/gatsby-core-theme/src/components/molecules/pagination/pagination.stories.js',
27
27
  '../../node_modules/gatsby-core-theme/src/components/organisms/carousel/template-one/template-one.stories',
28
28
  '../../node_modules/gatsby-core-theme/src/components/organisms/carousel/template-two/template-two.stories',
29
- '../../node_modules/gatsby-core-theme/src/components/molecules/spotlights_v2/icon/template-one',
29
+ '../../node_modules/gatsby-core-theme/src/components/molecules/spotlights_v2/icon/template-one/template-one.stories',
30
30
  '../../node_modules/gatsby-core-theme/src/components/molecules/spotlights_v2/image/template-one/template-one.stories',
31
31
  '../../node_modules/gatsby-core-theme/src/components/molecules/spotlights_v2/image/template-two/template-two.stories',
32
32
  '../../node_modules/gatsby-core-theme/src/components/molecules/spotlights_v2/image-text/template-one/template-one.stories',
33
33
  '../../node_modules/gatsby-core-theme/src/components/molecules/spotlights_v2/image-text/template-two/template-two.stories',
34
34
  '../../node_modules/gatsby-core-theme/src/components/molecules/spotlights_v2/image-text/template-three/template-three.stories',
35
+ '../../node_modules/gatsby-core-theme/src/components/molecules/spotlights_v2/image-text/template-five/template-five.stories',
36
+ '../../node_modules/gatsby-core-theme/src/components/molecules/spotlights_v2/image-text/template-six/template-six.stories',
37
+ '../../node_modules/gatsby-core-theme/src/components/molecules/spotlights_v2/sport-odds/template-one/template-one.stories',
38
+ '../../node_modules/gatsby-core-theme/src/components/molecules/spotlights_v2/sport-odds/template-two/template-two.stories',
35
39
  ],
36
40
  addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
37
41
  env: (config) => ({
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [53.16.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.16.1...v53.16.2) (2026-04-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * algin spotlight and add in storybook ([fa686bf](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/fa686bf7b341fab1bdd1b87fc28abc54bedcda18))
7
+ * update theme ([f8eac92](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/f8eac921bf335edaf491a08b0572c66345f9aa19))
8
+
1
9
  ## [53.16.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.16.0...v53.16.1) (2026-04-27)
2
10
 
3
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "53.16.1",
3
+ "version": "53.16.2",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -26,7 +26,7 @@
26
26
  "@react-icons/all-files": "^4.1.0",
27
27
  "@gigmedia/enigma-utils": "^1.20.0",
28
28
  "gatsby": "^5.11.0",
29
- "gatsby-core-theme": "^44.22.3",
29
+ "gatsby-core-theme": "^44.22.4",
30
30
  "gatsby-plugin-sharp": "^5.11.0",
31
31
  "gatsby-plugin-sitemap": "^6.13.1",
32
32
  "gatsby-transformer-sharp": "^5.11.0",
@@ -14,6 +14,7 @@ import Cards from '../../../../components/organisms/cards';
14
14
  import ModuleTitle from '../../atoms/module-title';
15
15
  import InfoGrid from '../../../../components/atoms/info-grid/template-one';
16
16
  import CountrySelector from '../../../../components/atoms/country-selector';
17
+ import getSpotlightComponent from "~molecules/spotlights_v2";
17
18
  import AdminButton from '~atoms/admin/button';
18
19
  import { getApiQueryParams } from '../../../helpers/sportstake';
19
20
  import { generateCustomHeadings } from '../../../helpers/lotto';
@@ -88,31 +89,7 @@ const Modules = ({ module, pageContext, index, exclOperator, serverData, moduleP
88
89
  case 'image':
89
90
  return lazy(() => import('gatsby-core-theme/src/components/atoms/image'));
90
91
  case 'spotlights':
91
- if (module?.mode === 'image_text') {
92
- if (module?.style === 'template_two') {
93
- return lazy(() => import('~molecules/spotlights_v2/image-text/template-two'));
94
- } else if (module?.style === 'template_three') {
95
- return lazy(() => import('~molecules/spotlights_v2/image-text/template-three'));
96
- }
97
- if (module?.style === 'template_four') {
98
- return lazy(() => import('~molecules/spotlights_v2/image-text/template-four'));
99
- }
100
- if (module?.style === 'template_five') {
101
- return lazy(() => import('~molecules/spotlights_v2/image-text/template-five'));
102
- }
103
- if (module?.style === 'template_six') {
104
- return lazy(() => import('~molecules/spotlights_v2/image-text/template-six'));
105
- }
106
- return lazy(() => import('~molecules/spotlights_v2/image-text/template-one'));
107
- } else if (module?.mode === 'icon') {
108
- return lazy(() => import('~molecules/spotlights_v2/icon/template-one'));
109
- } else if (module?.mode === 'image') {
110
- if (module?.style === 'template_two') {
111
- return lazy(() => import('~molecules/spotlights_v2/image/template-two'));
112
- }
113
- return lazy(() => import('~molecules/spotlights_v2/image/template-one'));
114
- }
115
- return null;
92
+ return getSpotlightComponent(module);
116
93
  case 'faq':
117
94
  // eslint-disable-next-line react/destructuring-assignment
118
95
  if (moduleItem?.display_front_end === '1') {