@principal-ai/subsystems-react 0.55.0 → 0.55.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.
Files changed (129) hide show
  1. package/README.md +2 -1
  2. package/dist/graphify/index.d.ts +2 -0
  3. package/dist/graphify/index.d.ts.map +1 -1
  4. package/dist/graphify/index.js +1 -0
  5. package/dist/graphify/index.js.map +1 -1
  6. package/dist/graphify/symbolFocus.d.ts +49 -0
  7. package/dist/graphify/symbolFocus.d.ts.map +1 -0
  8. package/dist/graphify/symbolFocus.js +139 -0
  9. package/dist/graphify/symbolFocus.js.map +1 -0
  10. package/dist/index.d.ts +7 -5
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +3 -2
  13. package/dist/index.js.map +1 -1
  14. package/dist/pierre/PierreTrailCodeView.d.ts +1 -1
  15. package/dist/pierre/PierreTrailCodeView.d.ts.map +1 -1
  16. package/dist/stories/Canvases/Aggregate/aggregateViewFixture.d.ts.map +1 -0
  17. package/dist/stories/Canvases/Aggregate/aggregateViewFixture.js.map +1 -0
  18. package/dist/stories/Canvases/Subsystem/fixtures.d.ts.map +1 -0
  19. package/dist/stories/Canvases/Subsystem/fixtures.js.map +1 -0
  20. package/dist/subsystem/ComponentDeclaration.d.ts +1 -1
  21. package/dist/subsystem/ComponentDeclaration.d.ts.map +1 -1
  22. package/dist/subsystem/ComponentDeclaration.js +1 -1
  23. package/dist/subsystem/ComponentDeclaration.js.map +1 -1
  24. package/dist/subsystem/ConstructsCatalog.d.ts +1 -1
  25. package/dist/subsystem/ConstructsCatalog.d.ts.map +1 -1
  26. package/dist/subsystem/SubsystemComponentGraph.d.ts +36 -2
  27. package/dist/subsystem/SubsystemComponentGraph.d.ts.map +1 -1
  28. package/dist/subsystem/SubsystemComponentGraph.js +250 -35
  29. package/dist/subsystem/SubsystemComponentGraph.js.map +1 -1
  30. package/dist/subsystem/SymbolFocusedView.d.ts +30 -0
  31. package/dist/subsystem/SymbolFocusedView.d.ts.map +1 -0
  32. package/dist/subsystem/SymbolFocusedView.js +24 -0
  33. package/dist/subsystem/SymbolFocusedView.js.map +1 -0
  34. package/dist/subsystem/SymbolInspectionCard.d.ts +1 -1
  35. package/dist/subsystem/SymbolInspectionCard.d.ts.map +1 -1
  36. package/dist/subsystem/SymbolInspectionCard.js +1 -1
  37. package/dist/subsystem/SymbolInspectionCard.js.map +1 -1
  38. package/dist/subsystem/TrailsPanel.d.ts +16 -1
  39. package/dist/subsystem/TrailsPanel.d.ts.map +1 -1
  40. package/dist/subsystem/TrailsPanel.js +71 -9
  41. package/dist/subsystem/TrailsPanel.js.map +1 -1
  42. package/dist/subsystem/graphChrome.d.ts +13 -0
  43. package/dist/subsystem/graphChrome.d.ts.map +1 -1
  44. package/dist/subsystem/graphChrome.js +19 -1
  45. package/dist/subsystem/graphChrome.js.map +1 -1
  46. package/dist/subsystem/model.d.ts +40 -4
  47. package/dist/subsystem/model.d.ts.map +1 -1
  48. package/dist/subsystem/model.js +38 -7
  49. package/dist/subsystem/model.js.map +1 -1
  50. package/dist/subsystem/{declarationRef.d.ts → sourceSpan.d.ts} +1 -1
  51. package/dist/subsystem/sourceSpan.d.ts.map +1 -0
  52. package/dist/subsystem/{declarationRef.js → sourceSpan.js} +1 -1
  53. package/dist/subsystem/sourceSpan.js.map +1 -0
  54. package/package.json +2 -2
  55. package/src/graphify/index.ts +6 -0
  56. package/src/graphify/symbolFocus.test.ts +163 -0
  57. package/src/graphify/symbolFocus.ts +190 -0
  58. package/src/index.ts +9 -2
  59. package/src/pierre/PierreTrailCodeView.tsx +1 -1
  60. package/src/stories/{Subsystem/AggregateGraph → Canvases/Aggregate}/AggregateFrameGraph.stories.tsx +1 -1
  61. package/src/stories/{Subsystem/C4Graph → Canvases/C4}/C4CardGrow.stories.tsx +1 -1
  62. package/src/stories/{Subsystem/C4Graph → Canvases/C4}/C4Component.stories.tsx +1 -1
  63. package/src/stories/{Subsystem/C4Graph → Canvases/C4}/C4Container.stories.tsx +1 -1
  64. package/src/stories/{Subsystem/C4Graph → Canvases/C4}/C4NodeGallery.stories.tsx +1 -1
  65. package/src/stories/{Subsystem/C4Graph → Canvases/C4}/C4ToComponentDrill.stories.tsx +1 -1
  66. package/src/stories/{Subsystem/C4Graph → Canvases/C4}/C4Transition.stories.tsx +1 -1
  67. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/AnimatedProgression.stories.tsx +1 -1
  68. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Appearance.stories.tsx +1 -1
  69. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Basics.stories.tsx +1 -1
  70. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Captures.stories.tsx +1 -1
  71. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Constructs.stories.tsx +2 -2
  72. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/CustomEntities.stories.tsx +1 -1
  73. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Deprecated.stories.tsx +1 -1
  74. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/DetailPanel.stories.tsx +2 -2
  75. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Diagnostics.stories.tsx +1 -1
  76. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/EdgeViews.stories.tsx +1 -1
  77. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/FrameworkStereotype.stories.tsx +1 -1
  78. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/GraphTitle.stories.tsx +1 -1
  79. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Issues.stories.tsx +1 -1
  80. package/src/stories/Canvases/Subsystem/LayoutDirection.stories.tsx +122 -0
  81. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/ModuleBadges.stories.tsx +1 -1
  82. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/ModulePathNesting.stories.tsx +1 -1
  83. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Modules.stories.tsx +1 -1
  84. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/NodeAnatomy.stories.tsx +1 -1
  85. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Packages.stories.tsx +1 -1
  86. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Processes.stories.tsx +1 -1
  87. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Proposed.stories.tsx +1 -1
  88. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/ProposedTrails.stories.tsx +1 -1
  89. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Reorder.stories.tsx +1 -1
  90. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Scenarios.stories.tsx +1 -1
  91. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Spotlights.stories.tsx +1 -1
  92. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/StoreValueType.stories.tsx +1 -1
  93. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/TrailAutoplay.stories.tsx +1 -1
  94. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/Trails.stories.tsx +78 -2
  95. package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/WorkspacePackageFrames.stories.tsx +1 -1
  96. package/src/stories/Canvases/SymbolFocusedView/SymbolFocusedView.stories.tsx +163 -0
  97. package/src/stories/{Subsystem → Components}/AgentsPanel.stories.tsx +1 -1
  98. package/src/stories/{Subsystem/ComponentDeclarationAudit.stories.tsx → Components/ComponentDeclaration/Audit.stories.tsx} +4 -4
  99. package/src/stories/{Subsystem/ComponentDeclarationSymbols.stories.tsx → Components/ComponentDeclaration/Symbols.stories.tsx} +5 -5
  100. package/src/stories/{Subsystem → Components}/ConstructsCatalog.stories.tsx +2 -2
  101. package/src/stories/{Subsystem/Sidebar → Components}/GraphSidebar.stories.tsx +4 -4
  102. package/src/stories/{Subsystem/IssueIcons.stories.tsx → Components/IssueList.stories.tsx} +1 -1
  103. package/src/stories/{Subsystem/StoreValueTypeDeclaration.stories.tsx → Components/StoreValueType.stories.tsx} +1 -1
  104. package/src/subsystem/ComponentDeclaration.tsx +2 -2
  105. package/src/subsystem/ConstructsCatalog.tsx +1 -1
  106. package/src/subsystem/SubsystemComponentGraph.tsx +334 -28
  107. package/src/subsystem/SymbolFocusedView.tsx +80 -0
  108. package/src/subsystem/SymbolInspectionCard.tsx +2 -2
  109. package/src/subsystem/TrailsPanel.tsx +114 -5
  110. package/src/subsystem/graphChrome.tsx +22 -1
  111. package/src/subsystem/layoutDirection.test.ts +26 -0
  112. package/src/subsystem/model.test.ts +17 -0
  113. package/src/subsystem/model.ts +70 -10
  114. package/src/subsystem/{declarationRef.test.ts → sourceSpan.test.ts} +1 -1
  115. package/dist/stories/Subsystem/AggregateGraph/aggregateViewFixture.d.ts.map +0 -1
  116. package/dist/stories/Subsystem/AggregateGraph/aggregateViewFixture.js.map +0 -1
  117. package/dist/stories/Subsystem/ComponentGraph/fixtures.d.ts.map +0 -1
  118. package/dist/stories/Subsystem/ComponentGraph/fixtures.js.map +0 -1
  119. package/dist/subsystem/declarationRef.d.ts.map +0 -1
  120. package/dist/subsystem/declarationRef.js.map +0 -1
  121. package/src/stories/Subsystem/EgoGraph/EgoGraph.stories.tsx +0 -351
  122. /package/dist/stories/{Subsystem/AggregateGraph → Canvases/Aggregate}/aggregateViewFixture.d.ts +0 -0
  123. /package/dist/stories/{Subsystem/AggregateGraph → Canvases/Aggregate}/aggregateViewFixture.js +0 -0
  124. /package/dist/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/fixtures.d.ts +0 -0
  125. /package/dist/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/fixtures.js +0 -0
  126. /package/src/graphify/__fixtures__/{ego-samples.json → symbol-focused-samples.json} +0 -0
  127. /package/src/stories/{Subsystem/AggregateGraph → Canvases/Aggregate}/aggregateViewFixture.ts +0 -0
  128. /package/src/stories/{Subsystem/ComponentGraph → Canvases/Subsystem}/fixtures.ts +0 -0
  129. /package/src/subsystem/{declarationRef.ts → sourceSpan.ts} +0 -0
@@ -6,7 +6,7 @@ import type { SubsystemComponent } from '../../../subsystem/model';
6
6
  import { graphSpecFromSteps } from './fixtures';
7
7
 
8
8
  const meta = {
9
- title: 'Subsystem/ComponentGraph/WorkspacePackages',
9
+ title: 'Canvases/Subsystem/WorkspacePackages',
10
10
  component: SubsystemComponentGraph,
11
11
  parameters: { layout: 'fullscreen' },
12
12
  tags: ['autodocs'],
@@ -0,0 +1,163 @@
1
+ /**
2
+ * Symbol-focused view — one graphify symbol at the center plus its real
3
+ * connections, drawn on the shared subsystem canvas.
4
+ *
5
+ * The center + neighbors come from
6
+ * `graphify/__fixtures__/symbol-focused-samples.json` (extracted from this
7
+ * repo's cached graph). The stories only supply the focal node and its
8
+ * neighborhood; `SymbolFocusedView` projects them onto component-graph inputs
9
+ * and keeps the raw graphify verbs, so relations draw from the separate
10
+ * `GRAPHIFY_RELATION_COLOR` palette — visually distinct from authored
11
+ * subsystem mechanisms.
12
+ */
13
+ import React from 'react';
14
+ import '@xyflow/react/dist/style.css';
15
+ import type { Meta, StoryObj } from '@storybook/react';
16
+ import { ThemeProvider, defaultEditorTheme } from '@principal-ade/industry-theme';
17
+ import { SymbolFocusedView } from '../../../subsystem/SymbolFocusedView';
18
+ import { SubsystemComponentGraph } from '../../../subsystem/SubsystemComponentGraph';
19
+ import type { GraphifyEdge, GraphifyNode } from '../../../graphify';
20
+ import type {
21
+ SubsystemComponent,
22
+ SubsystemComponentConstruct,
23
+ } from '../../../subsystem/model';
24
+ import symbolSamples from '../../../graphify/__fixtures__/symbol-focused-samples.json';
25
+
26
+ const meta = {
27
+ title: 'Canvases/SymbolFocusedView',
28
+ component: SymbolFocusedView,
29
+ parameters: { layout: 'fullscreen' },
30
+ tags: ['autodocs'],
31
+ decorators: [
32
+ (Story) => (
33
+ <ThemeProvider theme={defaultEditorTheme}>
34
+ <Story />
35
+ </ThemeProvider>
36
+ ),
37
+ ],
38
+ } satisfies Meta<typeof SymbolFocusedView>;
39
+
40
+ export default meta;
41
+ type Story = StoryObj<typeof meta>;
42
+
43
+ // ---------------------------------------------------------------------------
44
+ // Fixture shape
45
+ // ---------------------------------------------------------------------------
46
+
47
+ type FixtureCategory = {
48
+ center?: GraphifyNode;
49
+ degree?: number;
50
+ neighborCount?: number;
51
+ neighbors?: GraphifyNode[];
52
+ edges?: GraphifyEdge[];
53
+ };
54
+
55
+ type Category = 'class' | 'function' | 'method' | 'type' | 'module';
56
+
57
+ const categories = symbolSamples.categories as unknown as Record<Category, FixtureCategory>;
58
+ const authoredCategories = symbolSamples.authoredCategories as unknown as Record<
59
+ string,
60
+ { component: SubsystemComponent }
61
+ >;
62
+
63
+ const REPO_PURL = 'pkg:github/principal-ai/subsystem-modeling';
64
+
65
+ /**
66
+ * Constructs graphify's structural inference cannot resolve. Inference reads
67
+ * labels and incident edges only, so a bare type node with no `implements`
68
+ * edge comes back `unknown`; the fixture knows better.
69
+ */
70
+ const CENTER_CONSTRUCT_OVERRIDE: Partial<Record<Category, SubsystemComponentConstruct>> = {
71
+ type: 'interface',
72
+ };
73
+
74
+ function SymbolFocusDemo({
75
+ category,
76
+ orderByLine,
77
+ }: {
78
+ category: Category;
79
+ orderByLine: boolean;
80
+ }) {
81
+ const cat = categories[category];
82
+ if (!cat.center) return null;
83
+ return (
84
+ <div style={{ width: '100%', height: '100vh', display: 'flex', flexDirection: 'column' }}>
85
+ <SymbolFocusedView
86
+ center={cat.center}
87
+ neighbors={cat.neighbors ?? []}
88
+ edges={cat.edges ?? []}
89
+ repoPurl={REPO_PURL}
90
+ centerConstruct={CENTER_CONSTRUCT_OVERRIDE[category]}
91
+ orderByLine={orderByLine}
92
+ showSingletonFrames
93
+ showEdgeLabels
94
+ title={`Symbol focused view — ${category}`}
95
+ description={`graphify center ${cat.center.label} · ${cat.degree ?? 0} edges · ${cat.neighborCount ?? 0} neighbors${orderByLine ? ' · ordered by call-site line' : ''}`}
96
+ />
97
+ </div>
98
+ );
99
+ }
100
+
101
+ /** Everything on disk for the center: node + neighbor nodes + raw edges. */
102
+ function RawDump({ category }: { category: Category }) {
103
+ const cat = categories[category];
104
+ return (
105
+ <pre
106
+ style={{
107
+ margin: 0,
108
+ padding: 12,
109
+ fontSize: 12,
110
+ lineHeight: 1.5,
111
+ fontFamily: 'monospace',
112
+ color: '#ddd',
113
+ background: '#111',
114
+ height: '100vh',
115
+ overflow: 'auto',
116
+ boxSizing: 'border-box',
117
+ }}
118
+ >
119
+ {JSON.stringify({ category, ...cat }, null, 2)}
120
+ </pre>
121
+ );
122
+ }
123
+
124
+ // ---------------------------------------------------------------------------
125
+ // Stories — one per graphify node category
126
+ // ---------------------------------------------------------------------------
127
+
128
+ export const Class: Story = { render: () => <SymbolFocusDemo category="class" orderByLine /> };
129
+ export const Function: Story = { render: () => <SymbolFocusDemo category="function" orderByLine /> };
130
+ export const Method: Story = { render: () => <SymbolFocusDemo category="method" orderByLine /> };
131
+ export const Type: Story = { render: () => <SymbolFocusDemo category="type" orderByLine /> };
132
+ export const Module: Story = { render: () => <SymbolFocusDemo category="module" orderByLine /> };
133
+
134
+ /** Same centers, ELK's default ordering — compare against the line-ordered set. */
135
+ export const MethodReorderOff: Story = {
136
+ render: () => <SymbolFocusDemo category="method" orderByLine={false} />,
137
+ };
138
+
139
+ /** The raw extracted data behind each center — no rendering involved. */
140
+ export const Raw: Story = { render: () => <RawDump category="class" /> };
141
+
142
+ // ---------------------------------------------------------------------------
143
+ // Authored-only constructs (no graphify node) pulled from the model store
144
+ // ---------------------------------------------------------------------------
145
+
146
+ const authoredComponents: SubsystemComponent[] = [
147
+ authoredCategories.store?.component,
148
+ authoredCategories.external?.component,
149
+ authoredCategories.custom_entity?.component,
150
+ ].filter(Boolean) as SubsystemComponent[];
151
+
152
+ /** store / external / custom_entity — authored nodes, no graphify anchor. */
153
+ export const AuthoredConstructs: Story = {
154
+ render: () => (
155
+ <div style={{ width: '100%', height: '100vh' }}>
156
+ <SubsystemComponentGraph
157
+ components={authoredComponents}
158
+ title="Authored-only constructs"
159
+ description="store / external / custom_entity — reused cast from stored subsystem models (no graphify node, no edges)."
160
+ />
161
+ </div>
162
+ ),
163
+ };
@@ -16,7 +16,7 @@ const AGENTS: SubsystemAgent[] = [
16
16
  ];
17
17
 
18
18
  const meta = {
19
- title: 'Subsystem/Agents Panel',
19
+ title: 'Components/AgentsPanel',
20
20
  component: SubsystemAgentsPanel,
21
21
  parameters: { layout: 'fullscreen' },
22
22
  tags: ['autodocs'],
@@ -2,12 +2,12 @@ import React from 'react';
2
2
  import '@xyflow/react/dist/style.css';
3
3
  import type { Meta, StoryObj } from '@storybook/react';
4
4
  import { ThemeProvider, defaultEditorTheme } from '@principal-ade/industry-theme';
5
- import { ComponentDeclaration } from '../../subsystem/ComponentDeclaration';
6
- import type { SubsystemComponent } from '../../subsystem/model';
7
- import type { GraphifyComponentDetail } from '../../graphify';
5
+ import { ComponentDeclaration } from '../../../subsystem/ComponentDeclaration';
6
+ import type { SubsystemComponent } from '../../../subsystem/model';
7
+ import type { GraphifyComponentDetail } from '../../../graphify';
8
8
 
9
9
  const meta = {
10
- title: 'Subsystem/ComponentDeclarationAudit',
10
+ title: 'Components/ComponentDeclaration/Audit',
11
11
  component: ComponentDeclaration,
12
12
  parameters: { layout: 'padded' },
13
13
  tags: ['autodocs'],
@@ -2,13 +2,13 @@ import React, { useState } from 'react';
2
2
  import '@xyflow/react/dist/style.css';
3
3
  import type { Meta, StoryObj } from '@storybook/react';
4
4
  import { ThemeProvider, defaultEditorTheme } from '@principal-ade/industry-theme';
5
- import { ComponentDeclaration } from '../../subsystem/ComponentDeclaration';
6
- import type { SubsystemComponent } from '../../subsystem/model';
7
- import type { GraphifyComponentDetail } from '../../graphify';
8
- import type { SymbolInspection } from '../../subsystem/symbolRefs';
5
+ import { ComponentDeclaration } from '../../../subsystem/ComponentDeclaration';
6
+ import type { SubsystemComponent } from '../../../subsystem/model';
7
+ import type { GraphifyComponentDetail } from '../../../graphify';
8
+ import type { SymbolInspection } from '../../../subsystem/symbolRefs';
9
9
 
10
10
  const meta = {
11
- title: 'Subsystem/ComponentDeclarationSymbols',
11
+ title: 'Components/ComponentDeclaration/Symbols',
12
12
  component: ComponentDeclaration,
13
13
  parameters: { layout: 'padded' },
14
14
  tags: ['autodocs'],
@@ -4,12 +4,12 @@ import { ThemeProvider, defaultEditorTheme } from '@principal-ade/industry-theme
4
4
  import { ConstructsCatalog } from '../../subsystem/ConstructsCatalog';
5
5
  import { PierreFileView, PierreSnippetView } from '../../pierre';
6
6
  import type { SubsystemComponent } from '../../subsystem/model';
7
- import type { SubsystemOpenFileOptions } from '../../subsystem/declarationRef';
7
+ import type { SubsystemOpenFileOptions } from '../../subsystem/sourceSpan';
8
8
  import type { SymbolInspection } from '../../subsystem/symbolRefs';
9
9
  import type { GraphifyComponentDetail } from '../../graphify';
10
10
 
11
11
  const meta = {
12
- title: 'Subsystem/ConstructsCatalog',
12
+ title: 'Components/ConstructsCatalog',
13
13
  component: ConstructsCatalog,
14
14
  parameters: { layout: 'fullscreen' },
15
15
  tags: ['autodocs'],
@@ -1,13 +1,13 @@
1
1
  import React, { useMemo, useState } from 'react';
2
2
  import type { Meta, StoryObj } from '@storybook/react';
3
3
  import { ThemeProvider, defaultEditorTheme } from '@principal-ade/industry-theme';
4
- import { GraphSidebar } from '../../../subsystem/GraphSidebar';
5
- import { TrailsPanel } from '../../../subsystem/TrailsPanel';
4
+ import { GraphSidebar } from '../../subsystem/GraphSidebar';
5
+ import { TrailsPanel } from '../../subsystem/TrailsPanel';
6
6
  import {
7
7
  DRILLDOWN_COMPONENTS,
8
8
  DRILLDOWN_DOC,
9
9
  DRILLDOWN_TRAILS,
10
- } from '../../../subsystem/__fixtures__/c4Drilldown';
10
+ } from '../../subsystem/__fixtures__/c4Drilldown';
11
11
 
12
12
  /**
13
13
  * `GraphSidebar` — the side panel extracted out of `SubsystemComponentGraph`,
@@ -176,7 +176,7 @@ function PanelDemo({ controlled = false }: { controlled?: boolean }) {
176
176
  }
177
177
 
178
178
  const meta = {
179
- title: 'Subsystem/Sidebar/GraphSidebar',
179
+ title: 'Components/GraphSidebar',
180
180
  component: GraphSidebar,
181
181
  parameters: { layout: 'fullscreen' },
182
182
  tags: ['autodocs'],
@@ -11,7 +11,7 @@ import { FileCodeCorner } from 'lucide-react';
11
11
  * No "?" badge (removed by request).
12
12
  */
13
13
  const meta = {
14
- title: 'Subsystem/IssueIcons',
14
+ title: 'Components/IssueList',
15
15
  parameters: { layout: 'fullscreen' },
16
16
  } satisfies Meta;
17
17
 
@@ -17,7 +17,7 @@ import type { SubsystemComponent } from '../../subsystem/model';
17
17
  * storage backing. The value type is panel-only.
18
18
  */
19
19
  const meta = {
20
- title: 'Subsystem/StoreValueTypeDeclaration',
20
+ title: 'Components/StoreValueType',
21
21
  parameters: { layout: 'padded' },
22
22
  tags: ['autodocs'],
23
23
  decorators: [
@@ -16,8 +16,8 @@ import {
16
16
  type SubsystemComponent,
17
17
  type SubsystemDeclTokenKind,
18
18
  } from './model';
19
- import type { SpanFreshness, SubsystemOpenFileOptions } from './declarationRef';
20
- import { parseSourceLocation } from './declarationRef';
19
+ import type { SpanFreshness, SubsystemOpenFileOptions } from './sourceSpan';
20
+ import { parseSourceLocation } from './sourceSpan';
21
21
  import { resolveComponentDeclaration } from './formatDeclaration';
22
22
  import { tokenizeComponent } from './tokenizeComponent';
23
23
  import { componentColor } from '../pierre/constructColors';
@@ -30,7 +30,7 @@ import {
30
30
  formatPurl,
31
31
  type SubsystemComponent,
32
32
  } from './model';
33
- import type { SubsystemOpenFileOptions } from './declarationRef';
33
+ import type { SubsystemOpenFileOptions } from './sourceSpan';
34
34
  import { ComponentDeclaration } from './ComponentDeclaration';
35
35
  import type { ComponentVerificationState } from './ComponentDeclaration';
36
36
  import type { DeclarationSymbolRef, SymbolInspection } from './symbolRefs';