gatsby-core-theme 29.0.0-beta.1 → 29.0.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 +170 -17
- package/gatsby-config.js +2 -1
- package/package.json +3 -1
- package/src/components/app.js +8 -7
- package/src/components/atoms/iframe/index.js +3 -2
- package/src/components/molecules/content/content.module.scss +1 -1
- package/src/components/molecules/content/index.js +4 -7
- package/src/components/molecules/content/table/table.module.scss +8 -7
- package/src/components/molecules/footer/index.js +14 -17
- package/src/components/molecules/header/index.js +12 -12
- package/src/components/molecules/main/index.js +15 -28
- package/src/components/molecules/module/index.js +19 -24
- package/src/components/molecules/search/index.js +20 -34
- package/src/components/molecules/slider/index.js +12 -11
- package/src/components/organisms/navigation/index.js +13 -16
- package/src/components/organisms/search/index.js +34 -31
- package/src/components/organisms/toplist/index.js +5 -6
- package/src/components/organisms/toplist/list/index.js +11 -16
- package/src/components/pages/body/index.js +5 -5
- package/src/components/pages/search/index.js +49 -54
- package/src/constants/pick-keys.mjs +2 -0
- package/src/hooks/tabs/index.js +16 -17
- package/src/hooks/tabs/tab/tab-list.js +2 -2
- package/src/hooks/tabs/tabs.test.js +5 -4
- package/src/styles/utils/variables/_main.scss +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
# [29.0.0
|
|
1
|
+
# [29.0.0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v28.0.6...v29.0.0) (2023-09-04)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
### chore
|
|
13
|
-
|
|
14
|
-
* **release:** 25.0.15-beta.1 [skip ci] ([7eb9a36](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/7eb9a360e32158806462c3e4adaf4af2d7881f5e))
|
|
6
|
+
* add default margin bottom ([9fec4bc](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/9fec4bcdda61252b4e1ab1336350231bd4e3901f))
|
|
7
|
+
* remove loadable component ([62359fd](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/62359fd3991806a3fb8e2a813e31bb9c1fc23a68))
|
|
8
|
+
* resolve conflicts ([bb5ef54](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/bb5ef54cc111f6c0842ca66370811a13e3b4c3f1))
|
|
9
|
+
* update ([f17e756](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/f17e75658fb5a4eb5e9bd8f1323d4ff11fbaac25))
|
|
10
|
+
* update search ([49f9b00](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/49f9b0016cd6c2d9bc11b1e2a5927161cb699ffd))
|
|
11
|
+
* update the table for mobile issue ([e3a0e8b](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/e3a0e8ba248222d7c825fdd422c6b1be53aa4851))
|
|
15
12
|
|
|
16
13
|
|
|
17
14
|
### Code Refactoring
|
|
@@ -27,27 +24,183 @@
|
|
|
27
24
|
* remove unused vars ([20fb3ce](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/20fb3ce20163646e53354602cd76da21a40dbeb8))
|
|
28
25
|
|
|
29
26
|
|
|
30
|
-
* Merge branch '
|
|
31
|
-
* Merge branch '
|
|
27
|
+
* Merge branch 'tm-3657-table-issue' into 'master' ([3683758](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/3683758358288e40f981ffbb9f2e1bd9d0195bd8))
|
|
28
|
+
* Merge branch 'tm-3662-search-bug' into 'master' ([7a6d4d1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/7a6d4d1830f846d697ab04a78d29988fb4f80fc0))
|
|
29
|
+
* Merge branch 'revert-62359fd3' into 'master' ([d18d403](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/d18d4034bf62854d1bb82693152dfc88154e4156))
|
|
30
|
+
* Revert "fix: remove loadable component" ([66734dd](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/66734dd8bcb32b964b7fd9eaacb962121d67a1e3))
|
|
32
31
|
* Merge branch 'tm-3644-dmca-image' into 'master' ([1af4bd1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/1af4bd1b344b9966e9416dc1f2dc6433fa18b210))
|
|
33
32
|
* Merge branch 'tm-3644-dmca-image' into 'master' ([842b4b2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/842b4b20abc4ffa68c0e370900f05070055b2348))
|
|
34
33
|
* Merge branch 'master' into tm-3644-dmca-image ([593a3d3](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/593a3d3ef443d0fbf184cde41a47bb687f88ad6f))
|
|
35
34
|
* Merge branch 'master' into tm-3644-dmca-image ([9ba0650](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/9ba0650df819c87922a5217cdfe9b97eb56df170))
|
|
36
|
-
* Merge branch 'tm-3574-purge-css' into 'beta' ([5c06bac](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/5c06bac6312cb9360994c009c36369a4109112c8))
|
|
37
|
-
* Merge branch 'beta' into 'tm-3574-purge-css' ([20dcc8b](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/20dcc8b1e45784860bf8d152810f659a49bb2873))
|
|
38
|
-
* Merge branch 'beta' into 'react-lazy' ([5434213](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/54342132c7e6dd5f9574388168d2a35519a23c2f))
|
|
39
35
|
|
|
40
36
|
|
|
41
37
|
### Tests
|
|
42
38
|
|
|
43
39
|
* disclaimer test ([1133fe1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/1133fe129527f180cc91d8c2fa11f22d4a2fa56b))
|
|
44
40
|
|
|
45
|
-
## [
|
|
41
|
+
## [28.0.6](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v28.0.5...v28.0.6) (2023-08-29)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
* add webkit ([ef4a978](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/ef4a978f44eb4122cf0f88d4b7eb19f1b343a183))
|
|
47
|
+
* update content ([42a32a6](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/42a32a6b2fa1eb5f1edbf375d0210642702bdebf))
|
|
48
|
+
* update content module ([35a764c](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/35a764c043781b9f7657e8b0ce2aae50f0854318))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
* Merge branch 'tm-3537-content-module' into 'master' ([8f8a75d](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/8f8a75d52c2deaed761ae8ab946148f654d1bd53))
|
|
52
|
+
* Merge branch 'tm-3537-content-module' into 'master' ([da1b655](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/da1b655131168dfdd2de64198ced20ac8d66a5b6))
|
|
53
|
+
|
|
54
|
+
## [28.0.5](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v28.0.4...v28.0.5) (2023-08-29)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
* add also env ([b0ffde8](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/b0ffde82cbb27bd0536f8ebbe4d56f9c33bff8b7))
|
|
60
|
+
* noscript ([9422a53](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/9422a531ed62fa4991bae670f2a3e681ea79ef60))
|
|
61
|
+
* update content module ([1f448a0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/1f448a0365eadf9ab349d437badcd30aa1ef9944))
|
|
62
|
+
* update variables ([2c3c7c8](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/2c3c7c87c6852573c3eadab390d2a0fc6494a9d1))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
* Merge branch 'iframes' into 'master' ([0b64e30](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/0b64e30d9a5490c01f62c26906f554263a29a97e))
|
|
66
|
+
* Merge branch 'tm-3537-content-module' into 'master' ([1606fec](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/1606fecbc2d669521f1f1674a134f69fbeccc865))
|
|
67
|
+
|
|
68
|
+
## [28.0.4](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v28.0.3...v28.0.4) (2023-08-28)
|
|
46
69
|
|
|
47
70
|
|
|
48
71
|
### Bug Fixes
|
|
49
72
|
|
|
50
|
-
*
|
|
73
|
+
* issearchPath helper ([d7d0d52](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/d7d0d52c08a9b65b31759a1d6343b69ce014b67b))
|
|
74
|
+
|
|
75
|
+
## [28.0.3](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v28.0.2...v28.0.3) (2023-08-28)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Bug Fixes
|
|
79
|
+
|
|
80
|
+
* added translations ([cc10ed3](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/cc10ed37d43e4efa1b269c6c87ea77e639af16bb))
|
|
81
|
+
* archive buttons translations ([5929177](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/59291770f76274c090fef607f60da1d196473f44))
|
|
82
|
+
* update search module ([d91edad](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/d91edadb13dde8da16bb03e701a21fb9ffc343ce))
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
* Merge branch 'tm-3533-enable-search-for-multiple-market' into 'master' ([8e97e7f](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/8e97e7fa1357c4ba9baa3a65744b038ef6729e06))
|
|
86
|
+
* Merge branch 'tm-3642-pagination-translations' into 'master' ([7664773](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/76647734b8de7da16bb1a2b91bfc4d8ef19db18c))
|
|
87
|
+
|
|
88
|
+
## [28.0.2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v28.0.1...v28.0.2) (2023-08-24)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Bug Fixes
|
|
92
|
+
|
|
93
|
+
* update content module ([2914737](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/2914737fe2d9cd67e4bc244d2c6ec1b21372e68a))
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
* Merge branch 'tm-3537-content-module' into 'master' ([aefad03](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/aefad038fe094c1c7cc34373776f63dd5280db13))
|
|
97
|
+
|
|
98
|
+
## [28.0.1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v28.0.0...v28.0.1) (2023-08-22)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Code Refactoring
|
|
102
|
+
|
|
103
|
+
* add minor css change ([8ba0eb8](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/8ba0eb8c7759514fe1481e7266384be3269d96b3))
|
|
104
|
+
* correction to form gaps ([c0a45d9](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/c0a45d951a5e544c94a0b12383d66e00af9bded0))
|
|
105
|
+
|
|
106
|
+
# [28.0.0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v27.0.1...v28.0.0) (2023-08-22)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### Code Refactoring
|
|
110
|
+
|
|
111
|
+
* add ([1fb65d2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/1fb65d24108a9e258a33bec5aba9e3b55476b4e5))
|
|
112
|
+
* add button label ([6fffc12](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/6fffc12888e0f53e0bd93b3d9f5d1767bd4106a1))
|
|
113
|
+
* add multiple markets, validations, tests, recaptcha validation ([b5b5c36](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/b5b5c367bdaeacfe67d76ba071b5599b249d0763))
|
|
114
|
+
* add prop to show/hide button icon ([528d5f3](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/528d5f33ef13c271c7e419d798408fd7de173486))
|
|
115
|
+
* add recaptcha to form fields ([f2a77b9](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/f2a77b9d999f313cbeb50fc17272be5debc1e735))
|
|
116
|
+
* change button style so on site level it adapts the primary button styles ([9f565ce](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/9f565cebf9fae352e1784cf7db91163c2f0faf04))
|
|
117
|
+
* change to test ([1132888](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/113288861a9087325d2a2549ed6fcda4995673c7))
|
|
118
|
+
* changes to qa feedback and enable to add links inside field labels ([578b21b](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/578b21b7884229b1918ecde872ac84081a670c54))
|
|
119
|
+
* correction to label display condition ([305c026](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/305c026fa53a64d8fc451695adc2b5ebdc28cba3))
|
|
120
|
+
* correction to validation ([2d2ebbc](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/2d2ebbc6586827251786afef376ba10be8fdd4d6))
|
|
121
|
+
* form link styles ([0c1dbd9](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/0c1dbd97ef2ff9f7b94708b33af113162647cbe5))
|
|
122
|
+
* remove test recpatcha ([65401aa](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/65401aad2e185c1355aca5cf54b9d66a90432af6))
|
|
123
|
+
* remove unused vars and correction to form storybook ([01545ef](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/01545ef5685c9559221766356c4b821ca844e4f8))
|
|
124
|
+
* remove unwanted state ([9704234](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/97042348141c2f6afd3e1b030a7f537539ffc9cb))
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
* Merge branch 'tm-3556-contact-us-page' into 'master' ([c79e7d8](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/c79e7d846b6bc84f006fcc54f0e1f6b2bc524010))
|
|
128
|
+
* Merge branch 'master' into tm-3556-contact-us-page ([3984e56](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/3984e56d59ac1939eae7d2828ee9337bca43311d))
|
|
129
|
+
* Merge branch 'master' into tm-3556-contact-us-page ([960071a](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/960071a5f887163d1d293c610334f75a07566261))
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Tests
|
|
133
|
+
|
|
134
|
+
* test for components ([5784586](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/5784586cbc8e7675956b70f75ae8a5135568208d))
|
|
135
|
+
|
|
136
|
+
## [27.0.1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v27.0.0...v27.0.1) (2023-08-21)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
### Bug Fixes
|
|
140
|
+
|
|
141
|
+
* add blockquote ([f39cb52](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/f39cb527eecc28bdce18a62bfbb43358362caff5))
|
|
142
|
+
* add checkers ([80d8882](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/80d888258c0b1d6f1853abf4aecafaabbcf6b47b))
|
|
143
|
+
* fixed failing tests ([72d5af0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/72d5af01e7d777592f7333e8bf75d200a2f812c0))
|
|
144
|
+
* rename a constant ([136f679](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/136f67915dfe7358efa1c41570b86d27e3f86b48))
|
|
145
|
+
* update blockquote ([194cd0f](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/194cd0fa0656088e8b6682458b9788c8c010d575))
|
|
146
|
+
* update content module ([1034cd3](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/1034cd3a510a9b8d635059dea25a3374768c2246))
|
|
147
|
+
* update content module ([cb6cc2b](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/cb6cc2bb64047eee2aa7ee69c02c9ab82cb80fc6))
|
|
148
|
+
* update content module ([11a34f0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/11a34f0d7ee9ae4efd445bb0345d22452eaa6c5d))
|
|
149
|
+
* update content module and style ([b670541](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/b670541fa7c9ac401ea91a1acd7c276bb83ab351))
|
|
150
|
+
* update isSearchPath function ([fa4355d](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/fa4355d95a0e2fd176f01a4d3d58fe2662dada5d))
|
|
151
|
+
* update remove content-box ([1fe3a18](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/1fe3a187f3bedca955f678253267399badaf5406))
|
|
152
|
+
* update search ([b2d8078](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/b2d807802fe65b713c308b1977c183f52ba81103))
|
|
153
|
+
* update search for multiple market ([fc50ae5](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/fc50ae58ec3ec2d177e8dbe7252fe347e3d2f2b8))
|
|
154
|
+
* update search for multiple markets ([7176917](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/7176917b0e6bde869e8db734061a3da49e1a9c17))
|
|
155
|
+
* update storybooks ([3c40fb1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/3c40fb149e64e223dffaff9874b15408100b8064))
|
|
156
|
+
* update style ([d4ea61e](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/d4ea61e24876bca5fe270e3c2ff7edef65991f61))
|
|
157
|
+
* update styling ([494b823](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/494b8233180a8bc8060d6d3e16533ea720b3be39))
|
|
158
|
+
* update styling ([c9fc4de](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/c9fc4de085552a269ada3c0f012218dd915e7f24))
|
|
159
|
+
* update styling ([333821a](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/333821a722242619289b335bbe4afc982b8502d5))
|
|
160
|
+
* update styling for content module ([ee87f88](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/ee87f8839740db916c3f40539e597fbaef3c1ab5))
|
|
161
|
+
* update styling that we get from hercules ([6e296fc](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/6e296fc3cb579fb35363347959294c3341007e2e))
|
|
162
|
+
* update table classes ([1100376](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/1100376f642ee24c88cf0bb26aa195463bcc8f8d))
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
* Merge branch 'tm-3537-content-module' into 'master' ([082f24e](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/082f24ea4d4ecda0fbd0a0d54f4cff013dbabac8))
|
|
166
|
+
* Merge branch 'tm-3533-enable-search-for-multiple-market' into 'master' ([43a8839](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/43a88398f1ea606d543589080b16e97d205f86f0))
|
|
167
|
+
|
|
168
|
+
# [27.0.0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v26.0.0...v27.0.0) (2023-08-18)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### Code Refactoring
|
|
172
|
+
|
|
173
|
+
* add reading time to cards to show correct card reading time instead of page reading ([ad014ae](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/ad014aeddd44011b1fb470fd5080312d945090fc))
|
|
174
|
+
* complete changes to add reading time to all pages including to modules in search pages and archive pages ([4afbd96](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/4afbd960d21abbd09b3ca998aa5a0d9bdb518862))
|
|
175
|
+
* minor change for form ([c9f4eaf](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/c9f4eafeceb7c9c091736019acfd745447ab7dd7))
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
* Merge branch 'tm-3573-news' into 'master' ([4dc2e41](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/4dc2e41e9714e4e3c053958da65425a4da67b637))
|
|
179
|
+
* Merge branch 'master' into tm-3573-news ([a2366b1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/a2366b1de8ca7acb3f7daa2dad1de9f1733de2cf))
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### Tests
|
|
183
|
+
|
|
184
|
+
* add test ([69eabbd](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/69eabbda0e957f31bd3e76f8ec97619b0af23827))
|
|
185
|
+
|
|
186
|
+
# [26.0.0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v25.0.14...v26.0.0) (2023-08-16)
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
### Bug Fixes
|
|
190
|
+
|
|
191
|
+
* fix storybook form json ([da6d479](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/da6d479186108e875c53e0160bb99a1d9d06fdd1))
|
|
192
|
+
* moved contact form story to template block ([ddd4f02](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/ddd4f02c9720dcca58d57a595547bc02af0990f6))
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
### Code Refactoring
|
|
196
|
+
|
|
197
|
+
* dynamic form with validations, storybook and test. constant form json ([d727a64](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/d727a64af6466c6a92422437783232a1fa203d63))
|
|
198
|
+
* remove unwanted code and add responsive css ([d091869](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/d091869597e07c438c2938693a2b3aa9c7a81682))
|
|
199
|
+
* temp changes ([241386b](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/241386bb27caaa433fce62b29a5355384a1b770f))
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
* Merge branch 'tm-3556-form' into 'master' ([325d44e](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/325d44e55bd835c97490965214d7e2eb60b89877))
|
|
203
|
+
* Merge branch 'master' into tm-3556-form ([8b16477](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/8b164778193dd10cb663bf0069f1029e68d241ac))
|
|
51
204
|
|
|
52
205
|
## [25.0.14](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v25.0.13...v25.0.14) (2023-08-10)
|
|
53
206
|
|
package/gatsby-config.js
CHANGED
|
@@ -3,6 +3,7 @@ module.exports = {
|
|
|
3
3
|
DEV_SSR: false,
|
|
4
4
|
},
|
|
5
5
|
plugins: [
|
|
6
|
+
'gatsby-plugin-loadable-components-ssr',
|
|
6
7
|
{
|
|
7
8
|
resolve: 'gatsby-plugin-sass',
|
|
8
9
|
options: {
|
|
@@ -20,7 +21,7 @@ module.exports = {
|
|
|
20
21
|
resolve: 'gatsby-plugin-webpack-bundle-analyser-v2',
|
|
21
22
|
options: {
|
|
22
23
|
devMode: true,
|
|
23
|
-
disable:
|
|
24
|
+
disable: true,
|
|
24
25
|
},
|
|
25
26
|
},
|
|
26
27
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-core-theme",
|
|
3
|
-
"version": "29.0.0
|
|
3
|
+
"version": "29.0.0",
|
|
4
4
|
"description": "Gatsby Theme NPM Package",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"directories": {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@loadable/babel-plugin": "^5.15.3",
|
|
20
|
+
"@loadable/component": "^5.15.3",
|
|
20
21
|
"@loadable/server": "^5.15.3",
|
|
21
22
|
"@loadable/webpack-plugin": "^5.14.2",
|
|
22
23
|
"@reach/router": "^1.3.3",
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
"gatsby": "^5.11.0",
|
|
31
32
|
"gatsby-image": "^3.11.0",
|
|
32
33
|
"gatsby-plugin-image": "^3.11.0",
|
|
34
|
+
"gatsby-plugin-loadable-components-ssr": "^4.2.0",
|
|
33
35
|
"gatsby-plugin-manifest": "^5.11.0",
|
|
34
36
|
"gatsby-plugin-postcss": "^6.11.0",
|
|
35
37
|
"gatsby-plugin-sass": "^6.11.0",
|
package/src/components/app.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/* eslint-disable react/prop-types */
|
|
2
2
|
/* eslint-disable react/forbid-prop-types */
|
|
3
|
-
import React, { useEffect, useState
|
|
3
|
+
import React, { useEffect, useState } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
+
import loadable from '@loadable/component';
|
|
5
6
|
import MainProvider from '~context/MainProvider';
|
|
6
7
|
import Body from '~pages/body';
|
|
7
8
|
import HeadData from '~organisms/head';
|
|
@@ -48,21 +49,21 @@ const App = ({ pageContext }) => {
|
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
const TrackerContent = isTracker ?
|
|
52
|
-
const TrackerGeoContent = isTrackeGeo ?
|
|
52
|
+
const TrackerContent = isTracker ? loadable(() => import(`~pages/tracker`)) : null;
|
|
53
|
+
const TrackerGeoContent = isTrackeGeo ? loadable(() => import(`~pages/tracker-geo`)) : null;
|
|
53
54
|
|
|
54
55
|
if (TrackerGeoContent) {
|
|
55
56
|
return (
|
|
56
|
-
|
|
57
|
+
<>
|
|
57
58
|
<TrackerGeoContent pageContext={pageContext} path={pageContext.page.path} />
|
|
58
|
-
|
|
59
|
+
</>
|
|
59
60
|
);
|
|
60
61
|
}
|
|
61
62
|
|
|
62
63
|
return isTracker ? (
|
|
63
|
-
|
|
64
|
+
<>
|
|
64
65
|
<TrackerContent pageContext={pageContext} path={pageContext.page.path} />
|
|
65
|
-
|
|
66
|
+
</>
|
|
66
67
|
) : (
|
|
67
68
|
<MainProvider value={{ translations }}>
|
|
68
69
|
<div
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
+
import loadable from '@loadable/component';
|
|
3
4
|
import { isNativeImageLazyLoadingSupported } from '~helpers/device-detect';
|
|
4
5
|
import styles from './iframe.module.scss';
|
|
5
6
|
|
|
@@ -11,7 +12,7 @@ const Iframe = ({
|
|
|
11
12
|
frameBorder = 1,
|
|
12
13
|
}) => {
|
|
13
14
|
if (!isNativeImageLazyLoadingSupported() && lazyLoad) {
|
|
14
|
-
const LazyLoad =
|
|
15
|
+
const LazyLoad = loadable(() => import(`react-lazyload`));
|
|
15
16
|
return (
|
|
16
17
|
<>
|
|
17
18
|
<LazyLoad>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
2
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
3
|
-
import React, { useState, useContext
|
|
3
|
+
import React, { useState, useContext } from 'react';
|
|
4
4
|
import parse from 'html-react-parser';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import LazyImage from 'gatsby-core-theme/src/hooks/lazy-image';
|
|
7
7
|
import { parseCss } from 'gatsby-core-theme/src/helpers/css-parser';
|
|
8
|
+
import loadable from '@loadable/component';
|
|
8
9
|
import { parseContentImageUrl } from 'gatsby-core-theme/src/helpers/strings';
|
|
9
10
|
import { generatePlaceholderString } from '../../../helpers/generators';
|
|
10
11
|
import { Context } from '~context/MainProvider';
|
|
@@ -20,12 +21,8 @@ const Content = ({ module, isHomepageFirstModule = false, isModuleIntroduction =
|
|
|
20
21
|
|
|
21
22
|
const replaceMedia = (node) => {
|
|
22
23
|
if (node.name === 'iframe') {
|
|
23
|
-
const Iframe =
|
|
24
|
-
return
|
|
25
|
-
<Suspense>
|
|
26
|
-
<Iframe src={node.attribs.src} />
|
|
27
|
-
</Suspense>
|
|
28
|
-
);
|
|
24
|
+
const Iframe = loadable(() => import('gatsby-core-theme/src/components/atoms/iframe'));
|
|
25
|
+
return <Iframe src={node.attribs.src} />;
|
|
29
26
|
}
|
|
30
27
|
|
|
31
28
|
if (node.name === 'img') {
|
|
@@ -43,16 +43,17 @@
|
|
|
43
43
|
box-sizing: content-box;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
thead,
|
|
47
|
+
tbody {
|
|
48
|
+
display: table;
|
|
49
|
+
width: 100%;
|
|
50
|
+
table-layout: fixed;
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
}
|
|
53
|
+
|
|
46
54
|
@include min(tablet) {
|
|
47
55
|
width: 100%;
|
|
48
56
|
padding-bottom: 0;
|
|
49
|
-
thead,
|
|
50
|
-
tbody {
|
|
51
|
-
display: table;
|
|
52
|
-
width: 100%;
|
|
53
|
-
table-layout: fixed;
|
|
54
|
-
box-sizing: border-box;
|
|
55
|
-
}
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
thead {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
+
import loadable from '@loadable/component';
|
|
3
4
|
import { getExtraField, copyrightText } from '~helpers/getters';
|
|
4
5
|
import Disclaimer from '~atoms/disclaimer';
|
|
5
6
|
import styles from './footer.module.scss';
|
|
@@ -21,19 +22,17 @@ const Footer = ({
|
|
|
21
22
|
const BottomSection = footerBottomCustom;
|
|
22
23
|
const showLinks = template !== 'ppc';
|
|
23
24
|
|
|
24
|
-
const LinkList = footerMenu && showLinks ?
|
|
25
|
+
const LinkList = footerMenu && showLinks ? loadable(() => import('~molecules/link-list')) : null;
|
|
25
26
|
|
|
26
27
|
return (
|
|
27
28
|
<footer className={styles.footer || ''}>
|
|
28
29
|
<div className={styles.topPart || ''}>
|
|
29
30
|
<div className={styles.links || ''}>
|
|
30
31
|
{footerMenu && showLinks && (
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/>
|
|
36
|
-
</Suspense>
|
|
32
|
+
<LinkList
|
|
33
|
+
lists={getExtraField(section.extra_fields, footerMenu)}
|
|
34
|
+
gtmClass="mobile-menu-gtm"
|
|
35
|
+
/>
|
|
37
36
|
)}
|
|
38
37
|
</div>
|
|
39
38
|
|
|
@@ -57,15 +56,13 @@ const Footer = ({
|
|
|
57
56
|
</div>
|
|
58
57
|
<div className={styles.logos || ''}>
|
|
59
58
|
{footerLogos && (
|
|
60
|
-
<
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
/>
|
|
68
|
-
</Suspense>
|
|
59
|
+
<LinkList
|
|
60
|
+
showListTitle={false}
|
|
61
|
+
imageOnly
|
|
62
|
+
singleList
|
|
63
|
+
lists={getExtraField(section.extra_fields, footerLogos)}
|
|
64
|
+
gtmClass="mobile-menu-gtm logo-cta"
|
|
65
|
+
/>
|
|
69
66
|
)}
|
|
70
67
|
</div>
|
|
71
68
|
</div>
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
+
|
|
4
|
+
import loadable from '@loadable/component';
|
|
3
5
|
import styles from './header.module.scss';
|
|
4
6
|
import Breadcrumbs from '~atoms/breadcrumbs';
|
|
5
7
|
import { imagePrettyUrl, getSectionExtraField } from '~helpers/getters';
|
|
@@ -45,7 +47,7 @@ function Header({ section, content = null, backgroundImage = true, showAuthor =
|
|
|
45
47
|
section.page.path !== 'sitemap' &&
|
|
46
48
|
section.page.author &&
|
|
47
49
|
showAuthor
|
|
48
|
-
?
|
|
50
|
+
? loadable(() => import('~atoms/author'))
|
|
49
51
|
: null;
|
|
50
52
|
|
|
51
53
|
return (
|
|
@@ -60,16 +62,14 @@ function Header({ section, content = null, backgroundImage = true, showAuthor =
|
|
|
60
62
|
{section.page.path && <Breadcrumbs markets={section.allMarkets} page={section.page} />}
|
|
61
63
|
{Author && (
|
|
62
64
|
<div className={styles.authorContainer || ''}>
|
|
63
|
-
<
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
/>
|
|
72
|
-
</Suspense>
|
|
65
|
+
<Author
|
|
66
|
+
authorImg={section.page?.author?.image}
|
|
67
|
+
link={section.page?.author?.profile_page_path}
|
|
68
|
+
name={section.page.author?.name}
|
|
69
|
+
date={section.page.updated_at ? section.page.updated_at : section.page.created_at}
|
|
70
|
+
readingTime={section.page.reading_time}
|
|
71
|
+
reviewer={section?.page.reviewer_id && section?.page?.reviewer}
|
|
72
|
+
/>
|
|
73
73
|
</div>
|
|
74
74
|
)}
|
|
75
75
|
</div>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
+
import loadable from '@loadable/component';
|
|
3
4
|
import Module from '~molecules/module';
|
|
4
5
|
import styles from './main.module.scss';
|
|
5
6
|
import keygen from '~helpers/keygen';
|
|
@@ -10,23 +11,15 @@ const Main = ({ section = {}, pageContext = {}, serverData = {}, exclOperator =
|
|
|
10
11
|
|
|
11
12
|
const pathPrefixes = isSearchPath(allMarkets, page.path);
|
|
12
13
|
|
|
13
|
-
const SearchPage = pathPrefixes ?
|
|
14
|
-
const HtmlSitemap = pageContext.sitemapData ?
|
|
15
|
-
const AuthorBox = page.author_id ?
|
|
16
|
-
const NotFound = page?.path?.includes('404') ?
|
|
14
|
+
const SearchPage = pathPrefixes ? loadable(() => import(`~pages/search`)) : null;
|
|
15
|
+
const HtmlSitemap = pageContext.sitemapData ? loadable(() => import(`~atoms/sitemap`)) : null;
|
|
16
|
+
const AuthorBox = page.author_id ? loadable(() => import(`~atoms/author-box`)) : null;
|
|
17
|
+
const NotFound = page?.path?.includes('404') ? loadable(() => import(`~atoms/not-found`)) : null;
|
|
17
18
|
|
|
18
19
|
return (
|
|
19
20
|
<main className={styles.modulePage || ''}>
|
|
20
|
-
{NotFound &&
|
|
21
|
-
|
|
22
|
-
<NotFound pageContext={pageContext} />
|
|
23
|
-
</Suspense>
|
|
24
|
-
)}
|
|
25
|
-
{HtmlSitemap && (
|
|
26
|
-
<Suspense>
|
|
27
|
-
<HtmlSitemap pageContext={pageContext} />
|
|
28
|
-
</Suspense>
|
|
29
|
-
)}
|
|
21
|
+
{NotFound && <NotFound pageContext={pageContext} />}
|
|
22
|
+
{HtmlSitemap && <HtmlSitemap pageContext={pageContext} />}
|
|
30
23
|
{section.modules &&
|
|
31
24
|
section.modules.map((module) => (
|
|
32
25
|
<Module
|
|
@@ -39,20 +32,14 @@ const Main = ({ section = {}, pageContext = {}, serverData = {}, exclOperator =
|
|
|
39
32
|
/>
|
|
40
33
|
))}
|
|
41
34
|
{AuthorBox && (
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
/>
|
|
49
|
-
</Suspense>
|
|
50
|
-
)}
|
|
51
|
-
{SearchPage && (
|
|
52
|
-
<Suspense>
|
|
53
|
-
<SearchPage page={page} />
|
|
54
|
-
</Suspense>
|
|
35
|
+
<AuthorBox
|
|
36
|
+
author={page.author}
|
|
37
|
+
date={page.updated_at ? page.updated_at : page.created_at}
|
|
38
|
+
readingTime={page.reading_time}
|
|
39
|
+
reviewer={page.reviewer_id && page.reviewer}
|
|
40
|
+
/>
|
|
55
41
|
)}
|
|
42
|
+
{SearchPage && <SearchPage page={page} />}
|
|
56
43
|
</main>
|
|
57
44
|
);
|
|
58
45
|
};
|