braid-ui 1.0.40 → 1.0.42
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/css/braid-ui.css +17 -0
- package/dist/css/braid-ui.min.css +1 -1
- package/dist/index.cjs +1842 -299
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -8
- package/dist/index.d.ts +19 -8
- package/dist/index.js +1841 -302
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -391,13 +391,14 @@ interface CounterpartyDetailViewProps {
|
|
|
391
391
|
currentStatus: string;
|
|
392
392
|
isEditingProfile: boolean;
|
|
393
393
|
mockPaymentMethods: PaymentMethodCardProps[];
|
|
394
|
-
|
|
394
|
+
documents: any[];
|
|
395
395
|
onStatusChange: (newStatus: string) => void;
|
|
396
396
|
onToggleProfileEdit: () => void;
|
|
397
397
|
onAddPaymentMethod: () => void;
|
|
398
398
|
onAddDocument: () => void;
|
|
399
|
+
onEntityClick?: (entityType: string, entityId: string) => void;
|
|
399
400
|
}
|
|
400
|
-
declare const CounterpartyDetailView: ({ counterpartyName, counterpartyType, currentStatus, isEditingProfile, mockPaymentMethods,
|
|
401
|
+
declare const CounterpartyDetailView: ({ counterpartyName, counterpartyType, currentStatus, isEditingProfile, mockPaymentMethods, documents, onStatusChange, onToggleProfileEdit, onAddPaymentMethod, onAddDocument, onEntityClick }: CounterpartyDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
401
402
|
|
|
402
403
|
declare const achTransferSchema: z.ZodObject<{
|
|
403
404
|
basicInfo: z.ZodObject<{
|
|
@@ -748,8 +749,9 @@ interface CounterpartyProfileCardProps {
|
|
|
748
749
|
onToggleEdit?: () => void;
|
|
749
750
|
hideActions?: boolean;
|
|
750
751
|
className?: string;
|
|
752
|
+
onEntityClick?: (entityType: string, entityId: string) => void;
|
|
751
753
|
}
|
|
752
|
-
declare const CounterpartyProfileCard: ({ data, onDataChange, isEditing, onToggleEdit, hideActions, className }: CounterpartyProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
754
|
+
declare const CounterpartyProfileCard: ({ data, onDataChange, isEditing, onToggleEdit, hideActions, className, onEntityClick }: CounterpartyProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
753
755
|
|
|
754
756
|
interface CounterpartyRecordsCardProps {
|
|
755
757
|
isEditing?: boolean;
|
|
@@ -1119,13 +1121,14 @@ interface DetailPageAction {
|
|
|
1119
1121
|
className?: string;
|
|
1120
1122
|
}
|
|
1121
1123
|
interface DetailPageLayoutProps {
|
|
1122
|
-
title: string;
|
|
1123
|
-
description
|
|
1124
|
+
title: string | ReactNode;
|
|
1125
|
+
description?: string;
|
|
1124
1126
|
cards: DetailPageCard[];
|
|
1125
1127
|
actions?: DetailPageAction[];
|
|
1126
1128
|
initialEditingState?: Record<string, boolean>;
|
|
1129
|
+
headerContent?: ReactNode;
|
|
1127
1130
|
}
|
|
1128
|
-
declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
1131
|
+
declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState, headerContent }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
1129
1132
|
|
|
1130
1133
|
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
1131
1134
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1689,7 +1692,15 @@ declare const TransactionDetail: () => react_jsx_runtime.JSX.Element;
|
|
|
1689
1692
|
|
|
1690
1693
|
declare function UIKit(): react_jsx_runtime.JSX.Element;
|
|
1691
1694
|
|
|
1692
|
-
declare function
|
|
1695
|
+
declare function VelocityLimits(): react_jsx_runtime.JSX.Element;
|
|
1696
|
+
|
|
1697
|
+
declare function CreateVelocityLimit(): react_jsx_runtime.JSX.Element;
|
|
1698
|
+
|
|
1699
|
+
declare function VelocityLimitDetail(): react_jsx_runtime.JSX.Element;
|
|
1700
|
+
|
|
1701
|
+
declare function ReconUpload(): react_jsx_runtime.JSX.Element;
|
|
1702
|
+
|
|
1703
|
+
declare function ReconExceptions(): react_jsx_runtime.JSX.Element;
|
|
1693
1704
|
|
|
1694
1705
|
/**
|
|
1695
1706
|
* Generates a CSV string from statement header and transaction data
|
|
@@ -1700,4 +1711,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
|
|
|
1700
1711
|
*/
|
|
1701
1712
|
declare function downloadCSV(content: string, filename: string): void;
|
|
1702
1713
|
|
|
1703
|
-
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AccountDetail, Accounts, AddressForm, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateIndividual, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound,
|
|
1714
|
+
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AccountDetail, Accounts, AddressForm, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateIndividual, CreateVelocityLimit, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ReconExceptions, ReconUpload, ResolveAlertDialog, ResponsiveGrid, ScrollArea, ScrollBar, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Stack, Statement, type StatementHeader, type StatementTransaction, StatementView, StatusBadge, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionDetail, TransactionHistory, TransactionTypeBadge, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -391,13 +391,14 @@ interface CounterpartyDetailViewProps {
|
|
|
391
391
|
currentStatus: string;
|
|
392
392
|
isEditingProfile: boolean;
|
|
393
393
|
mockPaymentMethods: PaymentMethodCardProps[];
|
|
394
|
-
|
|
394
|
+
documents: any[];
|
|
395
395
|
onStatusChange: (newStatus: string) => void;
|
|
396
396
|
onToggleProfileEdit: () => void;
|
|
397
397
|
onAddPaymentMethod: () => void;
|
|
398
398
|
onAddDocument: () => void;
|
|
399
|
+
onEntityClick?: (entityType: string, entityId: string) => void;
|
|
399
400
|
}
|
|
400
|
-
declare const CounterpartyDetailView: ({ counterpartyName, counterpartyType, currentStatus, isEditingProfile, mockPaymentMethods,
|
|
401
|
+
declare const CounterpartyDetailView: ({ counterpartyName, counterpartyType, currentStatus, isEditingProfile, mockPaymentMethods, documents, onStatusChange, onToggleProfileEdit, onAddPaymentMethod, onAddDocument, onEntityClick }: CounterpartyDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
401
402
|
|
|
402
403
|
declare const achTransferSchema: z.ZodObject<{
|
|
403
404
|
basicInfo: z.ZodObject<{
|
|
@@ -748,8 +749,9 @@ interface CounterpartyProfileCardProps {
|
|
|
748
749
|
onToggleEdit?: () => void;
|
|
749
750
|
hideActions?: boolean;
|
|
750
751
|
className?: string;
|
|
752
|
+
onEntityClick?: (entityType: string, entityId: string) => void;
|
|
751
753
|
}
|
|
752
|
-
declare const CounterpartyProfileCard: ({ data, onDataChange, isEditing, onToggleEdit, hideActions, className }: CounterpartyProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
754
|
+
declare const CounterpartyProfileCard: ({ data, onDataChange, isEditing, onToggleEdit, hideActions, className, onEntityClick }: CounterpartyProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
753
755
|
|
|
754
756
|
interface CounterpartyRecordsCardProps {
|
|
755
757
|
isEditing?: boolean;
|
|
@@ -1119,13 +1121,14 @@ interface DetailPageAction {
|
|
|
1119
1121
|
className?: string;
|
|
1120
1122
|
}
|
|
1121
1123
|
interface DetailPageLayoutProps {
|
|
1122
|
-
title: string;
|
|
1123
|
-
description
|
|
1124
|
+
title: string | ReactNode;
|
|
1125
|
+
description?: string;
|
|
1124
1126
|
cards: DetailPageCard[];
|
|
1125
1127
|
actions?: DetailPageAction[];
|
|
1126
1128
|
initialEditingState?: Record<string, boolean>;
|
|
1129
|
+
headerContent?: ReactNode;
|
|
1127
1130
|
}
|
|
1128
|
-
declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
1131
|
+
declare const DetailPageLayout: ({ title, description, cards, actions, initialEditingState, headerContent }: DetailPageLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
1129
1132
|
|
|
1130
1133
|
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
1131
1134
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1689,7 +1692,15 @@ declare const TransactionDetail: () => react_jsx_runtime.JSX.Element;
|
|
|
1689
1692
|
|
|
1690
1693
|
declare function UIKit(): react_jsx_runtime.JSX.Element;
|
|
1691
1694
|
|
|
1692
|
-
declare function
|
|
1695
|
+
declare function VelocityLimits(): react_jsx_runtime.JSX.Element;
|
|
1696
|
+
|
|
1697
|
+
declare function CreateVelocityLimit(): react_jsx_runtime.JSX.Element;
|
|
1698
|
+
|
|
1699
|
+
declare function VelocityLimitDetail(): react_jsx_runtime.JSX.Element;
|
|
1700
|
+
|
|
1701
|
+
declare function ReconUpload(): react_jsx_runtime.JSX.Element;
|
|
1702
|
+
|
|
1703
|
+
declare function ReconExceptions(): react_jsx_runtime.JSX.Element;
|
|
1693
1704
|
|
|
1694
1705
|
/**
|
|
1695
1706
|
* Generates a CSV string from statement header and transaction data
|
|
@@ -1700,4 +1711,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
|
|
|
1700
1711
|
*/
|
|
1701
1712
|
declare function downloadCSV(content: string, filename: string): void;
|
|
1702
1713
|
|
|
1703
|
-
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AccountDetail, Accounts, AddressForm, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateIndividual, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound,
|
|
1714
|
+
export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AccountDetail, Accounts, AddressForm, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateIndividual, CreateVelocityLimit, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ReconExceptions, ReconUpload, ResolveAlertDialog, ResponsiveGrid, ScrollArea, ScrollBar, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Stack, Statement, type StatementHeader, type StatementTransaction, StatementView, StatusBadge, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionDetail, TransactionHistory, TransactionTypeBadge, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
|