@eventcatalog/core 3.0.0-beta.14 → 3.0.0-beta.15
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/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-65DCHZUQ.js → chunk-2OAZAOST.js} +1 -1
- package/dist/{chunk-4NW4G57L.js → chunk-DOIHDKWQ.js} +1 -1
- package/dist/{chunk-YPTOTOIV.js → chunk-PUAOIG2V.js} +1 -1
- package/dist/{chunk-7F26ZV4O.js → chunk-QCA2JO24.js} +1 -1
- package/dist/{chunk-5USO3QRB.js → chunk-XD34X2CH.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 +5 -5
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/src/components/SideNav/NestedSideBar/SearchBar.tsx +5 -2
- package/eventcatalog/src/layouts/Footer.astro +8 -5
- package/eventcatalog/src/pages/_index.astro +2 -2
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/changelog/index.astro +7 -7
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/graphql/[filename].astro +1 -1
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/index.astro +5 -5
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-QCA2JO24.js";
|
|
4
|
+
import "../chunk-2OAZAOST.js";
|
|
5
|
+
import "../chunk-PUAOIG2V.js";
|
|
6
6
|
import "../chunk-UPONRQSN.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
|
@@ -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.
|
|
112
|
+
var version = "3.0.0-beta.15";
|
|
113
113
|
|
|
114
114
|
// src/constants.ts
|
|
115
115
|
var VERSION = version;
|
package/dist/eventcatalog.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
} from "./chunk-PLNJC7NZ.js";
|
|
7
7
|
import {
|
|
8
8
|
log_build_default
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-QCA2JO24.js";
|
|
10
|
+
import "./chunk-2OAZAOST.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-
|
|
26
|
+
} from "./chunk-XD34X2CH.js";
|
|
27
27
|
import {
|
|
28
28
|
logger
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DOIHDKWQ.js";
|
|
30
30
|
import {
|
|
31
31
|
VERSION
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-PUAOIG2V.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.
|
|
76
|
+
var version = "3.0.0-beta.15";
|
|
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-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-XD34X2CH.js";
|
|
4
|
+
import "./chunk-DOIHDKWQ.js";
|
|
5
|
+
import "./chunk-PUAOIG2V.js";
|
|
6
6
|
import "./chunk-UPONRQSN.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -178,8 +178,9 @@ export default function SearchBar({ nodes, onSelectResult, onSearchChange }: Pro
|
|
|
178
178
|
<button
|
|
179
179
|
onClick={clearSearch}
|
|
180
180
|
className="absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600"
|
|
181
|
+
aria-label="Clear search"
|
|
181
182
|
>
|
|
182
|
-
<X className="w-4 h-4" />
|
|
183
|
+
<X className="w-4 h-4" aria-hidden="true" />
|
|
183
184
|
</button>
|
|
184
185
|
)}
|
|
185
186
|
</div>
|
|
@@ -193,8 +194,10 @@ export default function SearchBar({ nodes, onSelectResult, onSearchChange }: Pro
|
|
|
193
194
|
? 'bg-purple-50 border-purple-200 text-purple-600'
|
|
194
195
|
: 'bg-gray-50 border-gray-200 text-gray-400 hover:text-gray-600 hover:bg-gray-100'
|
|
195
196
|
)}
|
|
197
|
+
aria-label="Filter search results"
|
|
198
|
+
aria-expanded={showFilterDropdown}
|
|
196
199
|
>
|
|
197
|
-
<SlidersHorizontal className="w-4 h-4" />
|
|
200
|
+
<SlidersHorizontal className="w-4 h-4" aria-hidden="true" />
|
|
198
201
|
{searchFilters.size > 0 && (
|
|
199
202
|
<span className="absolute -top-1 -right-1 w-4 h-4 bg-purple-600 text-white text-[10px] font-bold rounded-full flex items-center justify-center">
|
|
200
203
|
{searchFilters.size}
|
|
@@ -9,24 +9,27 @@ const { className } = Astro.props;
|
|
|
9
9
|
showEventCatalogBranding() && (
|
|
10
10
|
<div class="flex justify-between items-center py-8 text-gray-500 text-sm font-light">
|
|
11
11
|
<div class="flex space-x-5">
|
|
12
|
-
<a href="https://github.com/event-catalog/eventcatalog" target="_blank">
|
|
12
|
+
<a href="https://github.com/event-catalog/eventcatalog" target="_blank" aria-label="View EventCatalog on GitHub">
|
|
13
13
|
<svg
|
|
14
14
|
class="w-5 h-5 bg-gray-400 hover:bg-primary dark:hover:bg-gray-400"
|
|
15
15
|
style={`mask-image: url("${buildUrl('/icons/github.svg', true)}"); mask-repeat: no-repeat; mask-position: center center;`}
|
|
16
|
+
aria-hidden="true"
|
|
16
17
|
/>
|
|
17
18
|
</a>
|
|
18
|
-
<a href="https://x.com/event_catalog" target="_blank">
|
|
19
|
-
<span class="sr-only">
|
|
19
|
+
<a href="https://x.com/event_catalog" target="_blank" aria-label="Follow EventCatalog on X (Twitter)">
|
|
20
|
+
<span class="sr-only">X (Twitter)</span>
|
|
20
21
|
<svg
|
|
21
22
|
class="w-5 h-5 bg-gray-400 hover:bg-primary dark:hover:bg-gray-400"
|
|
22
23
|
style={`mask-image: url("${buildUrl('/icons/x-twitter.svg', true)}"); mask-repeat: no-repeat; mask-position: center center;`}
|
|
24
|
+
aria-hidden="true"
|
|
23
25
|
/>
|
|
24
26
|
</a>
|
|
25
|
-
<a href="https://www.youtube.com/@event-catalog" target="_blank">
|
|
26
|
-
<span class="sr-only">
|
|
27
|
+
<a href="https://www.youtube.com/@event-catalog" target="_blank" aria-label="Watch EventCatalog on YouTube">
|
|
28
|
+
<span class="sr-only">YouTube</span>
|
|
27
29
|
<svg
|
|
28
30
|
class="w-5 h-5 bg-gray-400 hover:bg-primary dark:hover:bg-gray-400"
|
|
29
31
|
style={`mask-image: url("${buildUrl('/icons/youtube.svg', true)}"); mask-repeat: no-repeat; mask-position: center center;`}
|
|
32
|
+
aria-hidden="true"
|
|
30
33
|
/>
|
|
31
34
|
</a>
|
|
32
35
|
</div>
|
|
@@ -626,7 +626,7 @@ const quickActions = [
|
|
|
626
626
|
target="_blank"
|
|
627
627
|
class="group inline-flex items-center gap-2 px-5 py-2.5 bg-gray-900 text-white rounded-lg font-medium hover:bg-gray-800 transition-all shadow-sm"
|
|
628
628
|
>
|
|
629
|
-
<svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
|
|
629
|
+
<svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
|
630
630
|
<path
|
|
631
631
|
d="M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515a.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0a12.64 12.64 0 0 0-.617-1.25a.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057a19.9 19.9 0 0 0 5.993 3.03a.078.078 0 0 0 .084-.028a14.09 14.09 0 0 0 1.226-1.994a.076.076 0 0 0-.041-.106a13.107 13.107 0 0 1-1.872-.892a.077.077 0 0 1-.008-.128a10.2 10.2 0 0 0 .372-.292a.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127a12.299 12.299 0 0 1-1.873.892a.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028a19.839 19.839 0 0 0 6.002-3.03a.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419c0-1.333.956-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419c0-1.333.955-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.946 2.418-2.157 2.418z"
|
|
632
632
|
></path>
|
|
@@ -638,7 +638,7 @@ const quickActions = [
|
|
|
638
638
|
target="_blank"
|
|
639
639
|
class="group inline-flex items-center gap-2 px-5 py-2.5 bg-white text-gray-900 border border-gray-300 rounded-lg font-medium hover:border-gray-400 hover:bg-gray-50 transition-all"
|
|
640
640
|
>
|
|
641
|
-
<svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
|
|
641
|
+
<svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
|
642
642
|
<path
|
|
643
643
|
fill-rule="evenodd"
|
|
644
644
|
d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
|
|
@@ -73,16 +73,16 @@ const logList = await Promise.all(logListPromise);
|
|
|
73
73
|
|
|
74
74
|
const getBadge = () => {
|
|
75
75
|
if (props.collection === 'services') {
|
|
76
|
-
return { backgroundColor: 'pink', textColor: 'pink', content: 'Service', icon: ServerIcon, class: 'text-pink-
|
|
76
|
+
return { backgroundColor: 'pink', textColor: 'pink', content: 'Service', icon: ServerIcon, class: 'text-pink-600' };
|
|
77
77
|
}
|
|
78
78
|
if (props.collection === 'events') {
|
|
79
|
-
return { backgroundColor: 'orange', textColor: 'orange', content: 'Event', icon: BoltIcon, class: 'text-orange-
|
|
79
|
+
return { backgroundColor: 'orange', textColor: 'orange', content: 'Event', icon: BoltIcon, class: 'text-orange-600' };
|
|
80
80
|
}
|
|
81
81
|
if (props.collection === 'commands') {
|
|
82
|
-
return { backgroundColor: 'blue', textColor: 'blue', content: 'Command', icon: ChatBubbleLeftIcon, class: 'text-blue-
|
|
82
|
+
return { backgroundColor: 'blue', textColor: 'blue', content: 'Command', icon: ChatBubbleLeftIcon, class: 'text-blue-600' };
|
|
83
83
|
}
|
|
84
84
|
if (props.collection === 'queries') {
|
|
85
|
-
return { backgroundColor: 'green', textColor: 'green', content: 'Query', icon: MagnifyingGlassIcon, class: 'text-
|
|
85
|
+
return { backgroundColor: 'green', textColor: 'green', content: 'Query', icon: MagnifyingGlassIcon, class: 'text-green-600' };
|
|
86
86
|
}
|
|
87
87
|
if (props.collection === 'domains') {
|
|
88
88
|
return {
|
|
@@ -90,14 +90,14 @@ const getBadge = () => {
|
|
|
90
90
|
textColor: 'yellow',
|
|
91
91
|
content: 'Domain',
|
|
92
92
|
icon: RectangleGroupIcon,
|
|
93
|
-
class: 'text-yellow-
|
|
93
|
+
class: 'text-yellow-600',
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
if (props.collection === 'containers') {
|
|
97
|
-
return { backgroundColor: 'blue', textColor: 'blue', content: 'Container', icon: DatabaseIcon, class: 'text-blue-
|
|
97
|
+
return { backgroundColor: 'blue', textColor: 'blue', content: 'Container', icon: DatabaseIcon, class: 'text-blue-600' };
|
|
98
98
|
}
|
|
99
99
|
if (props.collection === 'flows') {
|
|
100
|
-
return { backgroundColor: 'teal', textColor: 'teal', content: 'Flow', icon: QueueListIcon, class: 'text-teal-
|
|
100
|
+
return { backgroundColor: 'teal', textColor: 'teal', content: 'Flow', icon: QueueListIcon, class: 'text-teal-600' };
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
103
|
|
|
@@ -36,7 +36,7 @@ if (isRemote) {
|
|
|
36
36
|
const pageTitle = `${collection} | ${data.name} | GraphQL Schema`.replace(/^\w/, (c) => c.toUpperCase());
|
|
37
37
|
|
|
38
38
|
const getServiceBadge = () => {
|
|
39
|
-
return [{ backgroundColor: 'pink', textColor: 'pink', content: 'Service', icon: ServerIcon, class: 'text-pink-
|
|
39
|
+
return [{ backgroundColor: 'pink', textColor: 'pink', content: 'Service', icon: ServerIcon, class: 'text-pink-600' }];
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
const getGraphQLBadge = () => {
|
|
@@ -71,17 +71,17 @@ const getContentBadges = () =>
|
|
|
71
71
|
|
|
72
72
|
const getBadge = () => {
|
|
73
73
|
if (props.collection === 'services') {
|
|
74
|
-
return [{ backgroundColor: 'pink', textColor: 'pink', content: 'Service', icon: ServerIcon, class: 'text-pink-
|
|
74
|
+
return [{ backgroundColor: 'pink', textColor: 'pink', content: 'Service', icon: ServerIcon, class: 'text-pink-600' }];
|
|
75
75
|
}
|
|
76
76
|
if (props.collection === 'events') {
|
|
77
|
-
return [{ backgroundColor: 'orange', textColor: 'orange', content: 'Event', icon: BoltIcon, class: 'text-orange-
|
|
77
|
+
return [{ backgroundColor: 'orange', textColor: 'orange', content: 'Event', icon: BoltIcon, class: 'text-orange-600' }];
|
|
78
78
|
}
|
|
79
79
|
if (props.collection === 'commands') {
|
|
80
|
-
return [{ backgroundColor: 'blue', textColor: 'blue', content: 'Command', icon: ChatBubbleLeftIcon, class: 'text-blue-
|
|
80
|
+
return [{ backgroundColor: 'blue', textColor: 'blue', content: 'Command', icon: ChatBubbleLeftIcon, class: 'text-blue-600' }];
|
|
81
81
|
}
|
|
82
82
|
if (props.collection === 'queries') {
|
|
83
83
|
return [
|
|
84
|
-
{ backgroundColor: 'green', textColor: 'green', content: 'Query', icon: MagnifyingGlassIcon, class: 'text-green-
|
|
84
|
+
{ backgroundColor: 'green', textColor: 'green', content: 'Query', icon: MagnifyingGlassIcon, class: 'text-green-600' },
|
|
85
85
|
];
|
|
86
86
|
}
|
|
87
87
|
if (props.collection === 'domains') {
|
|
@@ -91,7 +91,7 @@ const getBadge = () => {
|
|
|
91
91
|
textColor: 'yellow',
|
|
92
92
|
content: 'Domain',
|
|
93
93
|
icon: RectangleGroupIcon,
|
|
94
|
-
class: 'text-yellow-
|
|
94
|
+
class: 'text-yellow-600',
|
|
95
95
|
},
|
|
96
96
|
];
|
|
97
97
|
}
|