@eventcatalog/core 3.5.2 → 3.6.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.
Files changed (46) hide show
  1. package/README.md +1 -1
  2. package/dist/analytics/analytics.cjs +1 -1
  3. package/dist/analytics/analytics.js +2 -2
  4. package/dist/analytics/log-build.cjs +1 -1
  5. package/dist/analytics/log-build.js +3 -3
  6. package/dist/{chunk-YVX5C6L3.js → chunk-FCIJEGOL.js} +1 -1
  7. package/dist/{chunk-WO3AKJVB.js → chunk-N2VBSHPU.js} +1 -1
  8. package/dist/{chunk-OKWCSRLE.js → chunk-OFHFRJ42.js} +1 -1
  9. package/dist/{chunk-YOFNY2RC.js → chunk-SI6IEUYS.js} +1 -1
  10. package/dist/{chunk-YTZSPYJN.js → chunk-XRLZZXIS.js} +1 -1
  11. package/dist/constants.cjs +1 -1
  12. package/dist/constants.js +1 -1
  13. package/dist/eventcatalog.cjs +1 -1
  14. package/dist/eventcatalog.js +5 -5
  15. package/dist/generate.cjs +1 -1
  16. package/dist/generate.js +3 -3
  17. package/dist/utils/cli-logger.cjs +1 -1
  18. package/dist/utils/cli-logger.js +2 -2
  19. package/eventcatalog/astro.config.mjs +2 -1
  20. package/eventcatalog/src/components/EnvironmentDropdown.tsx +1 -1
  21. package/eventcatalog/src/components/MDX/ResourceRef/ResourceRef.astro +477 -0
  22. package/eventcatalog/src/components/MDX/components.tsx +2 -0
  23. package/eventcatalog/src/components/Search/SearchDataLoader.astro +23 -11
  24. package/eventcatalog/src/components/Search/SearchModal.tsx +17 -2
  25. package/eventcatalog/src/components/SideNav/NestedSideBar/SearchBar.tsx +12 -6
  26. package/eventcatalog/src/components/SideNav/NestedSideBar/index.tsx +37 -16
  27. package/eventcatalog/src/components/Tables/Discover/DiscoverTable.tsx +816 -0
  28. package/eventcatalog/src/components/Tables/Discover/FilterComponents.tsx +161 -0
  29. package/eventcatalog/src/components/Tables/Discover/columns.tsx +565 -0
  30. package/eventcatalog/src/components/Tables/Discover/index.ts +4 -0
  31. package/eventcatalog/src/components/Tables/columns/ContainersTableColumns.tsx +1 -1
  32. package/eventcatalog/src/components/Tables/columns/DomainTableColumns.tsx +1 -1
  33. package/eventcatalog/src/components/Tables/columns/FlowTableColumns.tsx +1 -1
  34. package/eventcatalog/src/components/Tables/columns/MessageTableColumns.tsx +1 -1
  35. package/eventcatalog/src/components/Tables/columns/ServiceTableColumns.tsx +54 -64
  36. package/eventcatalog/src/components/Tables/columns/SharedColumns.tsx +15 -30
  37. package/eventcatalog/src/enterprise/plans/index.astro +125 -98
  38. package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +1 -1
  39. package/eventcatalog/src/pages/api/sidebar-data.json.ts +22 -0
  40. package/eventcatalog/src/pages/discover/[type]/_index.data.ts +5 -1
  41. package/eventcatalog/src/pages/discover/[type]/index.astro +360 -41
  42. package/eventcatalog/src/pages/docs/custom/feature.astro +45 -39
  43. package/eventcatalog/src/remark-plugins/resource-ref.ts +51 -0
  44. package/eventcatalog/src/stores/sidebar-store/builders/shared.ts +1 -1
  45. package/eventcatalog/src/stores/sidebar-store/state.ts +25 -22
  46. package/package.json +3 -2
package/README.md CHANGED
@@ -72,7 +72,7 @@ The **recommended** way to install the latest version of EventCatalog is by runn
72
72
  npx @eventcatalog/create-eventcatalog@latest my-catalog
73
73
  ```
74
74
 
75
- Looking for help? Start with our [Getting Started](https://www.eventcatalog.dev/docs/development/starting-a-new-project/installation) guide
75
+ Looking for help? Start with our [Getting Started](https://www.eventcatalog.dev/docs/development/getting-started/installation) guide
76
76
 
77
77
  ## Documentation
78
78
  Visit our [official documentation](https://www.eventcatalog.dev/docs/development/getting-started).
@@ -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.5.2";
40
+ var version = "3.6.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-WO3AKJVB.js";
4
- import "../chunk-YOFNY2RC.js";
3
+ } from "../chunk-N2VBSHPU.js";
4
+ import "../chunk-SI6IEUYS.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.5.2";
109
+ var version = "3.6.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-YTZSPYJN.js";
4
- import "../chunk-WO3AKJVB.js";
5
- import "../chunk-YOFNY2RC.js";
3
+ } from "../chunk-XRLZZXIS.js";
4
+ import "../chunk-N2VBSHPU.js";
5
+ import "../chunk-SI6IEUYS.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
  logger
3
- } from "./chunk-OKWCSRLE.js";
3
+ } from "./chunk-OFHFRJ42.js";
4
4
  import {
5
5
  cleanup,
6
6
  getEventCatalogConfigFile
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-YOFNY2RC.js";
3
+ } from "./chunk-SI6IEUYS.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-YOFNY2RC.js";
3
+ } from "./chunk-SI6IEUYS.js";
4
4
 
5
5
  // src/utils/cli-logger.ts
6
6
  import pc from "picocolors";
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "3.5.2";
2
+ var version = "3.6.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-WO3AKJVB.js";
3
+ } from "./chunk-N2VBSHPU.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 = "3.5.2";
28
+ var version = "3.6.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-YOFNY2RC.js";
3
+ } from "./chunk-SI6IEUYS.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.5.2";
112
+ var version = "3.6.1";
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-YTZSPYJN.js";
10
- import "./chunk-WO3AKJVB.js";
9
+ } from "./chunk-XRLZZXIS.js";
10
+ import "./chunk-N2VBSHPU.js";
11
11
  import {
12
12
  runMigrations
13
13
  } from "./chunk-BH3JMNAV.js";
@@ -21,13 +21,13 @@ import {
21
21
  } from "./chunk-5VBIXL6C.js";
22
22
  import {
23
23
  generate
24
- } from "./chunk-YVX5C6L3.js";
24
+ } from "./chunk-FCIJEGOL.js";
25
25
  import {
26
26
  logger
27
- } from "./chunk-OKWCSRLE.js";
27
+ } from "./chunk-OFHFRJ42.js";
28
28
  import {
29
29
  VERSION
30
- } from "./chunk-YOFNY2RC.js";
30
+ } from "./chunk-SI6IEUYS.js";
31
31
  import "./chunk-UPONRQSN.js";
32
32
 
33
33
  // 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.5.2";
76
+ var version = "3.6.1";
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-YVX5C6L3.js";
4
- import "./chunk-OKWCSRLE.js";
5
- import "./chunk-YOFNY2RC.js";
3
+ } from "./chunk-FCIJEGOL.js";
4
+ import "./chunk-OFHFRJ42.js";
5
+ import "./chunk-SI6IEUYS.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.5.2";
39
+ var version = "3.6.1";
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-OKWCSRLE.js";
4
- import "../chunk-YOFNY2RC.js";
3
+ } from "../chunk-OFHFRJ42.js";
4
+ import "../chunk-SI6IEUYS.js";
5
5
  export {
6
6
  logger
7
7
  };
@@ -9,6 +9,7 @@ import { plantuml } from "./src/remark-plugins/plantuml"
9
9
  import { join } from 'node:path';
10
10
  import remarkDirective from 'remark-directive';
11
11
  import { remarkDirectives } from "./src/remark-plugins/directives"
12
+ import { remarkResourceRef } from "./src/remark-plugins/resource-ref"
12
13
  import node from '@astrojs/node';
13
14
  import remarkComment from 'remark-comment'
14
15
  import rehypeSlug from 'rehype-slug';
@@ -70,7 +71,7 @@ export default defineConfig({
70
71
  mdx({
71
72
  // https://docs.astro.build/en/guides/integrations-guide/mdx/#optimize
72
73
  optimize: config.mdxOptimize || false,
73
- remarkPlugins: [remarkDirective, remarkDirectives, remarkComment, mermaid, plantuml],
74
+ remarkPlugins: [remarkDirective, remarkDirectives, remarkComment, mermaid, plantuml, remarkResourceRef],
74
75
  rehypePlugins: [
75
76
  [rehypeExpressiveCode, {
76
77
  ...expressiveCodeConfig,
@@ -86,7 +86,7 @@ export const EnvironmentDropdown: React.FC<EnvironmentDropdownProps> = ({ enviro
86
86
  </svg>
87
87
  </button>
88
88
  <div
89
- className={`${isOpen ? '' : 'hidden'} absolute right-0 mt-2 w-64 bg-[rgb(var(--ec-dropdown-bg))] rounded-md shadow-lg py-1 z-50 border border-[rgb(var(--ec-dropdown-border))] overflow-hidden z-20`}
89
+ className={`${isOpen ? '' : 'hidden'} absolute right-0 mt-2 w-64 bg-[rgb(var(--ec-dropdown-bg))] rounded-md shadow-lg py-1 border border-[rgb(var(--ec-dropdown-border))] overflow-hidden z-[100]`}
90
90
  >
91
91
  {environments.map((env) => {
92
92
  const isCurrentEnv = currentEnvironment?.name === env.name;