braid-ui 1.0.163 → 1.0.165

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
@@ -304,8 +304,9 @@ interface VelocityLimitDetailViewProps {
304
304
  onDeactivate: () => void;
305
305
  getStatusVariant: (status: VelocityLimit["status"]) => "success" | "warning" | "destructive" | "secondary";
306
306
  getActionVariant: (action: VelocityLimit["action"]) => "secondary";
307
+ onAssociatedEntityClick?: (entityType: string, entityId: string) => void;
307
308
  }
308
- declare function VelocityLimitDetailView({ limit, onBack, onDeactivate, getStatusVariant, getActionVariant, }: VelocityLimitDetailViewProps): react_jsx_runtime.JSX.Element;
309
+ declare function VelocityLimitDetailView({ limit, onBack, onDeactivate, getStatusVariant, getActionVariant, onAssociatedEntityClick, }: VelocityLimitDetailViewProps): react_jsx_runtime.JSX.Element;
309
310
 
310
311
  type LimitType = "" | "receiver_name_mismatch" | "round_number" | "transaction" | "prohibited_entity";
311
312
  interface SelectOption$7 {
@@ -694,6 +695,7 @@ declare const intermediaryFISchema: z.ZodObject<{
694
695
  type IntermediaryFI$1 = z.infer<typeof intermediaryFISchema>;
695
696
 
696
697
  interface CounterpartyDetailViewProps {
698
+ counterpartyId: string;
697
699
  counterpartyName: string;
698
700
  counterpartyType: string;
699
701
  currentStatus: string;
@@ -714,7 +716,7 @@ interface CounterpartyDetailViewProps {
714
716
  onNavigateToOFAC?: (ofacCheckId?: string) => void;
715
717
  timeline: CounterpartyTimelineEvent[];
716
718
  }
717
- declare const CounterpartyDetailView: ({ counterpartyName, counterpartyType, currentStatus, isEditingProfile, counterpartyProfileData, achPaymentMethod, wirePaymentMethod, onStatusChange, onToggleProfileEdit, onProfileDataChange, onACHSave, onACHDelete, onWireSave, onWireDelete, onEntityClick, onNavigateToTransactions, latestOFAC, onNavigateToOFAC, timeline, }: CounterpartyDetailViewProps) => react_jsx_runtime.JSX.Element;
719
+ declare const CounterpartyDetailView: ({ counterpartyId, counterpartyName, counterpartyType, currentStatus, isEditingProfile, counterpartyProfileData, achPaymentMethod, wirePaymentMethod, onStatusChange, onToggleProfileEdit, onProfileDataChange, onACHSave, onACHDelete, onWireSave, onWireDelete, onEntityClick, onNavigateToTransactions, latestOFAC, onNavigateToOFAC, timeline, }: CounterpartyDetailViewProps) => react_jsx_runtime.JSX.Element;
718
720
 
719
721
  declare const inputVariants: (props?: {
720
722
  variant?: "default" | "success" | "disabled" | "error" | "readonly";
@@ -1907,17 +1909,6 @@ interface ACHNOCViewProps {
1907
1909
  }
1908
1910
  declare function ACHNOCView({ title, table, jsonOpen, onJsonOpenChange, jsonData, changeOpen, onChangeOpenChange, changeData, changeFields, isChanging, onChangeSubmit, }: ACHNOCViewProps): react_jsx_runtime.JSX.Element;
1909
1911
 
1910
- interface IncomingWireTransactionValues {
1911
- originatorBankName: string;
1912
- originatorAccountNumber: string;
1913
- originatorRoutingNumber: string;
1914
- originatorToBeneficiaryInfo: string;
1915
- beneficiaryAccountNumber: string;
1916
- amount: string;
1917
- imad: string;
1918
- omad: string;
1919
- }
1920
-
1921
1912
  interface WireFileTypeOption {
1922
1913
  value: string;
1923
1914
  label: string;
@@ -1935,10 +1926,6 @@ interface WireProcessingViewProps {
1935
1926
  table: ReactNode;
1936
1927
  uploadDialogOpen: boolean;
1937
1928
  onUploadDialogOpenChange: (open: boolean) => void;
1938
- incomingTransactionOpen: boolean;
1939
- onIncomingTransactionOpenChange: (open: boolean) => void;
1940
- isProcessingIncoming: boolean;
1941
- onProcessIncoming: (values: IncomingWireTransactionValues) => void;
1942
1929
  fileType: string | null;
1943
1930
  selectedFile: File | null;
1944
1931
  isUploading: boolean;
@@ -1953,7 +1940,7 @@ interface WireProcessingViewProps {
1953
1940
  onUpload: () => void;
1954
1941
  onCancelUpload: () => void;
1955
1942
  }
1956
- declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table, uploadDialogOpen, onUploadDialogOpenChange, incomingTransactionOpen, onIncomingTransactionOpenChange, isProcessingIncoming, onProcessIncoming, fileType, selectedFile, isUploading, fileTypeOptions, acceptedFileTypes, acceptedFileTypesLabel, fileInputRef, onFileTypeChange, onFileChange, onRemoveFile, onSelectFileClick, onUpload, onCancelUpload, }: WireProcessingViewProps): react_jsx_runtime.JSX.Element;
1943
+ declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table, uploadDialogOpen, onUploadDialogOpenChange, fileType, selectedFile, isUploading, fileTypeOptions, acceptedFileTypes, acceptedFileTypesLabel, fileInputRef, onFileTypeChange, onFileChange, onRemoveFile, onSelectFileClick, onUpload, onCancelUpload, }: WireProcessingViewProps): react_jsx_runtime.JSX.Element;
1957
1944
 
1958
1945
  interface WireProcessingDetailItem {
1959
1946
  id: number;
@@ -2173,8 +2160,9 @@ interface DetailPageLayoutProps {
2173
2160
  actions?: DetailPageAction[];
2174
2161
  initialEditingState?: Record<string, boolean>;
2175
2162
  headerContent?: ReactNode;
2163
+ maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
2176
2164
  }
2177
- declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState, headerContent }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
2165
+ declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState, headerContent, maxWidth, }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
2178
2166
 
2179
2167
  declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
2180
2168
  declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
package/dist/index.d.ts CHANGED
@@ -304,8 +304,9 @@ interface VelocityLimitDetailViewProps {
304
304
  onDeactivate: () => void;
305
305
  getStatusVariant: (status: VelocityLimit["status"]) => "success" | "warning" | "destructive" | "secondary";
306
306
  getActionVariant: (action: VelocityLimit["action"]) => "secondary";
307
+ onAssociatedEntityClick?: (entityType: string, entityId: string) => void;
307
308
  }
308
- declare function VelocityLimitDetailView({ limit, onBack, onDeactivate, getStatusVariant, getActionVariant, }: VelocityLimitDetailViewProps): react_jsx_runtime.JSX.Element;
309
+ declare function VelocityLimitDetailView({ limit, onBack, onDeactivate, getStatusVariant, getActionVariant, onAssociatedEntityClick, }: VelocityLimitDetailViewProps): react_jsx_runtime.JSX.Element;
309
310
 
310
311
  type LimitType = "" | "receiver_name_mismatch" | "round_number" | "transaction" | "prohibited_entity";
311
312
  interface SelectOption$7 {
@@ -694,6 +695,7 @@ declare const intermediaryFISchema: z.ZodObject<{
694
695
  type IntermediaryFI$1 = z.infer<typeof intermediaryFISchema>;
695
696
 
696
697
  interface CounterpartyDetailViewProps {
698
+ counterpartyId: string;
697
699
  counterpartyName: string;
698
700
  counterpartyType: string;
699
701
  currentStatus: string;
@@ -714,7 +716,7 @@ interface CounterpartyDetailViewProps {
714
716
  onNavigateToOFAC?: (ofacCheckId?: string) => void;
715
717
  timeline: CounterpartyTimelineEvent[];
716
718
  }
717
- declare const CounterpartyDetailView: ({ counterpartyName, counterpartyType, currentStatus, isEditingProfile, counterpartyProfileData, achPaymentMethod, wirePaymentMethod, onStatusChange, onToggleProfileEdit, onProfileDataChange, onACHSave, onACHDelete, onWireSave, onWireDelete, onEntityClick, onNavigateToTransactions, latestOFAC, onNavigateToOFAC, timeline, }: CounterpartyDetailViewProps) => react_jsx_runtime.JSX.Element;
719
+ declare const CounterpartyDetailView: ({ counterpartyId, counterpartyName, counterpartyType, currentStatus, isEditingProfile, counterpartyProfileData, achPaymentMethod, wirePaymentMethod, onStatusChange, onToggleProfileEdit, onProfileDataChange, onACHSave, onACHDelete, onWireSave, onWireDelete, onEntityClick, onNavigateToTransactions, latestOFAC, onNavigateToOFAC, timeline, }: CounterpartyDetailViewProps) => react_jsx_runtime.JSX.Element;
718
720
 
719
721
  declare const inputVariants: (props?: {
720
722
  variant?: "default" | "success" | "disabled" | "error" | "readonly";
@@ -1907,17 +1909,6 @@ interface ACHNOCViewProps {
1907
1909
  }
1908
1910
  declare function ACHNOCView({ title, table, jsonOpen, onJsonOpenChange, jsonData, changeOpen, onChangeOpenChange, changeData, changeFields, isChanging, onChangeSubmit, }: ACHNOCViewProps): react_jsx_runtime.JSX.Element;
1909
1911
 
1910
- interface IncomingWireTransactionValues {
1911
- originatorBankName: string;
1912
- originatorAccountNumber: string;
1913
- originatorRoutingNumber: string;
1914
- originatorToBeneficiaryInfo: string;
1915
- beneficiaryAccountNumber: string;
1916
- amount: string;
1917
- imad: string;
1918
- omad: string;
1919
- }
1920
-
1921
1912
  interface WireFileTypeOption {
1922
1913
  value: string;
1923
1914
  label: string;
@@ -1935,10 +1926,6 @@ interface WireProcessingViewProps {
1935
1926
  table: ReactNode;
1936
1927
  uploadDialogOpen: boolean;
1937
1928
  onUploadDialogOpenChange: (open: boolean) => void;
1938
- incomingTransactionOpen: boolean;
1939
- onIncomingTransactionOpenChange: (open: boolean) => void;
1940
- isProcessingIncoming: boolean;
1941
- onProcessIncoming: (values: IncomingWireTransactionValues) => void;
1942
1929
  fileType: string | null;
1943
1930
  selectedFile: File | null;
1944
1931
  isUploading: boolean;
@@ -1953,7 +1940,7 @@ interface WireProcessingViewProps {
1953
1940
  onUpload: () => void;
1954
1941
  onCancelUpload: () => void;
1955
1942
  }
1956
- declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table, uploadDialogOpen, onUploadDialogOpenChange, incomingTransactionOpen, onIncomingTransactionOpenChange, isProcessingIncoming, onProcessIncoming, fileType, selectedFile, isUploading, fileTypeOptions, acceptedFileTypes, acceptedFileTypesLabel, fileInputRef, onFileTypeChange, onFileChange, onRemoveFile, onSelectFileClick, onUpload, onCancelUpload, }: WireProcessingViewProps): react_jsx_runtime.JSX.Element;
1943
+ declare function WireProcessingView({ title, cardTitle, uploadButtonLabel, table, uploadDialogOpen, onUploadDialogOpenChange, fileType, selectedFile, isUploading, fileTypeOptions, acceptedFileTypes, acceptedFileTypesLabel, fileInputRef, onFileTypeChange, onFileChange, onRemoveFile, onSelectFileClick, onUpload, onCancelUpload, }: WireProcessingViewProps): react_jsx_runtime.JSX.Element;
1957
1944
 
1958
1945
  interface WireProcessingDetailItem {
1959
1946
  id: number;
@@ -2173,8 +2160,9 @@ interface DetailPageLayoutProps {
2173
2160
  actions?: DetailPageAction[];
2174
2161
  initialEditingState?: Record<string, boolean>;
2175
2162
  headerContent?: ReactNode;
2163
+ maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
2176
2164
  }
2177
- declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState, headerContent }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
2165
+ declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState, headerContent, maxWidth, }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
2178
2166
 
2179
2167
  declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
2180
2168
  declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;