gatsby-matrix-theme 7.1.41 → 7.1.42
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 +8 -0
- package/package.json +1 -1
- package/src/gatsby-core-theme/components/atoms/info-grid/index.js +1 -1
- package/src/gatsby-core-theme/components/atoms/info-grid/info-grid.module.scss +2 -2
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.f5d8e990.iframe.bundle.js +1 -0
- package/storybook/public/main.4a8674d9.iframe.bundle.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [7.1.42](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.41...v7.1.42) (2022-07-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add variables for colors ([74c5724](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/74c572460c851d5059c13cc0f234707f2a53648d))
|
|
7
|
+
* fix small bug in the transition of item ([4204d05](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/4204d05e5172bf3a71880bd93cfb0fc722167dd1))
|
|
8
|
+
|
|
1
9
|
## [7.1.41](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v7.1.40...v7.1.41) (2022-07-22)
|
|
2
10
|
|
|
3
11
|
|
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ const InfoGrid = ({
|
|
|
31
31
|
};
|
|
32
32
|
const nextSlide = () => {
|
|
33
33
|
const widthItems = window.screen.width;
|
|
34
|
-
const scrollValue = ref.current.scrollLeft + widthItems;
|
|
34
|
+
const scrollValue = ref.current.scrollLeft + widthItems - 15;
|
|
35
35
|
const inThEnd = scrollValue + widthItems >= ref.current.scrollWidth;
|
|
36
36
|
ref.current.scrollLeft = scrollValue;
|
|
37
37
|
setShowButtons(inThEnd ? 1 : 0);
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.gridItem {
|
|
58
|
-
border-left: 0.8rem solid
|
|
58
|
+
border-left: 0.8rem solid var(--info-grid-border-left-color);
|
|
59
59
|
padding: 1.4rem 1.5rem;
|
|
60
60
|
border-radius: 0.6rem 0 0 0.6rem;
|
|
61
|
-
background-color:
|
|
61
|
+
background-color: var(--info-grid-backgorund-color);
|
|
62
62
|
@include max(mobile) {
|
|
63
63
|
width: 92vw;
|
|
64
64
|
}
|
|
@@ -345,4 +345,4 @@
|
|
|
345
345
|
|
|
346
346
|
|
|
347
347
|
|
|
348
|
-
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"}];</script><script src="runtime~main.c79754d5.iframe.bundle.js"></script><script src="139.bcea9d6e.iframe.bundle.js"></script><script src="main.
|
|
348
|
+
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"}];</script><script src="runtime~main.c79754d5.iframe.bundle.js"></script><script src="139.bcea9d6e.iframe.bundle.js"></script><script src="main.f5d8e990.iframe.bundle.js"></script></body></html>
|