@elevasis/ui 2.7.0 → 2.8.1

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 (46) hide show
  1. package/dist/{chunk-T6R3V4GW.js → chunk-4JPW5U5I.js} +8 -9
  2. package/dist/{chunk-V6Z2U6ZV.js → chunk-4PHPENKX.js} +3044 -1753
  3. package/dist/chunk-7M2VOCYN.js +1 -0
  4. package/dist/{chunk-VGBMSGYC.js → chunk-7PDDPNQS.js} +1 -1
  5. package/dist/{chunk-X4HUZINF.js → chunk-AQQYVAFK.js} +23 -15
  6. package/dist/{chunk-YIWLA2B6.js → chunk-C2OFFC7J.js} +0 -1
  7. package/dist/{chunk-Z5RHDI7T.js → chunk-CTWYIRKW.js} +1 -2
  8. package/dist/{chunk-IFH4L6CR.js → chunk-F5QSLYUB.js} +4 -6
  9. package/dist/{chunk-6FDGVZFL.js → chunk-KGEYEUR5.js} +1 -3
  10. package/dist/{chunk-SMJLS23U.js → chunk-NYMKWGKN.js} +18 -1
  11. package/dist/{chunk-SPMKW4VO.js → chunk-OPT74SGF.js} +96 -82
  12. package/dist/{chunk-HRIJZKFL.js → chunk-UE5QQDCR.js} +7 -8
  13. package/dist/{chunk-N6GYYWY3.js → chunk-YCHZ4U5V.js} +10 -2
  14. package/dist/{chunk-SBND6P3L.js → chunk-ZZ35VSNF.js} +1 -3
  15. package/dist/components/index.d.ts +147 -70
  16. package/dist/components/index.js +17 -17
  17. package/dist/features/auth/index.d.ts +3 -3
  18. package/dist/features/crm/index.d.ts +66 -6
  19. package/dist/features/crm/index.js +5 -5
  20. package/dist/features/dashboard/index.js +5 -5
  21. package/dist/features/delivery/index.d.ts +69 -5
  22. package/dist/features/delivery/index.js +5 -5
  23. package/dist/features/lead-gen/index.d.ts +66 -6
  24. package/dist/features/lead-gen/index.js +8 -8
  25. package/dist/features/monitoring/index.d.ts +20 -1
  26. package/dist/features/monitoring/index.js +6 -6
  27. package/dist/features/operations/index.d.ts +20 -1
  28. package/dist/features/operations/index.js +7 -7
  29. package/dist/features/seo/index.d.ts +20 -1
  30. package/dist/features/seo/index.js +1 -1
  31. package/dist/features/settings/index.d.ts +20 -1
  32. package/dist/features/settings/index.js +5 -5
  33. package/dist/hooks/index.d.ts +7735 -7720
  34. package/dist/hooks/index.js +4 -4
  35. package/dist/hooks/published.d.ts +3493 -47
  36. package/dist/hooks/published.js +3 -3
  37. package/dist/index.d.ts +1416 -1375
  38. package/dist/index.js +4 -4
  39. package/dist/layout/index.d.ts +60 -2
  40. package/dist/layout/index.js +1 -1
  41. package/dist/provider/index.d.ts +30 -4
  42. package/dist/provider/index.js +2 -2
  43. package/dist/provider/published.d.ts +20 -2
  44. package/dist/provider/published.js +1 -1
  45. package/package.json +1 -1
  46. package/dist/chunk-TENLM2GN.js +0 -1303
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import './chunk-XCYKC6OZ.js';
2
2
  export { useAvailablePresets } from './chunk-VNUOQQNY.js';
3
3
  export { AGENT_CONSTANTS, CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-XA34RETF.js';
4
- export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-TENLM2GN.js';
5
- export { OperationsService, acquisitionListKeys, calibrationKeys, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateCompany, useCreateContact, useCreateDealNote, useCreateDealTask, useCreateList, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteCompanies, useDeleteContacts, useDeleteDeal, useDeleteExecution, useDeleteList, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useList, useListExecutions, useListProgress, useListSchedules, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateCompany, useUpdateContact, useUpdateList, useUpdateListConfig, useUpdateProject, useUpdateSchedule, useWarningNotification } from './chunk-V6Z2U6ZV.js';
4
+ import './chunk-7M2VOCYN.js';
5
+ export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, calibrationKeys, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, isSessionCapable, milestoneKeys, noteKeys, operationsKeys, projectKeys, scheduleKeys, sessionsKeys, sortData, taskKeys, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject2 as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject2 as useDeleteDeliveryProject, useDeleteTask2 as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useList, useListApiKeys, useListDeployments, useListExecutions, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, useProject, useProjectNotes, useProjects, useReactivateMembership, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject2 as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateMemberConfig, useUpdateMilestone, useUpdateProject, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification } from './chunk-4PHPENKX.js';
6
6
  export { observabilityKeys, useErrorTrends } from './chunk-LXHZYSMQ.js';
7
7
  export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from './chunk-22UVE3RA.js';
8
- export { ElevasisUIProvider } from './chunk-N6GYYWY3.js';
8
+ export { ElevasisUIProvider, createTestFeaturesProvider } from './chunk-YCHZ4U5V.js';
9
9
  export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from './chunk-47YILFON.js';
10
10
  import './chunk-CYXZHBP4.js';
11
- export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, createUseFeatureAccess, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from './chunk-SPMKW4VO.js';
11
+ export { ElevasisCoreProvider, ElevasisFeaturesProvider, FEATURE_KEY_ALIASES, FeatureShell, NotificationProvider, createFeatureAccessHook, createUseFeatureAccess, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from './chunk-OPT74SGF.js';
12
12
  import './chunk-RX4UWZZR.js';
13
13
  import './chunk-Y3D3WFJG.js';
14
14
  import './chunk-3KMDHCAR.js';
@@ -426,6 +426,64 @@ interface SubshellNavItemProps {
426
426
  }
427
427
  declare const SubshellNavItem: React$1.FC<SubshellNavItemProps>;
428
428
 
429
+ /**
430
+ * Shared nav-item shape used by feature sidebar middle components.
431
+ *
432
+ * Matches the subset of {@link SubshellNavItemProps} that the existing
433
+ * hardcoded item arrays use. Consumers import this type alongside the
434
+ * exported item arrays (e.g. `CRM_ITEMS`) to type their custom arrays.
435
+ *
436
+ * @example
437
+ * import { NavItem, CRM_ITEMS } from '@elevasis/ui/features/crm'
438
+ *
439
+ * const customItems: NavItem[] = [
440
+ * ...CRM_ITEMS,
441
+ * { label: 'Reports', to: '/crm/reports', icon: IconFileText, exact: false },
442
+ * ]
443
+ */
444
+ interface NavItem {
445
+ /** Display label for the nav entry. */
446
+ label: string;
447
+ /** Route path the item links to. */
448
+ to: string;
449
+ /** Tabler icon component (or any component accepting `size` + `style`). */
450
+ icon: ComponentType<{
451
+ size?: number;
452
+ style?: React.CSSProperties;
453
+ }>;
454
+ /**
455
+ * When `true`, the item is only active when the path matches exactly.
456
+ * When `false`, it is active for any path that starts with `to`.
457
+ */
458
+ exact: boolean;
459
+ }
460
+
461
+ interface SubshellNavListProps {
462
+ /** Array of nav items to render. */
463
+ items: NavItem[];
464
+ }
465
+ /**
466
+ * Renders a list of {@link NavItem} entries as {@link SubshellNavItem} components,
467
+ * deriving active state from the current router path via {@link useRouterContext}.
468
+ *
469
+ * Use this when composing a custom sidebar middle that needs to render one of the
470
+ * exported item arrays (e.g. `CRM_ITEMS`, `DELIVERY_PROJECT_ITEMS`) inside a
471
+ * custom layout.
472
+ *
473
+ * @example
474
+ * import { SubshellNavList, SubshellSidebarSection } from '@elevasis/ui/layout'
475
+ * import { CRM_ITEMS } from '@elevasis/ui/features/crm'
476
+ *
477
+ * const MyCrmMiddle = () => (
478
+ * <Stack gap={0} style={{ flex: 1, overflowY: 'auto' }}>
479
+ * <Stack gap={0} p="sm">
480
+ * <SubshellNavList items={CRM_ITEMS} />
481
+ * </Stack>
482
+ * </Stack>
483
+ * )
484
+ */
485
+ declare const SubshellNavList: React$1.FC<SubshellNavListProps>;
486
+
429
487
  interface SubshellSidebarSectionProps {
430
488
  /** Icon component to display on the left */
431
489
  icon: ComponentType<{
@@ -475,5 +533,5 @@ declare const TopbarContainer: ({ children }: {
475
533
  children: React.ReactNode;
476
534
  }) => react_jsx_runtime.JSX.Element;
477
535
 
478
- export { AmbientBloomGrid, AppBackground, AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberBackground, CyberParticles, FilmGrain, FloatingMotes, FloatingOrbs, LinksGroup, PageContainer, PerspectiveGrid, RadiantGlow, Sidebar, SidebarContext, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavItem, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarSection, Topbar, TopbarContainer, Vignette, WaveBackground, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, subshellNavItemIconSize, subsidebarWidth, topbarHeight, useSidebar, useSidebarCollapse };
479
- export type { CollapsibleSidebarGroupProps, CyberVariant, LinkItem, LinksGroupProps, SidebarNestedProps, SubshellContainerProps, SubshellContentContainerProps, SubshellNavItemProps, SubshellRightSideContainerProps, SubshellSidebarContainerProps, SubshellSidebarProps, SubshellSidebarSectionProps, TopbarProps, WaveVariant };
536
+ export { AmbientBloomGrid, AppBackground, AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberBackground, CyberParticles, FilmGrain, FloatingMotes, FloatingOrbs, LinksGroup, PageContainer, PerspectiveGrid, RadiantGlow, Sidebar, SidebarContext, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavItem, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarSection, Topbar, TopbarContainer, Vignette, WaveBackground, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, subshellNavItemIconSize, subsidebarWidth, topbarHeight, useSidebar, useSidebarCollapse };
537
+ export type { CollapsibleSidebarGroupProps, CyberVariant, LinkItem, LinksGroupProps, NavItem, SidebarNestedProps, SubshellContainerProps, SubshellContentContainerProps, SubshellNavItemProps, SubshellNavListProps, SubshellRightSideContainerProps, SubshellSidebarContainerProps, SubshellSidebarProps, SubshellSidebarSectionProps, TopbarProps, WaveVariant };
@@ -1,4 +1,4 @@
1
- export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-SMJLS23U.js';
1
+ export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, SubshellNavList, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-NYMKWGKN.js';
2
2
  export { CollapsibleSidebarGroup, SubshellLoader } from '../chunk-IDACMRGQ.js';
3
3
  export { PageContainer } from '../chunk-BZZCNLT6.js';
4
4
  export { SubshellNavItem, SubshellSidebarSection } from '../chunk-27COZ5AH.js';
@@ -538,19 +538,37 @@ interface FeatureNavEntry {
538
538
  }
539
539
  type FeatureSidebarComponent = ComponentType;
540
540
  interface FeatureModule {
541
+ /** Unique stable identifier for this feature (e.g. `'crm'`, `'delivery'`). */
541
542
  key: string;
542
- label?: string;
543
+ /** Feature key used for access-flag gating in the organization model. */
543
544
  accessFeatureKey: OrganizationModelFeatureKey;
545
+ /**
546
+ * Semantic domain identifiers contributed by this feature.
547
+ * Merged with surface-derived domain IDs during resolution.
548
+ */
544
549
  domainIds?: OrganizationModelSemanticDomain['id'][];
550
+ /**
551
+ * Capability identifiers contributed by this feature.
552
+ * Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
553
+ * Not queried at runtime — kept for semantic graph completeness so that
554
+ * capability membership is fully represented in the resolved model even when
555
+ * a surface does not declare it directly.
556
+ */
545
557
  capabilityIds?: string[];
558
+ /** Top-level navigation entry rendered in the app shell when this feature is enabled. */
546
559
  navEntry?: FeatureNavEntry;
560
+ /** Sidebar component rendered when a matching subshell route is active. */
547
561
  sidebar?: FeatureSidebarComponent;
562
+ /** Route path prefixes that activate this feature's sidebar and subshell context. */
548
563
  subshellRoutes?: string[];
564
+ /**
565
+ * Operations-only bridge surface connecting this feature to the organization graph.
566
+ * Ignored by all other features. Only one manifest in the registry should set this.
567
+ */
549
568
  organizationGraph?: OrganizationGraphFeatureBridge;
550
569
  }
551
570
  interface ResolvedFeatureAccess {
552
571
  featureKey: string;
553
- label?: string;
554
572
  enabled: boolean;
555
573
  }
556
574
  interface ResolvedFeatureSemantics {
@@ -693,5 +711,13 @@ interface ElevasisUIProviderProps extends Omit<ElevasisCoreProviderProps, 'theme
693
711
  }
694
712
  declare function ElevasisUIProvider({ theme, children, ...coreProps }: ElevasisUIProviderProps): react_jsx_runtime.JSX.Element;
695
713
 
696
- export { AppearanceProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, NotificationProvider, useAppearance, useElevasisFeatures, useElevasisServices, useNotificationAdapter, useOptionalElevasisFeatures };
697
- export type { ApiKeyConfig, AppShellOverrides, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureModule, FeatureNavEntry, FeatureNavLink, FeatureSidebarComponent, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, PresetName, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellModel, ResolvedShellNavItem, ResolvedShellRouteMatch, ShellNavPlacement, ShellNavSource, ShellRouteMatchStatus, ShellRuntime, WithSchemes };
714
+ interface CreateTestFeaturesProviderOptions {
715
+ organizationModel?: OrganizationModel;
716
+ features?: FeatureModule[];
717
+ }
718
+ declare function createTestFeaturesProvider({ organizationModel, features }?: CreateTestFeaturesProviderOptions): ({ children }: {
719
+ children: ReactNode;
720
+ }) => react_jsx_runtime.JSX.Element;
721
+
722
+ export { AppearanceProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, NotificationProvider, createTestFeaturesProvider, useAppearance, useElevasisFeatures, useElevasisServices, useNotificationAdapter, useOptionalElevasisFeatures };
723
+ export type { ApiKeyConfig, AppShellOverrides, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestFeaturesProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureModule, FeatureNavEntry, FeatureNavLink, FeatureSidebarComponent, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, PresetName, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellModel, ResolvedShellNavItem, ResolvedShellRouteMatch, ShellNavPlacement, ShellNavSource, ShellRouteMatchStatus, ShellRuntime, WithSchemes };
@@ -1,7 +1,7 @@
1
- export { ElevasisUIProvider } from '../chunk-N6GYYWY3.js';
1
+ export { ElevasisUIProvider, createTestFeaturesProvider } from '../chunk-YCHZ4U5V.js';
2
2
  import '../chunk-47YILFON.js';
3
3
  import '../chunk-CYXZHBP4.js';
4
- export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from '../chunk-SPMKW4VO.js';
4
+ export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from '../chunk-OPT74SGF.js';
5
5
  import '../chunk-RX4UWZZR.js';
6
6
  import '../chunk-Y3D3WFJG.js';
7
7
  import '../chunk-3KMDHCAR.js';
@@ -537,19 +537,37 @@ interface FeatureNavEntry {
537
537
  }
538
538
  type FeatureSidebarComponent = ComponentType;
539
539
  interface FeatureModule {
540
+ /** Unique stable identifier for this feature (e.g. `'crm'`, `'delivery'`). */
540
541
  key: string;
541
- label?: string;
542
+ /** Feature key used for access-flag gating in the organization model. */
542
543
  accessFeatureKey: OrganizationModelFeatureKey;
544
+ /**
545
+ * Semantic domain identifiers contributed by this feature.
546
+ * Merged with surface-derived domain IDs during resolution.
547
+ */
543
548
  domainIds?: OrganizationModelSemanticDomain['id'][];
549
+ /**
550
+ * Capability identifiers contributed by this feature.
551
+ * Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
552
+ * Not queried at runtime — kept for semantic graph completeness so that
553
+ * capability membership is fully represented in the resolved model even when
554
+ * a surface does not declare it directly.
555
+ */
544
556
  capabilityIds?: string[];
557
+ /** Top-level navigation entry rendered in the app shell when this feature is enabled. */
545
558
  navEntry?: FeatureNavEntry;
559
+ /** Sidebar component rendered when a matching subshell route is active. */
546
560
  sidebar?: FeatureSidebarComponent;
561
+ /** Route path prefixes that activate this feature's sidebar and subshell context. */
547
562
  subshellRoutes?: string[];
563
+ /**
564
+ * Operations-only bridge surface connecting this feature to the organization graph.
565
+ * Ignored by all other features. Only one manifest in the registry should set this.
566
+ */
548
567
  organizationGraph?: OrganizationGraphFeatureBridge;
549
568
  }
550
569
  interface ResolvedFeatureAccess {
551
570
  featureKey: string;
552
- label?: string;
553
571
  enabled: boolean;
554
572
  }
555
573
  interface ResolvedFeatureSemantics {
@@ -1,4 +1,4 @@
1
- export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from '../chunk-SPMKW4VO.js';
1
+ export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from '../chunk-OPT74SGF.js';
2
2
  import '../chunk-RX4UWZZR.js';
3
3
  import '../chunk-Y3D3WFJG.js';
4
4
  import '../chunk-3KMDHCAR.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "2.7.0",
3
+ "version": "2.8.1",
4
4
  "description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
5
5
  "type": "module",
6
6
  "license": "MIT",