braid-ui 1.0.1 → 1.0.3

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
@@ -309,9 +309,14 @@ declare const businessProfileSchema: z.ZodObject<{
309
309
  dbaName: z.ZodOptional<z.ZodString>;
310
310
  businessType: z.ZodString;
311
311
  taxId: z.ZodString;
312
- businessPhone: z.ZodString;
313
- businessEmail: z.ZodString;
312
+ formationDate: z.ZodOptional<z.ZodString>;
313
+ idType: z.ZodOptional<z.ZodString>;
314
+ incorporationState: z.ZodOptional<z.ZodString>;
314
315
  website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
316
+ contactFirstName: z.ZodOptional<z.ZodString>;
317
+ contactLastName: z.ZodOptional<z.ZodString>;
318
+ contactEmail: z.ZodOptional<z.ZodString>;
319
+ contactPhone: z.ZodOptional<z.ZodString>;
315
320
  address: z.ZodObject<{
316
321
  streetAddress: z.ZodString;
317
322
  apartment: z.ZodOptional<z.ZodString>;
@@ -351,9 +356,14 @@ declare const businessProfileSchema: z.ZodObject<{
351
356
  dbaName?: string;
352
357
  businessType?: string;
353
358
  taxId?: string;
354
- businessPhone?: string;
355
- businessEmail?: string;
356
359
  website?: string;
360
+ idType?: string;
361
+ formationDate?: string;
362
+ incorporationState?: string;
363
+ contactFirstName?: string;
364
+ contactLastName?: string;
365
+ contactEmail?: string;
366
+ contactPhone?: string;
357
367
  }, {
358
368
  address?: {
359
369
  postalCode?: string;
@@ -368,9 +378,14 @@ declare const businessProfileSchema: z.ZodObject<{
368
378
  dbaName?: string;
369
379
  businessType?: string;
370
380
  taxId?: string;
371
- businessPhone?: string;
372
- businessEmail?: string;
373
381
  website?: string;
382
+ idType?: string;
383
+ formationDate?: string;
384
+ incorporationState?: string;
385
+ contactFirstName?: string;
386
+ contactLastName?: string;
387
+ contactEmail?: string;
388
+ contactPhone?: string;
374
389
  }>;
375
390
  type BusinessProfile = z.infer<typeof businessProfileSchema>;
376
391
 
@@ -731,11 +746,12 @@ interface DataTableProps<T = any> {
731
746
  sortBy?: string;
732
747
  sortDirection?: "asc" | "desc";
733
748
  onSort?: (key: string) => void;
749
+ onRowClick?: (row: T) => void;
734
750
  loading?: boolean;
735
751
  emptyMessage?: string;
736
752
  className?: string;
737
753
  }
738
- declare function DataTable<T extends Record<string, any>>({ columns, data, sortBy, sortDirection, onSort, loading, emptyMessage, className }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
754
+ declare function DataTable<T extends Record<string, any>>({ columns, data, sortBy, sortDirection, onSort, onRowClick, loading, emptyMessage, className }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
739
755
 
740
756
  interface DetailPageCard {
741
757
  key: string;
@@ -1222,6 +1238,8 @@ declare const AlertDetail: () => react_jsx_runtime.JSX.Element;
1222
1238
 
1223
1239
  declare const Alerts: () => react_jsx_runtime.JSX.Element;
1224
1240
 
1241
+ declare const Businesses: () => react_jsx_runtime.JSX.Element;
1242
+
1225
1243
  declare const Business: () => react_jsx_runtime.JSX.Element;
1226
1244
 
1227
1245
  declare const CreateBusiness: () => react_jsx_runtime.JSX.Element;
@@ -1238,6 +1256,8 @@ declare const Dashboard: () => react_jsx_runtime.JSX.Element;
1238
1256
 
1239
1257
  declare const NotFound: () => react_jsx_runtime.JSX.Element;
1240
1258
 
1259
+ declare function Statement(): react_jsx_runtime.JSX.Element;
1260
+
1241
1261
  declare const TransactionHistory: () => react_jsx_runtime.JSX.Element;
1242
1262
 
1243
1263
  declare function NewTransaction(): react_jsx_runtime.JSX.Element;
@@ -1246,4 +1266,4 @@ declare const TransactionDetail: () => react_jsx_runtime.JSX.Element;
1246
1266
 
1247
1267
  declare function UIKit(): react_jsx_runtime.JSX.Element;
1248
1268
 
1249
- export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AddressForm, AlertDetail, AlertDocuments, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, Business, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, ContactInfoCard, Container, ContextSection, CounterpartyBasicInfo, CounterpartyDomesticWire, CounterpartyManage, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, CreateBusiness, CreateCounterparty, 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, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ResponsiveGrid, 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, StatusBadge, 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, UIKit, UIKitShowcase, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, inputVariants, reducer, textareaVariants, toast, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
1269
+ export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AddressForm, AlertDetail, AlertDocuments, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, Business as BusinessDetail, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, ContactInfoCard, Container, ContextSection, CounterpartyBasicInfo, CounterpartyDomesticWire, CounterpartyManage, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, CreateBusiness, CreateCounterparty, 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, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ResponsiveGrid, 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, StatusBadge, 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, UIKit, UIKitShowcase, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, inputVariants, reducer, textareaVariants, toast, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
package/dist/index.d.ts CHANGED
@@ -309,9 +309,14 @@ declare const businessProfileSchema: z.ZodObject<{
309
309
  dbaName: z.ZodOptional<z.ZodString>;
310
310
  businessType: z.ZodString;
311
311
  taxId: z.ZodString;
312
- businessPhone: z.ZodString;
313
- businessEmail: z.ZodString;
312
+ formationDate: z.ZodOptional<z.ZodString>;
313
+ idType: z.ZodOptional<z.ZodString>;
314
+ incorporationState: z.ZodOptional<z.ZodString>;
314
315
  website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
316
+ contactFirstName: z.ZodOptional<z.ZodString>;
317
+ contactLastName: z.ZodOptional<z.ZodString>;
318
+ contactEmail: z.ZodOptional<z.ZodString>;
319
+ contactPhone: z.ZodOptional<z.ZodString>;
315
320
  address: z.ZodObject<{
316
321
  streetAddress: z.ZodString;
317
322
  apartment: z.ZodOptional<z.ZodString>;
@@ -351,9 +356,14 @@ declare const businessProfileSchema: z.ZodObject<{
351
356
  dbaName?: string;
352
357
  businessType?: string;
353
358
  taxId?: string;
354
- businessPhone?: string;
355
- businessEmail?: string;
356
359
  website?: string;
360
+ idType?: string;
361
+ formationDate?: string;
362
+ incorporationState?: string;
363
+ contactFirstName?: string;
364
+ contactLastName?: string;
365
+ contactEmail?: string;
366
+ contactPhone?: string;
357
367
  }, {
358
368
  address?: {
359
369
  postalCode?: string;
@@ -368,9 +378,14 @@ declare const businessProfileSchema: z.ZodObject<{
368
378
  dbaName?: string;
369
379
  businessType?: string;
370
380
  taxId?: string;
371
- businessPhone?: string;
372
- businessEmail?: string;
373
381
  website?: string;
382
+ idType?: string;
383
+ formationDate?: string;
384
+ incorporationState?: string;
385
+ contactFirstName?: string;
386
+ contactLastName?: string;
387
+ contactEmail?: string;
388
+ contactPhone?: string;
374
389
  }>;
375
390
  type BusinessProfile = z.infer<typeof businessProfileSchema>;
376
391
 
@@ -731,11 +746,12 @@ interface DataTableProps<T = any> {
731
746
  sortBy?: string;
732
747
  sortDirection?: "asc" | "desc";
733
748
  onSort?: (key: string) => void;
749
+ onRowClick?: (row: T) => void;
734
750
  loading?: boolean;
735
751
  emptyMessage?: string;
736
752
  className?: string;
737
753
  }
738
- declare function DataTable<T extends Record<string, any>>({ columns, data, sortBy, sortDirection, onSort, loading, emptyMessage, className }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
754
+ declare function DataTable<T extends Record<string, any>>({ columns, data, sortBy, sortDirection, onSort, onRowClick, loading, emptyMessage, className }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
739
755
 
740
756
  interface DetailPageCard {
741
757
  key: string;
@@ -1222,6 +1238,8 @@ declare const AlertDetail: () => react_jsx_runtime.JSX.Element;
1222
1238
 
1223
1239
  declare const Alerts: () => react_jsx_runtime.JSX.Element;
1224
1240
 
1241
+ declare const Businesses: () => react_jsx_runtime.JSX.Element;
1242
+
1225
1243
  declare const Business: () => react_jsx_runtime.JSX.Element;
1226
1244
 
1227
1245
  declare const CreateBusiness: () => react_jsx_runtime.JSX.Element;
@@ -1238,6 +1256,8 @@ declare const Dashboard: () => react_jsx_runtime.JSX.Element;
1238
1256
 
1239
1257
  declare const NotFound: () => react_jsx_runtime.JSX.Element;
1240
1258
 
1259
+ declare function Statement(): react_jsx_runtime.JSX.Element;
1260
+
1241
1261
  declare const TransactionHistory: () => react_jsx_runtime.JSX.Element;
1242
1262
 
1243
1263
  declare function NewTransaction(): react_jsx_runtime.JSX.Element;
@@ -1246,4 +1266,4 @@ declare const TransactionDetail: () => react_jsx_runtime.JSX.Element;
1246
1266
 
1247
1267
  declare function UIKit(): react_jsx_runtime.JSX.Element;
1248
1268
 
1249
- export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AddressForm, AlertDetail, AlertDocuments, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, Business, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, ContactInfoCard, Container, ContextSection, CounterpartyBasicInfo, CounterpartyDomesticWire, CounterpartyManage, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, CreateBusiness, CreateCounterparty, 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, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ResponsiveGrid, 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, StatusBadge, 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, UIKit, UIKitShowcase, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, inputVariants, reducer, textareaVariants, toast, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
1269
+ export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AddressForm, AlertDetail, AlertDocuments, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, Business as BusinessDetail, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, ContactInfoCard, Container, ContextSection, CounterpartyBasicInfo, CounterpartyDomesticWire, CounterpartyManage, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, CreateBusiness, CreateCounterparty, 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, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ResponsiveGrid, 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, StatusBadge, 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, UIKit, UIKitShowcase, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, inputVariants, reducer, textareaVariants, toast, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };