@quanticjs/notification-ui 8.0.0 → 8.1.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.
package/dist/index.d.cts CHANGED
@@ -371,6 +371,34 @@ interface NotificationInboxProps {
371
371
  */
372
372
  declare function NotificationInbox({ basePath, pollIntervalMs, appId, className, }: NotificationInboxProps): react_jsx_runtime.JSX.Element;
373
373
 
374
+ interface NotificationCenterProps {
375
+ /**
376
+ * Registered app slug to scope to. Omitted → falls back to the ambient
377
+ * `NotificationProvider` config (omit there too, on a shell/portal, for the
378
+ * unified inbox).
379
+ */
380
+ appId?: string;
381
+ basePath?: string;
382
+ pollIntervalMs?: number;
383
+ className?: string;
384
+ /** Class applied to the popover panel. */
385
+ panelClassName?: string;
386
+ }
387
+ /**
388
+ * Drop-in notification bell with an integrated inbox popover — badge **and**
389
+ * dropdown in one component (the all-in-one shape consumer shells expect). Wrap
390
+ * the app in `<NotificationProvider appId=…>` (or pass `appId` here) so it scopes
391
+ * to the registered app; omit `appId` on a shell/portal for the unified inbox.
392
+ *
393
+ * Focus moves into the panel on open and returns to the trigger on close (the
394
+ * focus trap keys off `open`, not the exit hook's `mounted`, so keyboard users
395
+ * are never trapped during the exit animation).
396
+ *
397
+ * For a bare badge button you compose yourself (custom dropdown), use
398
+ * `NotificationBell` + `NotificationInbox` directly instead.
399
+ */
400
+ declare function NotificationCenter({ appId, basePath, pollIntervalMs, className, panelClassName, }: NotificationCenterProps): react_jsx_runtime.JSX.Element;
401
+
374
402
  interface DeliveryAnalyticsPageProps {
375
403
  basePath?: string;
376
404
  organizationId?: string;
@@ -1051,4 +1079,4 @@ interface ApplicationRegistryPanelProps {
1051
1079
  */
1052
1080
  declare function ApplicationRegistryPanel({ basePath, className, }: ApplicationRegistryPanelProps): react_jsx_runtime.JSX.Element;
1053
1081
 
1054
- export { type ApiKey, type ApiKeyCreateResponse, ApiKeyManager, type ApiKeyManagerProps, type Application, ApplicationRegistryPanel, type ApplicationRegistryPanelProps, BroadcastComposer, type BroadcastComposerProps, type BroadcastCreatedResult, type BroadcastDetail, BroadcastList, type BroadcastListItem, type BroadcastListPage, type BroadcastListProps, BroadcastProgress, type BroadcastProgressProps, type Cap, CatalogEditor, type CatalogEditorProps, type CatalogEntry, type DailyDeliveryStats, type DeliveryAnalyticsFilters, DeliveryAnalyticsPage, type DeliveryAnalyticsPageProps, type DeliveryFunnel, DeliveryLogExplorer, type DeliveryLogExplorerPage, type DeliveryLogExplorerProps, type DeliveryLogExplorerRow, type DeliveryLogPage, type DeliveryLogRow, DeliveryLogViewer, type DeliveryLogViewerProps, type DeliveryTypeBreakdown, type DigestPeriod, DlqConsole, type DlqConsoleProps, type DlqMessage, type DlqMessageDetail, type DlqPage, type DlqStatusFilter, type FallbackEntry, FallbackReportPanel, type FallbackReportPanelProps, FrequencyCapTable, type FrequencyCapTableProps, FunnelStats, type FunnelStatsProps, type MissingEntry, MissingTranslationsPanel, type MissingTranslationsPanelProps, NotificationBell, type NotificationBellProps, type NotificationChannel, type NotificationConfig, type NotificationFeedItem, NotificationInbox, type NotificationInboxProps, type NotificationPreferenceDto, NotificationPreferences, type NotificationPreferencesProps, NotificationProvider, type NotificationProviderProps, NotificationRealtimeProvider, type NotificationRealtimeProviderProps, type OperationsChannelStat, OperationsOverview, type OperationsOverviewProps, type OperationsOverviewResponse, type PaginatedFeed, type PreviewResult, type QuietHours, QuietHoursForm, type QuietHoursFormProps, type RealtimeStatus, RecipientAdminPanel, type RecipientAdminPanelProps, type RecipientPage, type RecipientSummary, type Segment, SegmentBuilder, type SegmentBuilderProps, type SegmentForm, SegmentList, type SegmentListProps, type SegmentType, type Suppression, type SuppressionChannel, SuppressionManager, type SuppressionManagerProps, type SuppressionPage, TemplateEditor, type TemplateEditorFields, type TemplateEditorProps, TemplateList, type TemplateListItem, type TemplateListProps, TemplatePreviewPane, type TemplatePreviewPaneProps, type TemplateStatus, TemplateStatusBadge, type TemplateVersion, TemplateVersionHistory, type TemplateVersionHistoryProps, type TemplateVersionResponse, type TenantConfig, TenantConfigForm, type TenantConfigFormProps, type TrackingConfig, TrackingConfigForm, type TrackingConfigFormProps, TrendChart, type TrendChartProps, TypeTable, type TypeTableProps, type UseBroadcastsOptions, type UseDeliveryAnalyticsOptions, type UseDeliveryTypesOptions, type UseFunnelStatsOptions, type UseNotificationFeedOptions, type UseUnreadCountOptions, type WebhookDelivery, type WebhookEndpoint, WebhookEndpointManager, type WebhookEndpointManagerProps, useBroadcasts, useDeliveryAnalytics, useDeliveryTypes, useFunnelStats, useNotificationConfig, useNotificationFeed, useRealtimeContext, useUnreadCount };
1082
+ export { type ApiKey, type ApiKeyCreateResponse, ApiKeyManager, type ApiKeyManagerProps, type Application, ApplicationRegistryPanel, type ApplicationRegistryPanelProps, BroadcastComposer, type BroadcastComposerProps, type BroadcastCreatedResult, type BroadcastDetail, BroadcastList, type BroadcastListItem, type BroadcastListPage, type BroadcastListProps, BroadcastProgress, type BroadcastProgressProps, type Cap, CatalogEditor, type CatalogEditorProps, type CatalogEntry, type DailyDeliveryStats, type DeliveryAnalyticsFilters, DeliveryAnalyticsPage, type DeliveryAnalyticsPageProps, type DeliveryFunnel, DeliveryLogExplorer, type DeliveryLogExplorerPage, type DeliveryLogExplorerProps, type DeliveryLogExplorerRow, type DeliveryLogPage, type DeliveryLogRow, DeliveryLogViewer, type DeliveryLogViewerProps, type DeliveryTypeBreakdown, type DigestPeriod, DlqConsole, type DlqConsoleProps, type DlqMessage, type DlqMessageDetail, type DlqPage, type DlqStatusFilter, type FallbackEntry, FallbackReportPanel, type FallbackReportPanelProps, FrequencyCapTable, type FrequencyCapTableProps, FunnelStats, type FunnelStatsProps, type MissingEntry, MissingTranslationsPanel, type MissingTranslationsPanelProps, NotificationBell, type NotificationBellProps, NotificationCenter, type NotificationCenterProps, type NotificationChannel, type NotificationConfig, type NotificationFeedItem, NotificationInbox, type NotificationInboxProps, type NotificationPreferenceDto, NotificationPreferences, type NotificationPreferencesProps, NotificationProvider, type NotificationProviderProps, NotificationRealtimeProvider, type NotificationRealtimeProviderProps, type OperationsChannelStat, OperationsOverview, type OperationsOverviewProps, type OperationsOverviewResponse, type PaginatedFeed, type PreviewResult, type QuietHours, QuietHoursForm, type QuietHoursFormProps, type RealtimeStatus, RecipientAdminPanel, type RecipientAdminPanelProps, type RecipientPage, type RecipientSummary, type Segment, SegmentBuilder, type SegmentBuilderProps, type SegmentForm, SegmentList, type SegmentListProps, type SegmentType, type Suppression, type SuppressionChannel, SuppressionManager, type SuppressionManagerProps, type SuppressionPage, TemplateEditor, type TemplateEditorFields, type TemplateEditorProps, TemplateList, type TemplateListItem, type TemplateListProps, TemplatePreviewPane, type TemplatePreviewPaneProps, type TemplateStatus, TemplateStatusBadge, type TemplateVersion, TemplateVersionHistory, type TemplateVersionHistoryProps, type TemplateVersionResponse, type TenantConfig, TenantConfigForm, type TenantConfigFormProps, type TrackingConfig, TrackingConfigForm, type TrackingConfigFormProps, TrendChart, type TrendChartProps, TypeTable, type TypeTableProps, type UseBroadcastsOptions, type UseDeliveryAnalyticsOptions, type UseDeliveryTypesOptions, type UseFunnelStatsOptions, type UseNotificationFeedOptions, type UseUnreadCountOptions, type WebhookDelivery, type WebhookEndpoint, WebhookEndpointManager, type WebhookEndpointManagerProps, useBroadcasts, useDeliveryAnalytics, useDeliveryTypes, useFunnelStats, useNotificationConfig, useNotificationFeed, useRealtimeContext, useUnreadCount };
package/dist/index.d.ts CHANGED
@@ -371,6 +371,34 @@ interface NotificationInboxProps {
371
371
  */
372
372
  declare function NotificationInbox({ basePath, pollIntervalMs, appId, className, }: NotificationInboxProps): react_jsx_runtime.JSX.Element;
373
373
 
374
+ interface NotificationCenterProps {
375
+ /**
376
+ * Registered app slug to scope to. Omitted → falls back to the ambient
377
+ * `NotificationProvider` config (omit there too, on a shell/portal, for the
378
+ * unified inbox).
379
+ */
380
+ appId?: string;
381
+ basePath?: string;
382
+ pollIntervalMs?: number;
383
+ className?: string;
384
+ /** Class applied to the popover panel. */
385
+ panelClassName?: string;
386
+ }
387
+ /**
388
+ * Drop-in notification bell with an integrated inbox popover — badge **and**
389
+ * dropdown in one component (the all-in-one shape consumer shells expect). Wrap
390
+ * the app in `<NotificationProvider appId=…>` (or pass `appId` here) so it scopes
391
+ * to the registered app; omit `appId` on a shell/portal for the unified inbox.
392
+ *
393
+ * Focus moves into the panel on open and returns to the trigger on close (the
394
+ * focus trap keys off `open`, not the exit hook's `mounted`, so keyboard users
395
+ * are never trapped during the exit animation).
396
+ *
397
+ * For a bare badge button you compose yourself (custom dropdown), use
398
+ * `NotificationBell` + `NotificationInbox` directly instead.
399
+ */
400
+ declare function NotificationCenter({ appId, basePath, pollIntervalMs, className, panelClassName, }: NotificationCenterProps): react_jsx_runtime.JSX.Element;
401
+
374
402
  interface DeliveryAnalyticsPageProps {
375
403
  basePath?: string;
376
404
  organizationId?: string;
@@ -1051,4 +1079,4 @@ interface ApplicationRegistryPanelProps {
1051
1079
  */
1052
1080
  declare function ApplicationRegistryPanel({ basePath, className, }: ApplicationRegistryPanelProps): react_jsx_runtime.JSX.Element;
1053
1081
 
1054
- export { type ApiKey, type ApiKeyCreateResponse, ApiKeyManager, type ApiKeyManagerProps, type Application, ApplicationRegistryPanel, type ApplicationRegistryPanelProps, BroadcastComposer, type BroadcastComposerProps, type BroadcastCreatedResult, type BroadcastDetail, BroadcastList, type BroadcastListItem, type BroadcastListPage, type BroadcastListProps, BroadcastProgress, type BroadcastProgressProps, type Cap, CatalogEditor, type CatalogEditorProps, type CatalogEntry, type DailyDeliveryStats, type DeliveryAnalyticsFilters, DeliveryAnalyticsPage, type DeliveryAnalyticsPageProps, type DeliveryFunnel, DeliveryLogExplorer, type DeliveryLogExplorerPage, type DeliveryLogExplorerProps, type DeliveryLogExplorerRow, type DeliveryLogPage, type DeliveryLogRow, DeliveryLogViewer, type DeliveryLogViewerProps, type DeliveryTypeBreakdown, type DigestPeriod, DlqConsole, type DlqConsoleProps, type DlqMessage, type DlqMessageDetail, type DlqPage, type DlqStatusFilter, type FallbackEntry, FallbackReportPanel, type FallbackReportPanelProps, FrequencyCapTable, type FrequencyCapTableProps, FunnelStats, type FunnelStatsProps, type MissingEntry, MissingTranslationsPanel, type MissingTranslationsPanelProps, NotificationBell, type NotificationBellProps, type NotificationChannel, type NotificationConfig, type NotificationFeedItem, NotificationInbox, type NotificationInboxProps, type NotificationPreferenceDto, NotificationPreferences, type NotificationPreferencesProps, NotificationProvider, type NotificationProviderProps, NotificationRealtimeProvider, type NotificationRealtimeProviderProps, type OperationsChannelStat, OperationsOverview, type OperationsOverviewProps, type OperationsOverviewResponse, type PaginatedFeed, type PreviewResult, type QuietHours, QuietHoursForm, type QuietHoursFormProps, type RealtimeStatus, RecipientAdminPanel, type RecipientAdminPanelProps, type RecipientPage, type RecipientSummary, type Segment, SegmentBuilder, type SegmentBuilderProps, type SegmentForm, SegmentList, type SegmentListProps, type SegmentType, type Suppression, type SuppressionChannel, SuppressionManager, type SuppressionManagerProps, type SuppressionPage, TemplateEditor, type TemplateEditorFields, type TemplateEditorProps, TemplateList, type TemplateListItem, type TemplateListProps, TemplatePreviewPane, type TemplatePreviewPaneProps, type TemplateStatus, TemplateStatusBadge, type TemplateVersion, TemplateVersionHistory, type TemplateVersionHistoryProps, type TemplateVersionResponse, type TenantConfig, TenantConfigForm, type TenantConfigFormProps, type TrackingConfig, TrackingConfigForm, type TrackingConfigFormProps, TrendChart, type TrendChartProps, TypeTable, type TypeTableProps, type UseBroadcastsOptions, type UseDeliveryAnalyticsOptions, type UseDeliveryTypesOptions, type UseFunnelStatsOptions, type UseNotificationFeedOptions, type UseUnreadCountOptions, type WebhookDelivery, type WebhookEndpoint, WebhookEndpointManager, type WebhookEndpointManagerProps, useBroadcasts, useDeliveryAnalytics, useDeliveryTypes, useFunnelStats, useNotificationConfig, useNotificationFeed, useRealtimeContext, useUnreadCount };
1082
+ export { type ApiKey, type ApiKeyCreateResponse, ApiKeyManager, type ApiKeyManagerProps, type Application, ApplicationRegistryPanel, type ApplicationRegistryPanelProps, BroadcastComposer, type BroadcastComposerProps, type BroadcastCreatedResult, type BroadcastDetail, BroadcastList, type BroadcastListItem, type BroadcastListPage, type BroadcastListProps, BroadcastProgress, type BroadcastProgressProps, type Cap, CatalogEditor, type CatalogEditorProps, type CatalogEntry, type DailyDeliveryStats, type DeliveryAnalyticsFilters, DeliveryAnalyticsPage, type DeliveryAnalyticsPageProps, type DeliveryFunnel, DeliveryLogExplorer, type DeliveryLogExplorerPage, type DeliveryLogExplorerProps, type DeliveryLogExplorerRow, type DeliveryLogPage, type DeliveryLogRow, DeliveryLogViewer, type DeliveryLogViewerProps, type DeliveryTypeBreakdown, type DigestPeriod, DlqConsole, type DlqConsoleProps, type DlqMessage, type DlqMessageDetail, type DlqPage, type DlqStatusFilter, type FallbackEntry, FallbackReportPanel, type FallbackReportPanelProps, FrequencyCapTable, type FrequencyCapTableProps, FunnelStats, type FunnelStatsProps, type MissingEntry, MissingTranslationsPanel, type MissingTranslationsPanelProps, NotificationBell, type NotificationBellProps, NotificationCenter, type NotificationCenterProps, type NotificationChannel, type NotificationConfig, type NotificationFeedItem, NotificationInbox, type NotificationInboxProps, type NotificationPreferenceDto, NotificationPreferences, type NotificationPreferencesProps, NotificationProvider, type NotificationProviderProps, NotificationRealtimeProvider, type NotificationRealtimeProviderProps, type OperationsChannelStat, OperationsOverview, type OperationsOverviewProps, type OperationsOverviewResponse, type PaginatedFeed, type PreviewResult, type QuietHours, QuietHoursForm, type QuietHoursFormProps, type RealtimeStatus, RecipientAdminPanel, type RecipientAdminPanelProps, type RecipientPage, type RecipientSummary, type Segment, SegmentBuilder, type SegmentBuilderProps, type SegmentForm, SegmentList, type SegmentListProps, type SegmentType, type Suppression, type SuppressionChannel, SuppressionManager, type SuppressionManagerProps, type SuppressionPage, TemplateEditor, type TemplateEditorFields, type TemplateEditorProps, TemplateList, type TemplateListItem, type TemplateListProps, TemplatePreviewPane, type TemplatePreviewPaneProps, type TemplateStatus, TemplateStatusBadge, type TemplateVersion, TemplateVersionHistory, type TemplateVersionHistoryProps, type TemplateVersionResponse, type TenantConfig, TenantConfigForm, type TenantConfigFormProps, type TrackingConfig, TrackingConfigForm, type TrackingConfigFormProps, TrendChart, type TrendChartProps, TypeTable, type TypeTableProps, type UseBroadcastsOptions, type UseDeliveryAnalyticsOptions, type UseDeliveryTypesOptions, type UseFunnelStatsOptions, type UseNotificationFeedOptions, type UseUnreadCountOptions, type WebhookDelivery, type WebhookEndpoint, WebhookEndpointManager, type WebhookEndpointManagerProps, useBroadcasts, useDeliveryAnalytics, useDeliveryTypes, useFunnelStats, useNotificationConfig, useNotificationFeed, useRealtimeContext, useUnreadCount };