@blaze-cms/nextjs-tools 0.146.0-node18-core-styles-tooltips.60 → 0.146.0-node18-tooltips.49
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 +38 -136
- package/README.md +8 -7
- package/example.env +1 -1
- package/lib/components/DebugSidebar/DebugSidebar.js +2 -2
- package/lib/components/DebugSidebar/DebugSidebar.js.map +1 -1
- package/lib/components/DebugSidebar/DebugSidebarRender.js +1 -1
- package/lib/components/DebugSidebar/DebugSidebarRender.js.map +1 -1
- package/lib/containers/ContentContainer.js +1 -1
- package/lib/containers/ContentContainer.js.map +1 -1
- package/lib/helpers/check-for-gtm.js +3 -3
- package/lib/helpers/check-for-gtm.js.map +1 -1
- package/lib/helpers/check-url.js +5 -5
- package/lib/helpers/check-url.js.map +1 -1
- package/lib/helpers/get-page-data.js +1 -1
- package/lib/helpers/get-page-data.js.map +1 -1
- package/lib/helpers/get-search-filter.js +3 -3
- package/lib/helpers/get-search-filter.js.map +1 -1
- package/lib/helpers/handle-static-routes.js +3 -3
- package/lib/helpers/handle-static-routes.js.map +1 -1
- package/lib/helpers/render-apple-tags.js +1 -0
- package/lib/helpers/render-apple-tags.js.map +1 -1
- package/lib/helpers/static-route-handlers/generic-file-handler.js +1 -1
- package/lib/helpers/static-route-handlers/generic-file-handler.js.map +1 -1
- package/lib/helpers/static-route-handlers/index.js +1 -1
- package/lib/helpers/static-route-handlers/index.js.map +1 -1
- package/lib/hoc/withBlaze.js +6 -7
- package/lib/hoc/withBlaze.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/pages/Resolver.js +2 -2
- package/lib/pages/Resolver.js.map +1 -1
- package/lib/pages/document/_document.js +1 -1
- package/lib/pages/document/_document.js.map +1 -1
- package/lib/server/index.js +1 -1
- package/lib/server/index.js.map +1 -1
- package/lib-es/application/query/index.js.map +1 -1
- package/lib-es/components/DebugSidebar/DebugSidebar.js +1 -1
- package/lib-es/components/DebugSidebar/DebugSidebar.js.map +1 -1
- package/lib-es/components/DebugSidebar/DebugSidebarRender.js.map +1 -1
- package/lib-es/constants.js.map +1 -1
- package/lib-es/helpers/build-admin-href.js.map +1 -1
- package/lib-es/helpers/check-url.js +1 -1
- package/lib-es/helpers/check-url.js.map +1 -1
- package/lib-es/helpers/get-root-selector-classes.js.map +1 -1
- package/lib-es/helpers/static-route-handlers/llms.js.map +1 -1
- package/lib-es/helpers/static-route-handlers/robots-txt.js.map +1 -1
- package/lib-es/helpers/static-route-handlers/sitemap-file.js.map +1 -1
- package/lib-es/helpers/static-route-handlers/sitemap.js.map +1 -1
- package/lib-es/hoc/withBlaze.js +1 -1
- package/lib-es/hoc/withBlaze.js.map +1 -1
- package/package.json +19 -19
- package/src/helpers/check-url.js +1 -1
- package/tests/unit/src/application/query/__snapshots__/index.test.js.snap +0 -6
- package/tests/unit/src/helpers/static-route-handlers/__snapshots__/generic-file-handler.test.js.snap +0 -2
- package/tests/unit/src/helpers/static-route-handlers/__snapshots__/llms.test.js.snap +0 -1
- package/tests/unit/src/helpers/static-route-handlers/__snapshots__/robots-txt.test.js.snap +0 -1
- package/tests/unit/src/helpers/static-route-handlers/__snapshots__/sitemap-file.test.js.snap +0 -2
- package/tests/unit/src/helpers/static-route-handlers/__snapshots__/sitemap.test.js.snap +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [0.146.0-node18-
|
|
6
|
+
# [0.146.0-node18-tooltips.49](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.48...v0.146.0-node18-tooltips.49) (2026-06-19)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
# [0.146.0-node18-
|
|
14
|
+
# [0.146.0-node18-tooltips.44](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.43...v0.146.0-node18-tooltips.44) (2026-05-13)
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
### Bug Fixes
|
|
@@ -22,7 +22,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
# [0.146.0-node18-
|
|
25
|
+
# [0.146.0-node18-tooltips.42](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.41...v0.146.0-node18-tooltips.42) (2026-03-24)
|
|
26
26
|
|
|
27
27
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
# [0.146.0-node18-
|
|
33
|
+
# [0.146.0-node18-tooltips.41](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.40...v0.146.0-node18-tooltips.41) (2026-03-03)
|
|
34
34
|
|
|
35
35
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
36
36
|
|
|
@@ -38,45 +38,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
# [0.146.0-node18-
|
|
42
|
-
|
|
43
|
-
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
# [0.146.0-node18-core-styles-tooltips.52](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.51...v0.146.0-node18-core-styles-tooltips.52) (2026-02-17)
|
|
50
|
-
|
|
51
|
-
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
# [0.146.0-node18-core-styles-tooltips.51](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.50...v0.146.0-node18-core-styles-tooltips.51) (2026-02-16)
|
|
58
|
-
|
|
59
|
-
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
# [0.146.0-node18-core-styles-tooltips.46](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.45...v0.146.0-node18-core-styles-tooltips.46) (2026-01-16)
|
|
66
|
-
|
|
67
|
-
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
# [0.146.0-node18-core-styles-tooltips.45](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.44...v0.146.0-node18-core-styles-tooltips.45) (2026-01-15)
|
|
41
|
+
# [0.146.0-node18-tooltips.38](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.37...v0.146.0-node18-tooltips.38) (2026-01-27)
|
|
74
42
|
|
|
75
43
|
|
|
76
44
|
### Bug Fixes
|
|
77
45
|
|
|
78
46
|
* changed plugin logic ([451b8af](https://github.com/thebyte9/blaze/commit/451b8afd47fade28b0143c128cf645fe90557424))
|
|
79
|
-
* snapshots ([2283a3d](https://github.com/thebyte9/blaze/commit/2283a3da71117b93fc3f52d8ddb6373fd10fa2eb))
|
|
80
47
|
|
|
81
48
|
|
|
82
49
|
### Features
|
|
@@ -87,7 +54,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
87
54
|
|
|
88
55
|
|
|
89
56
|
|
|
90
|
-
# [0.146.0-node18-
|
|
57
|
+
# [0.146.0-node18-tooltips.37](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.36...v0.146.0-node18-tooltips.37) (2026-01-08)
|
|
91
58
|
|
|
92
59
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
93
60
|
|
|
@@ -95,7 +62,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
95
62
|
|
|
96
63
|
|
|
97
64
|
|
|
98
|
-
# [0.146.0-node18-
|
|
65
|
+
# [0.146.0-node18-tooltips.35](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.34...v0.146.0-node18-tooltips.35) (2025-12-17)
|
|
99
66
|
|
|
100
67
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
101
68
|
|
|
@@ -103,7 +70,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
103
70
|
|
|
104
71
|
|
|
105
72
|
|
|
106
|
-
# [0.146.0-node18-
|
|
73
|
+
# [0.146.0-node18-tooltips.34](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.33...v0.146.0-node18-tooltips.34) (2025-12-17)
|
|
107
74
|
|
|
108
75
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
109
76
|
|
|
@@ -111,7 +78,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
111
78
|
|
|
112
79
|
|
|
113
80
|
|
|
114
|
-
# [0.146.0-node18-
|
|
81
|
+
# [0.146.0-node18-tooltips.33](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.32...v0.146.0-node18-tooltips.33) (2025-12-15)
|
|
115
82
|
|
|
116
83
|
|
|
117
84
|
### Features
|
|
@@ -122,7 +89,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
122
89
|
|
|
123
90
|
|
|
124
91
|
|
|
125
|
-
# [0.146.0-node18-
|
|
92
|
+
# [0.146.0-node18-tooltips.32](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.31...v0.146.0-node18-tooltips.32) (2025-12-15)
|
|
126
93
|
|
|
127
94
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
128
95
|
|
|
@@ -130,39 +97,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
130
97
|
|
|
131
98
|
|
|
132
99
|
|
|
133
|
-
# [0.146.0-node18-
|
|
134
|
-
|
|
135
|
-
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
# [0.146.0-node18-core-styles-tooltips.32](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.31...v0.146.0-node18-core-styles-tooltips.32) (2025-11-26)
|
|
142
|
-
|
|
143
|
-
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
# [0.146.0-node18-core-styles-tooltips.31](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.30...v0.146.0-node18-core-styles-tooltips.31) (2025-11-26)
|
|
150
|
-
|
|
151
|
-
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
# [0.146.0-node18-core-styles-tooltips.30](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.29...v0.146.0-node18-core-styles-tooltips.30) (2025-11-25)
|
|
158
|
-
|
|
159
|
-
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
# [0.146.0-node18-core-styles-tooltips.29](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.28...v0.146.0-node18-core-styles-tooltips.29) (2025-11-17)
|
|
100
|
+
# [0.146.0-node18-tooltips.30](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.29...v0.146.0-node18-tooltips.30) (2025-11-17)
|
|
166
101
|
|
|
167
102
|
|
|
168
103
|
### Features
|
|
@@ -173,7 +108,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
173
108
|
|
|
174
109
|
|
|
175
110
|
|
|
176
|
-
# [0.146.0-node18-
|
|
111
|
+
# [0.146.0-node18-tooltips.28](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.27...v0.146.0-node18-tooltips.28) (2025-11-10)
|
|
177
112
|
|
|
178
113
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
179
114
|
|
|
@@ -181,7 +116,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
181
116
|
|
|
182
117
|
|
|
183
118
|
|
|
184
|
-
# [0.146.0-node18-
|
|
119
|
+
# [0.146.0-node18-tooltips.27](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.26...v0.146.0-node18-tooltips.27) (2025-11-06)
|
|
185
120
|
|
|
186
121
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
187
122
|
|
|
@@ -189,15 +124,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
189
124
|
|
|
190
125
|
|
|
191
126
|
|
|
192
|
-
# [0.146.0-node18-
|
|
193
|
-
|
|
194
|
-
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
# [0.146.0-node18-core-styles-tooltips.24](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.23...v0.146.0-node18-core-styles-tooltips.24) (2025-11-03)
|
|
127
|
+
# [0.146.0-node18-tooltips.26](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.25...v0.146.0-node18-tooltips.26) (2025-10-29)
|
|
201
128
|
|
|
202
129
|
|
|
203
130
|
### Bug Fixes
|
|
@@ -213,7 +140,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
213
140
|
|
|
214
141
|
|
|
215
142
|
|
|
216
|
-
# [0.146.0-node18-
|
|
143
|
+
# [0.146.0-node18-tooltips.25](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.24...v0.146.0-node18-tooltips.25) (2025-10-28)
|
|
217
144
|
|
|
218
145
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
219
146
|
|
|
@@ -221,7 +148,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
221
148
|
|
|
222
149
|
|
|
223
150
|
|
|
224
|
-
# [0.146.0-node18-
|
|
151
|
+
# [0.146.0-node18-tooltips.24](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.23...v0.146.0-node18-tooltips.24) (2025-10-27)
|
|
225
152
|
|
|
226
153
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
227
154
|
|
|
@@ -229,7 +156,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
229
156
|
|
|
230
157
|
|
|
231
158
|
|
|
232
|
-
# [0.146.0-node18-
|
|
159
|
+
# [0.146.0-node18-tooltips.23](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.22...v0.146.0-node18-tooltips.23) (2025-10-20)
|
|
233
160
|
|
|
234
161
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
235
162
|
|
|
@@ -237,7 +164,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
237
164
|
|
|
238
165
|
|
|
239
166
|
|
|
240
|
-
# [0.146.0-node18-
|
|
167
|
+
# [0.146.0-node18-tooltips.22](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.21...v0.146.0-node18-tooltips.22) (2025-10-17)
|
|
241
168
|
|
|
242
169
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
243
170
|
|
|
@@ -245,7 +172,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
245
172
|
|
|
246
173
|
|
|
247
174
|
|
|
248
|
-
# [0.146.0-node18-
|
|
175
|
+
# [0.146.0-node18-tooltips.21](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.20...v0.146.0-node18-tooltips.21) (2025-10-14)
|
|
249
176
|
|
|
250
177
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
251
178
|
|
|
@@ -253,7 +180,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
253
180
|
|
|
254
181
|
|
|
255
182
|
|
|
256
|
-
# [0.146.0-node18-
|
|
183
|
+
# [0.146.0-node18-tooltips.19](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.18...v0.146.0-node18-tooltips.19) (2025-10-10)
|
|
257
184
|
|
|
258
185
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
259
186
|
|
|
@@ -261,7 +188,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
261
188
|
|
|
262
189
|
|
|
263
190
|
|
|
264
|
-
# [0.146.0-node18-
|
|
191
|
+
# [0.146.0-node18-tooltips.18](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.17...v0.146.0-node18-tooltips.18) (2025-10-07)
|
|
265
192
|
|
|
266
193
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
267
194
|
|
|
@@ -269,18 +196,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
269
196
|
|
|
270
197
|
|
|
271
198
|
|
|
272
|
-
# [0.146.0-node18-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
### Bug Fixes
|
|
276
|
-
|
|
277
|
-
* force debug link to open in new tab ([#4907](https://github.com/thebyte9/blaze/issues/4907)) ([59abc33](https://github.com/thebyte9/blaze/commit/59abc3356636f5f8eb6ff911101947c878dbd213))
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
# [0.146.0-node18-core-styles-tooltips.13](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.12...v0.146.0-node18-core-styles-tooltips.13) (2025-09-15)
|
|
199
|
+
# [0.146.0-node18-tooltips.13](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.12...v0.146.0-node18-tooltips.13) (2025-10-02)
|
|
284
200
|
|
|
285
201
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
286
202
|
|
|
@@ -288,7 +204,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
288
204
|
|
|
289
205
|
|
|
290
206
|
|
|
291
|
-
# [0.146.0-node18-
|
|
207
|
+
# [0.146.0-node18-tooltips.11](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.10...v0.146.0-node18-tooltips.11) (2025-10-01)
|
|
292
208
|
|
|
293
209
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
294
210
|
|
|
@@ -296,30 +212,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
296
212
|
|
|
297
213
|
|
|
298
214
|
|
|
299
|
-
# [0.146.0-node18-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
### Features
|
|
303
|
-
|
|
304
|
-
* add support for custom 404 page using custom error 404 slug and fallback rendering ([#4839](https://github.com/thebyte9/blaze/issues/4839)) ([67554a3](https://github.com/thebyte9/blaze/commit/67554a3febc2871d73bd127753edf3b918a1a0b7))
|
|
305
|
-
* chart component ([#4846](https://github.com/thebyte9/blaze/issues/4846)) ([f74bd5a](https://github.com/thebyte9/blaze/commit/f74bd5aecc6078e725f92c523d8da0916a612d88))
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
215
|
+
# [0.146.0-node18-tooltips.8](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.7...v0.146.0-node18-tooltips.8) (2025-09-24)
|
|
310
216
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
### Bug Fixes
|
|
315
|
-
|
|
316
|
-
* restore favion loading in the frontend ([#4851](https://github.com/thebyte9/blaze/issues/4851)) ([f1c31bb](https://github.com/thebyte9/blaze/commit/f1c31bb2213f79b1d4b6b1ae6e5d5bd2b150fdf8))
|
|
217
|
+
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
317
218
|
|
|
318
219
|
|
|
319
220
|
|
|
320
221
|
|
|
321
222
|
|
|
322
|
-
# [0.146.0-node18-
|
|
223
|
+
# [0.146.0-node18-tooltips.4](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.3...v0.146.0-node18-tooltips.4) (2025-09-22)
|
|
323
224
|
|
|
324
225
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
325
226
|
|
|
@@ -327,18 +228,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
327
228
|
|
|
328
229
|
|
|
329
230
|
|
|
330
|
-
# [0.146.0-node18-
|
|
231
|
+
# [0.146.0-node18-tooltips.3](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.2...v0.146.0-node18-tooltips.3) (2025-09-18)
|
|
331
232
|
|
|
332
233
|
|
|
333
234
|
### Bug Fixes
|
|
334
235
|
|
|
335
|
-
*
|
|
236
|
+
* force debug link to open in new tab ([#4907](https://github.com/thebyte9/blaze/issues/4907)) ([59abc33](https://github.com/thebyte9/blaze/commit/59abc3356636f5f8eb6ff911101947c878dbd213))
|
|
336
237
|
|
|
337
238
|
|
|
338
239
|
|
|
339
240
|
|
|
340
241
|
|
|
341
|
-
# [0.146.0-node18-
|
|
242
|
+
# [0.146.0-node18-tooltips.2](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.1...v0.146.0-node18-tooltips.2) (2025-09-17)
|
|
342
243
|
|
|
343
244
|
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
344
245
|
|
|
@@ -346,34 +247,32 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
346
247
|
|
|
347
248
|
|
|
348
249
|
|
|
349
|
-
# [0.146.0-node18-
|
|
350
|
-
|
|
250
|
+
# [0.146.0-node18-tooltips.1](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.0...v0.146.0-node18-tooltips.1) (2025-09-10)
|
|
351
251
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
* added frontend links for editor mode ([#4801](https://github.com/thebyte9/blaze/issues/4801)) ([d5de370](https://github.com/thebyte9/blaze/commit/d5de370203abf467fcc3819d06c7375f4a6c1eb9))
|
|
252
|
+
**Note:** Version bump only for package @blaze-cms/nextjs-tools
|
|
355
253
|
|
|
356
254
|
|
|
357
255
|
|
|
358
256
|
|
|
359
257
|
|
|
360
|
-
# [0.146.0-node18-
|
|
258
|
+
# [0.146.0-node18-tooltips.0](https://github.com/thebyte9/blaze/compare/v0.145.0...v0.146.0-node18-tooltips.0) (2025-09-09)
|
|
361
259
|
|
|
362
260
|
|
|
363
261
|
### Bug Fixes
|
|
364
262
|
|
|
365
|
-
* adds default root selector to readme ([cfb5095](https://github.com/thebyte9/blaze/commit/cfb50956d95df485fe4486f632d32400b46806f7))
|
|
366
263
|
* bumped apollo versions ([b371dc7](https://github.com/thebyte9/blaze/commit/b371dc7e7bbe814a0cc4d57af2b959ab5e1b1bfd))
|
|
367
264
|
* fixed breaking tests, updated next to 14 ([fecb0e1](https://github.com/thebyte9/blaze/commit/fecb0e1d822bd69ebbaa084072a219f0fddd23f1))
|
|
368
265
|
* fixed more tests ([46a2fb9](https://github.com/thebyte9/blaze/commit/46a2fb9467f9f3c9cf320c9caf36c66503cc1f49))
|
|
369
266
|
* fixed remaining failing tests ([8a5963f](https://github.com/thebyte9/blaze/commit/8a5963ff8a0bf615a2ced9fb77b8986a9b05d80c))
|
|
370
|
-
* fixes readme layout ([9dbdd8e](https://github.com/thebyte9/blaze/commit/9dbdd8ee96cb4a716e1e42c224939ac22ac6af0d))
|
|
371
267
|
* lint errors for reegex ([daaf750](https://github.com/thebyte9/blaze/commit/daaf7506d22f9578072c71f5557d0b6bf6185018))
|
|
372
268
|
* linting fix for reading return values from promise executor functions ([7edb563](https://github.com/thebyte9/blaze/commit/7edb563a4cbfa37188f26c1ae709ffe8ed837d69))
|
|
373
269
|
* linting fixed automatically ([73135b9](https://github.com/thebyte9/blaze/commit/73135b9b8b0d5407e2e1dfba42ab2381f290607f))
|
|
374
270
|
* only do parent redirect when there are graphql errors ([#4697](https://github.com/thebyte9/blaze/issues/4697)) ([1ec63ba](https://github.com/thebyte9/blaze/commit/1ec63ba95c21c11d41721f07346945742d7237ae))
|
|
375
271
|
* prevent 404 error when no data is returned from and improve redi… ([#4688](https://github.com/thebyte9/blaze/issues/4688)) ([3a5af3d](https://github.com/thebyte9/blaze/commit/3a5af3ddf65d67456971d2d75525235c30965633))
|
|
272
|
+
* respond to live blog item size changes for laze loaded image, live blog title and global light box fix ([#4730](https://github.com/thebyte9/blaze/issues/4730)) ([5dd38d8](https://github.com/thebyte9/blaze/commit/5dd38d8d9e5983c55d3053d440eb7ab618688920))
|
|
273
|
+
* restore favion loading in the frontend ([#4851](https://github.com/thebyte9/blaze/issues/4851)) ([f1c31bb](https://github.com/thebyte9/blaze/commit/f1c31bb2213f79b1d4b6b1ae6e5d5bd2b150fdf8))
|
|
376
274
|
* set blank cache-control header to override nextjs default of 0 ([#4783](https://github.com/thebyte9/blaze/issues/4783)) ([2f1653e](https://github.com/thebyte9/blaze/commit/2f1653ed3756a90575c48f8a2253776958c6c0ff))
|
|
275
|
+
* show pagebuilder tabs when no components added ([#4844](https://github.com/thebyte9/blaze/issues/4844)) ([2cbb24d](https://github.com/thebyte9/blaze/commit/2cbb24df95b38d4c8f4575814daadebd74ba04d4))
|
|
377
276
|
* udpated yarn lock ([0cd4fa4](https://github.com/thebyte9/blaze/commit/0cd4fa4a185fca4b80b57e472badb771dd649ec2))
|
|
378
277
|
* updated with dev ([90f545f](https://github.com/thebyte9/blaze/commit/90f545f1beabb35e26ba6fb2b45a7a0dfd072927))
|
|
379
278
|
* updated with dev ([729bb6e](https://github.com/thebyte9/blaze/commit/729bb6ee7e87946081d51564a4ab45538f7be1e7))
|
|
@@ -384,7 +283,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
384
283
|
|
|
385
284
|
### Features
|
|
386
285
|
|
|
286
|
+
* add support for custom 404 page using custom error 404 slug and fallback rendering ([#4839](https://github.com/thebyte9/blaze/issues/4839)) ([67554a3](https://github.com/thebyte9/blaze/commit/67554a3febc2871d73bd127753edf3b918a1a0b7))
|
|
287
|
+
* added frontend links for editor mode ([#4801](https://github.com/thebyte9/blaze/issues/4801)) ([d5de370](https://github.com/thebyte9/blaze/commit/d5de370203abf467fcc3819d06c7375f4a6c1eb9))
|
|
387
288
|
* allow . (dot) character in route regex ([#4552](https://github.com/thebyte9/blaze/issues/4552)) ([9be0fe0](https://github.com/thebyte9/blaze/commit/9be0fe0dd0dac2e0891c2d965a20c6b2e02165cc))
|
|
289
|
+
* chart component ([#4846](https://github.com/thebyte9/blaze/issues/4846)) ([f74bd5a](https://github.com/thebyte9/blaze/commit/f74bd5aecc6078e725f92c523d8da0916a612d88))
|
|
388
290
|
* debug sidebar now shows on error if enabled ([#4667](https://github.com/thebyte9/blaze/issues/4667)) ([01d43e1](https://github.com/thebyte9/blaze/commit/01d43e19c160980cfc8259c1a951ab70ebe70eb0))
|
|
389
291
|
* open frontend debug toolbar with a url param ([#4771](https://github.com/thebyte9/blaze/issues/4771)) ([37b8ea5](https://github.com/thebyte9/blaze/commit/37b8ea59a5ed4be0912465717adeb079fd6b3a89))
|
|
390
292
|
* updated react to 18 ([9335f84](https://github.com/thebyte9/blaze/commit/9335f8432b376494501abb9c3deef1ddaa9b35a8))
|
package/README.md
CHANGED
|
@@ -90,15 +90,16 @@ If is possible to create a custom error page by adding a page with the slug "cus
|
|
|
90
90
|
## Environment variables
|
|
91
91
|
|
|
92
92
|
| Name | Description | Type | Default |
|
|
93
|
-
|
|
93
|
+
|---|---|---|
|
|
94
94
|
| BLAZE_FRONTEND_HOST | Frontend host (used to identify host) | String | |
|
|
95
|
-
| BLAZE_ROUTE_REGEX | Override default route regex |
|
|
95
|
+
| BLAZE_ROUTE_REGEX | Override default route regex | /^\/[a-z0-9€*\/]+(?:[-\/\.]{1,2}[a-z0-9\/€*\/]+)*$|^\/$/ |
|
|
96
96
|
| BLAZE_CACHE_CONTROL_HEADER | Cache-Control header to set on page requests | String | "" |
|
|
97
|
-
| BLAZE_STATIC_ROUTE_STORE_KEY | Override store for static file routes |
|
|
98
|
-
| BLAZE_ROUTE_PATTERN_SITEMAP | Override sitemap route |
|
|
97
|
+
| BLAZE_STATIC_ROUTE_STORE_KEY | Override store for static file routes | default |
|
|
98
|
+
| BLAZE_ROUTE_PATTERN_SITEMAP | Override sitemap route | /sitemap.xml |
|
|
99
99
|
| BLAZE_CONTENT_SITEMAP_URL_PREFIX | Prefix for sitemap URL, used in frontend static route e.g. /sitemap/sitemap-0.xml. This needs to match the value set in the API app. | String | |
|
|
100
|
-
| BLAZE_ROOT_SELECTOR_CLASSES_LIMIT | The number of root-selector classes to display.
|
|
101
|
-
| BLAZE_BUILD_ENV_PREFIX_REGEX | '\|' separated list of allowed environment variable prefixes. Any environment variable that matches this prefix pattern will be dynamically added to the next environment config and will be available in code for use. If the environment variable has a "BUILD_" prefix, then this prefix will be removed from the next environment variable name before assigning it. i.e. BUILD_THIRD_PARTY_ENV will become THIRD_PARTY_ENV in the build. Prefixes BLAZE\|GOOGLE\|JWPLAYER\|DFP are added for backward compatibility and will be deprecated. We recommend to use new and change existing environment variables with "BUILD_" prefix. |
|
|
100
|
+
| BLAZE_ROOT_SELECTOR_CLASSES_LIMIT | The number of root-selector classes to display. 0 or unset will show noe | String | |
|
|
101
|
+
| BLAZE_BUILD_ENV_PREFIX_REGEX | '\|' separated list of allowed environment variable prefixes. Any environment variable that matches this prefix pattern will be dynamically added to the next environment config and will be available in code for use. If the environment variable has a "BUILD_" prefix, then this prefix will be removed from the next environment variable name before assigning it. i.e. BUILD_THIRD_PARTY_ENV will become THIRD_PARTY_ENV in the build. Prefixes BLAZE\|GOOGLE\|JWPLAYER\|DFP are added for backward compatibility and will be deprecated. We recommend to use new and change existing environment variables with "BUILD_" prefix. | BLAZE\|GOOGLE\|JWPLAYER\|DFP\|BUILD |
|
|
102
|
+
| BLAZE_CONTENT_SITEMAP_URL_PREFIX | Prefix for sitemap URL, used in frontend static route e.g. /sitemap/sitemap-0.xml. This needs to match value set in API app. | String | |
|
|
102
103
|
| BLAZE_DISABLE_REDIRECT_WITH_QUERY | Do not add query string to redirects | String | |
|
|
103
104
|
|
|
104
105
|
## Events emitted
|
|
@@ -205,7 +206,7 @@ When checking new code or build configs make sure to check the [following things
|
|
|
205
206
|
|
|
206
207
|
## Root selector classes
|
|
207
208
|
|
|
208
|
-
To make styling of sections of a site simpler, it is possible to enable setting root selector classes at the top of the Resolver page structure that are generated based on the url hierarchy.
|
|
209
|
+
To make styling of sections of a site simpler, it is possible to enable setting root selector classes at the top of the Resolver page structure that are generated based on the url hierarchy.
|
|
209
210
|
|
|
210
211
|
For example the following url, `/parent/child/article-123` might be broken into the following classes
|
|
211
212
|
|
package/example.env
CHANGED
|
@@ -3,6 +3,6 @@ BLAZE_FRONTEND_HOST=thisisblaze.com
|
|
|
3
3
|
BLAZE_ROUTE_PATTERN_SITEMAP="/sitemap.xml"
|
|
4
4
|
BLAZE_CONTENT_SITEMAP_URL_PREFIX="sitemap"
|
|
5
5
|
#BLAZE_ROUTE_REGEX="^\/[a-z0-9€_\/]+(?:[-\/]{1,2}[a-z0-9\/€_\/]+)*$|^\/$"
|
|
6
|
-
BLAZE_ROOT_SELECTOR_CLASSES_LIMIT="
|
|
6
|
+
BLAZE_ROOT_SELECTOR_CLASSES_LIMIT="2"
|
|
7
7
|
BLAZE_CACHE_CONTROL_HEADER="max-age=0"
|
|
8
8
|
BLAZE_DISABLE_REDIRECT_WITH_QUERY=""
|
|
@@ -30,7 +30,7 @@ var _switches = _interopRequireDefault(require("@blaze-react/switches"));
|
|
|
30
30
|
var _helpers = require("../../helpers");
|
|
31
31
|
var _constants = require("../../constants");
|
|
32
32
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
33
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
33
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
34
34
|
var DebugSidebar = function DebugSidebar(_ref) {
|
|
35
35
|
var itemEntity = _ref.itemEntity,
|
|
36
36
|
itemId = _ref.itemId,
|
|
@@ -87,7 +87,7 @@ var DebugSidebar = function DebugSidebar(_ref) {
|
|
|
87
87
|
shallow: true
|
|
88
88
|
});
|
|
89
89
|
};
|
|
90
|
-
return /*#__PURE__*/(0, _reactDom.createPortal)(
|
|
90
|
+
return /*#__PURE__*/(0, _reactDom.createPortal)(/*#__PURE__*/_react["default"].createElement("div", {
|
|
91
91
|
className: divClass,
|
|
92
92
|
"data-testid": "debug-sidebar"
|
|
93
93
|
}, /*#__PURE__*/_react["default"].createElement(_nextjsComponents.Link, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugSidebar.js","names":["_react","_interopRequireWildcard","require","_reactDom","_propTypes","_interopRequireDefault","_classnames","_io","_router","_md","_nextjsComponents","_switches","_helpers","_constants","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","
|
|
1
|
+
{"version":3,"file":"DebugSidebar.js","names":["_react","_interopRequireWildcard","require","_reactDom","_propTypes","_interopRequireDefault","_classnames","_io","_router","_md","_nextjsComponents","_switches","_helpers","_constants","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","DebugSidebar","_ref","itemEntity","itemId","updatedDebugOptions","debugMode","setIsDebugMode","router","useRouter","_useState","useState","_useState2","_slicedToArray2","isEditorMode","setIsEditorMode","_useState3","_useState4","isOpen","setIsOpen","divClass","classnames","toggleEditorMode","editorModeEnabled","adminHref","buildAdminHref","href","closeDebug","setBlazeDebug","window","blaze","debug","_router$asPath$split","asPath","split","_router$asPath$split2","pathname","_router$asPath$split3","search","params","URLSearchParams","BLAZE_DEBUG","newUrl","toString","concat","push","shallow","createPortal","createElement","className","Link","target","src","DEBUG_LOGO","SRC","alt","ALT","role","onClick","IoCloseOutline","onChange","name","icon","MdEdit","alignVertically","returnBoolean","onText","offText","options","id","checked","MdKeyboardArrowLeft","document","body","propTypes","PropTypes","func","isRequired","string","bool","defaultProps","_default","exports"],"sources":["../../../src/components/DebugSidebar/DebugSidebar.js"],"sourcesContent":["import React, { useState } from 'react';\nimport { createPortal } from 'react-dom';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport { IoCloseOutline } from 'react-icons/io5';\nimport { useRouter } from 'next/router';\nimport { MdKeyboardArrowLeft, MdEdit } from 'react-icons/md';\nimport { Link } from '@blaze-cms/nextjs-components';\nimport Switches from '@blaze-react/switches';\nimport { buildAdminHref, setBlazeDebug } from '../../helpers';\nimport { DEBUG_LOGO, BLAZE_DEBUG } from '../../constants';\n\nconst DebugSidebar = ({ itemEntity, itemId, updatedDebugOptions, debugMode, setIsDebugMode }) => {\n const router = useRouter();\n const [isEditorMode, setIsEditorMode] = useState(false);\n const [isOpen, setIsOpen] = useState(true);\n\n const divClass = classnames('debug-sidebar', {\n 'debug-sidebar--open': isOpen,\n 'debug-sidebar--close': !isOpen\n });\n\n const toggleEditorMode = () => {\n // todo: persist editor mode in local storage\n // const currentEditorMode = getFromLocal(BLAZE_PB_EDITOR_MODE);\n // if (currentEditorMode) {\n // window.localStorage.removeItem(BLAZE_PB_EDITOR_MODE);\n // } else {\n // window.localStorage.setItem(BLAZE_PB_EDITOR_MODE, true);\n // }\n updatedDebugOptions('editorModeEnabled', !isEditorMode);\n updatedDebugOptions({\n editorModeEnabled: !isEditorMode,\n adminHref: buildAdminHref({ itemEntity, itemId })\n });\n setIsEditorMode(!isEditorMode);\n };\n\n const href = buildAdminHref({ itemEntity, itemId });\n\n const closeDebug = () => {\n setBlazeDebug(setIsDebugMode);\n window.blaze.debug();\n\n const [pathname, search = ''] = router.asPath.split('?');\n const params = new URLSearchParams(search);\n params.delete(BLAZE_DEBUG);\n const newUrl = params.toString() ? `${pathname}?${params.toString()}` : pathname;\n\n router.push('/Resolver', newUrl, {\n shallow: true\n });\n };\n\n return createPortal(\n <div className={divClass} data-testid=\"debug-sidebar\">\n <Link href={href} target=\"_blank\">\n <img src={DEBUG_LOGO.SRC} alt={DEBUG_LOGO.ALT} />\n </Link>\n <div\n role=\"button\"\n className=\"debug-sidebar__button debug-sidebar__button--close\"\n data-testid=\"debug-sidebar-close\"\n aria-label=\"Close debug sidebar\"\n onClick={closeDebug}>\n <IoCloseOutline />\n </div>\n <Switches\n onChange={toggleEditorMode}\n name=\"debug-sidebar-switch\"\n icon={<MdEdit />}\n alignVertically\n returnBoolean\n onText=\"ON\"\n offText=\"OFF\"\n options={{\n id: 'debug-sidebar-switch',\n checked: isEditorMode\n }}\n />\n <div\n role=\"button\"\n className=\"debug-sidebar__button open\"\n data-testid=\"debug-sidebar-button\"\n id=\"debug-sidebar-button\"\n onClick={() => setIsOpen(!isOpen)}>\n <i>\n <MdKeyboardArrowLeft />\n </i>\n </div>\n </div>,\n document.body\n );\n};\n\nDebugSidebar.propTypes = {\n updatedDebugOptions: PropTypes.func.isRequired,\n itemEntity: PropTypes.string,\n itemId: PropTypes.string,\n debugMode: PropTypes.bool,\n setIsDebugMode: PropTypes.func.isRequired\n};\n\nDebugSidebar.defaultProps = {\n itemEntity: '',\n itemId: '',\n debugMode: false\n};\n\nexport default DebugSidebar;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,WAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,GAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,GAAA,GAAAP,OAAA;AACA,IAAAQ,iBAAA,GAAAR,OAAA;AACA,IAAAS,SAAA,GAAAN,sBAAA,CAAAH,OAAA;AACA,IAAAU,QAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAX,OAAA;AAA0D,SAAAY,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAd,wBAAAc,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,gBAAAK,OAAA,CAAAL,CAAA,0BAAAA,CAAA,s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4B;IACtC,eAAY,sBAAsB;IAClCoB,EAAE,EAAC,sBAAsB;IACzBX,OAAO,EAAE,SAATA,OAAOA,CAAA;MAAA,OAAQvC,SAAS,CAAC,CAACD,MAAM,CAAC;IAAA;EAAC,gBAClCnD,MAAA,YAAAiF,aAAA,yBACEjF,MAAA,YAAAiF,aAAA,CAACxE,GAAA,CAAA+F,mBAAmB,MAAE,CACrB,CACA,CACF,CAAC,EACNC,QAAQ,CAACC,IACX,CAAC;AACH,CAAC;AAEDxE,YAAY,CAACyE,SAAS,GAAG;EACvBrE,mBAAmB,EAAEsE,qBAAS,CAACC,IAAI,CAACC,UAAU;EAC9C1E,UAAU,EAAEwE,qBAAS,CAACG,MAAM;EAC5B1E,MAAM,EAAEuE,qBAAS,CAACG,MAAM;EACxBxE,SAAS,EAAEqE,qBAAS,CAACI,IAAI;EACzBxE,cAAc,EAAEoE,qBAAS,CAACC,IAAI,CAACC;AACjC,CAAC;AAED5E,YAAY,CAAC+E,YAAY,GAAG;EAC1B7E,UAAU,EAAE,EAAE;EACdC,MAAM,EAAE,EAAE;EACVE,SAAS,EAAE;AACb,CAAC;AAAC,IAAA2E,QAAA,GAAAC,OAAA,cAEajF,YAAY","ignoreList":[]}
|
|
@@ -24,7 +24,7 @@ var _router = require("next/router");
|
|
|
24
24
|
var _helpers = require("../../helpers");
|
|
25
25
|
var _constants = require("../../constants");
|
|
26
26
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
27
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != (0, _typeof2["default"])(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
27
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != (0, _typeof2["default"])(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
28
28
|
var DebugSidebar = (0, _dynamic["default"])(function () {
|
|
29
29
|
return Promise.resolve().then(function () {
|
|
30
30
|
return _interopRequireWildcard(require('./DebugSidebar'));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugSidebarRender.js","names":["_react","_interopRequireWildcard","require","_dynamic","_interopRequireDefault","_propTypes","_router","_helpers","_constants","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof2","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","
|
|
1
|
+
{"version":3,"file":"DebugSidebarRender.js","names":["_react","_interopRequireWildcard","require","_dynamic","_interopRequireDefault","_propTypes","_router","_helpers","_constants","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof2","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","DebugSidebar","dynamic","Promise","resolve","then","DebugSidebarRender","_ref","itemEntity","itemId","updatedDebugOptions","debugMode","_useState","useState","_useState2","_slicedToArray2","isDebugMode","setIsDebugMode","router","useRouter","useEffect","currentDebugValue","getFromLocal","BLAZE_DEBUG","setBlazeDebug","handleRouteChange","url","hasDebug","includes","concat","asPath","events","on","off","createElement","propTypes","PropTypes","func","isRequired","string","bool","defaultProps","_default","exports"],"sources":["../../../src/components/DebugSidebar/DebugSidebarRender.js"],"sourcesContent":["import React, { useState, useEffect } from 'react';\nimport dynamic from 'next/dynamic';\nimport PropTypes from 'prop-types';\nimport { useRouter } from 'next/router';\nimport { setBlazeDebug, getFromLocal } from '../../helpers';\nimport { BLAZE_DEBUG } from '../../constants';\n\nconst DebugSidebar = dynamic(() => import('./DebugSidebar'));\n\nconst DebugSidebarRender = ({ itemEntity, itemId, updatedDebugOptions, debugMode }) => {\n const [isDebugMode, setIsDebugMode] = useState(debugMode);\n const router = useRouter();\n\n useEffect(() => {\n const currentDebugValue = getFromLocal(BLAZE_DEBUG);\n setIsDebugMode(currentDebugValue);\n setBlazeDebug(setIsDebugMode);\n }, []);\n\n useEffect(() => {\n const handleRouteChange = url => {\n const hasDebug = url.includes(`${BLAZE_DEBUG}=1`);\n if (hasDebug) {\n setBlazeDebug(setIsDebugMode);\n }\n };\n\n if (router.asPath.includes(`${BLAZE_DEBUG}=1`)) {\n handleRouteChange(router.asPath);\n }\n\n router.events.on('routeChangeComplete', handleRouteChange);\n return () => {\n router.events.off('routeChangeComplete', handleRouteChange);\n };\n }, [router.events, router.asPath]);\n\n if (!isDebugMode) return null;\n\n return (\n <DebugSidebar\n itemEntity={itemEntity}\n itemId={itemId}\n updatedDebugOptions={updatedDebugOptions}\n debugMode={debugMode}\n setIsDebugMode={setIsDebugMode}\n />\n );\n};\n\nDebugSidebarRender.propTypes = {\n updatedDebugOptions: PropTypes.func.isRequired,\n itemEntity: PropTypes.string,\n itemId: PropTypes.string,\n debugMode: PropTypes.bool\n};\n\nDebugSidebarRender.defaultProps = {\n itemEntity: '',\n itemId: '',\n debugMode: false\n};\n\nexport default DebugSidebarRender;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AAA8C,SAAAO,yBAAAC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CAACa,MAAM,EAAEb,MAAM,CAACY,MAAM,CAAC,CAAC;EAElC,IAAI,CAACd,WAAW,EAAE,OAAO,IAAI;EAE7B,oBACE5C,MAAA,YAAA8D,aAAA,CAACjC,YAAY;IACXO,UAAU,EAAEA,UAAW;IACvBC,MAAM,EAAEA,MAAO;IACfC,mBAAmB,EAAEA,mBAAoB;IACzCC,SAAS,EAAEA,SAAU;IACrBM,cAAc,EAAEA;EAAe,CAChC,CAAC;AAEN,CAAC;AAEDX,kBAAkB,CAAC6B,SAAS,GAAG;EAC7BzB,mBAAmB,EAAE0B,qBAAS,CAACC,IAAI,CAACC,UAAU;EAC9C9B,UAAU,EAAE4B,qBAAS,CAACG,MAAM;EAC5B9B,MAAM,EAAE2B,qBAAS,CAACG,MAAM;EACxB5B,SAAS,EAAEyB,qBAAS,CAACI;AACvB,CAAC;AAEDlC,kBAAkB,CAACmC,YAAY,GAAG;EAChCjC,UAAU,EAAE,EAAE;EACdC,MAAM,EAAE,EAAE;EACVE,SAAS,EAAE;AACb,CAAC;AAAC,IAAA+B,QAAA,GAAAC,OAAA,cAEarC,kBAAkB","ignoreList":[]}
|
|
@@ -32,7 +32,7 @@ var _constants = require("../constants");
|
|
|
32
32
|
var _components = require("../components");
|
|
33
33
|
var _excluded = ["category", "tags", "preparedPageBuilderComponents"];
|
|
34
34
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
35
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
35
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
36
36
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
37
37
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38
38
|
var ContentContainer = function ContentContainer(_ref) {
|