@the-portland-company/shell 0.81.2 → 0.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.
@@ -646,6 +646,8 @@ type NavModeOption = {
646
646
  type NavMode = {
647
647
  label: string;
648
648
  icon?: NavIcon;
649
+ /** The current mode's id ('relationship' | 'campaign' | 'petition') when known. */
650
+ id?: string;
649
651
  /**
650
652
  * Entitled modes for the active organization. With more than one option the
651
653
  * pill renders as a SELECTOR (dropdown); with zero/one it stays the classic
@@ -646,6 +646,8 @@ type NavModeOption = {
646
646
  type NavMode = {
647
647
  label: string;
648
648
  icon?: NavIcon;
649
+ /** The current mode's id ('relationship' | 'campaign' | 'petition') when known. */
650
+ id?: string;
649
651
  /**
650
652
  * Entitled modes for the active organization. With more than one option the
651
653
  * pill renders as a SELECTOR (dropdown); with zero/one it stays the classic
package/dist/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
3
  import { ReactNode, CSSProperties } from 'react';
4
- import { N as NavItem } from './index-_Y7jOKPN.cjs';
5
- export { C as CommsNotification, a as CommsNotificationKind, F as FormColumn, b as NotificationsAdapter, c as NotificationsFeed, d as createCommsNotificationsAdapter, e as emptyNotificationsFeed, n as normalizeNotificationsFeed } from './index-_Y7jOKPN.cjs';
4
+ import { N as NavItem } from './index-C3PFq1hl.cjs';
5
+ export { C as CommsNotification, a as CommsNotificationKind, F as FormColumn, b as NotificationsAdapter, c as NotificationsFeed, d as createCommsNotificationsAdapter, e as emptyNotificationsFeed, n as normalizeNotificationsFeed } from './index-C3PFq1hl.cjs';
6
6
  import { User, Session, SupabaseClient } from '@supabase/supabase-js';
7
7
  import './theme-preference.cjs';
8
8
 
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
3
  import { ReactNode, CSSProperties } from 'react';
4
- import { N as NavItem } from './index-bYu6DxNt.js';
5
- export { C as CommsNotification, a as CommsNotificationKind, F as FormColumn, b as NotificationsAdapter, c as NotificationsFeed, d as createCommsNotificationsAdapter, e as emptyNotificationsFeed, n as normalizeNotificationsFeed } from './index-bYu6DxNt.js';
4
+ import { N as NavItem } from './index-CwTnsR9R.js';
5
+ export { C as CommsNotification, a as CommsNotificationKind, F as FormColumn, b as NotificationsAdapter, c as NotificationsFeed, d as createCommsNotificationsAdapter, e as emptyNotificationsFeed, n as normalizeNotificationsFeed } from './index-CwTnsR9R.js';
6
6
  import { User, Session, SupabaseClient } from '@supabase/supabase-js';
7
7
  import './theme-preference.js';
8
8