gatsby-matrix-theme 2.0.5 → 2.1.0
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 +26 -0
- package/package.json +1 -1
- package/src/components/atoms/cards/popup-card/index.js +1 -1
- package/src/components/atoms/cards/popup-card/popup-card.module.scss +4 -8
- package/src/components/molecules/faq/faq.module.scss +14 -10
- package/src/gatsby-core-theme/components/molecules/search/index.js +2 -1
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/{main.e82d53bf.iframe.bundle.js → main.38a6239c.iframe.bundle.js} +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
# [2.1.0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v2.0.5...v2.1.0) (2021-10-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* another style issue ([d76bcb7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d76bcb7045a5c37c481d70b29993db973ec5d88c))
|
|
7
|
+
* faq all tags style ([45bff16](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/45bff16e3f00c2f018b4205f43af8e7a19fba3f6))
|
|
8
|
+
* max height faq ([e3da648](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e3da648f9d46e8039fbf73387a8b54309294f557))
|
|
9
|
+
* style issue ([704a93a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/704a93aa9e99d70316072d931f2ae50a34bd7df9))
|
|
10
|
+
* styling issues overriden on pcsa ([76806dd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/76806dde2ed65d6a2d1915943999e143f26a4906))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Code Refactoring
|
|
14
|
+
|
|
15
|
+
* correction to search keyword ([f8d1ddf](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f8d1ddf1307547cbfcfcab570f66cac102354bac))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
* Merge branch 'tm-2509-faq-tags-style' into 'master' ([c87422c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c87422ca5ca9d0fc1cce60b945e5cb0267b27814))
|
|
19
|
+
* Merge branch 'tm-2469-popup-fix' into 'master' ([7afd323](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7afd3234f28854feb49e38d6237660003eacbeb4))
|
|
20
|
+
* Merge branch 'tm-2478-search' into 'master' ([1f78305](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1f783057eb15ffdc8e0c33e50ef3e64182133d5b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* search keyword ([741aefd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/741aefd8921f145815476f3474ab80b043e3e55e))
|
|
26
|
+
|
|
1
27
|
## [2.0.5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v2.0.4...v2.0.5) (2021-10-19)
|
|
2
28
|
|
|
3
29
|
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@ const PopupCard = ({ item, translations }) => {
|
|
|
19
19
|
<div className={styles.popupCard}>
|
|
20
20
|
<div className={styles.wrapper}>
|
|
21
21
|
<div className={styles.imgContainer}>
|
|
22
|
-
<img src={imagePrettyUrl(logoUrl)} alt={oneLiner} />
|
|
22
|
+
<img width={98} height={98} src={imagePrettyUrl(logoUrl)} alt={oneLiner} />
|
|
23
23
|
</div>
|
|
24
24
|
<div className={styles.textContainer}>
|
|
25
25
|
<p className={styles.primaryText}>{one}</p>
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.imgContainer {
|
|
23
|
-
|
|
23
|
+
width: 8rem;
|
|
24
24
|
height: 8rem;
|
|
25
25
|
|
|
26
26
|
@include min(tablet) {
|
|
27
|
-
|
|
27
|
+
width: 9.8rem;
|
|
28
28
|
height: 9.8rem;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -80,13 +80,9 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
a {
|
|
83
|
-
background-color: var(--secondary-color) !important;
|
|
84
83
|
border-radius: 4px;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
&:hover {
|
|
88
|
-
background: var(--secondary-color) !important;
|
|
89
|
-
}
|
|
84
|
+
font-weight: 700;
|
|
85
|
+
font-size: 1.8rem;
|
|
90
86
|
}
|
|
91
87
|
}
|
|
92
88
|
}
|
|
@@ -26,6 +26,17 @@
|
|
|
26
26
|
@include flex-align (center, center);
|
|
27
27
|
margin-right: 0.5rem;
|
|
28
28
|
}
|
|
29
|
+
> div{
|
|
30
|
+
margin: 0;
|
|
31
|
+
margin-right: 2rem;
|
|
32
|
+
font-weight: 700;
|
|
33
|
+
font-size: 1.8rem;
|
|
34
|
+
p, h2, h3, h4 {
|
|
35
|
+
margin: 0;
|
|
36
|
+
font-weight: 700;
|
|
37
|
+
font-size: 1.8rem;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
29
40
|
}
|
|
30
41
|
&:hover,
|
|
31
42
|
&:focus {
|
|
@@ -44,21 +55,14 @@
|
|
|
44
55
|
&:after {
|
|
45
56
|
transform: translateY(-50%) rotate(-135deg);
|
|
46
57
|
}
|
|
47
|
-
}
|
|
48
|
-
p {
|
|
49
|
-
margin-right: 2rem;
|
|
50
|
-
}
|
|
58
|
+
}
|
|
51
59
|
}
|
|
52
60
|
|
|
53
61
|
.content {
|
|
54
|
-
@include collapse(0.5s,
|
|
62
|
+
@include collapse(0.5s, 500rem);
|
|
55
63
|
font-size: 1.6rem;
|
|
56
64
|
color: var(--color-20);
|
|
57
65
|
padding: 0;
|
|
58
|
-
|
|
59
|
-
p {
|
|
60
|
-
padding: 1rem 0;
|
|
61
|
-
}
|
|
62
66
|
}
|
|
63
67
|
}
|
|
64
|
-
}
|
|
68
|
+
}
|
|
@@ -46,6 +46,7 @@ const Search = ({
|
|
|
46
46
|
const [sortQuery, setSortQuery] = useState({});
|
|
47
47
|
const [searchQuery, setSearchQuery] = useState(searchQueryInit);
|
|
48
48
|
const [searchBoxQuery, setSearchBoxQuery] = useState('');
|
|
49
|
+
const noResultsText = noResults.replace('[keyword]', searchQuery);
|
|
49
50
|
|
|
50
51
|
const loadingRef = useRef(React.createRef());
|
|
51
52
|
const searchInputRef = useRef(React.createRef());
|
|
@@ -299,7 +300,7 @@ const Search = ({
|
|
|
299
300
|
</form>
|
|
300
301
|
{searchResultsRef.current.length === 0 && formSearchOptionsCopy === null ? (
|
|
301
302
|
<div>
|
|
302
|
-
<span className={styles.noResults}>{
|
|
303
|
+
<span className={styles.noResults}>{noResultsText}</span>
|
|
303
304
|
</div>
|
|
304
305
|
) : null}
|
|
305
306
|
{searchResultsRef.current.length !== 0 && (
|
|
@@ -135,4 +135,4 @@
|
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
|
|
138
|
-
window['FEATURES'] = {"postcss":true};</script><script src="runtime~main.d64660ee.iframe.bundle.js"></script><script src="vendors~main.aac219e4.iframe.bundle.js"></script><script src="main.
|
|
138
|
+
window['FEATURES'] = {"postcss":true};</script><script src="runtime~main.d64660ee.iframe.bundle.js"></script><script src="vendors~main.aac219e4.iframe.bundle.js"></script><script src="main.38a6239c.iframe.bundle.js"></script></body></html>
|