@datum-cloud/activity-ui 0.3.0 → 0.3.1
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,18 +0,0 @@
|
|
|
1
|
-
import type { Activity } from '../types/activity';
|
|
2
|
-
export interface ResourceHistoryItemProps {
|
|
3
|
-
/** The activity to render */
|
|
4
|
-
activity: Activity;
|
|
5
|
-
/** Whether the item is expanded */
|
|
6
|
-
isExpanded: boolean;
|
|
7
|
-
/** Handler called when the item is clicked */
|
|
8
|
-
onClick: () => void;
|
|
9
|
-
/** Whether to show in compact mode (reduced padding) */
|
|
10
|
-
compact?: boolean;
|
|
11
|
-
/** Whether this is the last item in the list (hides timeline tail) */
|
|
12
|
-
isLast?: boolean;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* ResourceHistoryItem renders a single event in the resource history timeline
|
|
16
|
-
*/
|
|
17
|
-
export declare function ResourceHistoryItem({ activity, isExpanded, onClick, compact, isLast, }: ResourceHistoryItemProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
//# sourceMappingURL=ResourceHistoryItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceHistoryItem.d.ts","sourceRoot":"","sources":["../../src/components/ResourceHistoryItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAIlD,MAAM,WAAW,wBAAwB;IACvC,6BAA6B;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IACnB,mCAAmC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,8CAA8C;IAC9C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,wDAAwD;IACxD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sEAAsE;IACtE,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AA2GD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,UAAU,EACV,OAAO,EACP,OAAe,EACf,MAAc,GACf,EAAE,wBAAwB,2CAsL1B"}
|