gatsby-matrix-theme 37.0.33 → 37.0.35
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 +22 -0
- package/package.json +2 -2
- package/src/gatsby-core-theme/components/molecules/main/index.js +1 -1
- package/src/gatsby-core-theme/hooks/tabs/tab/tab-list.js +4 -8
- package/storybook/public/{631.6e715f49.iframe.bundle.js → 631.5f6b1aef.iframe.bundle.js} +4 -4
- package/storybook/public/{631.6e715f49.iframe.bundle.js.map → 631.5f6b1aef.iframe.bundle.js.map} +1 -1
- package/storybook/public/iframe.html +1 -1
- /package/storybook/public/{631.6e715f49.iframe.bundle.js.LICENSE.txt → 631.5f6b1aef.iframe.bundle.js.LICENSE.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## [37.0.35](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v37.0.34...v37.0.35) (2023-12-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* search tabs flicker ([25c2b6f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/25c2b6fe30fcace7a0c8c94d9d27cef113802ab8))
|
|
7
|
+
* update core version ([b34be8b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b34be8b5962a9024233834183c92c190de3ed57b))
|
|
8
|
+
* update core version ([c57dfbb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c57dfbbbe251361d84de8657b30e4cecac329936))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
* Merge branch 'tm-3863-search-tabs-flicker' into 'master' ([e9dde48](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e9dde4814060dbaafdededbe09373eef49fd39e7))
|
|
12
|
+
|
|
13
|
+
## [37.0.34](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v37.0.33...v37.0.34) (2023-12-15)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* fixed issue where feedback always showing ([7f6a262](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7f6a262a6c59cca89383b7a48b6328b5241f1a7e))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
* Merge branch 'tm-3725-onlinecasinoslist' into 'master' ([37712c4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/37712c4be41533e4baf97b1681067969e644ee1b))
|
|
22
|
+
|
|
1
23
|
## [37.0.33](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v37.0.32...v37.0.33) (2023-12-15)
|
|
2
24
|
|
|
3
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-matrix-theme",
|
|
3
|
-
"version": "37.0.
|
|
3
|
+
"version": "37.0.35",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Matrix Theme NPM Package",
|
|
6
6
|
"author": "",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@react-icons/all-files": "^4.1.0",
|
|
27
27
|
"gatsby": "^5.11.0",
|
|
28
|
-
"gatsby-core-theme": "30.0.
|
|
28
|
+
"gatsby-core-theme": "30.0.36",
|
|
29
29
|
"gatsby-plugin-sharp": "^5.11.0",
|
|
30
30
|
"gatsby-plugin-sitemap": "^3.3.0",
|
|
31
31
|
"gatsby-transformer-sharp": "^5.11.0",
|
|
@@ -117,7 +117,7 @@ const Main = ({
|
|
|
117
117
|
)}
|
|
118
118
|
{Newsletter && <Newsletter page={page} />}
|
|
119
119
|
{NewsletterSuccess && <NewsletterSuccess />}
|
|
120
|
-
{page.template !== 'ppc' &&
|
|
120
|
+
{page.template !== 'ppc' && Feedback && <FeedBackModule />}
|
|
121
121
|
</main>
|
|
122
122
|
);
|
|
123
123
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable react/forbid-prop-types */
|
|
2
2
|
/* eslint-disable react/jsx-no-bind */
|
|
3
3
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
4
|
-
import React, {
|
|
4
|
+
import React, { useRef } from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import Tab from 'gatsby-core-theme/src/hooks/tabs/tab/tab';
|
|
7
7
|
import styles from './tab-list.module.scss';
|
|
@@ -17,16 +17,12 @@ const TabList = ({
|
|
|
17
17
|
alignRight = false,
|
|
18
18
|
gtmClass = '',
|
|
19
19
|
}) => {
|
|
20
|
-
const [tabItems, setTabItems] = useState(items);
|
|
21
|
-
|
|
22
20
|
const filterBtn = useRef(null);
|
|
23
21
|
const tabList = useRef(null);
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
}, [showAll, items]);
|
|
23
|
+
const tabItems = showAll
|
|
24
|
+
? [<div label={showAll} tabId={`${showAll}_0`} key={keygen()} />, ...items]
|
|
25
|
+
: items;
|
|
30
26
|
|
|
31
27
|
function showDropdown() {
|
|
32
28
|
closeOtherSelects(tabList.current);
|