@eventcatalog/core 2.61.6 → 2.61.7

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/README.md CHANGED
@@ -34,7 +34,7 @@
34
34
  <h4>Features: Documentation for Event Driven Architectures, Integration with any broker, Generator from your OpenAPI and AsyncAPI documents, Docs and Code, Markdown driven, Document Domains/Services/Messages/Schemas and more, Content versioning, Assign Owners, Schemas, OpenAPI, MDX Components and more...</h4>
35
35
 
36
36
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
37
- [![All Contributors](https://img.shields.io/badge/all_contributors-63-orange.svg?style=flat-square)](#contributors-)
37
+ [![All Contributors](https://img.shields.io/badge/all_contributors-64-orange.svg?style=flat-square)](#contributors-)
38
38
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
39
39
 
40
40
  [Read the Docs](https://www.eventcatalog.dev/docs/development/getting-started/introduction) | [View Demo](https://demo.eventcatalog.dev)
@@ -265,9 +265,12 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
265
265
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/villAsh"><img src="https://avatars.githubusercontent.com/u/50195101?v=4?s=100" width="100px;" alt="Vilas Chauvhan"/><br /><sub><b>Vilas Chauvhan</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=villAsh" title="Code">💻</a></td>
266
266
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/mrerichoffman"><img src="https://avatars.githubusercontent.com/u/7565432?v=4?s=100" width="100px;" alt="Eric Hoffman"/><br /><sub><b>Eric Hoffman</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/issues?q=author%3Amrerichoffman" title="Bug reports">🐛</a></td>
267
267
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/wimhaesen-kine"><img src="https://avatars.githubusercontent.com/u/231914377?v=4?s=100" width="100px;" alt="wimhaesen-kine"/><br /><sub><b>wimhaesen-kine</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=wimhaesen-kine" title="Code">💻</a></td>
268
- <td align="center" valign="top" width="14.28%"><a href="https://www.ondrejmusil.cz"><img src="https://avatars.githubusercontent.com/u/959390?v=4?s=100" width="100px;" alt="Ondrej Musil"/><br /><sub><b>Ondrej Musil</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/issues?q=author%3Afreaz" title="Bug reports">🐛</a></td>
268
+ <td align="center" valign="top" width="14.28%"><a href="https://www.ondrejmusil.cz"><img src="https://avatars.githubusercontent.com/u/959390?v=4?s=100" width="100px;" alt="Ondrej Musil"/><br /><sub><b>Ondrej Musil</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/issues?q=author%3Afreaz" title="Bug reports">🐛</a> <a href="#ideas-freaz" title="Ideas, Planning, & Feedback">🤔</a></td>
269
269
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/anatolybolshakov"><img src="https://avatars.githubusercontent.com/u/8779682?v=4?s=100" width="100px;" alt="Anatoly Bolshakov"/><br /><sub><b>Anatoly Bolshakov</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=anatolybolshakov" title="Code">💻</a></td>
270
270
  </tr>
271
+ <tr>
272
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/reisingerf"><img src="https://avatars.githubusercontent.com/u/31906163?v=4?s=100" width="100px;" alt="reisingerf"/><br /><sub><b>reisingerf</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=reisingerf" title="Documentation">📖</a></td>
273
+ </tr>
271
274
  </tbody>
272
275
  </table>
273
276
 
@@ -37,7 +37,7 @@ var import_axios = __toESM(require("axios"), 1);
37
37
  var import_os = __toESM(require("os"), 1);
38
38
 
39
39
  // package.json
40
- var version = "2.61.6";
40
+ var version = "2.61.7";
41
41
 
42
42
  // src/constants.ts
43
43
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "../chunk-7LTM6YQH.js";
4
- import "../chunk-PMSWVB5T.js";
3
+ } from "../chunk-EMD2PGL5.js";
4
+ import "../chunk-TMWVVSKB.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -106,7 +106,7 @@ var import_axios = __toESM(require("axios"), 1);
106
106
  var import_os = __toESM(require("os"), 1);
107
107
 
108
108
  // package.json
109
- var version = "2.61.6";
109
+ var version = "2.61.7";
110
110
 
111
111
  // src/constants.ts
112
112
  var VERSION = version;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-6IIG7LV6.js";
4
- import "../chunk-7LTM6YQH.js";
5
- import "../chunk-PMSWVB5T.js";
3
+ } from "../chunk-CXKOSGOZ.js";
4
+ import "../chunk-EMD2PGL5.js";
5
+ import "../chunk-TMWVVSKB.js";
6
6
  import "../chunk-UPONRQSN.js";
7
7
  export {
8
8
  log_build_default as default
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-7LTM6YQH.js";
3
+ } from "./chunk-EMD2PGL5.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-PMSWVB5T.js";
3
+ } from "./chunk-TMWVVSKB.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "2.61.6";
2
+ var version = "2.61.7";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "2.61.6";
28
+ var version = "2.61.7";
29
29
 
30
30
  // src/constants.ts
31
31
  var VERSION = version;
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-PMSWVB5T.js";
3
+ } from "./chunk-TMWVVSKB.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -157,7 +157,7 @@ var import_axios = __toESM(require("axios"), 1);
157
157
  var import_os = __toESM(require("os"), 1);
158
158
 
159
159
  // package.json
160
- var version = "2.61.6";
160
+ var version = "2.61.7";
161
161
 
162
162
  // src/constants.ts
163
163
  var VERSION = version;
@@ -6,8 +6,8 @@ import {
6
6
  } from "./chunk-PLNJC7NZ.js";
7
7
  import {
8
8
  log_build_default
9
- } from "./chunk-6IIG7LV6.js";
10
- import "./chunk-7LTM6YQH.js";
9
+ } from "./chunk-CXKOSGOZ.js";
10
+ import "./chunk-EMD2PGL5.js";
11
11
  import {
12
12
  catalogToAstro,
13
13
  checkAndConvertMdToMdx
@@ -15,7 +15,7 @@ import {
15
15
  import "./chunk-55D645EH.js";
16
16
  import {
17
17
  VERSION
18
- } from "./chunk-PMSWVB5T.js";
18
+ } from "./chunk-TMWVVSKB.js";
19
19
  import {
20
20
  getProjectOutDir,
21
21
  isAuthEnabled,
@@ -143,14 +143,19 @@ const navigationItems = [
143
143
  return userSideBarOption ? userSideBarOption.visible : true;
144
144
  });
145
145
 
146
- const studioNavigationItem = {
147
- id: '/studio',
148
- label: 'EventCatalog Studio',
149
- icon: SquareDashedMousePointerIcon,
150
- href: buildUrl('/studio'),
151
- current: currentPath.includes('/studio'),
152
- sidebar: false,
153
- };
146
+ const studioNavigationItem = [
147
+ {
148
+ id: '/studio',
149
+ label: 'EventCatalog Studio',
150
+ icon: SquareDashedMousePointerIcon,
151
+ href: buildUrl('/studio'),
152
+ current: currentPath.includes('/studio'),
153
+ sidebar: false,
154
+ },
155
+ ].filter((item) => {
156
+ const userSideBarOption = userSideBarConfiguration.find((config: { id: string; visible: boolean }) => config.id === item.id);
157
+ return userSideBarOption ? userSideBarOption.visible : true;
158
+ });
154
159
 
155
160
  const premiumFeatures = [
156
161
  {
@@ -175,7 +180,7 @@ const premiumFeatures = [
175
180
  return userSideBarOption ? userSideBarOption.visible : true;
176
181
  });
177
182
 
178
- const currentNavigationItem = [...navigationItems, ...[studioNavigationItem], ...premiumFeatures].find((item) => item.current);
183
+ const currentNavigationItem = [...navigationItems, ...studioNavigationItem, ...premiumFeatures].find((item) => item.current);
179
184
  const { title, description } = Astro.props;
180
185
 
181
186
  const showSideBarOnLoad = currentNavigationItem?.sidebar;
@@ -273,23 +278,25 @@ const canPageBeEmbedded = process.env.ENABLE_EMBED === 'true';
273
278
 
274
279
  <hr class="w-8 border-t border-gray-200" />
275
280
 
276
- <a
277
- id={studioNavigationItem.id}
278
- data-role="nav-item"
279
- href={studioNavigationItem.href}
280
- class={`p-1.5 inline-block pt-1 pb-1 mt-0 mb-0 transition-colors duration-200 rounded-lg relative ${studioNavigationItem.current ? 'text-white bg-gradient-to-b from-purple-500 to-purple-700' : 'hover:bg-gradient-to-r hover:from-purple-500 hover:to-purple-700 hover:text-white text-gray-700'}`}
281
- >
282
- <div class="has-tooltip">
283
- <span
284
- class="tooltip rounded shadow-lg p-1 text-xs bg-gradient-to-l from-purple-500 to-purple-700 text-white ml-10"
281
+ {
282
+ studioNavigationItem.length > 0 && (
283
+ <a
284
+ id={studioNavigationItem[0].id}
285
+ data-role="nav-item"
286
+ href={studioNavigationItem[0].href}
287
+ class={`p-1.5 inline-block pt-1 pb-1 mt-0 mb-0 transition-colors duration-200 rounded-lg relative ${studioNavigationItem[0].current ? 'text-white bg-gradient-to-b from-purple-500 to-purple-700' : 'hover:bg-gradient-to-r hover:from-purple-500 hover:to-purple-700 hover:text-white text-gray-700'}`}
285
288
  >
286
- {studioNavigationItem.label}
287
- </span>
288
- <studioNavigationItem.icon className="h-6 w-6" />
289
- </div>
290
- </a>
289
+ <div class="has-tooltip">
290
+ <span class="tooltip rounded shadow-lg p-1 text-xs bg-gradient-to-l from-purple-500 to-purple-700 text-white ml-10">
291
+ {studioNavigationItem[0].label}
292
+ </span>
293
+ <SquareDashedMousePointerIcon className="h-6 w-6" />
294
+ </div>
295
+ </a>
296
+ )
297
+ }
291
298
 
292
- <hr class="w-8 border-t border-gray-200" />
299
+ {studioNavigationItem.length > 0 && <hr class="w-8 border-t border-gray-200" />}
293
300
 
294
301
  {
295
302
  premiumFeatures.map((item) => (
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/event-catalog/eventcatalog.git"
7
7
  },
8
8
  "type": "module",
9
- "version": "2.61.6",
9
+ "version": "2.61.7",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },