@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 +4 -5
- package/dist/analytics/analytics.cjs +1 -1
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/log-build.cjs +1 -1
- package/dist/analytics/log-build.js +3 -3
- package/dist/{chunk-OBSAD2VP.js → chunk-3CL5OM5M.js} +1 -1
- package/dist/{chunk-DPCHEH2D.js → chunk-GHC5YZDP.js} +1 -1
- package/dist/{chunk-VPBQ3QKC.js → chunk-SBVM6HJV.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +1 -1
- package/dist/eventcatalog.js +3 -3
- package/eventcatalog/src/components/Header.astro +2 -2
- package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +5 -2
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/spec/index.astro +2 -2
- package/eventcatalog/tailwind.config.mjs +13 -2
- package/package.json +1 -1
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
|
[](#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://
|
|
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
|
|
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>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
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
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
package/dist/eventcatalog.js
CHANGED
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-SHCMAL37.js";
|
|
4
4
|
import {
|
|
5
5
|
log_build_default
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
|
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: '
|
|
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
|
},
|