@nucleux/activity-log 0.1.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/LICENSE +21 -0
- package/README.md +26 -0
- package/dist/index.cjs +62 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +22 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -0
- package/package.json +58 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nucleux
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# @nucleux/activity-log
|
|
2
|
+
|
|
3
|
+
ActivityLog — a timestamped audit trail of the actions an agent took — Nucleux agentic UI for React.
|
|
4
|
+
|
|
5
|
+
Part of **[Nucleux](https://github.com/intelligaia-open-labs/nucleux)** — agentic UI components for React. Install a single component, or the full kit via [`@nucleux/react`](https://www.npmjs.com/package/@nucleux/react).
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @nucleux/activity-log @nucleux/tokens
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
`react` / `react-dom` are peer dependencies.
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```tsx
|
|
18
|
+
import { ActivityLog } from "@nucleux/activity-log";
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Requires the theme once in your app: `import "@nucleux/tokens/styles.css";`
|
|
22
|
+
and the Tailwind preset from `@nucleux/tokens/preset`.
|
|
23
|
+
|
|
24
|
+
## License
|
|
25
|
+
|
|
26
|
+
MIT © Nucleux
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var utils = require('@nucleux/utils');
|
|
6
|
+
var lucideReact = require('lucide-react');
|
|
7
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
8
|
+
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n.default = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
28
|
+
|
|
29
|
+
// src/index.tsx
|
|
30
|
+
var ActivityLogItem = React__namespace.forwardRef(
|
|
31
|
+
({ icon, time, className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("li", { ref, className: utils.cn("relative flex gap-3 pb-4 last:pb-0", className), ...props, children: [
|
|
32
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 mt-0.5 inline-flex size-6 shrink-0 items-center justify-center rounded-full border border-border bg-background text-muted-foreground [&_svg]:size-3.5", children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Activity, { "aria-hidden": "true" }) }),
|
|
33
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
|
|
34
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-foreground", children }),
|
|
35
|
+
time && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground", children: time })
|
|
36
|
+
] })
|
|
37
|
+
] })
|
|
38
|
+
);
|
|
39
|
+
ActivityLogItem.displayName = "ActivityLogItem";
|
|
40
|
+
var ActivityLog = React__namespace.forwardRef(
|
|
41
|
+
({ heading, className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
42
|
+
heading && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: heading }),
|
|
43
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44
|
+
"ol",
|
|
45
|
+
{
|
|
46
|
+
ref,
|
|
47
|
+
className: utils.cn(
|
|
48
|
+
"relative before:absolute before:left-3 before:top-1 before:h-[calc(100%-1rem)] before:w-px before:-translate-x-1/2 before:bg-border",
|
|
49
|
+
className
|
|
50
|
+
),
|
|
51
|
+
...props,
|
|
52
|
+
children
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
] })
|
|
56
|
+
);
|
|
57
|
+
ActivityLog.displayName = "ActivityLog";
|
|
58
|
+
|
|
59
|
+
exports.ActivityLog = ActivityLog;
|
|
60
|
+
exports.ActivityLogItem = ActivityLogItem;
|
|
61
|
+
//# sourceMappingURL=index.cjs.map
|
|
62
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.tsx"],"names":["React","jsxs","cn","jsx","Activity"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYO,IAAM,eAAA,GAAwBA,gBAAA,CAAA,UAAA;AAAA,EACnC,CAAC,EAAE,IAAA,EAAM,MAAM,SAAA,EAAW,QAAA,EAAU,GAAG,KAAA,EAAM,EAAG,wBAC9CC,eAAA,CAAC,IAAA,EAAA,EAAG,KAAU,SAAA,EAAWC,QAAA,CAAG,sCAAsC,SAAS,CAAA,EAAI,GAAG,KAAA,EAChF,QAAA,EAAA;AAAA,oBAAAC,cAAA,CAAC,MAAA,EAAA,EAAK,WAAU,qKAAA,EACb,QAAA,EAAA,IAAA,mCAASC,oBAAA,EAAA,EAAS,aAAA,EAAY,QAAO,CAAA,EACxC,CAAA;AAAA,oBACAH,eAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,sCAAA,EACd,QAAA,EAAA;AAAA,sBAAAE,cAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,yBAAA,EAA2B,QAAA,EAAS,CAAA;AAAA,MACnD,IAAA,oBAAQA,cAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,iCAAiC,QAAA,EAAA,IAAA,EAAK;AAAA,KAAA,EACjE;AAAA,GAAA,EACF;AAEJ;AACA,eAAA,CAAgB,WAAA,GAAc,iBAAA;AAYvB,IAAM,WAAA,GAAoBH,gBAAA,CAAA,UAAA;AAAA,EAC/B,CAAC,EAAE,OAAA,EAAS,SAAA,EAAW,QAAA,EAAU,GAAG,KAAA,EAAM,EAAG,GAAA,qBAC3CC,eAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,qBAAA,EACZ,QAAA,EAAA;AAAA,IAAA,OAAA,oBACCE,cAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAU,mEAAA,EAAqE,QAAA,EAAA,OAAA,EAAQ,CAAA;AAAA,oBAE5FA,cAAA;AAAA,MAAC,IAAA;AAAA,MAAA;AAAA,QACC,GAAA;AAAA,QACA,SAAA,EAAWD,QAAA;AAAA,UACT,qIAAA;AAAA,UACA;AAAA,SACF;AAAA,QACC,GAAG,KAAA;AAAA,QAEH;AAAA;AAAA;AACH,GAAA,EACF;AAEJ;AACA,WAAA,CAAY,WAAA,GAAc,aAAA","file":"index.cjs","sourcesContent":["import * as React from \"react\";\nimport { cn } from \"@nucleux/utils\";\nimport { Activity } from \"lucide-react\";\n\nexport interface ActivityLogItemProps extends React.LiHTMLAttributes<HTMLLIElement> {\n /** Icon for the action type. Defaults to a generic activity glyph. */\n icon?: React.ReactNode;\n /** Relative or absolute timestamp, e.g. `\"2m ago\"`. */\n time?: React.ReactNode;\n}\n\n/** A single entry in an {@link ActivityLog}: an action the agent took, with a timestamp. */\nexport const ActivityLogItem = React.forwardRef<HTMLLIElement, ActivityLogItemProps>(\n ({ icon, time, className, children, ...props }, ref) => (\n <li ref={ref} className={cn(\"relative flex gap-3 pb-4 last:pb-0\", className)} {...props}>\n <span className=\"relative z-10 mt-0.5 inline-flex size-6 shrink-0 items-center justify-center rounded-full border border-border bg-background text-muted-foreground [&_svg]:size-3.5\">\n {icon ?? <Activity aria-hidden=\"true\" />}\n </span>\n <span className=\"flex min-w-0 flex-1 flex-col gap-0.5\">\n <span className=\"text-sm text-foreground\">{children}</span>\n {time && <span className=\"text-xs text-muted-foreground\">{time}</span>}\n </span>\n </li>\n ),\n);\nActivityLogItem.displayName = \"ActivityLogItem\";\n\nexport interface ActivityLogProps extends React.HTMLAttributes<HTMLOListElement> {\n /** Heading above the trail. */\n heading?: React.ReactNode;\n}\n\n/**\n * A timestamped audit trail of the actions an agent performed on the user's\n * behalf — a connected timeline of {@link ActivityLogItem}s.\n * Source: Figma \"Explainability / Footprints\".\n */\nexport const ActivityLog = React.forwardRef<HTMLOListElement, ActivityLogProps>(\n ({ heading, className, children, ...props }, ref) => (\n <div className=\"flex flex-col gap-3\">\n {heading && (\n <p className=\"text-xs font-medium uppercase tracking-wide text-muted-foreground\">{heading}</p>\n )}\n <ol\n ref={ref}\n className={cn(\n \"relative before:absolute before:left-3 before:top-1 before:h-[calc(100%-1rem)] before:w-px before:-translate-x-1/2 before:bg-border\",\n className,\n )}\n {...props}\n >\n {children}\n </ol>\n </div>\n ),\n);\nActivityLog.displayName = \"ActivityLog\";\n"]}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface ActivityLogItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
4
|
+
/** Icon for the action type. Defaults to a generic activity glyph. */
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
/** Relative or absolute timestamp, e.g. `"2m ago"`. */
|
|
7
|
+
time?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
/** A single entry in an {@link ActivityLog}: an action the agent took, with a timestamp. */
|
|
10
|
+
declare const ActivityLogItem: React.ForwardRefExoticComponent<ActivityLogItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
11
|
+
interface ActivityLogProps extends React.HTMLAttributes<HTMLOListElement> {
|
|
12
|
+
/** Heading above the trail. */
|
|
13
|
+
heading?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A timestamped audit trail of the actions an agent performed on the user's
|
|
17
|
+
* behalf — a connected timeline of {@link ActivityLogItem}s.
|
|
18
|
+
* Source: Figma "Explainability / Footprints".
|
|
19
|
+
*/
|
|
20
|
+
declare const ActivityLog: React.ForwardRefExoticComponent<ActivityLogProps & React.RefAttributes<HTMLOListElement>>;
|
|
21
|
+
|
|
22
|
+
export { ActivityLog, ActivityLogItem, type ActivityLogItemProps, type ActivityLogProps };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface ActivityLogItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
4
|
+
/** Icon for the action type. Defaults to a generic activity glyph. */
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
/** Relative or absolute timestamp, e.g. `"2m ago"`. */
|
|
7
|
+
time?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
/** A single entry in an {@link ActivityLog}: an action the agent took, with a timestamp. */
|
|
10
|
+
declare const ActivityLogItem: React.ForwardRefExoticComponent<ActivityLogItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
11
|
+
interface ActivityLogProps extends React.HTMLAttributes<HTMLOListElement> {
|
|
12
|
+
/** Heading above the trail. */
|
|
13
|
+
heading?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A timestamped audit trail of the actions an agent performed on the user's
|
|
17
|
+
* behalf — a connected timeline of {@link ActivityLogItem}s.
|
|
18
|
+
* Source: Figma "Explainability / Footprints".
|
|
19
|
+
*/
|
|
20
|
+
declare const ActivityLog: React.ForwardRefExoticComponent<ActivityLogProps & React.RefAttributes<HTMLOListElement>>;
|
|
21
|
+
|
|
22
|
+
export { ActivityLog, ActivityLogItem, type ActivityLogItemProps, type ActivityLogProps };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { cn } from '@nucleux/utils';
|
|
4
|
+
import { Activity } from 'lucide-react';
|
|
5
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
// src/index.tsx
|
|
8
|
+
var ActivityLogItem = React.forwardRef(
|
|
9
|
+
({ icon, time, className, children, ...props }, ref) => /* @__PURE__ */ jsxs("li", { ref, className: cn("relative flex gap-3 pb-4 last:pb-0", className), ...props, children: [
|
|
10
|
+
/* @__PURE__ */ jsx("span", { className: "relative z-10 mt-0.5 inline-flex size-6 shrink-0 items-center justify-center rounded-full border border-border bg-background text-muted-foreground [&_svg]:size-3.5", children: icon ?? /* @__PURE__ */ jsx(Activity, { "aria-hidden": "true" }) }),
|
|
11
|
+
/* @__PURE__ */ jsxs("span", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
|
|
12
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm text-foreground", children }),
|
|
13
|
+
time && /* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground", children: time })
|
|
14
|
+
] })
|
|
15
|
+
] })
|
|
16
|
+
);
|
|
17
|
+
ActivityLogItem.displayName = "ActivityLogItem";
|
|
18
|
+
var ActivityLog = React.forwardRef(
|
|
19
|
+
({ heading, className, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
20
|
+
heading && /* @__PURE__ */ jsx("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: heading }),
|
|
21
|
+
/* @__PURE__ */ jsx(
|
|
22
|
+
"ol",
|
|
23
|
+
{
|
|
24
|
+
ref,
|
|
25
|
+
className: cn(
|
|
26
|
+
"relative before:absolute before:left-3 before:top-1 before:h-[calc(100%-1rem)] before:w-px before:-translate-x-1/2 before:bg-border",
|
|
27
|
+
className
|
|
28
|
+
),
|
|
29
|
+
...props,
|
|
30
|
+
children
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
] })
|
|
34
|
+
);
|
|
35
|
+
ActivityLog.displayName = "ActivityLog";
|
|
36
|
+
|
|
37
|
+
export { ActivityLog, ActivityLogItem };
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.tsx"],"names":[],"mappings":";;;;;;AAYO,IAAM,eAAA,GAAwB,KAAA,CAAA,UAAA;AAAA,EACnC,CAAC,EAAE,IAAA,EAAM,MAAM,SAAA,EAAW,QAAA,EAAU,GAAG,KAAA,EAAM,EAAG,wBAC9C,IAAA,CAAC,IAAA,EAAA,EAAG,KAAU,SAAA,EAAW,EAAA,CAAG,sCAAsC,SAAS,CAAA,EAAI,GAAG,KAAA,EAChF,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,MAAA,EAAA,EAAK,WAAU,qKAAA,EACb,QAAA,EAAA,IAAA,wBAAS,QAAA,EAAA,EAAS,aAAA,EAAY,QAAO,CAAA,EACxC,CAAA;AAAA,oBACA,IAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,sCAAA,EACd,QAAA,EAAA;AAAA,sBAAA,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,yBAAA,EAA2B,QAAA,EAAS,CAAA;AAAA,MACnD,IAAA,oBAAQ,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,iCAAiC,QAAA,EAAA,IAAA,EAAK;AAAA,KAAA,EACjE;AAAA,GAAA,EACF;AAEJ;AACA,eAAA,CAAgB,WAAA,GAAc,iBAAA;AAYvB,IAAM,WAAA,GAAoB,KAAA,CAAA,UAAA;AAAA,EAC/B,CAAC,EAAE,OAAA,EAAS,SAAA,EAAW,QAAA,EAAU,GAAG,KAAA,EAAM,EAAG,GAAA,qBAC3C,IAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,qBAAA,EACZ,QAAA,EAAA;AAAA,IAAA,OAAA,oBACC,GAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAU,mEAAA,EAAqE,QAAA,EAAA,OAAA,EAAQ,CAAA;AAAA,oBAE5F,GAAA;AAAA,MAAC,IAAA;AAAA,MAAA;AAAA,QACC,GAAA;AAAA,QACA,SAAA,EAAW,EAAA;AAAA,UACT,qIAAA;AAAA,UACA;AAAA,SACF;AAAA,QACC,GAAG,KAAA;AAAA,QAEH;AAAA;AAAA;AACH,GAAA,EACF;AAEJ;AACA,WAAA,CAAY,WAAA,GAAc,aAAA","file":"index.js","sourcesContent":["import * as React from \"react\";\nimport { cn } from \"@nucleux/utils\";\nimport { Activity } from \"lucide-react\";\n\nexport interface ActivityLogItemProps extends React.LiHTMLAttributes<HTMLLIElement> {\n /** Icon for the action type. Defaults to a generic activity glyph. */\n icon?: React.ReactNode;\n /** Relative or absolute timestamp, e.g. `\"2m ago\"`. */\n time?: React.ReactNode;\n}\n\n/** A single entry in an {@link ActivityLog}: an action the agent took, with a timestamp. */\nexport const ActivityLogItem = React.forwardRef<HTMLLIElement, ActivityLogItemProps>(\n ({ icon, time, className, children, ...props }, ref) => (\n <li ref={ref} className={cn(\"relative flex gap-3 pb-4 last:pb-0\", className)} {...props}>\n <span className=\"relative z-10 mt-0.5 inline-flex size-6 shrink-0 items-center justify-center rounded-full border border-border bg-background text-muted-foreground [&_svg]:size-3.5\">\n {icon ?? <Activity aria-hidden=\"true\" />}\n </span>\n <span className=\"flex min-w-0 flex-1 flex-col gap-0.5\">\n <span className=\"text-sm text-foreground\">{children}</span>\n {time && <span className=\"text-xs text-muted-foreground\">{time}</span>}\n </span>\n </li>\n ),\n);\nActivityLogItem.displayName = \"ActivityLogItem\";\n\nexport interface ActivityLogProps extends React.HTMLAttributes<HTMLOListElement> {\n /** Heading above the trail. */\n heading?: React.ReactNode;\n}\n\n/**\n * A timestamped audit trail of the actions an agent performed on the user's\n * behalf — a connected timeline of {@link ActivityLogItem}s.\n * Source: Figma \"Explainability / Footprints\".\n */\nexport const ActivityLog = React.forwardRef<HTMLOListElement, ActivityLogProps>(\n ({ heading, className, children, ...props }, ref) => (\n <div className=\"flex flex-col gap-3\">\n {heading && (\n <p className=\"text-xs font-medium uppercase tracking-wide text-muted-foreground\">{heading}</p>\n )}\n <ol\n ref={ref}\n className={cn(\n \"relative before:absolute before:left-3 before:top-1 before:h-[calc(100%-1rem)] before:w-px before:-translate-x-1/2 before:bg-border\",\n className,\n )}\n {...props}\n >\n {children}\n </ol>\n </div>\n ),\n);\nActivityLog.displayName = \"ActivityLog\";\n"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nucleux/activity-log",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"sideEffects": false,
|
|
6
|
+
"description": "ActivityLog — a timestamped audit trail of the actions an agent took — Nucleux agentic UI for React.",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"nucleux",
|
|
9
|
+
"react",
|
|
10
|
+
"ui",
|
|
11
|
+
"components",
|
|
12
|
+
"agentic",
|
|
13
|
+
"ai",
|
|
14
|
+
"tailwind",
|
|
15
|
+
"activity-log"
|
|
16
|
+
],
|
|
17
|
+
"main": "./dist/index.cjs",
|
|
18
|
+
"module": "./dist/index.js",
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.js",
|
|
24
|
+
"require": "./dist/index.cjs"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"README.md"
|
|
30
|
+
],
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"react": ">=18",
|
|
33
|
+
"react-dom": ">=18"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"lucide-react": "^0.469.0",
|
|
37
|
+
"@nucleux/utils": "0.1.1"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"tsup": "^8.3.5",
|
|
41
|
+
"typescript": "^5.7.2",
|
|
42
|
+
"@types/react": "^18.3.18",
|
|
43
|
+
"react": "^18.3.1"
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public"
|
|
47
|
+
},
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "git+https://github.com/intelligaia-open-labs/nucleux.git",
|
|
52
|
+
"directory": "packages/activity-log"
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://github.com/intelligaia-open-labs/nucleux#readme",
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "tsup"
|
|
57
|
+
}
|
|
58
|
+
}
|