@natoe/colab 0.1.8 → 0.1.10

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.mts CHANGED
@@ -183,6 +183,8 @@ interface CollabPanelProps {
183
183
  * its compact / single-pane layout to return to the conversation list).
184
184
  */
185
185
  onBack?: () => void;
186
+ /** Hide the patient name row in the header — set when a parent already shows it (e.g. CollabPopup title bar) */
187
+ hidePatientName?: boolean;
186
188
  /** Custom class name for the outer container */
187
189
  className?: string;
188
190
  /** Custom inline styles for the outer container */
@@ -192,7 +194,7 @@ interface CollabPanelProps {
192
194
  * Full collaboration panel: patient header + pinned bar + message thread + input.
193
195
  * Supports reply, pin/unpin, and (optionally) seen-by indicators.
194
196
  */
195
- declare function CollabPanel({ orderId, patientData, participantIds, showSeenBy, onBack, className, style, }: CollabPanelProps): react_jsx_runtime.JSX.Element;
197
+ declare function CollabPanel({ orderId, patientData, participantIds, showSeenBy, onBack, hidePatientName, className, style, }: CollabPanelProps): react_jsx_runtime.JSX.Element;
196
198
 
197
199
  interface CollabPopupProps {
198
200
  /** Order ID for this conversation */
@@ -668,9 +670,13 @@ interface PatientHeaderProps {
668
670
  onOpenSettings?: () => void;
669
671
  /** When set, renders a back-arrow button (compact inbox returning to list) */
670
672
  onBack?: () => void;
673
+ /** Suppress the channel name row — use when the name is already shown in a parent title bar */
674
+ hideName?: boolean;
675
+ /** Override the displayed name — use the stored conversation.name to avoid reconstructing from patientData components */
676
+ displayName?: string;
671
677
  className?: string;
672
678
  }
673
- declare function PatientHeader({ patientData, onOpenDicom, onOpenSettings, onBack, className, }: PatientHeaderProps): react_jsx_runtime.JSX.Element;
679
+ declare function PatientHeader({ patientData, onOpenDicom, onOpenSettings, onBack, hideName, displayName, className, }: PatientHeaderProps): react_jsx_runtime.JSX.Element;
674
680
 
675
681
  interface MessageListHandle {
676
682
  /** Scroll to a specific message by ID (used by pin jump-to) */
package/dist/index.d.ts CHANGED
@@ -183,6 +183,8 @@ interface CollabPanelProps {
183
183
  * its compact / single-pane layout to return to the conversation list).
184
184
  */
185
185
  onBack?: () => void;
186
+ /** Hide the patient name row in the header — set when a parent already shows it (e.g. CollabPopup title bar) */
187
+ hidePatientName?: boolean;
186
188
  /** Custom class name for the outer container */
187
189
  className?: string;
188
190
  /** Custom inline styles for the outer container */
@@ -192,7 +194,7 @@ interface CollabPanelProps {
192
194
  * Full collaboration panel: patient header + pinned bar + message thread + input.
193
195
  * Supports reply, pin/unpin, and (optionally) seen-by indicators.
194
196
  */
195
- declare function CollabPanel({ orderId, patientData, participantIds, showSeenBy, onBack, className, style, }: CollabPanelProps): react_jsx_runtime.JSX.Element;
197
+ declare function CollabPanel({ orderId, patientData, participantIds, showSeenBy, onBack, hidePatientName, className, style, }: CollabPanelProps): react_jsx_runtime.JSX.Element;
196
198
 
197
199
  interface CollabPopupProps {
198
200
  /** Order ID for this conversation */
@@ -668,9 +670,13 @@ interface PatientHeaderProps {
668
670
  onOpenSettings?: () => void;
669
671
  /** When set, renders a back-arrow button (compact inbox returning to list) */
670
672
  onBack?: () => void;
673
+ /** Suppress the channel name row — use when the name is already shown in a parent title bar */
674
+ hideName?: boolean;
675
+ /** Override the displayed name — use the stored conversation.name to avoid reconstructing from patientData components */
676
+ displayName?: string;
671
677
  className?: string;
672
678
  }
673
- declare function PatientHeader({ patientData, onOpenDicom, onOpenSettings, onBack, className, }: PatientHeaderProps): react_jsx_runtime.JSX.Element;
679
+ declare function PatientHeader({ patientData, onOpenDicom, onOpenSettings, onBack, hideName, displayName, className, }: PatientHeaderProps): react_jsx_runtime.JSX.Element;
674
680
 
675
681
  interface MessageListHandle {
676
682
  /** Scroll to a specific message by ID (used by pin jump-to) */