@eventcatalog/core 3.32.0 → 3.32.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/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-JJVXM3OM.js → chunk-APXR6OUM.js} +1 -1
- package/dist/{chunk-CXEK4KKF.js → chunk-CBKYKCNH.js} +1 -1
- package/dist/{chunk-D6ERG3HK.js → chunk-JTPCTZLV.js} +1 -1
- package/dist/{chunk-7EUXENMF.js → chunk-MR3R4KPQ.js} +1 -1
- package/dist/{chunk-4LDDJXVA.js → chunk-U54R4QAA.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/MDX/Prompt/Prompt.astro +173 -0
- package/eventcatalog/src/components/MDX/components.tsx +2 -0
- package/eventcatalog/src/remark-plugins/directives.ts +43 -23
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-MR3R4KPQ.js";
|
|
4
|
+
import "../chunk-CBKYKCNH.js";
|
|
5
5
|
import "../chunk-4UVFXLPI.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-U54R4QAA.js";
|
|
7
7
|
import "../chunk-5T63CXKU.js";
|
|
8
8
|
export {
|
|
9
9
|
log_build_default as default
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -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.32.
|
|
117
|
+
var version = "3.32.2";
|
|
118
118
|
|
|
119
119
|
// src/constants.ts
|
|
120
120
|
var VERSION = version;
|
package/dist/eventcatalog.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
} from "./chunk-K3ZVEX2Y.js";
|
|
7
7
|
import {
|
|
8
8
|
log_build_default
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-MR3R4KPQ.js";
|
|
10
|
+
import "./chunk-CBKYKCNH.js";
|
|
11
11
|
import "./chunk-4UVFXLPI.js";
|
|
12
12
|
import {
|
|
13
13
|
runMigrations
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
} from "./chunk-3KXCGYET.js";
|
|
23
23
|
import {
|
|
24
24
|
generate
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-APXR6OUM.js";
|
|
26
26
|
import {
|
|
27
27
|
logger
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-JTPCTZLV.js";
|
|
29
29
|
import {
|
|
30
30
|
VERSION
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-U54R4QAA.js";
|
|
32
32
|
import {
|
|
33
33
|
getEventCatalogConfigFile,
|
|
34
34
|
verifyRequiredFieldsAreInCatalogConfigFile
|
package/dist/generate.cjs
CHANGED
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-APXR6OUM.js";
|
|
4
|
+
import "./chunk-JTPCTZLV.js";
|
|
5
|
+
import "./chunk-U54R4QAA.js";
|
|
6
6
|
import "./chunk-5T63CXKU.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
---
|
|
2
|
+
import { LUCIDE_ICON_MAP } from '@utils/icon-map';
|
|
3
|
+
|
|
4
|
+
type ActionType = 'copy' | 'cursor';
|
|
5
|
+
|
|
6
|
+
interface Props {
|
|
7
|
+
description: string;
|
|
8
|
+
actions?: ActionType[];
|
|
9
|
+
icon?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const { description, actions = ['copy'], icon } = Astro.props;
|
|
13
|
+
|
|
14
|
+
const showCopy = actions.includes('copy');
|
|
15
|
+
const showCursor = actions.includes('cursor');
|
|
16
|
+
|
|
17
|
+
const toPascalCase = (input: string): string =>
|
|
18
|
+
input
|
|
19
|
+
.split(/[-_\s]+/)
|
|
20
|
+
.filter(Boolean)
|
|
21
|
+
.map((part) => part.charAt(0).toUpperCase() + part.slice(1))
|
|
22
|
+
.join('');
|
|
23
|
+
|
|
24
|
+
const Icon = icon ? (LUCIDE_ICON_MAP[toPascalCase(icon)] ?? null) : null;
|
|
25
|
+
|
|
26
|
+
// Render the slotted content to a string so we can use it as the prompt text
|
|
27
|
+
// (for clipboard + the Cursor deep link).
|
|
28
|
+
const slotHtml = await Astro.slots.render('default');
|
|
29
|
+
const promptText = (slotHtml ?? '')
|
|
30
|
+
.replace(/<[^>]+>/g, '')
|
|
31
|
+
.replace(/ /g, ' ')
|
|
32
|
+
.replace(/&/g, '&')
|
|
33
|
+
.replace(/</g, '<')
|
|
34
|
+
.replace(/>/g, '>')
|
|
35
|
+
.replace(/"/g, '"')
|
|
36
|
+
.replace(/'/g, "'")
|
|
37
|
+
.trim();
|
|
38
|
+
|
|
39
|
+
const cursorUrl = `https://cursor.com/link/prompt?text=${encodeURIComponent(promptText)}`;
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
<ec-prompt
|
|
43
|
+
class="not-prose my-4 block rounded-xl border border-[rgb(var(--ec-page-border))] bg-gray-50 dark:bg-[rgb(var(--ec-rail-bg))]"
|
|
44
|
+
data-prompt-text={promptText}
|
|
45
|
+
>
|
|
46
|
+
<div class="flex items-center gap-2.5 px-4 py-3">
|
|
47
|
+
{Icon && <Icon className="w-4 h-4 shrink-0 text-[rgb(var(--ec-page-text-muted))]" />}
|
|
48
|
+
<div class="flex-1 min-w-0">
|
|
49
|
+
<div class="text-sm font-medium text-[rgb(var(--ec-page-text))] leading-snug">{description}</div>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="flex items-center gap-1.5 shrink-0">
|
|
52
|
+
{
|
|
53
|
+
showCopy && (
|
|
54
|
+
<button
|
|
55
|
+
type="button"
|
|
56
|
+
data-prompt-copy
|
|
57
|
+
data-copied="false"
|
|
58
|
+
aria-label="Copy prompt"
|
|
59
|
+
aria-live="polite"
|
|
60
|
+
class="ec-prompt-copy inline-flex items-center gap-1.5 px-2 py-1 text-xs font-medium rounded-md border transition-all duration-150 border-[rgb(var(--ec-page-border))] bg-[rgb(var(--ec-page-bg))] text-[rgb(var(--ec-page-text))] hover:bg-[rgb(var(--ec-content-hover))] data-[copied=true]:border-emerald-500/70 data-[copied=true]:bg-emerald-50 data-[copied=true]:text-emerald-700 dark:data-[copied=true]:bg-emerald-950/50 dark:data-[copied=true]:text-emerald-300 dark:data-[copied=true]:border-emerald-500/60"
|
|
61
|
+
>
|
|
62
|
+
<span data-prompt-copy-idle class="inline-flex items-center gap-1.5">
|
|
63
|
+
<svg
|
|
64
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
65
|
+
width="14"
|
|
66
|
+
height="14"
|
|
67
|
+
viewBox="0 0 24 24"
|
|
68
|
+
fill="none"
|
|
69
|
+
stroke="currentColor"
|
|
70
|
+
stroke-width="2"
|
|
71
|
+
stroke-linecap="round"
|
|
72
|
+
stroke-linejoin="round"
|
|
73
|
+
>
|
|
74
|
+
<rect x="9" y="9" width="13" height="13" rx="2" ry="2" />
|
|
75
|
+
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" />
|
|
76
|
+
</svg>
|
|
77
|
+
<span>Copy</span>
|
|
78
|
+
</span>
|
|
79
|
+
<span data-prompt-copy-done class="inline-flex items-center gap-1.5" style="display:none;">
|
|
80
|
+
<svg
|
|
81
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
82
|
+
width="14"
|
|
83
|
+
height="14"
|
|
84
|
+
viewBox="0 0 24 24"
|
|
85
|
+
fill="none"
|
|
86
|
+
stroke="currentColor"
|
|
87
|
+
stroke-width="2.5"
|
|
88
|
+
stroke-linecap="round"
|
|
89
|
+
stroke-linejoin="round"
|
|
90
|
+
>
|
|
91
|
+
<polyline points="20 6 9 17 4 12" />
|
|
92
|
+
</svg>
|
|
93
|
+
<span>Copied!</span>
|
|
94
|
+
</span>
|
|
95
|
+
</button>
|
|
96
|
+
)
|
|
97
|
+
}
|
|
98
|
+
{
|
|
99
|
+
showCursor && (
|
|
100
|
+
<a
|
|
101
|
+
href={cursorUrl}
|
|
102
|
+
target="_blank"
|
|
103
|
+
rel="noopener noreferrer"
|
|
104
|
+
aria-label="Open in Cursor"
|
|
105
|
+
class="inline-flex items-center gap-1.5 px-2 py-1 text-xs font-medium rounded-md border border-black bg-black !text-white hover:bg-black/85 transition-colors no-underline"
|
|
106
|
+
>
|
|
107
|
+
<svg
|
|
108
|
+
height="1em"
|
|
109
|
+
width="1em"
|
|
110
|
+
viewBox="0 0 16 16"
|
|
111
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
112
|
+
aria-hidden="true"
|
|
113
|
+
class="w-3 h-3 shrink-0"
|
|
114
|
+
>
|
|
115
|
+
<path
|
|
116
|
+
fill="currentColor"
|
|
117
|
+
d="M14.4734 3.9527L8.31773 0.398522C8.22052 0.342485 8.11029 0.312988 7.99809 0.312988C7.88589 0.312988 7.77566 0.342485 7.67846 0.398522L1.52355 3.9527C1.44182 3.99989 1.37394 4.06773 1.32671 4.14942C1.27948 4.23112 1.25457 4.32379 1.25446 4.41816V11.584C1.25457 11.6783 1.27948 11.771 1.32671 11.8527C1.37394 11.9344 1.44182 12.0022 1.52355 12.0494L7.67918 15.6036C7.77636 15.6597 7.8866 15.6893 7.99882 15.6893C8.11103 15.6893 8.22127 15.6597 8.31846 15.6036L14.4741 12.0502C14.5558 12.003 14.6237 11.9351 14.6709 11.8534C14.7182 11.7717 14.7431 11.6791 14.7432 11.5847V4.41743C14.7431 4.32307 14.7182 4.23039 14.6709 4.14869C14.6237 4.067 14.5558 3.99916 14.4741 3.95198L14.4734 3.9527ZM14.0872 4.70543L8.14464 14.9978C8.10464 15.0669 7.99846 15.0385 7.99846 14.9578V8.21889C7.99841 8.15254 7.98092 8.08738 7.94773 8.02993C7.91454 7.97249 7.86682 7.92478 7.80936 7.89161L1.97373 4.52361C1.90391 4.48289 1.93227 4.3767 2.013 4.3767H13.8966C14.0661 4.3767 14.1715 4.55925 14.0872 4.70543Z"
|
|
118
|
+
/>
|
|
119
|
+
</svg>
|
|
120
|
+
<span>Open in Cursor</span>
|
|
121
|
+
</a>
|
|
122
|
+
)
|
|
123
|
+
}
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
<div hidden><slot /></div>
|
|
127
|
+
</ec-prompt>
|
|
128
|
+
|
|
129
|
+
<script>
|
|
130
|
+
if (!customElements.get('ec-prompt')) {
|
|
131
|
+
class ECPromptElement extends HTMLElement {
|
|
132
|
+
private resetTimer: number | null = null;
|
|
133
|
+
private button: HTMLButtonElement | null = null;
|
|
134
|
+
private boundHandler = this.handleCopy.bind(this);
|
|
135
|
+
|
|
136
|
+
connectedCallback() {
|
|
137
|
+
this.button = this.querySelector<HTMLButtonElement>('[data-prompt-copy]');
|
|
138
|
+
this.button?.addEventListener('click', this.boundHandler);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
disconnectedCallback() {
|
|
142
|
+
this.button?.removeEventListener('click', this.boundHandler);
|
|
143
|
+
if (this.resetTimer != null) {
|
|
144
|
+
window.clearTimeout(this.resetTimer);
|
|
145
|
+
this.resetTimer = null;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
private async handleCopy() {
|
|
150
|
+
const text = this.dataset.promptText ?? '';
|
|
151
|
+
try {
|
|
152
|
+
await navigator.clipboard.writeText(text);
|
|
153
|
+
} catch {
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
this.setCopied(true);
|
|
157
|
+
if (this.resetTimer != null) window.clearTimeout(this.resetTimer);
|
|
158
|
+
this.resetTimer = window.setTimeout(() => this.setCopied(false), 1500);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
private setCopied(copied: boolean) {
|
|
162
|
+
if (!this.button) return;
|
|
163
|
+
this.button.dataset.copied = copied ? 'true' : 'false';
|
|
164
|
+
this.button.setAttribute('aria-label', copied ? 'Copied to clipboard' : 'Copy prompt');
|
|
165
|
+
const idle = this.button.querySelector<HTMLElement>('[data-prompt-copy-idle]');
|
|
166
|
+
const done = this.button.querySelector<HTMLElement>('[data-prompt-copy-done]');
|
|
167
|
+
if (idle) idle.style.display = copied ? 'none' : '';
|
|
168
|
+
if (done) done.style.display = copied ? '' : 'none';
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
customElements.define('ec-prompt', ECPromptElement);
|
|
172
|
+
}
|
|
173
|
+
</script>
|
|
@@ -10,6 +10,7 @@ import Tile from '@components/MDX/Tiles/Tile.astro';
|
|
|
10
10
|
import Steps from '@components/MDX/Steps/Steps.astro';
|
|
11
11
|
import Step from '@components/MDX/Steps/Step.astro';
|
|
12
12
|
import Admonition from '@components/MDX/Admonition';
|
|
13
|
+
import Prompt from '@components/MDX/Prompt/Prompt.astro';
|
|
13
14
|
import OpenAPI from '@components/MDX/OpenAPI/OpenAPI.astro';
|
|
14
15
|
import AsyncAPI from '@components/MDX/AsyncAPI/AsyncAPI.astro';
|
|
15
16
|
import ChannelInformation from '@components/MDX/ChannelInformation/ChannelInformation';
|
|
@@ -53,6 +54,7 @@ const components = (props: any) => {
|
|
|
53
54
|
NodeGraph: (mdxProp: any) => jsx(NodeGraphPortal, { ...props.data, ...mdxProp, props, mdxProp }),
|
|
54
55
|
EntityMap: (mdxProp: any) => jsx(EntityMap, { ...props, ...mdxProp }),
|
|
55
56
|
OpenAPI,
|
|
57
|
+
Prompt: (mdxProp: any) => jsx(Prompt, { ...props, ...mdxProp }),
|
|
56
58
|
ResourceGroupTable: (mdxProp: any) => jsx(ResourceGroupTable, { ...props, ...mdxProp }),
|
|
57
59
|
ResourceLink: (mdxProp: any) => jsx(ResourceLink, { ...props, ...mdxProp }),
|
|
58
60
|
ResourceRef: (mdxProp: any) => jsx(ResourceRef, { ...props, ...mdxProp }),
|
|
@@ -5,29 +5,48 @@ export function remarkDirectives() {
|
|
|
5
5
|
return (tree: any) => {
|
|
6
6
|
visit(tree, (node) => {
|
|
7
7
|
if (node.type === 'containerDirective') {
|
|
8
|
+
// Subtle, tinted backgrounds with a coloured left bar and icon.
|
|
9
|
+
// Body text inherits the page's normal text colour for readability.
|
|
8
10
|
const blockTypes = {
|
|
9
|
-
info: 'bg-blue-50 dark:bg-blue-950/
|
|
10
|
-
warning:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
info: 'ec-admonition ec-admonition--info bg-blue-50/60 dark:bg-blue-950/30 border border-blue-200/70 dark:border-blue-900/60',
|
|
12
|
+
warning:
|
|
13
|
+
'ec-admonition ec-admonition--warning bg-amber-50/60 dark:bg-amber-950/30 border border-amber-200/70 dark:border-amber-900/60',
|
|
14
|
+
danger:
|
|
15
|
+
'ec-admonition ec-admonition--danger bg-red-50/60 dark:bg-red-950/30 border border-red-200/70 dark:border-red-900/60',
|
|
16
|
+
tip: 'ec-admonition ec-admonition--tip bg-emerald-50/60 dark:bg-emerald-900/40 border border-emerald-200/70 dark:border-emerald-700/80',
|
|
17
|
+
note: 'ec-admonition ec-admonition--note bg-slate-50/70 dark:bg-slate-900/40 border border-slate-200/70 dark:border-slate-700/60',
|
|
14
18
|
};
|
|
15
19
|
|
|
16
|
-
// Lucide
|
|
20
|
+
// Distinct Lucide icons per intent (warning vs danger no longer share).
|
|
17
21
|
const iconPaths = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
// Info — circle with "i"
|
|
23
|
+
info: 'M12 2a10 10 0 100 20 10 10 0 000-20zM12 8h.01M11 12h1v4h1',
|
|
24
|
+
// Warning — triangle with !
|
|
25
|
+
warning: 'M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0zM12 9v4 M12 17h.01',
|
|
26
|
+
// Danger — octagon with !
|
|
27
|
+
danger: 'M7.86 2h8.28L22 7.86v8.28L16.14 22H7.86L2 16.14V7.86L7.86 2z M12 8v4 M12 16h.01',
|
|
28
|
+
// Tip — lightbulb
|
|
29
|
+
tip: 'M9 18h6 M10 22h4 M12 2a7 7 0 0 0-4 12.74V17h8v-2.26A7 7 0 0 0 12 2z',
|
|
30
|
+
// Note — pencil-line
|
|
31
|
+
note: 'M12 20h9 M16.5 3.5a2.121 2.121 0 1 1 3 3L7 19l-4 1 1-4 12.5-12.5z',
|
|
25
32
|
};
|
|
26
33
|
|
|
34
|
+
// Coloured icon + title classes (intent accent colours).
|
|
35
|
+
const accentTextClasses = {
|
|
36
|
+
info: 'text-blue-700 dark:text-blue-300',
|
|
37
|
+
warning: 'text-amber-700 dark:text-amber-300',
|
|
38
|
+
danger: 'text-red-700 dark:text-red-300',
|
|
39
|
+
tip: 'text-emerald-700 dark:text-emerald-300',
|
|
40
|
+
note: 'text-slate-600 dark:text-slate-300',
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
const intent = node.name as keyof typeof blockTypes;
|
|
44
|
+
const accentClass = accentTextClasses[intent] || accentTextClasses.note;
|
|
45
|
+
|
|
27
46
|
node.data = node.data || {};
|
|
28
47
|
node.data.hName = 'div';
|
|
29
48
|
node.data.hProperties = {
|
|
30
|
-
class: `rounded-
|
|
49
|
+
class: `rounded-md px-3 py-2.5 my-4 text-[0.85rem] leading-relaxed ${blockTypes[intent] || ''}`,
|
|
31
50
|
};
|
|
32
51
|
|
|
33
52
|
// Check if there's a custom title (label) provided via :::note[Custom Title]
|
|
@@ -62,26 +81,26 @@ export function remarkDirectives() {
|
|
|
62
81
|
data: {
|
|
63
82
|
hName: 'div',
|
|
64
83
|
hProperties: {
|
|
65
|
-
class:
|
|
84
|
+
class: `flex items-center gap-1.5 mb-1 ${accentClass}`,
|
|
66
85
|
},
|
|
67
86
|
},
|
|
68
87
|
children: [
|
|
69
|
-
// Lucide Icon SVG
|
|
88
|
+
// Lucide Icon SVG (smaller, accent-coloured)
|
|
70
89
|
{
|
|
71
90
|
type: 'element',
|
|
72
91
|
data: {
|
|
73
92
|
hName: 'svg',
|
|
74
93
|
hProperties: {
|
|
75
94
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
76
|
-
width: '
|
|
77
|
-
height: '
|
|
95
|
+
width: '14',
|
|
96
|
+
height: '14',
|
|
78
97
|
viewBox: '0 0 24 24',
|
|
79
98
|
fill: 'none',
|
|
80
99
|
stroke: 'currentColor',
|
|
81
|
-
strokeWidth: '2',
|
|
100
|
+
strokeWidth: '2.25',
|
|
82
101
|
strokeLinecap: 'round',
|
|
83
102
|
strokeLinejoin: 'round',
|
|
84
|
-
class: 'lucide',
|
|
103
|
+
class: 'lucide shrink-0',
|
|
85
104
|
},
|
|
86
105
|
},
|
|
87
106
|
children: [
|
|
@@ -96,13 +115,13 @@ export function remarkDirectives() {
|
|
|
96
115
|
},
|
|
97
116
|
],
|
|
98
117
|
},
|
|
99
|
-
// Title
|
|
118
|
+
// Title — small, uppercase, tracked
|
|
100
119
|
{
|
|
101
120
|
type: 'element',
|
|
102
121
|
data: {
|
|
103
122
|
hName: 'span',
|
|
104
123
|
hProperties: {
|
|
105
|
-
class: '',
|
|
124
|
+
class: 'text-[0.7rem] font-semibold uppercase tracking-wider',
|
|
106
125
|
},
|
|
107
126
|
},
|
|
108
127
|
children: titleChildren,
|
|
@@ -116,7 +135,8 @@ export function remarkDirectives() {
|
|
|
116
135
|
data: {
|
|
117
136
|
hName: 'div',
|
|
118
137
|
hProperties: {
|
|
119
|
-
class:
|
|
138
|
+
class:
|
|
139
|
+
'prose prose-sm dark:prose-invert w-full max-w-none! prose-p:my-0.5 prose-p:text-inherit prose-p:text-[0.85rem] prose-p:leading-relaxed prose-code:text-[0.8rem]',
|
|
120
140
|
},
|
|
121
141
|
},
|
|
122
142
|
children: contentChildren,
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"license": "SEE LICENSE IN LICENSE",
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "3.32.
|
|
10
|
+
"version": "3.32.2",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
"update-notifier": "^7.3.1",
|
|
106
106
|
"uuid": "^10.0.0",
|
|
107
107
|
"zod": "^4.3.6",
|
|
108
|
+
"@eventcatalog/sdk": "2.21.0",
|
|
108
109
|
"@eventcatalog/visualiser": "^3.20.0",
|
|
109
|
-
"@eventcatalog/
|
|
110
|
-
"@eventcatalog/linter": "1.0.21"
|
|
110
|
+
"@eventcatalog/linter": "1.0.22"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"@astrojs/check": "^0.9.8",
|