@eventcatalog/core 2.61.7 → 2.61.9
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-CXKOSGOZ.js → chunk-62PN6BKH.js} +1 -1
- package/dist/{chunk-TMWVVSKB.js → chunk-V3ST2S7I.js} +1 -1
- package/dist/{chunk-EMD2PGL5.js → chunk-XFANC4LX.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +1 -1
- package/dist/eventcatalog.config.d.cts +1 -0
- package/dist/eventcatalog.config.d.ts +1 -0
- package/dist/eventcatalog.js +3 -3
- package/eventcatalog/astro.config.mjs +1 -1
- package/eventcatalog/src/components/SideNav/ListViewSideBar/index.tsx +2 -2
- package/eventcatalog/src/components/SideNav/ListViewSideBar/types.ts +1 -0
- package/eventcatalog/src/components/SideNav/SideNav.astro +6 -1
- 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-62PN6BKH.js";
|
|
4
|
+
import "../chunk-XFANC4LX.js";
|
|
5
|
+
import "../chunk-V3ST2S7I.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
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-62PN6BKH.js";
|
|
10
|
+
import "./chunk-XFANC4LX.js";
|
|
11
11
|
import {
|
|
12
12
|
catalogToAstro,
|
|
13
13
|
checkAndConvertMdToMdx
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import "./chunk-55D645EH.js";
|
|
16
16
|
import {
|
|
17
17
|
VERSION
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V3ST2S7I.js";
|
|
19
19
|
import {
|
|
20
20
|
getProjectOutDir,
|
|
21
21
|
isAuthEnabled,
|
|
@@ -24,7 +24,7 @@ import ecstudioWatcher from './integrations/ecstudio-watcher.mjs';
|
|
|
24
24
|
const projectDirectory = process.env.PROJECT_DIR || process.cwd();
|
|
25
25
|
const base = config.base || '/';
|
|
26
26
|
const host = config.host || false;
|
|
27
|
-
const compress = config.compress ??
|
|
27
|
+
const compress = config.compress ?? false;
|
|
28
28
|
|
|
29
29
|
const expressiveCodeConfig = {
|
|
30
30
|
themes: ['andromeeda'],
|
|
@@ -305,7 +305,7 @@ const ServiceItem = React.memo(
|
|
|
305
305
|
}
|
|
306
306
|
);
|
|
307
307
|
|
|
308
|
-
const ListViewSideBar: React.FC<ListViewSideBarProps> = ({ resources, currentPath }) => {
|
|
308
|
+
const ListViewSideBar: React.FC<ListViewSideBarProps> = ({ resources, currentPath, showOrphanedMessages }) => {
|
|
309
309
|
const navRef = useRef<HTMLElement>(null);
|
|
310
310
|
const [data] = useState(resources);
|
|
311
311
|
const [searchTerm, setSearchTerm] = useState('');
|
|
@@ -1160,7 +1160,7 @@ const ListViewSideBar: React.FC<ListViewSideBarProps> = ({ resources, currentPat
|
|
|
1160
1160
|
</div>
|
|
1161
1161
|
)}
|
|
1162
1162
|
|
|
1163
|
-
{filteredData['messagesNotInService'] && filteredData['messagesNotInService'].length > 0 && (
|
|
1163
|
+
{filteredData['messagesNotInService'] && filteredData['messagesNotInService'].length > 0 && showOrphanedMessages && (
|
|
1164
1164
|
<div className="pt-4 pb-2">
|
|
1165
1165
|
<CollapsibleGroup
|
|
1166
1166
|
isCollapsed={collapsedGroups['messagesNotInService-group']}
|
|
@@ -18,6 +18,7 @@ const currentPath = Astro.url.pathname;
|
|
|
18
18
|
let props;
|
|
19
19
|
|
|
20
20
|
const SIDENAV_TYPE = config?.docs?.sidebar?.type ?? 'LIST_VIEW';
|
|
21
|
+
const SHOW_ORPHANED_MESSAGES = config?.docs?.sidebar?.showOrphanedMessages ?? true;
|
|
21
22
|
|
|
22
23
|
if (SIDENAV_TYPE === 'LIST_VIEW') {
|
|
23
24
|
props = await getListViewResources({ currentPath });
|
|
@@ -27,6 +28,10 @@ if (SIDENAV_TYPE === 'LIST_VIEW') {
|
|
|
27
28
|
---
|
|
28
29
|
|
|
29
30
|
<div {...Astro.props}>
|
|
30
|
-
{
|
|
31
|
+
{
|
|
32
|
+
SIDENAV_TYPE === 'LIST_VIEW' && (
|
|
33
|
+
<ListViewSideBar resources={props} currentPath={currentPath} client:only showOrphanedMessages={SHOW_ORPHANED_MESSAGES} />
|
|
34
|
+
)
|
|
35
|
+
}
|
|
31
36
|
{SIDENAV_TYPE === 'TREE_VIEW' && <SideNavTreeView client:only transition:persist tree={props} />}
|
|
32
37
|
</div>
|