@elevasis/ui 2.31.0 → 2.32.0

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 (144) hide show
  1. package/dist/{CoreAuthKitInner-KSEGSB67.js → CoreAuthKitInner-QC62UHTZ.js} +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/app/index.css +38 -0
  4. package/dist/app/index.d.ts +69 -9
  5. package/dist/app/index.js +7 -6
  6. package/dist/auth/context.js +1 -1
  7. package/dist/auth/index.js +1 -1
  8. package/dist/charts/index.js +5 -6
  9. package/dist/{chunk-XQHZBA65.js → chunk-2RJMVWFJ.js} +1 -6
  10. package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
  11. package/dist/{chunk-HQGF4ATG.js → chunk-4MFNGNHF.js} +118 -141
  12. package/dist/{chunk-ND42LPY4.js → chunk-4QK76KIF.js} +6 -6
  13. package/dist/chunk-5FJJ72HU.js +13 -0
  14. package/dist/chunk-5J4PDX26.js +112 -0
  15. package/dist/{chunk-QDEETKYT.js → chunk-6DWD423K.js} +9 -9
  16. package/dist/{chunk-SHQXMW4F.js → chunk-7KZINJLP.js} +46 -28
  17. package/dist/{chunk-L3BVJWML.js → chunk-EPTHX4VZ.js} +1 -1
  18. package/dist/{chunk-JKSUN5GN.js → chunk-GCOQ3TBG.js} +81 -746
  19. package/dist/{chunk-DZTG5IAC.js → chunk-I2KLQ2HA.js} +1 -7
  20. package/dist/{chunk-L2NVFLXU.js → chunk-IQHU7O5Y.js} +4 -4
  21. package/dist/{chunk-P55BJZZW.js → chunk-IZWTVFJ2.js} +16 -4
  22. package/dist/{chunk-QHEWXU7I.js → chunk-JFL3GRD4.js} +1 -1
  23. package/dist/{chunk-Q6OYNEGR.js → chunk-LLRXA7D7.js} +5 -6
  24. package/dist/{chunk-7KC4P3AU.js → chunk-MOY4VOHF.js} +2 -12
  25. package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
  26. package/dist/{chunk-TOIXUWR6.js → chunk-ND5TDV2J.js} +1 -1
  27. package/dist/{chunk-WF227UBV.js → chunk-QQHOKTJA.js} +4 -4
  28. package/dist/{chunk-T3IPHEYJ.js → chunk-QTI3KC7D.js} +4335 -554
  29. package/dist/chunk-QXCDKE2O.js +486 -0
  30. package/dist/{chunk-3BAPR3KA.js → chunk-RQA2EVN3.js} +5 -15
  31. package/dist/{chunk-HYNYEBHM.js → chunk-RQTWIXJ5.js} +3 -3
  32. package/dist/chunk-T35FWDAB.js +4342 -0
  33. package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
  34. package/dist/{chunk-GRDLB6LM.js → chunk-UROTM5OR.js} +13 -1
  35. package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
  36. package/dist/{chunk-5LJAEZMA.js → chunk-VRNMNB3O.js} +5 -6
  37. package/dist/chunk-WQPX44YM.js +1626 -0
  38. package/dist/{chunk-7HMCB26R.js → chunk-XZGSCABI.js} +1 -1
  39. package/dist/chunk-YLQEVSOR.js +299 -0
  40. package/dist/{chunk-Y4FWCG7Y.js → chunk-ZQOKIGZP.js} +8 -7
  41. package/dist/components/chat/index.js +1 -1
  42. package/dist/components/index.css +38 -0
  43. package/dist/components/index.d.ts +152 -50
  44. package/dist/components/index.js +36 -39
  45. package/dist/components/navigation/index.css +38 -0
  46. package/dist/components/navigation/index.js +4 -3
  47. package/dist/execution/index.d.ts +7 -2
  48. package/dist/execution/index.js +1 -1
  49. package/dist/features/auth/index.css +38 -0
  50. package/dist/features/auth/index.d.ts +91 -14
  51. package/dist/features/auth/index.js +42 -10
  52. package/dist/features/clients/index.css +38 -0
  53. package/dist/features/clients/index.d.ts +1 -1
  54. package/dist/features/clients/index.js +16 -15
  55. package/dist/features/crm/index.css +38 -0
  56. package/dist/features/crm/index.d.ts +80 -18
  57. package/dist/features/crm/index.js +16 -15
  58. package/dist/features/dashboard/index.css +38 -0
  59. package/dist/features/dashboard/index.d.ts +65 -25
  60. package/dist/features/dashboard/index.js +16 -16
  61. package/dist/features/delivery/index.css +38 -0
  62. package/dist/features/delivery/index.d.ts +80 -18
  63. package/dist/features/delivery/index.js +15 -15
  64. package/dist/features/knowledge/index.css +38 -0
  65. package/dist/features/knowledge/index.d.ts +20 -18
  66. package/dist/features/knowledge/index.js +112 -597
  67. package/dist/features/lead-gen/index.css +38 -0
  68. package/dist/features/lead-gen/index.d.ts +45 -43
  69. package/dist/features/lead-gen/index.js +16 -16
  70. package/dist/features/monitoring/index.css +38 -0
  71. package/dist/features/monitoring/index.d.ts +20 -18
  72. package/dist/features/monitoring/index.js +17 -17
  73. package/dist/features/monitoring/requests/index.css +38 -0
  74. package/dist/features/monitoring/requests/index.d.ts +21 -19
  75. package/dist/features/monitoring/requests/index.js +15 -14
  76. package/dist/features/operations/index.css +38 -0
  77. package/dist/features/operations/index.d.ts +930 -66
  78. package/dist/features/operations/index.js +21 -24
  79. package/dist/features/seo/index.d.ts +20 -18
  80. package/dist/features/seo/index.js +2 -2
  81. package/dist/features/settings/index.css +38 -0
  82. package/dist/features/settings/index.d.ts +80 -18
  83. package/dist/features/settings/index.js +16 -15
  84. package/dist/graph/index.js +1 -1
  85. package/dist/hooks/delivery/index.css +38 -0
  86. package/dist/hooks/delivery/index.d.ts +60 -0
  87. package/dist/hooks/delivery/index.js +3 -3
  88. package/dist/hooks/index.css +38 -0
  89. package/dist/hooks/index.d.ts +301 -87
  90. package/dist/hooks/index.js +14 -13
  91. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +143 -33
  92. package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
  93. package/dist/hooks/published.css +38 -0
  94. package/dist/hooks/published.d.ts +301 -87
  95. package/dist/hooks/published.js +14 -13
  96. package/dist/index.css +38 -0
  97. package/dist/index.d.ts +976 -1341
  98. package/dist/index.js +15 -14
  99. package/dist/initialization/index.d.ts +60 -0
  100. package/dist/initialization/index.js +1 -1
  101. package/dist/knowledge/index.d.ts +809 -1160
  102. package/dist/knowledge/index.js +5988 -2140
  103. package/dist/{chunk-O2QOPJI5.js → knowledge-search-index-5KYPO746.js} +96 -852
  104. package/dist/layout/index.js +3 -4
  105. package/dist/organization/index.css +38 -0
  106. package/dist/organization/index.js +1 -1
  107. package/dist/profile/index.d.ts +60 -0
  108. package/dist/profile/index.js +1 -1
  109. package/dist/provider/ElevasisServiceContext.js +1 -1
  110. package/dist/provider/index.css +38 -0
  111. package/dist/provider/index.d.ts +786 -1249
  112. package/dist/provider/index.js +11 -10
  113. package/dist/provider/published.css +38 -0
  114. package/dist/provider/published.d.ts +783 -1246
  115. package/dist/provider/published.js +8 -7
  116. package/dist/router/context.js +1 -1
  117. package/dist/router/index.js +1 -1
  118. package/dist/sse/index.js +1 -1
  119. package/dist/supabase/index.d.ts +117 -0
  120. package/dist/supabase/index.js +1 -1
  121. package/dist/test-utils/index.d.ts +16 -9
  122. package/dist/test-utils/index.js +40 -33
  123. package/dist/test-utils/setup-integration.js +1 -1
  124. package/dist/test-utils/setup.js +1 -1
  125. package/dist/theme/index.js +3 -3
  126. package/dist/theme/presets/index.js +1 -1
  127. package/dist/typeform/index.js +1 -1
  128. package/dist/typeform/schemas.js +1 -1
  129. package/dist/types/index.d.ts +205 -35
  130. package/dist/utils/index.d.ts +65 -25
  131. package/dist/utils/index.js +2 -2
  132. package/dist/vite/index.js +1 -1
  133. package/dist/vite-plugin-knowledge/index.js +1 -1
  134. package/dist/zustand/index.js +1 -1
  135. package/package.json +39 -38
  136. package/src/provider/README.md +5 -5
  137. package/dist/chunk-542WPQU2.js +0 -413
  138. package/dist/chunk-6IXOKUBC.js +0 -347
  139. package/dist/chunk-CQZ3DNQY.js +0 -740
  140. package/dist/chunk-ECNNI3NT.js +0 -6
  141. package/dist/chunk-JDNEWB5F.js +0 -10
  142. package/dist/chunk-MVFCLZSK.js +0 -4337
  143. package/dist/chunk-OAVTMITG.js +0 -13
  144. package/dist/chunk-TVRQ6AQI.js +0 -476
@@ -3,8 +3,8 @@ import { ReactNode } from 'react';
3
3
  import { z } from 'zod';
4
4
 
5
5
  declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
6
- active: "active";
7
6
  deprecated: "deprecated";
7
+ active: "active";
8
8
  archived: "archived";
9
9
  }>;
10
10
  type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
@@ -91,26 +91,61 @@ interface ResourceExecutionSummary {
91
91
  successRate: number;
92
92
  }
93
93
 
94
- declare const SystemEntrySchema: z.ZodObject<{
95
- id: z.ZodString;
96
- title: z.ZodString;
97
- description: z.ZodString;
98
- kind: z.ZodEnum<{
99
- platform: "platform";
100
- product: "product";
101
- operational: "operational";
102
- diagnostic: "diagnostic";
103
- }>;
104
- responsibleRoleId: z.ZodOptional<z.ZodString>;
105
- governedByKnowledge: z.ZodDefault<z.ZodArray<z.ZodString>>;
106
- drivesGoals: z.ZodDefault<z.ZodArray<z.ZodString>>;
107
- status: z.ZodEnum<{
108
- active: "active";
109
- deprecated: "deprecated";
110
- archived: "archived";
111
- }>;
94
+ /**
95
+ * Placeholder discriminated union for ContentNode (Wave 1A).
96
+ * Wave 2A wires concrete (kind, type) pairs via the registry.
97
+ *
98
+ * Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
99
+ * Per L14: every node carries BOTH `kind` and `type`.
100
+ */
101
+ declare const ContentNodeSchema: z.ZodObject<{
102
+ label: z.ZodString;
103
+ description: z.ZodOptional<z.ZodString>;
104
+ order: z.ZodOptional<z.ZodNumber>;
105
+ parentContentId: z.ZodOptional<z.ZodString>;
106
+ kind: z.ZodString;
107
+ type: z.ZodString;
108
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
112
109
  }, z.core.$strip>;
113
- type SystemEntry = z.infer<typeof SystemEntrySchema>;
110
+ type ContentNode = z.infer<typeof ContentNodeSchema>;
111
+
112
+ /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
113
+ interface SystemEntry {
114
+ id: string;
115
+ label?: string;
116
+ title?: string;
117
+ description?: string;
118
+ kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
119
+ parentSystemId?: string;
120
+ ui?: {
121
+ path: string;
122
+ surfaces: string[];
123
+ icon?: string;
124
+ order?: number;
125
+ };
126
+ lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
127
+ responsibleRoleId?: string;
128
+ governedByKnowledge?: string[];
129
+ actions?: {
130
+ actionId: string;
131
+ intent: 'exposes' | 'consumes';
132
+ invocation?: unknown;
133
+ }[];
134
+ policies?: string[];
135
+ drivesGoals?: string[];
136
+ /** @deprecated Use lifecycle. Accepted for one publish cycle. */
137
+ status?: 'active' | 'deprecated' | 'archived';
138
+ path?: string;
139
+ icon?: string;
140
+ color?: string;
141
+ uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
142
+ enabled?: boolean;
143
+ devOnly?: boolean;
144
+ requiresAdmin?: boolean;
145
+ order: number;
146
+ content?: Record<string, ContentNode>;
147
+ subsystems?: Record<string, SystemEntry>;
148
+ }
114
149
 
115
150
  /**
116
151
  * Resource Registry type definitions
@@ -125,7 +160,7 @@ type ResourceStatus = 'dev' | 'prod';
125
160
  * Used as the discriminator field in ResourceDefinition
126
161
  */
127
162
  type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
128
- type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'status'>;
163
+ type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'lifecycle'>;
129
164
  /**
130
165
  * Base interface for ALL platform resources
131
166
  * Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
@@ -151,8 +186,8 @@ interface ResourceDefinition {
151
186
  sessionCapable?: boolean;
152
187
  /** Whether the resource is local (monorepo) or remote (externally deployed) */
153
188
  origin?: 'local' | 'remote';
154
- /** OM System membership, when backed by a Resource descriptor */
155
- systemId?: string;
189
+ /** OM System membership — dot-separated system path (e.g. "sys.lead-gen"), when backed by a Resource descriptor */
190
+ systemPath?: string;
156
191
  /** Display metadata for the owning OM System */
157
192
  system?: ResourceSystemSummary;
158
193
  /** Governance lifecycle status from the OM Resource descriptor */
@@ -164,13 +199,18 @@ interface ResourceDefinition {
164
199
  declare const LinkSchema: z.ZodObject<{
165
200
  nodeId: z.ZodString;
166
201
  kind: z.ZodEnum<{
202
+ links: "links";
203
+ affects: "affects";
204
+ emits: "emits";
167
205
  contains: "contains";
168
206
  references: "references";
169
- exposes: "exposes";
170
207
  maps_to: "maps_to";
171
- "operates-on": "operates-on";
172
208
  uses: "uses";
173
209
  governs: "governs";
210
+ originates_from: "originates_from";
211
+ triggers: "triggers";
212
+ applies_to: "applies_to";
213
+ effects: "effects";
174
214
  }>;
175
215
  }, z.core.$strip>;
176
216
  type Link = z.infer<typeof LinkSchema>;
@@ -1,31 +1,31 @@
1
- export { Dashboard, DashboardOperationsOverview, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser } from '../../chunk-Q6OYNEGR.js';
1
+ export { Dashboard, DashboardOperationsOverview, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser } from '../../chunk-LLRXA7D7.js';
2
2
  import '../../chunk-3MEXPLWT.js';
3
3
  import '../../chunk-LGKLC5MG.js';
4
- import '../../chunk-542WPQU2.js';
5
- import '../../chunk-CW3UNAF2.js';
4
+ import '../../chunk-4DYOXEH6.js';
6
5
  import '../../chunk-RYTEQBAO.js';
7
6
  import '../../chunk-22UVE3RA.js';
8
7
  import '../../chunk-E4WQGJNS.js';
9
8
  import '../../chunk-7M2VOCYN.js';
10
- import '../../chunk-JKSUN5GN.js';
11
- import '../../chunk-6YT4IKJ7.js';
12
- import '../../chunk-7HMCB26R.js';
9
+ import '../../chunk-GCOQ3TBG.js';
10
+ import '../../chunk-VNAZTCHA.js';
11
+ import '../../chunk-XZGSCABI.js';
13
12
  import '../../chunk-BRXELOHC.js';
14
13
  import '../../chunk-3ZMAGTWF.js';
15
- import '../../chunk-OAVTMITG.js';
16
- import '../../chunk-HYNYEBHM.js';
17
- import '../../chunk-3BAPR3KA.js';
14
+ import '../../chunk-5FJJ72HU.js';
15
+ import '../../chunk-RQTWIXJ5.js';
16
+ import '../../chunk-RQA2EVN3.js';
18
17
  import '../../chunk-3FV6HBXS.js';
19
18
  import '../../chunk-WLOQ4IBG.js';
20
- import '../../chunk-QDEETKYT.js';
21
- import '../../chunk-6IXOKUBC.js';
22
- import '../../chunk-L3BVJWML.js';
19
+ import '../../chunk-6DWD423K.js';
20
+ import '../../chunk-EPTHX4VZ.js';
23
21
  import '../../chunk-3KMDHCAR.js';
24
- import '../../chunk-CQZ3DNQY.js';
22
+ import '../../chunk-YLQEVSOR.js';
25
23
  import '../../chunk-SZHARWKU.js';
24
+ import '../../chunk-QXCDKE2O.js';
26
25
  import '../../chunk-TKAYX2SP.js';
27
26
  import '../../chunk-NYBEU5TE.js';
28
- import '../../chunk-TOIXUWR6.js';
27
+ import '../../chunk-T35FWDAB.js';
28
+ import '../../chunk-ND5TDV2J.js';
29
29
  import '../../chunk-2IFYDILW.js';
30
30
  import '../../chunk-Q7DJKLEN.js';
31
31
  import '../../chunk-JA5ECJJB.js';
@@ -34,7 +34,7 @@ import '../../chunk-E565XMTQ.js';
34
34
  import '../../chunk-JBWJ6WHZ.js';
35
35
  import '../../chunk-DT3QYZVU.js';
36
36
  import '../../chunk-RNP5R5I3.js';
37
- import '../../chunk-XQHZBA65.js';
37
+ import '../../chunk-2RJMVWFJ.js';
38
38
  import '../../chunk-KRWALB24.js';
39
39
  import '../../chunk-VKIZUUPM.js';
40
40
  import '../../chunk-533DUEQY.js';
@@ -42,4 +42,4 @@ import '../../chunk-DD3CCMCZ.js';
42
42
  import '../../chunk-2Q2JQSQO.js';
43
43
  import '../../chunk-KJ3QUBNU.js';
44
44
  import '../../chunk-BRJ3QZ4E.js';
45
- import '../../chunk-DZTG5IAC.js';
45
+ import '../../chunk-I2KLQ2HA.js';
@@ -534,6 +534,14 @@
534
534
  .mantine-Accordion-control:hover {
535
535
  background-color: var(--color-surface-hover);
536
536
  }
537
+ [data-mantine-color-scheme] .mantine-Accordion-root .mantine-Accordion-item {
538
+ --item-filled-color: var(--color-surface);
539
+ --item-border-color: var(--color-border);
540
+ }
541
+ [data-mantine-color-scheme] .mantine-Accordion-root[data-variant=separated] .mantine-Accordion-item[data-active] {
542
+ background-color: var(--color-surface);
543
+ border-color: var(--color-border);
544
+ }
537
545
  .mantine-Menu-item:hover:not([data-disabled]) {
538
546
  background-color: var(--color-surface-hover);
539
547
  }
@@ -599,6 +607,36 @@
599
607
  background-color: var(--color-primary);
600
608
  border-color: var(--color-primary);
601
609
  }
610
+ .mantine-Tree-node:focus-visible > [data-value] {
611
+ outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
612
+ outline-offset: 2px;
613
+ }
614
+ .mantine-Tree-label[data-hovered] {
615
+ background-color: var(--color-surface-hover);
616
+ border-color: var(--color-border);
617
+ }
618
+ .mantine-Tree-label[data-selected] {
619
+ background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
620
+ border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
621
+ color: var(--color-primary);
622
+ }
623
+ [data-knowledge-article] pre {
624
+ white-space: pre-wrap;
625
+ word-break: break-word;
626
+ overflow-x: auto;
627
+ max-width: 100%;
628
+ padding: var(--mantine-spacing-sm);
629
+ background-color: var(--color-surface);
630
+ border: 1px solid var(--color-border);
631
+ border-radius: var(--mantine-radius-sm);
632
+ }
633
+ [data-knowledge-article] pre code {
634
+ background: transparent;
635
+ border: none;
636
+ padding: 0;
637
+ white-space: inherit;
638
+ word-break: inherit;
639
+ }
602
640
  .recharts-surface:focus {
603
641
  outline: none;
604
642
  }
@@ -2766,6 +2766,66 @@ type Database = {
2766
2766
  }
2767
2767
  ];
2768
2768
  };
2769
+ user_notes: {
2770
+ Row: {
2771
+ content: string;
2772
+ created_at: string;
2773
+ created_by: string;
2774
+ id: string;
2775
+ metadata: Json;
2776
+ organization_id: string | null;
2777
+ pinned: boolean;
2778
+ priority: string;
2779
+ source: string | null;
2780
+ title: string | null;
2781
+ updated_at: string;
2782
+ user_id: string;
2783
+ };
2784
+ Insert: {
2785
+ content: string;
2786
+ created_at?: string;
2787
+ created_by?: string;
2788
+ id?: string;
2789
+ metadata?: Json;
2790
+ organization_id?: string | null;
2791
+ pinned?: boolean;
2792
+ priority?: string;
2793
+ source?: string | null;
2794
+ title?: string | null;
2795
+ updated_at?: string;
2796
+ user_id: string;
2797
+ };
2798
+ Update: {
2799
+ content?: string;
2800
+ created_at?: string;
2801
+ created_by?: string;
2802
+ id?: string;
2803
+ metadata?: Json;
2804
+ organization_id?: string | null;
2805
+ pinned?: boolean;
2806
+ priority?: string;
2807
+ source?: string | null;
2808
+ title?: string | null;
2809
+ updated_at?: string;
2810
+ user_id?: string;
2811
+ };
2812
+ Relationships: [
2813
+ {
2814
+ foreignKeyName: "user_notes_organization_id_fkey";
2815
+ columns: ["organization_id"];
2816
+ isOneToOne: false;
2817
+ referencedRelation: "organizations";
2818
+ referencedColumns: ["id"];
2819
+ },
2820
+ {
2821
+ foreignKeyName: "user_notes_user_id_fkey";
2822
+ columns: ["user_id"];
2823
+ isOneToOne: false;
2824
+ referencedRelation: "users";
2825
+ referencedColumns: ["id"];
2826
+ }
2827
+ ];
2828
+ };
2769
2829
  users: {
2770
2830
  Row: {
2771
2831
  config: Json;
@@ -3135,35 +3195,37 @@ interface ProjectsSidebarMiddleProps {
3135
3195
  }
3136
3196
  declare const ProjectsSidebarMiddle: ({ currentPath, onNavigate, projectItems, workItems, communicationItems }?: ProjectsSidebarMiddleProps) => react_jsx_runtime.JSX.Element;
3137
3197
 
3138
- type FeatureSidebarComponent = ComponentType;
3139
- type FeatureIconComponent = ComponentType<{
3198
+ type SystemSidebarComponent = ComponentType;
3199
+ type SystemIconComponent = ComponentType<{
3140
3200
  size?: number;
3141
3201
  stroke?: number;
3142
3202
  }>;
3143
- type FeatureSidebarWidthResolver = number | ((context: {
3203
+ type SystemSidebarWidthResolver = number | ((context: {
3144
3204
  currentPath: string;
3145
3205
  }) => number);
3146
- interface FeatureModule {
3147
- /** Unique stable identifier for this feature module. */
3206
+ interface SystemModule {
3207
+ /** Unique stable identifier for this UI system module. */
3148
3208
  key: string;
3149
- /** Organization Model feature id this module presents. */
3150
- featureId: string;
3151
- /** Capability identifiers contributed by this feature module. */
3209
+ /** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
3210
+ systemId?: string;
3211
+ /** Route prefixes owned by navigation-only app surfaces. */
3212
+ routePrefixes?: string[];
3213
+ /** Capability identifiers contributed by this system module. */
3152
3214
  capabilityIds?: string[];
3153
- /** Icon used when this feature node appears in shell navigation. */
3154
- icon?: FeatureIconComponent;
3155
- /** Sidebar component rendered when this feature's subtree route is active. */
3156
- sidebar?: FeatureSidebarComponent;
3215
+ /** Icon used when this system node appears in shell navigation. */
3216
+ icon?: SystemIconComponent;
3217
+ /** Sidebar component rendered when this system's subtree route is active. */
3218
+ sidebar?: SystemSidebarComponent;
3157
3219
  /** Optional shell sidebar width override. Defaults to 250px. */
3158
- sidebarWidth?: FeatureSidebarWidthResolver;
3159
- /** Operations-only bridge connecting this feature to the organization graph node. */
3160
- organizationGraph?: OrganizationGraphFeatureBridge;
3220
+ sidebarWidth?: SystemSidebarWidthResolver;
3221
+ /** Operations-only bridge connecting this system to the organization graph node. */
3222
+ organizationGraph?: OrganizationGraphSystemBridge;
3161
3223
  }
3162
- interface OrganizationGraphFeatureBridge {
3163
- featureId: string;
3224
+ interface OrganizationGraphSystemBridge {
3225
+ systemId?: string;
3164
3226
  }
3165
3227
 
3166
- declare const deliveryManifest: FeatureModule;
3228
+ declare const deliveryManifest: SystemModule;
3167
3229
 
3168
3230
  declare function AllTasksPage(): react_jsx_runtime.JSX.Element;
3169
3231
 
@@ -1,5 +1,4 @@
1
- export { AllTasksPage, Checklist, CreateDeliveryEntityModal, DELIVERY_COMMUNICATION_ITEMS, DELIVERY_PROJECT_ITEMS, DELIVERY_WORK_ITEMS, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, deliveryManifest } from '../../chunk-HQGF4ATG.js';
2
- import '../../chunk-ECNNI3NT.js';
1
+ export { AllTasksPage, Checklist, CreateDeliveryEntityModal, DELIVERY_COMMUNICATION_ITEMS, DELIVERY_PROJECT_ITEMS, DELIVERY_WORK_ITEMS, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, deliveryManifest } from '../../chunk-4MFNGNHF.js';
3
2
  import '../../chunk-VNFR57DF.js';
4
3
  import '../../chunk-X4WBGKJQ.js';
5
4
  import '../../chunk-IIMU5YAJ.js';
@@ -9,25 +8,26 @@ import '../../chunk-TUMSNGTX.js';
9
8
  import '../../chunk-PDHTXPSF.js';
10
9
  import '../../chunk-R66W5UDG.js';
11
10
  import '../../chunk-7M2VOCYN.js';
12
- import '../../chunk-JKSUN5GN.js';
13
- import '../../chunk-6YT4IKJ7.js';
14
- import '../../chunk-7HMCB26R.js';
11
+ import '../../chunk-GCOQ3TBG.js';
12
+ import '../../chunk-VNAZTCHA.js';
13
+ import '../../chunk-XZGSCABI.js';
15
14
  import '../../chunk-BRXELOHC.js';
16
15
  import '../../chunk-3ZMAGTWF.js';
17
- import '../../chunk-OAVTMITG.js';
18
- import '../../chunk-HYNYEBHM.js';
19
- import '../../chunk-3BAPR3KA.js';
16
+ import '../../chunk-5FJJ72HU.js';
17
+ import '../../chunk-RQTWIXJ5.js';
18
+ import '../../chunk-RQA2EVN3.js';
20
19
  import '../../chunk-3FV6HBXS.js';
21
20
  import '../../chunk-WLOQ4IBG.js';
22
- import '../../chunk-QDEETKYT.js';
23
- import '../../chunk-6IXOKUBC.js';
24
- import '../../chunk-L3BVJWML.js';
21
+ import '../../chunk-6DWD423K.js';
22
+ import '../../chunk-EPTHX4VZ.js';
25
23
  import '../../chunk-3KMDHCAR.js';
26
- import '../../chunk-CQZ3DNQY.js';
24
+ import '../../chunk-YLQEVSOR.js';
27
25
  import '../../chunk-SZHARWKU.js';
26
+ import '../../chunk-QXCDKE2O.js';
28
27
  import '../../chunk-TKAYX2SP.js';
29
28
  import '../../chunk-NYBEU5TE.js';
30
- import '../../chunk-TOIXUWR6.js';
29
+ import '../../chunk-T35FWDAB.js';
30
+ import '../../chunk-ND5TDV2J.js';
31
31
  import '../../chunk-2IFYDILW.js';
32
32
  import '../../chunk-Q7DJKLEN.js';
33
33
  import '../../chunk-JA5ECJJB.js';
@@ -36,7 +36,7 @@ import '../../chunk-E565XMTQ.js';
36
36
  import '../../chunk-JBWJ6WHZ.js';
37
37
  import '../../chunk-DT3QYZVU.js';
38
38
  import '../../chunk-RNP5R5I3.js';
39
- import '../../chunk-XQHZBA65.js';
39
+ import '../../chunk-2RJMVWFJ.js';
40
40
  import '../../chunk-KRWALB24.js';
41
41
  import '../../chunk-VKIZUUPM.js';
42
42
  import '../../chunk-533DUEQY.js';
@@ -44,4 +44,4 @@ import '../../chunk-DD3CCMCZ.js';
44
44
  import '../../chunk-2Q2JQSQO.js';
45
45
  import '../../chunk-KJ3QUBNU.js';
46
46
  import '../../chunk-BRJ3QZ4E.js';
47
- import '../../chunk-DZTG5IAC.js';
47
+ import '../../chunk-I2KLQ2HA.js';
@@ -150,6 +150,14 @@
150
150
  .mantine-Accordion-control:hover {
151
151
  background-color: var(--color-surface-hover);
152
152
  }
153
+ [data-mantine-color-scheme] .mantine-Accordion-root .mantine-Accordion-item {
154
+ --item-filled-color: var(--color-surface);
155
+ --item-border-color: var(--color-border);
156
+ }
157
+ [data-mantine-color-scheme] .mantine-Accordion-root[data-variant=separated] .mantine-Accordion-item[data-active] {
158
+ background-color: var(--color-surface);
159
+ border-color: var(--color-border);
160
+ }
153
161
  .mantine-Menu-item:hover:not([data-disabled]) {
154
162
  background-color: var(--color-surface-hover);
155
163
  }
@@ -215,6 +223,36 @@
215
223
  background-color: var(--color-primary);
216
224
  border-color: var(--color-primary);
217
225
  }
226
+ .mantine-Tree-node:focus-visible > [data-value] {
227
+ outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
228
+ outline-offset: 2px;
229
+ }
230
+ .mantine-Tree-label[data-hovered] {
231
+ background-color: var(--color-surface-hover);
232
+ border-color: var(--color-border);
233
+ }
234
+ .mantine-Tree-label[data-selected] {
235
+ background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
236
+ border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
237
+ color: var(--color-primary);
238
+ }
239
+ [data-knowledge-article] pre {
240
+ white-space: pre-wrap;
241
+ word-break: break-word;
242
+ overflow-x: auto;
243
+ max-width: 100%;
244
+ padding: var(--mantine-spacing-sm);
245
+ background-color: var(--color-surface);
246
+ border: 1px solid var(--color-border);
247
+ border-radius: var(--mantine-radius-sm);
248
+ }
249
+ [data-knowledge-article] pre code {
250
+ background: transparent;
251
+ border: none;
252
+ padding: 0;
253
+ white-space: inherit;
254
+ word-break: inherit;
255
+ }
218
256
  .recharts-surface:focus {
219
257
  outline: none;
220
258
  }
@@ -1,33 +1,35 @@
1
1
  import { ComponentType } from 'react';
2
2
 
3
- type FeatureSidebarComponent = ComponentType;
4
- type FeatureIconComponent = ComponentType<{
3
+ type SystemSidebarComponent = ComponentType;
4
+ type SystemIconComponent = ComponentType<{
5
5
  size?: number;
6
6
  stroke?: number;
7
7
  }>;
8
- type FeatureSidebarWidthResolver = number | ((context: {
8
+ type SystemSidebarWidthResolver = number | ((context: {
9
9
  currentPath: string;
10
10
  }) => number);
11
- interface FeatureModule {
12
- /** Unique stable identifier for this feature module. */
11
+ interface SystemModule {
12
+ /** Unique stable identifier for this UI system module. */
13
13
  key: string;
14
- /** Organization Model feature id this module presents. */
15
- featureId: string;
16
- /** Capability identifiers contributed by this feature module. */
14
+ /** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
15
+ systemId?: string;
16
+ /** Route prefixes owned by navigation-only app surfaces. */
17
+ routePrefixes?: string[];
18
+ /** Capability identifiers contributed by this system module. */
17
19
  capabilityIds?: string[];
18
- /** Icon used when this feature node appears in shell navigation. */
19
- icon?: FeatureIconComponent;
20
- /** Sidebar component rendered when this feature's subtree route is active. */
21
- sidebar?: FeatureSidebarComponent;
20
+ /** Icon used when this system node appears in shell navigation. */
21
+ icon?: SystemIconComponent;
22
+ /** Sidebar component rendered when this system's subtree route is active. */
23
+ sidebar?: SystemSidebarComponent;
22
24
  /** Optional shell sidebar width override. Defaults to 250px. */
23
- sidebarWidth?: FeatureSidebarWidthResolver;
24
- /** Operations-only bridge connecting this feature to the organization graph node. */
25
- organizationGraph?: OrganizationGraphFeatureBridge;
25
+ sidebarWidth?: SystemSidebarWidthResolver;
26
+ /** Operations-only bridge connecting this system to the organization graph node. */
27
+ organizationGraph?: OrganizationGraphSystemBridge;
26
28
  }
27
- interface OrganizationGraphFeatureBridge {
28
- featureId: string;
29
+ interface OrganizationGraphSystemBridge {
30
+ systemId?: string;
29
31
  }
30
32
 
31
- declare const knowledgeManifest: FeatureModule;
33
+ declare const knowledgeManifest: SystemModule;
32
34
 
33
35
  export { knowledgeManifest };