@eventcatalog/core 2.19.6 → 2.19.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
@@ -29,7 +29,7 @@
29
29
 
30
30
 
31
31
 
32
- <h4>Features: Documentation generator for Event Driven Architectures, Markdown driven, Document Domains/Services/Messages/Schemas and more, Content versioning, Assign Owners, Schemas, OpenAPI, MDX Components and more...</h4>
32
+ <h4>Features: Documentation generator for Event Driven Architectures, Integration with any broker, Docs and Code, Markdown driven, Document Domains/Services/Messages/Schemas and more, Content versioning, Assign Owners, Schemas, OpenAPI, MDX Components and more...</h4>
33
33
 
34
34
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
35
35
  [![All Contributors](https://img.shields.io/badge/all_contributors-47-orange.svg?style=flat-square)](#contributors-)
@@ -52,6 +52,7 @@
52
52
  - ⭐ Discoverability feature (search, filter and more) ([demo](https://demo.eventcatalog.dev/discover/events))
53
53
  - ⭐ Document teams and users ([demo](https://demo.eventcatalog.dev/docs/teams/full-stack))
54
54
  - 🤖 Automate your catalogs with [generators](https://www.eventcatalog.dev/docs/development/plugins/plugin-overview) (e.g generate your catalogs from your [AsyncAPI](https://www.eventcatalog.dev/docs/ascynapi)/[OpenAPI](https://www.eventcatalog.dev/docs/openapi) documents)
55
+ - 👨🏼‍💻 Follows [Docs as code](https://www.writethedocs.org/guide/docs-as-code/) principles
55
56
  - ⭐ And much more...
56
57
 
57
58
 
@@ -90,9 +91,9 @@ EventCatalog is focused on discovery and documentation and allows you to:
90
91
 
91
92
  EventCatalog is technology agnostic, which means you can integrate your Catalog with any EDA technology of your choice and any schema formats.
92
93
 
93
- EventCatalog supports a [Plugin Architecture](https://eventcatalog-website-v2.vercel.app/docs/development/plugins/plugin-overview) which will let you generate documentation from your systems.
94
+ EventCatalog supports a [Plugin Architecture](https://github.com/event-catalog/generators) which lets you generate documentation from your systems including OpenAPI, AsyncAPI, Event Brokers and more.
94
95
 
95
- You can read more on [how it works on the website](https://eventcatalog.dev)
96
+ You can read more on [how it works on GitHub](https://github.com/event-catalog/eventcatalog)
96
97
 
97
98
  # Getting Started
98
99
 
@@ -126,8 +127,6 @@ Thank you to our project sponsors.
126
127
  <a href="https://hookdeck.com/?ref=eventcatalog-sponsor" target="_blank" >Learn more</a>
127
128
  </div> -->
128
129
 
129
- <hr />
130
-
131
130
  <div align="center">
132
131
  <img alt="hookdeck" src="./images/sponsors/gravitee-logo-black.svg" width="50%" />
133
132
  <p style="margin: 0; padding: 0;">Manage, secure, and govern every API in your organization</p>
@@ -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.19.6";
40
+ var version = "2.19.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-OBSAD2VP.js";
4
- import "../chunk-DPCHEH2D.js";
3
+ } from "../chunk-3CL5OM5M.js";
4
+ import "../chunk-GHC5YZDP.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.19.6";
109
+ var version = "2.19.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-VPBQ3QKC.js";
4
- import "../chunk-OBSAD2VP.js";
5
- import "../chunk-DPCHEH2D.js";
3
+ } from "../chunk-SBVM6HJV.js";
4
+ import "../chunk-3CL5OM5M.js";
5
+ import "../chunk-GHC5YZDP.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-DPCHEH2D.js";
3
+ } from "./chunk-GHC5YZDP.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.19.6";
2
+ var version = "2.19.7";
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-OBSAD2VP.js";
3
+ } from "./chunk-3CL5OM5M.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.19.6";
28
+ var version = "2.19.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-DPCHEH2D.js";
3
+ } from "./chunk-GHC5YZDP.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.19.6";
164
+ var version = "2.19.7";
165
165
 
166
166
  // src/constants.ts
167
167
  var VERSION = version;
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-SHCMAL37.js";
4
4
  import {
5
5
  log_build_default
6
- } from "./chunk-VPBQ3QKC.js";
7
- import "./chunk-OBSAD2VP.js";
6
+ } from "./chunk-SBVM6HJV.js";
7
+ import "./chunk-3CL5OM5M.js";
8
8
  import {
9
9
  catalogToAstro
10
10
  } from "./chunk-WF34R5UT.js";
11
11
  import {
12
12
  VERSION
13
- } from "./chunk-DPCHEH2D.js";
13
+ } from "./chunk-GHC5YZDP.js";
14
14
  import {
15
15
  generate
16
16
  } from "./chunk-YEQVKHST.js";
@@ -12,7 +12,7 @@ const logo = {
12
12
 
13
13
  <nav
14
14
  id="eventcatalog-header"
15
- class="fixed top-0 left-0 right-0 bg-white border-b border-gray-100 py-3 font-bold text-xl bg-opacity-20 backdrop-blur-sm z-10"
15
+ class="fixed top-0 left-0 right-0 h-header bg-white border-b border-gray-100 py-3 font-bold text-xl bg-opacity-20 backdrop-blur-sm z-10"
16
16
  >
17
17
  <div class="px-4 sm:px-4 lg:px-4">
18
18
  <div class="flex justify-between items-center">
@@ -76,7 +76,7 @@ const logo = {
76
76
  </div>
77
77
  </nav>
78
78
 
79
- <div id="eventcatalog-header-spacer" class="h-16"></div>
79
+ <div id="eventcatalog-header-spacer" class="h-header"></div>
80
80
  <!-- Spacer to prevent content from being hidden under the fixed header -->
81
81
 
82
82
  <script>
@@ -202,12 +202,15 @@ const showSideBarOnLoad = currentNavigationItem?.sidebar;
202
202
 
203
203
  <div
204
204
  id="sidebar"
205
- class={`sidebar-transition h-[100vh] max-h-screen px-5 py-4 overflow-y-auto bg-white bg-gradient-to-b from-white to-gray-100 border-r border-gray-200 w-60 shadow-lg ml-16 ${showSideBarOnLoad ? 'block' : 'hidden'}`}
205
+ class={`sidebar-transition h-content px-5 py-4 overflow-y-auto bg-white bg-gradient-to-b from-white to-gray-100 border-r border-gray-200 w-60 shadow-lg ml-16 ${showSideBarOnLoad ? 'block' : 'hidden'}`}
206
206
  >
207
207
  <CatalogResourcesSideBar resources={sideNav} currentPath={currentPath} client:load />
208
208
  </div>
209
209
  </aside>
210
- <main class={`sidebar-transition w-full max-h-screen ${showSideBarOnLoad ? 'ml-0' : 'ml-16'}`} id="content">
210
+ <main
211
+ class={`sidebar-transition w-full max-h-content overflow-y-auto ${showSideBarOnLoad ? 'ml-0' : 'ml-16'}`}
212
+ id="content"
213
+ >
211
214
  <slot />
212
215
  </main>
213
216
  </div>
@@ -42,7 +42,7 @@ const pathOnDisk = path.join(process.cwd(), 'public', pathToSpec);
42
42
  const fileExists = fs.existsSync(pathOnDisk);
43
43
  ---
44
44
 
45
- <VerticalSideBarLayout title="OpenAPI Spec" }>
45
+ <VerticalSideBarLayout title="OpenAPI Spec">
46
46
  {
47
47
  !fileExists ? (
48
48
  <div class="text-center h-screen flex flex-col justify-center ">
@@ -65,7 +65,7 @@ const fileExists = fs.existsSync(pathOnDisk);
65
65
  theme="light"
66
66
  schema-style="table"
67
67
  class="relative top-0"
68
- style={{ height: '100vh', width: '100%', zIndex: 100 }}
68
+ style={{ height: '100%', width: '100%', zIndex: 100 }}
69
69
  regular-font="ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji"
70
70
  bg-color="#ffffff"
71
71
  primary-color="#6b21a8"
@@ -1,10 +1,21 @@
1
- /** @type {import('tailwindcss').Config} */
2
1
  import config from './eventcatalog.config.js';
2
+
3
+ const HEADER_HEIGHT = '4rem';
3
4
  const theme = config.theme || {};
5
+
6
+ /** @type {import('tailwindcss').Config} */
4
7
  export default {
5
8
  content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
6
9
  theme: {
7
10
  extend: {
11
+ height: {
12
+ header: HEADER_HEIGHT,
13
+ content: `calc(100vh - ${HEADER_HEIGHT})`,
14
+ },
15
+ spacing: {
16
+ header: HEADER_HEIGHT,
17
+ content: `calc(100vh - ${HEADER_HEIGHT})`,
18
+ },
8
19
  screens: {
9
20
  xxl: '1990px',
10
21
  },
@@ -17,7 +28,7 @@ export default {
17
28
  DEFAULT: '#ff6633',
18
29
  dark: '#cc3300',
19
30
  },
20
- ...theme
31
+ ...theme,
21
32
  },
22
33
  },
23
34
  },
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.19.6",
9
+ "version": "2.19.7",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },