@eventcatalog/core 3.0.0-beta.4 → 3.0.0-beta.6

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 = "3.0.0-beta.4";
40
+ var version = "3.0.0-beta.6";
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-HNU3YCIL.js";
4
- import "../chunk-FEE4ODCC.js";
3
+ } from "../chunk-JAXP3NK6.js";
4
+ import "../chunk-4WP2GI22.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 = "3.0.0-beta.4";
109
+ var version = "3.0.0-beta.6";
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-P4GSM347.js";
4
- import "../chunk-HNU3YCIL.js";
5
- import "../chunk-FEE4ODCC.js";
3
+ } from "../chunk-BGZ2TBAC.js";
4
+ import "../chunk-JAXP3NK6.js";
5
+ import "../chunk-4WP2GI22.js";
6
6
  import "../chunk-UPONRQSN.js";
7
7
  export {
8
8
  log_build_default as default
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "3.0.0-beta.4";
2
+ var version = "3.0.0-beta.6";
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-HNU3YCIL.js";
3
+ } from "./chunk-JAXP3NK6.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logger
3
- } from "./chunk-5L44ZUV2.js";
3
+ } from "./chunk-UMASUSKB.js";
4
4
  import {
5
5
  cleanup,
6
6
  getEventCatalogConfigFile
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-FEE4ODCC.js";
3
+ } from "./chunk-4WP2GI22.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-FEE4ODCC.js";
3
+ } from "./chunk-4WP2GI22.js";
4
4
 
5
5
  // src/utils/cli-logger.ts
6
6
  import pc from "picocolors";
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "3.0.0-beta.4";
28
+ var version = "3.0.0-beta.6";
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-FEE4ODCC.js";
3
+ } from "./chunk-4WP2GI22.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -109,7 +109,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
109
109
  var import_picocolors = __toESM(require("picocolors"), 1);
110
110
 
111
111
  // package.json
112
- var version = "3.0.0-beta.4";
112
+ var version = "3.0.0-beta.6";
113
113
 
114
114
  // src/constants.ts
115
115
  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-P4GSM347.js";
10
- import "./chunk-HNU3YCIL.js";
9
+ } from "./chunk-BGZ2TBAC.js";
10
+ import "./chunk-JAXP3NK6.js";
11
11
  import {
12
12
  runMigrations
13
13
  } from "./chunk-BH3JMNAV.js";
@@ -23,13 +23,13 @@ import {
23
23
  } from "./chunk-5VBIXL6C.js";
24
24
  import {
25
25
  generate
26
- } from "./chunk-UKOXBJ2K.js";
26
+ } from "./chunk-I5DPNBPU.js";
27
27
  import {
28
28
  logger
29
- } from "./chunk-5L44ZUV2.js";
29
+ } from "./chunk-UMASUSKB.js";
30
30
  import {
31
31
  VERSION
32
- } from "./chunk-FEE4ODCC.js";
32
+ } from "./chunk-4WP2GI22.js";
33
33
  import "./chunk-UPONRQSN.js";
34
34
 
35
35
  // src/eventcatalog.ts
package/dist/generate.cjs CHANGED
@@ -73,7 +73,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
73
73
  var import_picocolors = __toESM(require("picocolors"), 1);
74
74
 
75
75
  // package.json
76
- var version = "3.0.0-beta.4";
76
+ var version = "3.0.0-beta.6";
77
77
 
78
78
  // src/constants.ts
79
79
  var VERSION = version;
package/dist/generate.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-UKOXBJ2K.js";
4
- import "./chunk-5L44ZUV2.js";
5
- import "./chunk-FEE4ODCC.js";
3
+ } from "./chunk-I5DPNBPU.js";
4
+ import "./chunk-UMASUSKB.js";
5
+ import "./chunk-4WP2GI22.js";
6
6
  import "./chunk-UPONRQSN.js";
7
7
  export {
8
8
  generate
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(cli_logger_exports);
36
36
  var import_picocolors = __toESM(require("picocolors"), 1);
37
37
 
38
38
  // package.json
39
- var version = "3.0.0-beta.4";
39
+ var version = "3.0.0-beta.6";
40
40
 
41
41
  // src/constants.ts
42
42
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  logger
3
- } from "../chunk-5L44ZUV2.js";
4
- import "../chunk-FEE4ODCC.js";
3
+ } from "../chunk-UMASUSKB.js";
4
+ import "../chunk-4WP2GI22.js";
5
5
  export {
6
6
  logger
7
7
  };
@@ -55,7 +55,7 @@ export default function ecstudioWatcher() {
55
55
  // Also add the root directory to watch for new files
56
56
  server.watcher.add(rootDir);
57
57
 
58
- console.log('Set up dynamic .ecstudio file watcher with content refresh');
58
+ // console.log('Set up dynamic .ecstudio file watcher with content refresh');
59
59
  },
60
60
  },
61
61
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { useState, useEffect, useCallback, useMemo } from 'react';
4
4
  import * as LucideIcons from 'lucide-react';
5
- import { ChevronRight, ChevronLeft, ChevronDown, Home, Star } from 'lucide-react';
5
+ import { ChevronRight, ChevronLeft, ChevronDown, Home, Star, FileQuestion } from 'lucide-react';
6
6
  import type { NavigationData, NavNode, ChildRef } from './sidebar-builder';
7
7
  import SearchBar from './SearchBar';
8
8
  import { saveState, loadState, saveCollapsedSections, loadCollapsedSections } from './storage';
@@ -1061,7 +1061,20 @@ export default function NestedSideBar() {
1061
1061
  </div>
1062
1062
  )}
1063
1063
 
1064
- {renderEntries(currentLevel.entries)}
1064
+ {/* Empty State */}
1065
+ {currentLevel.entries.length === 0 && favorites.length === 0 && (
1066
+ <div className="flex flex-col items-center justify-center px-6 py-12 text-center">
1067
+ <div className="mb-4 p-3 rounded-full bg-gray-100">
1068
+ <FileQuestion className="w-8 h-8 text-gray-400" />
1069
+ </div>
1070
+ <h3 className="text-sm font-semibold text-gray-900 mb-2">Your catalog is empty</h3>
1071
+ <p className="text-xs text-gray-500 leading-relaxed max-w-[240px]">
1072
+ Navigation will appear here when you add resources to your EventCatalog.
1073
+ </p>
1074
+ </div>
1075
+ )}
1076
+
1077
+ {currentLevel.entries.length > 0 && renderEntries(currentLevel.entries)}
1065
1078
  </nav>
1066
1079
  </>
1067
1080
  )}
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": "3.0.0-beta.4",
9
+ "version": "3.0.0-beta.6",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -91,7 +91,7 @@
91
91
  "react": "^18.3.1",
92
92
  "react-dom": "^18.3.1",
93
93
  "react-markdown": "^10.1.0",
94
- "react-syntax-highlighter": "^15.6.1",
94
+ "react-syntax-highlighter": "^16.1.0",
95
95
  "rehype-autolink-headings": "^7.1.0",
96
96
  "rehype-expressive-code": "^0.41.3",
97
97
  "rehype-slug": "^6.0.0",