@elevasis/ui 2.80.0 → 2.82.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 (91) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +38 -0
  3. package/dist/api/index.js +3 -3
  4. package/dist/app/index.d.ts +32 -16
  5. package/dist/app/index.js +12 -10
  6. package/dist/auth/index.js +4 -4
  7. package/dist/charts/index.js +4 -4
  8. package/dist/{chunk-JDPPV2XI.js → chunk-2S5477QR.js} +17 -227
  9. package/dist/{chunk-U3GB5PDF.js → chunk-3OQVXI4C.js} +2 -2
  10. package/dist/{chunk-BXFZ676L.js → chunk-3PQMF4RP.js} +3 -3
  11. package/dist/{chunk-NGRRAYMO.js → chunk-3RYXJS2F.js} +3 -3
  12. package/dist/{chunk-XEO2UG4J.js → chunk-4C4IFMRP.js} +3 -3
  13. package/dist/{chunk-WOYW24U7.js → chunk-4TEVJRKQ.js} +1 -1
  14. package/dist/{chunk-6IWH757Q.js → chunk-5WNRTDEZ.js} +1 -1
  15. package/dist/{chunk-QQKYBGBX.js → chunk-6NIGO2LD.js} +3 -3
  16. package/dist/{chunk-KGUBFIMQ.js → chunk-7RS2NUC6.js} +10 -2
  17. package/dist/{chunk-NKMBW7WE.js → chunk-AA257QZO.js} +21 -10
  18. package/dist/{chunk-CIGWHY7C.js → chunk-DEZW7QDI.js} +15 -4
  19. package/dist/{chunk-SPH5WW44.js → chunk-ELQLU323.js} +5 -5
  20. package/dist/{chunk-6MWTTBBT.js → chunk-ER2HBKS7.js} +5 -5
  21. package/dist/{chunk-A32PJ2DO.js → chunk-G6VHIXWD.js} +1 -1
  22. package/dist/{chunk-T6AOVZAI.js → chunk-GH3UY2FM.js} +4 -4
  23. package/dist/{chunk-AKANHRQ5.js → chunk-GKTQEVSO.js} +3 -4
  24. package/dist/{chunk-MJIDC25O.js → chunk-HDITVHZT.js} +2 -2
  25. package/dist/{chunk-QSN7BWI3.js → chunk-HOX4CMYY.js} +1 -1
  26. package/dist/{chunk-ZU676PFP.js → chunk-I2JOA54D.js} +1 -1
  27. package/dist/{chunk-MMOR2HQZ.js → chunk-KQTI4RZN.js} +8 -8
  28. package/dist/{chunk-YSFLFD4U.js → chunk-LTRJZOHA.js} +1 -1
  29. package/dist/{chunk-7A25EJ4A.js → chunk-M5CRPFJA.js} +44 -30
  30. package/dist/{chunk-52G4B33T.js → chunk-NQSZ4UGG.js} +2 -2
  31. package/dist/{chunk-VKA4LQ7N.js → chunk-OWAEBFWH.js} +1 -1
  32. package/dist/{chunk-DFGQG32T.js → chunk-PJN6CMWZ.js} +1 -1
  33. package/dist/{chunk-3HMRK3RC.js → chunk-PNCJJE4Z.js} +1 -1
  34. package/dist/{chunk-I5SYS6DT.js → chunk-PTB575MP.js} +5 -5
  35. package/dist/{chunk-3UO2CJTR.js → chunk-PV64XFZY.js} +1 -1
  36. package/dist/{chunk-BG7VCCFB.js → chunk-RKTFFLVV.js} +1 -1
  37. package/dist/{chunk-HVNDBY42.js → chunk-ROC2TFPS.js} +2 -2
  38. package/dist/{chunk-VHK5J55Q.js → chunk-TAGPVICO.js} +8 -8
  39. package/dist/{chunk-W6QOWA3L.js → chunk-TCVMLAMC.js} +2 -2
  40. package/dist/{chunk-JZBMZLD3.js → chunk-VTUVB3J3.js} +1 -1
  41. package/dist/{chunk-Q6HRTWA6.js → chunk-XHJBDW2S.js} +1 -1
  42. package/dist/{chunk-2KXSFLU2.js → chunk-ZG3DARVR.js} +1 -1
  43. package/dist/{chunk-CSEADI37.js → chunk-ZYIGD2QY.js} +3 -3
  44. package/dist/components/index.d.ts +0 -14
  45. package/dist/components/index.js +39 -39
  46. package/dist/components/navigation/index.js +5 -5
  47. package/dist/features/auth/index.d.ts +1 -1
  48. package/dist/features/auth/index.js +6 -6
  49. package/dist/features/clients/index.js +7 -7
  50. package/dist/features/content/index.js +7 -7
  51. package/dist/features/crm/index.d.ts +0 -14
  52. package/dist/features/crm/index.js +10 -10
  53. package/dist/features/dashboard/index.js +6 -6
  54. package/dist/features/delivery/index.d.ts +0 -14
  55. package/dist/features/delivery/index.js +17 -17
  56. package/dist/features/knowledge/index.js +4 -4
  57. package/dist/features/lead-gen/index.d.ts +54 -16
  58. package/dist/features/lead-gen/index.js +11 -11
  59. package/dist/features/monitoring/index.js +8 -8
  60. package/dist/features/monitoring/requests/index.js +6 -6
  61. package/dist/features/operations/index.js +11 -11
  62. package/dist/features/seo/index.d.ts +105 -17
  63. package/dist/features/seo/index.js +7 -7
  64. package/dist/features/settings/index.d.ts +1 -1
  65. package/dist/features/settings/index.js +7 -7
  66. package/dist/hooks/access/index.js +4 -4
  67. package/dist/hooks/delivery/index.d.ts +0 -14
  68. package/dist/hooks/delivery/index.js +3 -3
  69. package/dist/hooks/published.d.ts +2 -16
  70. package/dist/hooks/published.js +15 -15
  71. package/dist/initialization/index.d.ts +1 -1
  72. package/dist/knowledge/index.d.ts +32 -16
  73. package/dist/knowledge/index.js +20 -7185
  74. package/dist/layout/index.js +8 -8
  75. package/dist/profile/index.d.ts +1 -1
  76. package/dist/provider/index.d.ts +39 -16
  77. package/dist/provider/index.js +4 -4
  78. package/dist/provider/published.d.ts +31 -15
  79. package/dist/provider/published.js +4 -4
  80. package/dist/sse/index.d.ts +7 -1
  81. package/dist/sse/index.js +22 -2
  82. package/dist/test-utils/index.d.ts +3 -1
  83. package/dist/test-utils/index.js +29 -6
  84. package/dist/types/index.d.ts +1 -15
  85. package/dist/utils/index.d.ts +9 -9
  86. package/dist/utils/index.js +1 -1
  87. package/dist/vite/index.js +2 -2
  88. package/dist/vite-plugin-knowledge/index.js +1 -1
  89. package/package.json +6 -6
  90. package/src/knowledge/README.md +32 -32
  91. package/dist/knowledge-search-index-YU6V3FTK.js +0 -1539
@@ -1,33 +1,33 @@
1
- # @elevasis/ui/knowledge
2
-
3
- Read-only browser primitives for the Organization Model knowledge graph.
4
-
5
- ## Surface
6
-
7
- | Export | Purpose |
8
- | ---------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
9
- | `KnowledgeBrowser` | Selected-node detail pane. Tree/search now live in the feature sidebar. |
10
- | `KnowledgeTree` | By-feature primary tree with hierarchical features and multi-governance duplication. |
11
- | `KnowledgeNodeList` | Legacy flat list of node summary cards; exported for compatibility. |
12
- | `KnowledgeNodeView` | Single knowledge-node detail view using `NodeDescribeShell` and relationship groups. |
13
- | `KnowledgeSearchBar` | Client-side search over `_generated/knowledge-search-index.json`. |
1
+ # @elevasis/ui/knowledge
2
+
3
+ Read-only browser primitives for the Organization Model knowledge graph.
4
+
5
+ ## Surface
6
+
7
+ | Export | Purpose |
8
+ | ---------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
9
+ | `KnowledgeBrowser` | Selected-node detail pane. Tree/search now live in the feature sidebar. |
10
+ | `KnowledgeTree` | By-feature primary tree with hierarchical features and multi-governance duplication. |
11
+ | `KnowledgeNodeList` | Legacy flat list of node summary cards; exported for compatibility. |
12
+ | `KnowledgeNodeView` | Single knowledge-node detail view using `NodeDescribeShell` and relationship groups. |
13
+ | `KnowledgeSearchBar` | Client-side search built in-memory from the live `knowledgeNodes` prop. |
14
14
  | `KnowledgeNodeDetailRouteView` | Shared `/knowledge/$nodeId` content route view; apps keep TanStack route adapters and navigation wiring local. |
15
- | `KnowledgeRouteIds` helpers | Decode route ids, resolve Knowledge route targets, and derive route labels for app-local breadcrumbs. |
16
- | `KnowledgeSidebarMiddle` | Deprecated legacy sidebar middle section; active sidebar lives under `features/knowledge/sidebar`. |
17
- | `KNOWLEDGE_ITEMS` | Deprecated default sidebar nav items retained for compatibility. |
18
- | `KnowledgeMDXProvider`, `useKnowledgeAllowlist`, `KNOWLEDGE_ALLOWLIST` | MDX runtime allowlist (`Card`, `Cards`, `Step`, `Steps`, `Callout`, `Tab`, `Tabs`). |
19
- | `KNOWLEDGE_BODIES` | Build-time-compiled MDX components keyed by node id. |
20
-
21
- ## Customization tiers
22
-
23
- 1. **Default** — mount `knowledgeManifest` from `@elevasis/ui/features/knowledge`.
24
- 2. **Extend** — pass `extraComponents` to `KnowledgeMDXProvider` or compose around the feature sidebar primitives.
25
- 3. **Replace** — call `@elevasis/core/knowledge` queries directly from project-owned routes.
26
-
27
- ## Codegen
28
-
29
- `KNOWLEDGE_BODIES` and the search index are regenerated by `pnpm scaffold:sync` (or `pnpm knowledge:generate` to run only the knowledge step). Source: `canonicalOrganizationModel.knowledge.nodes` from `@repo/elevasis-core`.
30
-
31
- The Vite plugin at `@elevasis/ui/vite-plugin-knowledge` re-runs codegen on `buildStart` and watches the OM source dir for HMR.
32
-
33
- Phase 1 is read-only. Phase 2 will move bodies into Supabase and ship via `mdx-bundler`.
15
+ | `KnowledgeRouteIds` helpers | Decode route ids, resolve Knowledge route targets, and derive route labels for app-local breadcrumbs. |
16
+ | `KnowledgeSidebarMiddle` | Deprecated legacy sidebar middle section; active sidebar lives under `features/knowledge/sidebar`. |
17
+ | `KNOWLEDGE_ITEMS` | Deprecated default sidebar nav items retained for compatibility. |
18
+ | `KnowledgeMDXProvider`, `useKnowledgeAllowlist`, `KNOWLEDGE_ALLOWLIST` | MDX runtime allowlist (`Card`, `Cards`, `Step`, `Steps`, `Callout`, `Tab`, `Tabs`). |
19
+ | `KnowledgeBodiesMap` | Type for the compiled MDX-component-by-node-id map. `@elevasis/ui` ships this type only, not a corpus. |
20
+
21
+ ## Customization tiers
22
+
23
+ 1. **Default** — mount `knowledgeManifest` from `@elevasis/ui/features/knowledge`.
24
+ 2. **Extend** — pass `extraComponents` to `KnowledgeMDXProvider` or compose around the feature sidebar primitives.
25
+ 3. **Replace** — call `@elevasis/core/knowledge` queries directly from project-owned routes.
26
+
27
+ ## Codegen
28
+
29
+ This package ships the machinery only, not a compiled corpus. Each consumer generates its own `knowledge-bodies.tsx` (matching `KnowledgeBodiesMap`) beside its own Organization Model and hands it to `ElevasisSystemsProvider` as the required `knowledgeBodies` prop. In the monorepo that lives at `packages/elevasis/core/config/knowledge/_generated/`, sourced from `canonicalOrganizationModel.knowledge.nodes`; in an external project it lives at `<project-root>/core/config/knowledge/_generated/`. Regenerate with `pnpm scaffold:sync` (or `pnpm knowledge:generate` for only the knowledge step).
30
+
31
+ The Vite plugin at `@elevasis/ui/vite-plugin-knowledge` re-runs codegen on `buildStart` and watches the OM source dir for HMR.
32
+
33
+ Phase 1 is read-only. Phase 2 will move bodies into Supabase and ship via `mdx-bundler`.