@eventcatalog/core 3.39.3 → 3.39.5

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 (38) hide show
  1. package/dist/analytics/analytics.cjs +1 -1
  2. package/dist/analytics/analytics.js +2 -2
  3. package/dist/analytics/log-build.cjs +1 -1
  4. package/dist/analytics/log-build.js +3 -3
  5. package/dist/{chunk-ABTA6BYL.js → chunk-H5BZMNK3.js} +1 -1
  6. package/dist/{chunk-5G6OFPTY.js → chunk-KVAEAYEP.js} +1 -1
  7. package/dist/{chunk-TUEC7QBE.js → chunk-M4S7PORQ.js} +1 -1
  8. package/dist/{chunk-MFYIAZEO.js → chunk-S4HLJWQ7.js} +1 -1
  9. package/dist/{chunk-L4F5FCQK.js → chunk-TNE5QSJ4.js} +1 -1
  10. package/dist/constants.cjs +1 -1
  11. package/dist/constants.js +1 -1
  12. package/dist/docs/api/03-domain-api.md +32 -2
  13. package/dist/docs/api/04-service-api.md +32 -2
  14. package/dist/docs/api/05-command-api.md +32 -2
  15. package/dist/docs/api/06-event-api.md +32 -2
  16. package/dist/docs/api/06-query-api.md +32 -2
  17. package/dist/docs/api/08-channel-api.md +32 -2
  18. package/dist/docs/api/09-flow-api.md +32 -2
  19. package/dist/docs/api/10-entity-api.md +32 -2
  20. package/dist/docs/api/12-data-product-api.md +14 -2
  21. package/dist/eventcatalog.cjs +1 -1
  22. package/dist/eventcatalog.js +5 -5
  23. package/dist/generate.cjs +1 -1
  24. package/dist/generate.js +3 -3
  25. package/dist/utils/cli-logger.cjs +1 -1
  26. package/dist/utils/cli-logger.js +2 -2
  27. package/eventcatalog/src/components/Tables/Discover/columns.tsx +2 -0
  28. package/eventcatalog/src/components/Tables/columns/SharedColumns.tsx +2 -0
  29. package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +250 -205
  30. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/[docType]/[docId]/[docVersion]/index.astro +4 -4
  31. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/[docType]/[docId]/index.astro +4 -4
  32. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/changelog/index.astro +16 -10
  33. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/graphql/[filename].astro +6 -5
  34. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/index.astro +22 -51
  35. package/eventcatalog/src/styles/theme.css +92 -0
  36. package/eventcatalog/src/utils/badge-styles.ts +206 -0
  37. package/eventcatalog/src/utils/sidebar-visibility.ts +41 -0
  38. package/package.json +3 -3
@@ -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.39.3";
40
+ var version = "3.39.5";
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-ABTA6BYL.js";
4
- import "../chunk-L4F5FCQK.js";
3
+ } from "../chunk-H5BZMNK3.js";
4
+ import "../chunk-TNE5QSJ4.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -111,7 +111,7 @@ var import_axios = __toESM(require("axios"), 1);
111
111
  var import_os = __toESM(require("os"), 1);
112
112
 
113
113
  // package.json
114
- var version = "3.39.3";
114
+ var version = "3.39.5";
115
115
 
116
116
  // src/constants.ts
117
117
  var VERSION = version;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-5G6OFPTY.js";
4
- import "../chunk-ABTA6BYL.js";
3
+ } from "../chunk-KVAEAYEP.js";
4
+ import "../chunk-H5BZMNK3.js";
5
5
  import "../chunk-4UVFXLPI.js";
6
- import "../chunk-L4F5FCQK.js";
6
+ import "../chunk-TNE5QSJ4.js";
7
7
  import "../chunk-5T63CXKU.js";
8
8
  export {
9
9
  log_build_default as default
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-L4F5FCQK.js";
3
+ } from "./chunk-TNE5QSJ4.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-ABTA6BYL.js";
3
+ } from "./chunk-H5BZMNK3.js";
4
4
  import {
5
5
  countResources,
6
6
  serializeCounts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-L4F5FCQK.js";
3
+ } from "./chunk-TNE5QSJ4.js";
4
4
 
5
5
  // src/utils/cli-logger.ts
6
6
  import pc from "picocolors";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logger
3
- } from "./chunk-TUEC7QBE.js";
3
+ } from "./chunk-M4S7PORQ.js";
4
4
  import {
5
5
  cleanup,
6
6
  getEventCatalogConfigFile
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "3.39.3";
2
+ var version = "3.39.5";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "3.39.3";
28
+ var version = "3.39.5";
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-L4F5FCQK.js";
3
+ } from "./chunk-TNE5QSJ4.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -239,20 +239,50 @@ You can store these anywhere in your catalog, and your domain can just reference
239
239
 
240
240
  ### `badges` {#badges}
241
241
 
242
+ <AddedIn version="3.39.4" />
243
+
242
244
  An array of badges that get rendered on the page.
243
245
 
244
246
  ```md title="Example"
245
247
  ---
246
248
  badges:
247
249
  - content: My badge
248
- backgroundColor: blue
249
- textColor: blue
250
+ backgroundColor: green
251
+ textColor: green
250
252
  # Optional icon to display (from https://heroicons.com/)
251
253
  # Or the name of the broker (e.g Kafka, EventBridge, etc)
252
254
  icon: BoltIcon
253
255
  ---
254
256
  ```
255
257
 
258
+ #### Use named colors
259
+
260
+ Set `backgroundColor` or `textColor` to a named palette token for automatic light/dark mode adaptation.
261
+
262
+ Supported names: `slate`, `gray`, `zinc`, `neutral`, `stone`, `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`.
263
+
264
+ ```md title="Named color example"
265
+ ---
266
+ badges:
267
+ - content: Critical
268
+ backgroundColor: red
269
+ textColor: red
270
+ ---
271
+ ```
272
+
273
+ #### Use any CSS color
274
+
275
+ You can also pass any valid CSS color value directly: hex (`#ff0000`), `rgb()`, `hsl()`, `oklch()`, or a CSS variable (`var(--my-color)`).
276
+
277
+ ```md title="CSS color example"
278
+ ---
279
+ badges:
280
+ - content: Custom
281
+ backgroundColor: "#6366f1"
282
+ textColor: "#ffffff"
283
+ ---
284
+ ```
285
+
256
286
  ### `specifications` {#specifications}
257
287
 
258
288
  <AddedIn version="2.6.0" />
@@ -220,19 +220,49 @@ An array of [flows](/docs/development/guides/flows/introduction) ids that are as
220
220
 
221
221
  ### `badges` {#badges}
222
222
 
223
+ <AddedIn version="3.39.4" />
224
+
223
225
  An array of badges that get rendered on the page.
224
226
 
225
227
  ```md title="Example"
226
228
  ---
227
229
  badges:
228
230
  - content: My badge
229
- backgroundColor: blue
230
- textColor: blue
231
+ backgroundColor: green
232
+ textColor: green
231
233
  # Optional icon to display (from https://heroicons.com/)
232
234
  icon: BoltIcon
233
235
  ---
234
236
  ```
235
237
 
238
+ #### Use named colors
239
+
240
+ Set `backgroundColor` or `textColor` to a named palette token for automatic light/dark mode adaptation.
241
+
242
+ Supported names: `slate`, `gray`, `zinc`, `neutral`, `stone`, `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`.
243
+
244
+ ```md title="Named color example"
245
+ ---
246
+ badges:
247
+ - content: Critical
248
+ backgroundColor: red
249
+ textColor: red
250
+ ---
251
+ ```
252
+
253
+ #### Use any CSS color
254
+
255
+ You can also pass any valid CSS color value directly: hex (`#ff0000`), `rgb()`, `hsl()`, `oklch()`, or a CSS variable (`var(--my-color)`).
256
+
257
+ ```md title="CSS color example"
258
+ ---
259
+ badges:
260
+ - content: Custom
261
+ backgroundColor: "#6366f1"
262
+ textColor: "#ffffff"
263
+ ---
264
+ ```
265
+
236
266
  ### `specifications` {#specifications}
237
267
 
238
268
  <AddedIn version="2.39.1" />
@@ -142,20 +142,50 @@ An array of user ids that own the command.
142
142
 
143
143
  ### `badges` {#badges}
144
144
 
145
+ <AddedIn version="3.39.4" />
146
+
145
147
  An array of badges that get rendered on the page.
146
148
 
147
149
  ```md title="Example"
148
150
  ---
149
151
  badges:
150
152
  - content: My badge
151
- backgroundColor: blue
152
- textColor: blue
153
+ backgroundColor: green
154
+ textColor: green
153
155
  # Optional icon to display (from https://heroicons.com/)
154
156
  # Or the name of the broker (e.g Kafka, EventBridge, etc)
155
157
  icon: BoltIcon
156
158
  ---
157
159
  ```
158
160
 
161
+ #### Use named colors
162
+
163
+ Set `backgroundColor` or `textColor` to a named palette token for automatic light/dark mode adaptation.
164
+
165
+ Supported names: `slate`, `gray`, `zinc`, `neutral`, `stone`, `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`.
166
+
167
+ ```md title="Named color example"
168
+ ---
169
+ badges:
170
+ - content: Critical
171
+ backgroundColor: red
172
+ textColor: red
173
+ ---
174
+ ```
175
+
176
+ #### Use any CSS color
177
+
178
+ You can also pass any valid CSS color value directly: hex (`#ff0000`), `rgb()`, `hsl()`, `oklch()`, or a CSS variable (`var(--my-color)`).
179
+
180
+ ```md title="CSS color example"
181
+ ---
182
+ badges:
183
+ - content: Custom
184
+ backgroundColor: "#6366f1"
185
+ textColor: "#ffffff"
186
+ ---
187
+ ```
188
+
159
189
  ### `schemaPath` {#schemaPath}
160
190
 
161
191
  Path to the schema of the message.
@@ -141,20 +141,50 @@ An array of user ids that own the event.
141
141
 
142
142
  ### `badges` {#badges}
143
143
 
144
+ <AddedIn version="3.39.4" />
145
+
144
146
  An array of badges that get rendered on the page.
145
147
 
146
148
  ```md title="Example"
147
149
  ---
148
150
  badges:
149
151
  - content: My badge
150
- backgroundColor: blue
151
- textColor: blue
152
+ backgroundColor: green
153
+ textColor: green
152
154
  # Optional icon to display (from https://heroicons.com/)
153
155
  # Or the name of the broker (e.g Kafka, EventBridge, etc)
154
156
  icon: BoltIcon
155
157
  ---
156
158
  ```
157
159
 
160
+ #### Use named colors
161
+
162
+ Set `backgroundColor` or `textColor` to a named palette token for automatic light/dark mode adaptation.
163
+
164
+ Supported names: `slate`, `gray`, `zinc`, `neutral`, `stone`, `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`.
165
+
166
+ ```md title="Named color example"
167
+ ---
168
+ badges:
169
+ - content: Critical
170
+ backgroundColor: red
171
+ textColor: red
172
+ ---
173
+ ```
174
+
175
+ #### Use any CSS color
176
+
177
+ You can also pass any valid CSS color value directly: hex (`#ff0000`), `rgb()`, `hsl()`, `oklch()`, or a CSS variable (`var(--my-color)`).
178
+
179
+ ```md title="CSS color example"
180
+ ---
181
+ badges:
182
+ - content: Custom
183
+ backgroundColor: "#6366f1"
184
+ textColor: "#ffffff"
185
+ ---
186
+ ```
187
+
158
188
  ### `schemaPath` {#schemaPath}
159
189
 
160
190
  Path to the schema of the message.
@@ -139,20 +139,50 @@ An array of user ids that own the query.
139
139
 
140
140
  ### `badges` {#badges}
141
141
 
142
+ <AddedIn version="3.39.4" />
143
+
142
144
  An array of badges that get rendered on the page.
143
145
 
144
146
  ```md title="Example"
145
147
  ---
146
148
  badges:
147
149
  - content: My badge
148
- backgroundColor: blue
149
- textColor: blue
150
+ backgroundColor: green
151
+ textColor: green
150
152
  # Optional icon to display (from https://heroicons.com/)
151
153
  # Or the name of the broker (e.g Kafka, EventBridge, etc)
152
154
  icon: BoltIcon
153
155
  ---
154
156
  ```
155
157
 
158
+ #### Use named colors
159
+
160
+ Set `backgroundColor` or `textColor` to a named palette token for automatic light/dark mode adaptation.
161
+
162
+ Supported names: `slate`, `gray`, `zinc`, `neutral`, `stone`, `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`.
163
+
164
+ ```md title="Named color example"
165
+ ---
166
+ badges:
167
+ - content: Critical
168
+ backgroundColor: red
169
+ textColor: red
170
+ ---
171
+ ```
172
+
173
+ #### Use any CSS color
174
+
175
+ You can also pass any valid CSS color value directly: hex (`#ff0000`), `rgb()`, `hsl()`, `oklch()`, or a CSS variable (`var(--my-color)`).
176
+
177
+ ```md title="CSS color example"
178
+ ---
179
+ badges:
180
+ - content: Custom
181
+ backgroundColor: "#6366f1"
182
+ textColor: "#ffffff"
183
+ ---
184
+ ```
185
+
156
186
  ### `schemaPath` {#schemaPath}
157
187
 
158
188
  Path to the schema of the message.
@@ -207,20 +207,50 @@ An array of user ids that own the channel.
207
207
 
208
208
  ### `badges` {#badges}
209
209
 
210
+ <AddedIn version="3.39.4" />
211
+
210
212
  An array of badges that get rendered on the page.
211
213
 
212
214
  ```md title="Example"
213
215
  ---
214
216
  badges:
215
217
  - content: My badge
216
- backgroundColor: blue
217
- textColor: blue
218
+ backgroundColor: green
219
+ textColor: green
218
220
  # Optional icon to display (from https://heroicons.com/)
219
221
  # Or the name of the broker (e.g Kafka, EventBridge, etc)
220
222
  icon: BoltIcon
221
223
  ---
222
224
  ```
223
225
 
226
+ #### Use named colors
227
+
228
+ Set `backgroundColor` or `textColor` to a named palette token for automatic light/dark mode adaptation.
229
+
230
+ Supported names: `slate`, `gray`, `zinc`, `neutral`, `stone`, `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`.
231
+
232
+ ```md title="Named color example"
233
+ ---
234
+ badges:
235
+ - content: Critical
236
+ backgroundColor: red
237
+ textColor: red
238
+ ---
239
+ ```
240
+
241
+ #### Use any CSS color
242
+
243
+ You can also pass any valid CSS color value directly: hex (`#ff0000`), `rgb()`, `hsl()`, `oklch()`, or a CSS variable (`var(--my-color)`).
244
+
245
+ ```md title="CSS color example"
246
+ ---
247
+ badges:
248
+ - content: Custom
249
+ backgroundColor: "#6366f1"
250
+ textColor: "#ffffff"
251
+ ---
252
+ ```
253
+
224
254
  ### `repository` {#repository}
225
255
 
226
256
  <AddedIn version="2.11.2" />
@@ -316,20 +316,50 @@ Short summary of your flow, shown on flow summary pages.
316
316
 
317
317
  ### `badges` {#badges}
318
318
 
319
+ <AddedIn version="3.39.4" />
320
+
319
321
  An array of badges that get rendered on the page.
320
322
 
321
323
  ```md title="Example"
322
324
  ---
323
325
  badges:
324
326
  - content: My badge
325
- backgroundColor: blue
326
- textColor: blue
327
+ backgroundColor: green
328
+ textColor: green
327
329
  # Optional icon to display (from https://heroicons.com/)
328
330
  # Or the name of the broker (e.g Kafka, EventBridge, etc)
329
331
  icon: BoltIcon
330
332
  ---
331
333
  ```
332
334
 
335
+ #### Use named colors
336
+
337
+ Set `backgroundColor` or `textColor` to a named palette token for automatic light/dark mode adaptation.
338
+
339
+ Supported names: `slate`, `gray`, `zinc`, `neutral`, `stone`, `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`.
340
+
341
+ ```md title="Named color example"
342
+ ---
343
+ badges:
344
+ - content: Critical
345
+ backgroundColor: red
346
+ textColor: red
347
+ ---
348
+ ```
349
+
350
+ #### Use any CSS color
351
+
352
+ You can also pass any valid CSS color value directly: hex (`#ff0000`), `rgb()`, `hsl()`, `oklch()`, or a CSS variable (`var(--my-color)`).
353
+
354
+ ```md title="CSS color example"
355
+ ---
356
+ badges:
357
+ - content: Custom
358
+ backgroundColor: "#6366f1"
359
+ textColor: "#ffffff"
360
+ ---
361
+ ```
362
+
333
363
  ### `editUrl` {#editUrl}
334
364
 
335
365
  <AddedIn version="2.49.4" />
@@ -190,19 +190,49 @@ Each property can have the following fields:
190
190
 
191
191
  ### `badges` {#badges}
192
192
 
193
+ <AddedIn version="3.39.4" />
194
+
193
195
  An array of badges that get rendered on the page.
194
196
 
195
197
  ```md title="Example"
196
198
  ---
197
199
  badges:
198
200
  - content: Core Entity
199
- backgroundColor: blue
200
- textColor: blue
201
+ backgroundColor: green
202
+ textColor: green
201
203
  # Optional icon to display (from https://heroicons.com/)
202
204
  icon: BoltIcon
203
205
  ---
204
206
  ```
205
207
 
208
+ #### Use named colors
209
+
210
+ Set `backgroundColor` or `textColor` to a named palette token for automatic light/dark mode adaptation.
211
+
212
+ Supported names: `slate`, `gray`, `zinc`, `neutral`, `stone`, `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`.
213
+
214
+ ```md title="Named color example"
215
+ ---
216
+ badges:
217
+ - content: Critical
218
+ backgroundColor: red
219
+ textColor: red
220
+ ---
221
+ ```
222
+
223
+ #### Use any CSS color
224
+
225
+ You can also pass any valid CSS color value directly: hex (`#ff0000`), `rgb()`, `hsl()`, `oklch()`, or a CSS variable (`var(--my-color)`).
226
+
227
+ ```md title="CSS color example"
228
+ ---
229
+ badges:
230
+ - content: Custom
231
+ backgroundColor: "#6366f1"
232
+ textColor: "#ffffff"
233
+ ---
234
+ ```
235
+
206
236
 
207
237
  ### `editUrl` {#editUrl}
208
238
 
@@ -204,6 +204,8 @@ owners:
204
204
 
205
205
  ### `badges`
206
206
 
207
+ <AddedIn version="3.39.4" />
208
+
207
209
  - Type: `array`
208
210
 
209
211
  Array of badges to display on the data product page.
@@ -225,8 +227,18 @@ Badge properties:
225
227
  | Property | Type | Required | Description |
226
228
  | -------- | ---- | -------- | ----------- |
227
229
  | `content` | `string` | Yes | Text content of the badge |
228
- | `backgroundColor` | `string` | Yes | Background color |
229
- | `textColor` | `string` | Yes | Text color |
230
+ | `backgroundColor` | `string` | Yes | Background color (named token or CSS value) |
231
+ | `textColor` | `string` | Yes | Text color (named token or CSS value) |
232
+
233
+ #### Use named colors
234
+
235
+ Set `backgroundColor` or `textColor` to a named palette token for automatic light/dark mode adaptation.
236
+
237
+ Supported names: `slate`, `gray`, `zinc`, `neutral`, `stone`, `red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`.
238
+
239
+ #### Use any CSS color
240
+
241
+ You can also pass any valid CSS color value directly: hex (`#ff0000`), `rgb()`, `hsl()`, `oklch()`, or a CSS variable (`var(--my-color)`).
230
242
 
231
243
  ### `repository`
232
244
 
@@ -114,7 +114,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
114
114
  var import_picocolors = __toESM(require("picocolors"), 1);
115
115
 
116
116
  // package.json
117
- var version = "3.39.3";
117
+ var version = "3.39.5";
118
118
 
119
119
  // src/constants.ts
120
120
  var VERSION = version;
@@ -13,8 +13,8 @@ import {
13
13
  } from "./chunk-K3ZVEX2Y.js";
14
14
  import {
15
15
  log_build_default
16
- } from "./chunk-5G6OFPTY.js";
17
- import "./chunk-ABTA6BYL.js";
16
+ } from "./chunk-KVAEAYEP.js";
17
+ import "./chunk-H5BZMNK3.js";
18
18
  import "./chunk-4UVFXLPI.js";
19
19
  import {
20
20
  catalogToAstro
@@ -28,13 +28,13 @@ import {
28
28
  } from "./chunk-ULZYHF3V.js";
29
29
  import {
30
30
  generate
31
- } from "./chunk-MFYIAZEO.js";
31
+ } from "./chunk-S4HLJWQ7.js";
32
32
  import {
33
33
  logger
34
- } from "./chunk-TUEC7QBE.js";
34
+ } from "./chunk-M4S7PORQ.js";
35
35
  import {
36
36
  VERSION
37
- } from "./chunk-L4F5FCQK.js";
37
+ } from "./chunk-TNE5QSJ4.js";
38
38
  import {
39
39
  getEventCatalogConfigFile,
40
40
  verifyRequiredFieldsAreInCatalogConfigFile
package/dist/generate.cjs CHANGED
@@ -78,7 +78,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
78
78
  var import_picocolors = __toESM(require("picocolors"), 1);
79
79
 
80
80
  // package.json
81
- var version = "3.39.3";
81
+ var version = "3.39.5";
82
82
 
83
83
  // src/constants.ts
84
84
  var VERSION = version;
package/dist/generate.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-MFYIAZEO.js";
4
- import "./chunk-TUEC7QBE.js";
5
- import "./chunk-L4F5FCQK.js";
3
+ } from "./chunk-S4HLJWQ7.js";
4
+ import "./chunk-M4S7PORQ.js";
5
+ import "./chunk-TNE5QSJ4.js";
6
6
  import "./chunk-5T63CXKU.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.39.3";
39
+ var version = "3.39.5";
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-TUEC7QBE.js";
4
- import "../chunk-L4F5FCQK.js";
3
+ } from "../chunk-M4S7PORQ.js";
4
+ import "../chunk-TNE5QSJ4.js";
5
5
  export {
6
6
  logger
7
7
  };
@@ -5,6 +5,7 @@ import { ArrowDownIcon, ArrowUpIcon, EllipsisVerticalIcon, StarIcon } from '@her
5
5
  import { buildUrl } from '@utils/url-builder';
6
6
  import { getColorAndIconForCollection } from '@utils/collections/icons';
7
7
  import { getCollectionTextColorClass } from '@utils/collection-colors';
8
+ import { getBadgeReactStyle } from '@utils/badge-styles';
8
9
  import { isIconPath, resolveIconUrl } from '@utils/icon';
9
10
  import { useStore } from '@nanostores/react';
10
11
  import { favoritesStore, toggleFavorite, type FavoriteItem } from '../../../stores/favorites-store';
@@ -28,6 +29,7 @@ const BadgesCell = ({ badges }: { badges: Array<{ content: string; backgroundCol
28
29
  <span
29
30
  key={`${badge.content}-${index}`}
30
31
  className="inline-flex items-center px-2 py-0.5 text-[11px] font-normal rounded-md max-w-[140px] truncate border border-[rgb(var(--ec-page-border))] text-[rgb(var(--ec-page-text-muted))] bg-transparent"
32
+ style={getBadgeReactStyle(badge)}
31
33
  title={badge.content}
32
34
  >
33
35
  {badge.content}