@maro-tech/card 0.2.2 → 0.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maro-tech/card",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^21.2.0",
@@ -420,6 +420,10 @@ interface HistoryConfig {
420
420
  interface AuditChange {
421
421
  action: string;
422
422
  entityLabel?: string;
423
+ context?: {
424
+ label?: string;
425
+ path?: string[];
426
+ };
423
427
  fieldMetadata?: Record<string, HistoryFieldConfig>;
424
428
  entityId: string;
425
429
  entityType: string;
@@ -464,6 +468,7 @@ declare class HistoryTabComponent {
464
468
  toggleOperation(id: string): void;
465
469
  isExpanded(id: string): boolean;
466
470
  getEntityLabel(entityType: string, providedLabel?: string): string;
471
+ getChangeContextLabel(change: AuditChange): string;
467
472
  getActionLabel(action: string): string;
468
473
  isImageField(field: AuditFieldChange): boolean;
469
474
  isStructuredField(field: AuditFieldChange): boolean;