@lumerahq/ui 0.12.0-dev.0 → 0.12.0-dev.2

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/README.md CHANGED
@@ -50,6 +50,34 @@ The stylesheet defines theme tokens as CSS custom properties. Override them on `
50
50
  import { AutomationRunner, DataTable, RecordSheet } from '@lumerahq/ui';
51
51
  ```
52
52
 
53
+ ### Record Audit Log
54
+
55
+ Show one globally ordered history across up to 20 audited collections:
56
+
57
+ ```tsx
58
+ import { AuditLog } from '@lumerahq/ui';
59
+
60
+ <AuditLog
61
+ collections={['finance__invoices', 'finance__payments']}
62
+ collectionLabels={{
63
+ finance__invoices: 'Invoices',
64
+ finance__payments: 'Payments',
65
+ }}
66
+ fieldLabels={{ customer_id: 'Customer' }}
67
+ showSystemFields={false}
68
+ exportFilename="finance-activity.csv"
69
+ />;
70
+ ```
71
+
72
+ The component includes collection, date/time, event, and actor filters with
73
+ visible active-filter chips; lazy before/after details; pagination; and CSV
74
+ export with filename/count/truncation feedback. It also supports controlled
75
+ filters, column and density options, record navigation callbacks, and custom
76
+ loading, empty, and error states. Friendly collection labels are used in both
77
+ the collection column and activity text. If a selected collection has auditing
78
+ turned off, existing history remains visible and the component shows a warning
79
+ that future changes will not be recorded.
80
+
53
81
  ### Assistant Chat
54
82
 
55
83
  Use `AssistantPage` for a full-page chat, `AssistantWidget` for a floating widget, or `AssistantChat` when embedding the chat surface inside custom chrome.