@eventcatalog/core 2.28.0 → 2.28.1

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.
@@ -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.28.0";
40
+ var version = "2.28.1";
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-KYGD25IE.js";
4
- import "../chunk-KGWJTMWU.js";
3
+ } from "../chunk-2TWZFRC5.js";
4
+ import "../chunk-32CT66GO.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.28.0";
109
+ var version = "2.28.1";
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-RCPEAVRY.js";
4
- import "../chunk-KYGD25IE.js";
5
- import "../chunk-KGWJTMWU.js";
3
+ } from "../chunk-3AWWP5JR.js";
4
+ import "../chunk-2TWZFRC5.js";
5
+ import "../chunk-32CT66GO.js";
6
6
  import "../chunk-E7TXTI7G.js";
7
7
  export {
8
8
  log_build_default as default
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-KGWJTMWU.js";
3
+ } from "./chunk-32CT66GO.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.28.0";
2
+ var version = "2.28.1";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-KYGD25IE.js";
3
+ } from "./chunk-2TWZFRC5.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "2.28.0";
28
+ var version = "2.28.1";
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-KGWJTMWU.js";
3
+ } from "./chunk-32CT66GO.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -161,7 +161,7 @@ var import_axios = __toESM(require("axios"), 1);
161
161
  var import_os = __toESM(require("os"), 1);
162
162
 
163
163
  // package.json
164
- var version = "2.28.0";
164
+ var version = "2.28.1";
165
165
 
166
166
  // src/constants.ts
167
167
  var VERSION = version;
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk-WUCY3QHK.js";
7
7
  import {
8
8
  log_build_default
9
- } from "./chunk-RCPEAVRY.js";
10
- import "./chunk-KYGD25IE.js";
9
+ } from "./chunk-3AWWP5JR.js";
10
+ import "./chunk-2TWZFRC5.js";
11
11
  import {
12
12
  catalogToAstro
13
13
  } from "./chunk-R2NILSWL.js";
14
14
  import {
15
15
  VERSION
16
- } from "./chunk-KGWJTMWU.js";
16
+ } from "./chunk-32CT66GO.js";
17
17
  import {
18
18
  isBackstagePluginEnabled
19
19
  } from "./chunk-XMDPVKIJ.js";
@@ -1,13 +1,12 @@
1
1
  import React from 'react';
2
2
  import { getMessageColorByCollection, getMessageCollectionName } from '../index';
3
-
4
3
  interface MessageListProps {
5
4
  messages: any[];
6
5
  decodedCurrentPath: string;
7
6
  }
8
7
 
9
8
  const MessageList: React.FC<MessageListProps> = ({ messages, decodedCurrentPath }) => (
10
- <ul className="space-y-0 border-l border-gray-200/80 ml-[9px] pl-4">
9
+ <ul className="space-y-0.5 border-l border-gray-200/80 ml-[9px] pl-4">
11
10
  {messages.map((message: any) => (
12
11
  <li key={message.id} data-active={decodedCurrentPath === message.href}>
13
12
  <a
@@ -18,7 +17,7 @@ const MessageList: React.FC<MessageListProps> = ({ messages, decodedCurrentPath
18
17
  >
19
18
  <span className="truncate">{message.data.name}</span>
20
19
  <span
21
- className={`ml-2 text-[10px] font-medium px-2 uppercase py-0.5 rounded ${getMessageColorByCollection(message.collection)}`}
20
+ className={`ml-2 text-[10px] flex items-center gap-1 font-medium px-2 uppercase py-0.5 rounded ${getMessageColorByCollection(message.collection)}`}
22
21
  >
23
22
  {getMessageCollectionName(message.collection)}
24
23
  </span>
@@ -63,7 +63,7 @@ const ServiceItem = React.memo(
63
63
  </button>
64
64
  }
65
65
  >
66
- <div className="space-y-0 border-gray-200/80 border-l pl-3 ml-[9px] mt-1">
66
+ <div className="space-y-0.5 border-gray-200/80 border-l pl-3 ml-[9px] mt-1">
67
67
  <a
68
68
  href={`${item.href}`}
69
69
  className={`flex items-center px-2 py-1.5 text-xs text-gray-600 hover:bg-purple-100 rounded-md ${
@@ -139,9 +139,8 @@ const ListViewSideBar: React.FC<ListViewSideBarProps> = ({ resources, currentPat
139
139
  return {};
140
140
  });
141
141
 
142
- const decodedCurrentPath = decodeURIComponent(currentPath);
142
+ const decodedCurrentPath = window.location.pathname;
143
143
 
144
- // Debounce search term updates
145
144
  useEffect(() => {
146
145
  const timer = setTimeout(() => {
147
146
  setDebouncedSearchTerm(searchTerm.toLowerCase());
@@ -282,7 +281,7 @@ const ListViewSideBar: React.FC<ListViewSideBarProps> = ({ resources, currentPat
282
281
  collapsedGroups[item.href] ? 'h-0' : 'h-auto'
283
282
  }`}
284
283
  >
285
- <div className="space-y-0 border-gray-200/80 border-l pl-4 ml-[9px] mt-1">
284
+ <div className="space-y-0.5 border-gray-200/80 border-l pl-4 ml-[9px] mt-1">
286
285
  <a
287
286
  href={`${item.href}`}
288
287
  className={`flex items-center px-2 py-1.5 text-xs text-gray-600 hover:bg-purple-100 rounded-md ${
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.28.0",
9
+ "version": "2.28.1",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },