@eventcatalog/core 2.14.0 → 2.14.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @eventcatalog/core
2
2
 
3
+ ## 2.14.2
4
+
5
+ ### Patch Changes
6
+
7
+ - bb4d278: fix(core): fixed styles for links in the step component
8
+
9
+ ## 2.14.1
10
+
11
+ ### Patch Changes
12
+
13
+ - a904248: Revert "fix/service-node-graph-metadata (#964)"
14
+
3
15
  ## 2.14.0
4
16
 
5
17
  ### Minor Changes
@@ -162,7 +162,7 @@ var import_axios = __toESM(require("axios"), 1);
162
162
  var import_os = __toESM(require("os"), 1);
163
163
 
164
164
  // package.json
165
- var version = "2.14.0";
165
+ var version = "2.14.2";
166
166
 
167
167
  // scripts/constants.ts
168
168
  var VERSION = version;
@@ -135,7 +135,7 @@ import axios from "axios";
135
135
  import os from "os";
136
136
 
137
137
  // package.json
138
- var version = "2.14.0";
138
+ var version = "2.14.2";
139
139
 
140
140
  // scripts/constants.ts
141
141
  var VERSION = version;
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.14.0",
9
+ "version": "2.14.2",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -2,7 +2,7 @@
2
2
  const { title } = Astro.props;
3
3
  ---
4
4
 
5
- <li class="mb-8 ml-6 w-full xl:max-w-[50%]">
5
+ <li class="mb-8 ml-6 w-full xl:max-w-[50%] step">
6
6
  <div class="flex items-center mb-4">
7
7
  <span class="step-number absolute flex items-center justify-center w-6 h-6 bg-primary/80 rounded-md -left-3 text-white">
8
8
  <div></div>
@@ -23,3 +23,13 @@ const { title } = Astro.props;
23
23
  });
24
24
  });
25
25
  </script>
26
+
27
+ <style is:global>
28
+ .step a {
29
+ color: #4b5563;
30
+ text-decoration: underline;
31
+ &:hover {
32
+ color: #b977f9;
33
+ }
34
+ }
35
+ </style>
@@ -11,10 +11,6 @@ import {
11
11
  import { findMatchingNodes, getItemsFromCollectionByIdAndSemverOrLatest } from '@utils/collections/util';
12
12
  import { MarkerType } from 'reactflow';
13
13
  import type { CollectionMessageTypes } from '@types';
14
- import { getCommands } from '@utils/commands';
15
- import { getEvents } from '@utils/events';
16
- import { getQueries } from '@utils/queries';
17
- import { getChannels } from '@utils/channels';
18
14
 
19
15
  type DagreGraph = any;
20
16
 
@@ -71,10 +67,10 @@ export const getNodesAndEdges = async ({ id, defaultFlow, version, mode = 'simpl
71
67
  const receivesRaw = service?.data.receives || [];
72
68
  const sendsRaw = service?.data.sends || [];
73
69
 
74
- const events = await getEvents();
75
- const commands = await getCommands();
76
- const queries = await getQueries();
77
- const channels = await getChannels();
70
+ const events = await getCollection('events');
71
+ const commands = await getCollection('commands');
72
+ const queries = await getCollection('queries');
73
+ const channels = await getCollection('channels');
78
74
 
79
75
  const messages = [...events, ...commands, ...queries];
80
76