braid-ui 1.0.182 → 1.0.184
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1672,6 +1672,8 @@ interface AuditEvent {
|
|
|
1672
1672
|
details: string;
|
|
1673
1673
|
ipAddress: string;
|
|
1674
1674
|
changes?: AuditFieldChange[];
|
|
1675
|
+
before?: Record<string, any>;
|
|
1676
|
+
after?: Record<string, any>;
|
|
1675
1677
|
}
|
|
1676
1678
|
|
|
1677
1679
|
interface ApiKey {
|
|
@@ -2529,6 +2531,7 @@ interface DataTableProps<T = any> {
|
|
|
2529
2531
|
sortDirection?: "asc" | "desc";
|
|
2530
2532
|
onSort?: (key: string) => void;
|
|
2531
2533
|
onRowClick?: (row: T) => void;
|
|
2534
|
+
rowClickable?: (row: T) => boolean;
|
|
2532
2535
|
loading?: boolean;
|
|
2533
2536
|
emptyMessage?: string;
|
|
2534
2537
|
className?: string;
|
|
@@ -2539,7 +2542,7 @@ interface DataTableProps<T = any> {
|
|
|
2539
2542
|
onPageChange: (page: number) => void;
|
|
2540
2543
|
};
|
|
2541
2544
|
}
|
|
2542
|
-
declare function DataTable<T extends Record<string, any>>({ columns, data, sortBy, sortDirection, onSort, onRowClick, loading, emptyMessage, className, pagination }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2545
|
+
declare function DataTable<T extends Record<string, any>>({ columns, data, sortBy, sortDirection, onSort, onRowClick, rowClickable, loading, emptyMessage, className, pagination }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2543
2546
|
|
|
2544
2547
|
interface DetailPageCard {
|
|
2545
2548
|
key: string;
|
|
@@ -2938,7 +2941,7 @@ interface StackProps {
|
|
|
2938
2941
|
declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2939
2942
|
|
|
2940
2943
|
interface StatusBadgeProps {
|
|
2941
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING" | "SUSPENDED" | "BLOCKED" | "PENDING_APPROVAL" | "POSTED" | "FAILED" | "CANCELLED" | "DELETED" | "NEEDS_OFAC" | "PENDING_UNBLOCK";
|
|
2944
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING" | "SUSPENDED" | "BLOCKED" | "PENDING_APPROVAL" | "POSTED" | "FAILED" | "CANCELLED" | "DELETED" | "NEEDS_OFAC" | "PENDING_UNBLOCK" | "CLOSED";
|
|
2942
2945
|
className?: string;
|
|
2943
2946
|
/** Shows a subtle chevron to indicate the status is a clickable dropdown/select. */
|
|
2944
2947
|
showDropdownIndicator?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1672,6 +1672,8 @@ interface AuditEvent {
|
|
|
1672
1672
|
details: string;
|
|
1673
1673
|
ipAddress: string;
|
|
1674
1674
|
changes?: AuditFieldChange[];
|
|
1675
|
+
before?: Record<string, any>;
|
|
1676
|
+
after?: Record<string, any>;
|
|
1675
1677
|
}
|
|
1676
1678
|
|
|
1677
1679
|
interface ApiKey {
|
|
@@ -2529,6 +2531,7 @@ interface DataTableProps<T = any> {
|
|
|
2529
2531
|
sortDirection?: "asc" | "desc";
|
|
2530
2532
|
onSort?: (key: string) => void;
|
|
2531
2533
|
onRowClick?: (row: T) => void;
|
|
2534
|
+
rowClickable?: (row: T) => boolean;
|
|
2532
2535
|
loading?: boolean;
|
|
2533
2536
|
emptyMessage?: string;
|
|
2534
2537
|
className?: string;
|
|
@@ -2539,7 +2542,7 @@ interface DataTableProps<T = any> {
|
|
|
2539
2542
|
onPageChange: (page: number) => void;
|
|
2540
2543
|
};
|
|
2541
2544
|
}
|
|
2542
|
-
declare function DataTable<T extends Record<string, any>>({ columns, data, sortBy, sortDirection, onSort, onRowClick, loading, emptyMessage, className, pagination }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2545
|
+
declare function DataTable<T extends Record<string, any>>({ columns, data, sortBy, sortDirection, onSort, onRowClick, rowClickable, loading, emptyMessage, className, pagination }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2543
2546
|
|
|
2544
2547
|
interface DetailPageCard {
|
|
2545
2548
|
key: string;
|
|
@@ -2938,7 +2941,7 @@ interface StackProps {
|
|
|
2938
2941
|
declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2939
2942
|
|
|
2940
2943
|
interface StatusBadgeProps {
|
|
2941
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING" | "SUSPENDED" | "BLOCKED" | "PENDING_APPROVAL" | "POSTED" | "FAILED" | "CANCELLED" | "DELETED" | "NEEDS_OFAC" | "PENDING_UNBLOCK";
|
|
2944
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING" | "SUSPENDED" | "BLOCKED" | "PENDING_APPROVAL" | "POSTED" | "FAILED" | "CANCELLED" | "DELETED" | "NEEDS_OFAC" | "PENDING_UNBLOCK" | "CLOSED";
|
|
2942
2945
|
className?: string;
|
|
2943
2946
|
/** Shows a subtle chevron to indicate the status is a clickable dropdown/select. */
|
|
2944
2947
|
showDropdownIndicator?: boolean;
|