@elevasis/ui 2.36.0 → 2.37.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 (92) hide show
  1. package/dist/api/index.js +4 -3
  2. package/dist/app/index.css +0 -384
  3. package/dist/app/index.d.ts +20 -0
  4. package/dist/app/index.js +21 -21
  5. package/dist/auth/index.d.ts +91 -28
  6. package/dist/auth/index.js +5 -1
  7. package/dist/charts/index.js +9 -3
  8. package/dist/chunk-5CTJ7TW2.js +111 -0
  9. package/dist/chunk-5EYJ2GIN.js +122 -0
  10. package/dist/{chunk-K4UZU3TU.js → chunk-6NREL3KL.js} +1 -1
  11. package/dist/chunk-6ROXVZ3L.js +9 -0
  12. package/dist/{chunk-YYX7OPZQ.js → chunk-73EWE2EW.js} +1 -1
  13. package/dist/{chunk-SIQ3P4OR.js → chunk-7GQFIWP4.js} +8 -756
  14. package/dist/chunk-A7IG36LB.js +215 -0
  15. package/dist/chunk-CLDCYJQT.js +1 -0
  16. package/dist/{chunk-AKW7KISS.js → chunk-CWYQRM5T.js} +2 -38
  17. package/dist/{chunk-LUYVRATI.js → chunk-DA6I5VEY.js} +5 -213
  18. package/dist/chunk-I53EX4VU.js +734 -0
  19. package/dist/chunk-IIMU5YAJ.js +53 -0
  20. package/dist/{chunk-VKIZUUPM.js → chunk-JPVZRZ3X.js} +31 -14
  21. package/dist/chunk-JXVNHVK7.js +79 -0
  22. package/dist/chunk-JZ2WID2G.js +337 -0
  23. package/dist/chunk-LCJQ6OWC.js +348 -0
  24. package/dist/chunk-LNC6PZAE.js +85 -0
  25. package/dist/{chunk-O2Q4VMRN.js → chunk-NWMPBG4U.js} +1 -1
  26. package/dist/chunk-NYNOMAAS.js +422 -0
  27. package/dist/chunk-S3KBYQTI.js +39 -0
  28. package/dist/chunk-S3XR4II4.js +30 -0
  29. package/dist/chunk-SHZT7ULK.js +425 -0
  30. package/dist/{chunk-F6EFC2MJ.js → chunk-T3NI7DOA.js} +291 -2044
  31. package/dist/{chunk-GX6XBRRF.js → chunk-TYRUKGGD.js} +2 -1
  32. package/dist/{chunk-R3VCBZDC.js → chunk-X4WBGKJQ.js} +3 -50
  33. package/dist/{chunk-GEFWMU26.js → chunk-X66MVMZT.js} +1 -9
  34. package/dist/{chunk-57OZ3AEG.js → chunk-Y3JQBSKQ.js} +1 -1
  35. package/dist/components/index.d.ts +29 -42
  36. package/dist/components/index.js +33 -19
  37. package/dist/components/navigation/index.js +3 -31
  38. package/dist/features/auth/index.d.ts +52 -99
  39. package/dist/features/auth/index.js +36 -99
  40. package/dist/features/clients/index.js +33 -19
  41. package/dist/features/crm/index.d.ts +20 -0
  42. package/dist/features/crm/index.js +33 -19
  43. package/dist/features/dashboard/index.js +33 -19
  44. package/dist/features/delivery/index.d.ts +20 -0
  45. package/dist/features/delivery/index.js +33 -19
  46. package/dist/features/knowledge/index.js +6 -30
  47. package/dist/features/lead-gen/index.d.ts +1088 -1
  48. package/dist/features/lead-gen/index.js +33 -19
  49. package/dist/features/monitoring/index.js +33 -19
  50. package/dist/features/monitoring/requests/index.js +33 -19
  51. package/dist/features/notes/index.d.ts +72 -0
  52. package/dist/features/notes/index.js +621 -0
  53. package/dist/features/operations/index.js +33 -19
  54. package/dist/features/right-panel-host/index.d.ts +214 -0
  55. package/dist/features/right-panel-host/index.js +640 -0
  56. package/dist/features/seo/index.js +3 -2
  57. package/dist/features/settings/index.d.ts +23 -35
  58. package/dist/features/settings/index.js +33 -19
  59. package/dist/hooks/access/index.d.ts +90 -0
  60. package/dist/hooks/access/index.js +10 -0
  61. package/dist/hooks/delivery/index.d.ts +20 -0
  62. package/dist/hooks/delivery/index.js +33 -19
  63. package/dist/hooks/index.d.ts +1599 -1651
  64. package/dist/hooks/index.js +33 -19
  65. package/dist/hooks/published.d.ts +1599 -1651
  66. package/dist/hooks/published.js +33 -19
  67. package/dist/hooks/user-notes/index.d.ts +57 -0
  68. package/dist/hooks/user-notes/index.js +3 -0
  69. package/dist/index.d.ts +239 -275
  70. package/dist/index.js +34 -20
  71. package/dist/initialization/index.d.ts +20 -19
  72. package/dist/knowledge/index.js +10 -7
  73. package/dist/layout/index.js +5 -3
  74. package/dist/organization/index.d.ts +0 -19
  75. package/dist/organization/index.js +33 -19
  76. package/dist/profile/index.d.ts +20 -0
  77. package/dist/provider/index.css +0 -384
  78. package/dist/provider/index.d.ts +20 -0
  79. package/dist/provider/index.js +15 -21
  80. package/dist/provider/published.css +0 -523
  81. package/dist/provider/published.d.ts +20 -0
  82. package/dist/provider/published.js +11 -21
  83. package/dist/supabase/index.d.ts +40 -0
  84. package/dist/test-utils/index.d.ts +2 -21
  85. package/dist/test-utils/index.js +5 -18
  86. package/dist/theme/index.js +2 -1
  87. package/dist/types/index.d.ts +70 -59
  88. package/dist/utils/index.js +2 -1
  89. package/package.json +19 -3
  90. package/src/auth/README.md +6 -6
  91. package/dist/components/navigation/index.css +0 -649
  92. package/dist/features/knowledge/index.css +0 -649
@@ -2,11 +2,12 @@ import { server, handlers } from '../chunk-7XKCG5CT.js';
2
2
  export { handlers, server } from '../chunk-7XKCG5CT.js';
3
3
  import { mockWorkOSUser, mockUseAuth, mockUnauthenticatedUser, mockAuthenticatedUser, mockAuthLoading, createMockUseAuth } from '../chunk-DRQPEMJI.js';
4
4
  export { createMockUseAuth, mockAuthLoading, mockAuthenticatedUser, mockUnauthenticatedUser, mockUseAuth, mockWorkOSUser } from '../chunk-DRQPEMJI.js';
5
- import '../chunk-YYX7OPZQ.js';
6
- import { ApiClientProvider } from '../chunk-57OZ3AEG.js';
7
- import '../chunk-GEFWMU26.js';
5
+ import '../chunk-73EWE2EW.js';
6
+ import { ApiClientProvider } from '../chunk-Y3JQBSKQ.js';
7
+ import '../chunk-X66MVMZT.js';
8
8
  import '../chunk-KRWALB24.js';
9
9
  import '../chunk-DD3CCMCZ.js';
10
+ import '../chunk-6ROXVZ3L.js';
10
11
  import { ElevasisServiceProvider } from '../chunk-KJ3QUBNU.js';
11
12
  import { __export, __reExport } from '../chunk-I2KLQ2HA.js';
12
13
  import { MantineProvider } from '@mantine/core';
@@ -30,7 +31,6 @@ __export(test_utils_exports, {
30
31
  handlers: () => handlers,
31
32
  mockAuthLoading: () => mockAuthLoading,
32
33
  mockAuthenticatedUser: () => mockAuthenticatedUser,
33
- mockFeatureAccess: () => mockFeatureAccess,
34
34
  mockUnauthenticatedUser: () => mockUnauthenticatedUser,
35
35
  mockUseAuth: () => mockUseAuth,
36
36
  mockWorkOSUser: () => mockWorkOSUser,
@@ -160,19 +160,6 @@ function createTestWrapper(options) {
160
160
  // src/test-utils/index.ts
161
161
  __reExport(test_utils_exports, render_exports);
162
162
 
163
- // src/test-utils/mocks/feature-access.ts
164
- function mockFeatureAccess({ allowed = true, restrictedBy } = {}) {
165
- const result = {
166
- allowed,
167
- restrictedBy: restrictedBy ?? null
168
- };
169
- return {
170
- isReady: true,
171
- hasFeature: () => allowed,
172
- checkFeature: () => result
173
- };
174
- }
175
-
176
163
  // src/test-utils/orgOsUiRouteContract.ts
177
164
  function normalizeOrgOsRoutePath(path) {
178
165
  const trimmed = path.trim();
@@ -286,4 +273,4 @@ function assertOrgOsUiRouteContract(options) {
286
273
  return result;
287
274
  }
288
275
 
289
- export { TestProviders, assertOrgOsUiRouteContract, collectOrgOsUiRouteContractIssues, createTestQueryClient, createTestWrapper, extractOrgOsRouteTreeFullPaths, formatOrgOsUiRouteContractFailure, formatOrgOsUiRouteContractIssue, mockFeatureAccess, normalizeOrgOsRoutePath, ownsOrgOsSystem, renderWithProviders as render, renderHookWithProviders, renderWithProviders };
276
+ export { TestProviders, assertOrgOsUiRouteContract, collectOrgOsUiRouteContractIssues, createTestQueryClient, createTestWrapper, extractOrgOsRouteTreeFullPaths, formatOrgOsUiRouteContractFailure, formatOrgOsUiRouteContractIssue, normalizeOrgOsRoutePath, ownsOrgOsSystem, renderWithProviders as render, renderHookWithProviders, renderWithProviders };
@@ -1,4 +1,5 @@
1
- export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride, useAvailablePresets, usePresetsContext } from '../chunk-AKW7KISS.js';
1
+ export { useAvailablePresets } from '../chunk-S3KBYQTI.js';
2
+ export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride, usePresetsContext } from '../chunk-CWYQRM5T.js';
2
3
  export { generateShades, getPreset, PRESETS as presets } from '../chunk-WF7CONXF.js';
3
4
  import '../chunk-WLOQ4IBG.js';
4
5
  import '../chunk-I2KLQ2HA.js';
@@ -3735,6 +3735,12 @@ type Database = {
3735
3735
  Args: never;
3736
3736
  Returns: boolean;
3737
3737
  };
3738
+ current_user_shares_org_with: {
3739
+ Args: {
3740
+ other_user_id: string;
3741
+ };
3742
+ Returns: boolean;
3743
+ };
3738
3744
  current_user_supabase_id: {
3739
3745
  Args: never;
3740
3746
  Returns: string;
@@ -3774,6 +3780,20 @@ type Database = {
3774
3780
  Args: never;
3775
3781
  Returns: string;
3776
3782
  };
3783
+ has_org_access: {
3784
+ Args: {
3785
+ action?: string;
3786
+ org_id: string;
3787
+ system_path: string;
3788
+ };
3789
+ Returns: boolean;
3790
+ } | {
3791
+ Args: {
3792
+ action?: string;
3793
+ system_path: string;
3794
+ };
3795
+ Returns: boolean;
3796
+ };
3777
3797
  has_org_permission: {
3778
3798
  Args: {
3779
3799
  org_id: string;
@@ -4416,63 +4436,6 @@ interface SessionTokenUsage {
4416
4436
  contextWindowSize: number;
4417
4437
  }
4418
4438
 
4419
- /**
4420
- * Single source of truth for all active theme preset names.
4421
- *
4422
- * This is the canonical list. To add a preset:
4423
- * 1. Add the name here.
4424
- * 2. Create `packages/ui/src/theme/presets/{name}.ts` exporting `{name}Preset: ThemePreset`.
4425
- * 3. Add to `PRESETS` record in `packages/ui/src/theme/presets/index.ts`.
4426
- * 4. Add to `PresetName` union in `packages/ui/src/theme/presets/types.ts`.
4427
- * 5. Add a card in `apps/command-center/src/features/settings/appearance/components/AppearanceSettings.tsx`.
4428
- *
4429
- * The union type (`ThemePresetName`) and Zod enum (`ThemePresetEnum`) are derived
4430
- * automatically — no other files need updating.
4431
- */
4432
- declare const THEME_PRESETS: readonly ["default", "tactical", "regal", "cyber-volt", "aurora", "rose-gold", "midnight", "titanium", "canopy", "slate", "cyber-strike", "cyber-chrome", "cyber-void", "nirvana", "wave", "synapse", "cortex", "helios", "graphite", "quarry"];
4433
- type ThemePresetName = (typeof THEME_PRESETS)[number];
4434
-
4435
- /**
4436
- * Multi-tenancy configuration types
4437
- *
4438
- * Config is stored in dedicated `config` columns (NOT nested in metadata):
4439
- * - organizations.config: Org-level config (no feature toggles -- all features available by default)
4440
- * - org_memberships.config: Per-user-per-org feature overrides
4441
- * - users.config: User-global config
4442
- */
4443
-
4444
- /**
4445
- * Per-user-per-org config (stored in org_memberships.config)
4446
- * Controls which features a specific member can access within their org.
4447
- * Keys are feature IDs from the organization model (e.g. crm, lead-gen, projects, seo).
4448
- */
4449
- interface MembershipFeatureConfig {
4450
- features?: Record<string, boolean>;
4451
- }
4452
- /**
4453
- * User-global config (stored in users.config)
4454
- * Theme and onboarding are user-specific, NOT org-specific
4455
- */
4456
- interface UserConfig {
4457
- theme?: {
4458
- preset?: ThemePresetName;
4459
- colorScheme?: 'light' | 'dark' | 'auto';
4460
- };
4461
- onboarding?: {
4462
- completed?: boolean;
4463
- completedAt?: string;
4464
- role?: string;
4465
- primaryUseCase?: string[];
4466
- experienceLevel?: string;
4467
- /** Onboarding guide system state (set by checklist/tour system) */
4468
- guides?: {
4469
- completedIds?: string[];
4470
- dismissed?: boolean;
4471
- completedAt?: string;
4472
- };
4473
- };
4474
- }
4475
-
4476
4439
  /**
4477
4440
  * Memberships Domain - Zod Validation Schemas
4478
4441
  *
@@ -4541,7 +4504,6 @@ interface MembershipWithDetails extends OrganizationMembership {
4541
4504
  metadata?: Record<string, unknown>;
4542
4505
  config?: Record<string, unknown>;
4543
4506
  };
4544
- config?: MembershipFeatureConfig;
4545
4507
  }
4546
4508
 
4547
4509
  interface OAuthToken extends Record<string, unknown> {
@@ -5561,6 +5523,55 @@ interface CommandQueueExecutionFailedEvent {
5561
5523
  */
5562
5524
  type CommandQueueSSEEvent = CommandQueueTaskUpdatedEvent | CommandQueueConnectedEvent | CommandQueueExecutionCompletedEvent | CommandQueueExecutionFailedEvent;
5563
5525
 
5526
+ /**
5527
+ * Single source of truth for all active theme preset names.
5528
+ *
5529
+ * This is the canonical list. To add a preset:
5530
+ * 1. Add the name here.
5531
+ * 2. Create `packages/ui/src/theme/presets/{name}.ts` exporting `{name}Preset: ThemePreset`.
5532
+ * 3. Add to `PRESETS` record in `packages/ui/src/theme/presets/index.ts`.
5533
+ * 4. Add to `PresetName` union in `packages/ui/src/theme/presets/types.ts`.
5534
+ * 5. Add a card in `apps/command-center/src/features/settings/appearance/components/AppearanceSettings.tsx`.
5535
+ *
5536
+ * The union type (`ThemePresetName`) and Zod enum (`ThemePresetEnum`) are derived
5537
+ * automatically — no other files need updating.
5538
+ */
5539
+ declare const THEME_PRESETS: readonly ["default", "tactical", "regal", "cyber-volt", "aurora", "rose-gold", "midnight", "titanium", "canopy", "slate", "cyber-strike", "cyber-chrome", "cyber-void", "nirvana", "wave", "synapse", "cortex", "helios", "graphite", "quarry"];
5540
+ type ThemePresetName = (typeof THEME_PRESETS)[number];
5541
+
5542
+ /**
5543
+ * Multi-tenancy configuration types
5544
+ *
5545
+ * Config is stored in dedicated `config` columns (NOT nested in metadata):
5546
+ * - organizations.config: Org-level config (no feature toggles -- all features available by default)
5547
+ * - org_memberships.config: Reserved for non-access membership configuration
5548
+ * - users.config: User-global config
5549
+ */
5550
+
5551
+ /**
5552
+ * User-global config (stored in users.config)
5553
+ * Theme and onboarding are user-specific, NOT org-specific
5554
+ */
5555
+ interface UserConfig {
5556
+ theme?: {
5557
+ preset?: ThemePresetName;
5558
+ colorScheme?: 'light' | 'dark' | 'auto';
5559
+ };
5560
+ onboarding?: {
5561
+ completed?: boolean;
5562
+ completedAt?: string;
5563
+ role?: string;
5564
+ primaryUseCase?: string[];
5565
+ experienceLevel?: string;
5566
+ /** Onboarding guide system state (set by checklist/tour system) */
5567
+ guides?: {
5568
+ completedIds?: string[];
5569
+ dismissed?: boolean;
5570
+ completedAt?: string;
5571
+ };
5572
+ };
5573
+ }
5574
+
5564
5575
  /**
5565
5576
  * Execution Runner Types
5566
5577
  *
@@ -5799,4 +5810,4 @@ declare const WebhookEndpointResponseSchema: z.ZodObject<{
5799
5810
  }, z.core.$strip>;
5800
5811
  type WebhookEndpointResponse = z.infer<typeof WebhookEndpointResponseSchema>;
5801
5812
 
5802
- export type { AIResourceDefinition, APIExecutionDetail, APIExecutionListResponse, APIExecutionSummary, AbsoluteScheduleConfig, AbsoluteScheduleItem, ActionConfig, Activity, ActivitySSEEvent, ActivityStatus, ActivityType, AgentIterationData, AgentMemory, ApiKeyListItem, BusinessImpactMetrics, ChatMessage, CheckpointListResponse, CommandQueueSSEEvent, CommandViewAgent, CommandViewData, CommandViewNode, CommandViewNodeType, CommandViewStatsResponse, CommandViewWorkflow, CostBreakdownMetrics, CostByModelResponse, CostSummaryResponse, CostTrendsResponse, CreateWebhookEndpointRequest, CredentialField, CredentialListItem, CredentialSchema, DashboardMetrics, DealListItem, DealStage, Deployment, DeploymentStatus, ErrorAnalysisMetrics, ErrorDetailFull, ErrorDetailResponse, ErrorTrend, ExecutionHealthMetrics, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogMessage, ExecutionMetricsDetail, ExecutionSSEEvent, ExecutionStatus, ExecutionSummary, FailingResource, HumanCheckpointDefinition, HumanCheckpointStats, KanbanBoardConfig, ListMembershipsParams, MembershipFeatureConfig, MembershipStatus, MembershipWithDetails, MessageEvent, MessageType, ModelConfig, NotificationDTO, NotificationSSEEvent, OAuthProviderConfig, PatchTaskParams, QueueTaskStatus, RecentExecutionsByResourceResponse, RecurringScheduleConfig, RelativeScheduleConfig, RelativeScheduleItem, ResourceCategory, ResourceDefinition, ResourceErrorsResponse, ResourceExecutionSummary, ResourceExecutionsResponse, ResourceHealth, ResourceIdentifier, ResourceLink, ResourceStats, ResourceStatus, ResourceType, ResourcesHealthResponse, SerializedAgentDefinition, SerializedWorkflowDefinition, SessionDTO, SessionTokenUsage, StatsTimeRange, SupabaseUserProfile, Task, TaskSchedule, TaskScheduleConfig, TimeRange, WorkflowNodeVisualizerData as TimelineData, UpdateWebhookEndpointRequest, UserConfig, WebhookEndpoint, WebhookEndpointResponse };
5813
+ export type { AIResourceDefinition, APIExecutionDetail, APIExecutionListResponse, APIExecutionSummary, AbsoluteScheduleConfig, AbsoluteScheduleItem, ActionConfig, Activity, ActivitySSEEvent, ActivityStatus, ActivityType, AgentIterationData, AgentMemory, ApiKeyListItem, BusinessImpactMetrics, ChatMessage, CheckpointListResponse, CommandQueueSSEEvent, CommandViewAgent, CommandViewData, CommandViewNode, CommandViewNodeType, CommandViewStatsResponse, CommandViewWorkflow, CostBreakdownMetrics, CostByModelResponse, CostSummaryResponse, CostTrendsResponse, CreateWebhookEndpointRequest, CredentialField, CredentialListItem, CredentialSchema, DashboardMetrics, DealListItem, DealStage, Deployment, DeploymentStatus, ErrorAnalysisMetrics, ErrorDetailFull, ErrorDetailResponse, ErrorTrend, ExecutionHealthMetrics, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogMessage, ExecutionMetricsDetail, ExecutionSSEEvent, ExecutionStatus, ExecutionSummary, FailingResource, HumanCheckpointDefinition, HumanCheckpointStats, KanbanBoardConfig, ListMembershipsParams, MembershipStatus, MembershipWithDetails, MessageEvent, MessageType, ModelConfig, NotificationDTO, NotificationSSEEvent, OAuthProviderConfig, PatchTaskParams, QueueTaskStatus, RecentExecutionsByResourceResponse, RecurringScheduleConfig, RelativeScheduleConfig, RelativeScheduleItem, ResourceCategory, ResourceDefinition, ResourceErrorsResponse, ResourceExecutionSummary, ResourceExecutionsResponse, ResourceHealth, ResourceIdentifier, ResourceLink, ResourceStats, ResourceStatus, ResourceType, ResourcesHealthResponse, SerializedAgentDefinition, SerializedWorkflowDefinition, SessionDTO, SessionTokenUsage, StatsTimeRange, SupabaseUserProfile, Task, TaskSchedule, TaskScheduleConfig, TimeRange, WorkflowNodeVisualizerData as TimelineData, UpdateWebhookEndpointRequest, UserConfig, WebhookEndpoint, WebhookEndpointResponse };
@@ -1,3 +1,4 @@
1
- export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-GEFWMU26.js';
1
+ export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-X66MVMZT.js';
2
2
  export { ResourceStatusColors } from '../chunk-KRWALB24.js';
3
+ export { GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING } from '../chunk-6ROXVZ3L.js';
3
4
  import '../chunk-I2KLQ2HA.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "2.36.0",
3
+ "version": "2.37.0",
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",
@@ -28,6 +28,10 @@
28
28
  "types": "./dist/hooks/published.d.ts",
29
29
  "import": "./dist/hooks/published.js"
30
30
  },
31
+ "./hooks/access": {
32
+ "types": "./dist/hooks/access/index.d.ts",
33
+ "import": "./dist/hooks/access/index.js"
34
+ },
31
35
  "./sse": {
32
36
  "types": "./dist/sse/index.d.ts",
33
37
  "import": "./dist/sse/index.js"
@@ -92,6 +96,18 @@
92
96
  "types": "./dist/features/settings/index.d.ts",
93
97
  "import": "./dist/features/settings/index.js"
94
98
  },
99
+ "./features/notes": {
100
+ "types": "./dist/features/notes/index.d.ts",
101
+ "import": "./dist/features/notes/index.js"
102
+ },
103
+ "./features/right-panel-host": {
104
+ "types": "./dist/features/right-panel-host/index.d.ts",
105
+ "import": "./dist/features/right-panel-host/index.js"
106
+ },
107
+ "./hooks/user-notes": {
108
+ "types": "./dist/hooks/user-notes/index.d.ts",
109
+ "import": "./dist/hooks/user-notes/index.js"
110
+ },
95
111
  "./types": {
96
112
  "types": "./dist/types/index.d.ts",
97
113
  "import": "./dist/types/index.js"
@@ -254,10 +270,10 @@
254
270
  "vite": "^7.0.0",
255
271
  "vitest": "^3.2.4",
256
272
  "@elevasis/sdk": "1.25.0",
257
- "@repo/typescript-config": "0.0.0",
258
273
  "@repo/eslint-config": "0.0.0",
259
274
  "@repo/elevasis-core": "1.0.0",
260
- "@repo/core": "0.29.0"
275
+ "@repo/core": "0.30.0",
276
+ "@repo/typescript-config": "0.0.0"
261
277
  },
262
278
  "dependencies": {
263
279
  "@dagrejs/dagre": "^1.1.4",
@@ -6,13 +6,13 @@ The auth surface is the published authentication entry point for UI shells.
6
6
 
7
7
  - `AuthProvider`
8
8
  - `useAuthContext`
9
- - `useStableAccessToken`
10
- - `useSessionCheck`
11
- - `ProtectedRoute`
12
- - `AdminGuard`
9
+ - `useStableAccessToken`
10
+ - `useSessionCheck`
11
+ - `ProtectedRoute`
12
+ - `AccessGuard`
13
13
 
14
14
  ## Use When
15
15
 
16
- - You need auth state, access tokens, or session lifecycle checks.
17
- - You need route-level guards for protected or admin-only UI.
16
+ - You need auth state, access tokens, or session lifecycle checks.
17
+ - You need route-level or section-level access guards for protected UI.
18
18