randmarcomps 1.609.0 → 1.611.0
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/randmarcomps.d.ts +32 -0
- package/dist/randmarcomps.js +861 -791
- package/dist/randmarcomps.umd.cjs +39 -39
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -556,6 +556,8 @@ export declare interface GeneralDocumentCardProps {
|
|
|
556
556
|
loading?: boolean;
|
|
557
557
|
}
|
|
558
558
|
|
|
559
|
+
export declare function groupSystemLogEntries<TEntry extends SystemLogEntry>(entries: readonly TEntry[]): SystemLogDayGroup<TEntry>[];
|
|
560
|
+
|
|
559
561
|
export declare const Input: React_2.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
560
562
|
|
|
561
563
|
export declare function InputOTP({ className, containerClassName, ...props }: React_2.ComponentProps<typeof OTPInput> & {
|
|
@@ -713,6 +715,11 @@ export declare interface PageHeaderProps {
|
|
|
713
715
|
className?: string;
|
|
714
716
|
}
|
|
715
717
|
|
|
718
|
+
export declare interface ParsedSystemLogEntry<TEntry extends SystemLogEntry = SystemLogEntry> {
|
|
719
|
+
entry: TEntry;
|
|
720
|
+
timestamp: Date;
|
|
721
|
+
}
|
|
722
|
+
|
|
716
723
|
export declare function PartnerActions(props: PartnerActionsProps): JSX.Element;
|
|
717
724
|
|
|
718
725
|
export declare interface PartnerActionsProps {
|
|
@@ -1190,6 +1197,31 @@ export declare interface SummaryOverviewCardProps extends Omit<React_2.HTMLAttri
|
|
|
1190
1197
|
|
|
1191
1198
|
export declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1192
1199
|
|
|
1200
|
+
export declare interface SystemLogDayGroup<TEntry extends SystemLogEntry = SystemLogEntry> {
|
|
1201
|
+
dayKey: string;
|
|
1202
|
+
day: Date;
|
|
1203
|
+
entries: ParsedSystemLogEntry<TEntry>[];
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
export declare interface SystemLogEntry {
|
|
1207
|
+
id?: string | number;
|
|
1208
|
+
timestamp: SystemLogTimestamp;
|
|
1209
|
+
payload: string;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
export declare function SystemLogFeed<TEntry extends SystemLogEntry>({ entries, emptyStateText, getMetadataLine, className, formatDayLabel, formatTimeLabel, }: SystemLogFeedProps<TEntry>): JSX.Element;
|
|
1213
|
+
|
|
1214
|
+
export declare interface SystemLogFeedProps<TEntry extends SystemLogEntry = SystemLogEntry> {
|
|
1215
|
+
entries: readonly TEntry[];
|
|
1216
|
+
emptyStateText?: string;
|
|
1217
|
+
getMetadataLine?: (entry: TEntry) => React_2.ReactNode;
|
|
1218
|
+
className?: string;
|
|
1219
|
+
formatDayLabel?: (day: Date) => string;
|
|
1220
|
+
formatTimeLabel?: (timestamp: Date) => string;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
export declare type SystemLogTimestamp = Date | string | number;
|
|
1224
|
+
|
|
1193
1225
|
export declare const Table: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableElement> & React_2.RefAttributes<HTMLTableElement>>;
|
|
1194
1226
|
|
|
1195
1227
|
export declare const TableBody: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
|