@nucleux/capability-overview 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 +61 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +26 -0
- package/dist/index.d.ts +26 -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/capability-overview
|
|
2
|
+
|
|
3
|
+
CapabilityOverview — an agent's examples, capabilities, and limits — 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/capability-overview @nucleux/tokens
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
`react` / `react-dom` are peer dependencies.
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```tsx
|
|
18
|
+
import { CapabilityOverview } from "@nucleux/capability-overview";
|
|
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,61 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var utils = require('@nucleux/utils');
|
|
6
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
|
|
8
|
+
function _interopNamespace(e) {
|
|
9
|
+
if (e && e.__esModule) return e;
|
|
10
|
+
var n = Object.create(null);
|
|
11
|
+
if (e) {
|
|
12
|
+
Object.keys(e).forEach(function (k) {
|
|
13
|
+
if (k !== 'default') {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return e[k]; }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
n.default = e;
|
|
23
|
+
return Object.freeze(n);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
|
+
|
|
28
|
+
// src/index.tsx
|
|
29
|
+
var CapabilityOverview = React__namespace.forwardRef(
|
|
30
|
+
({ sections, heading, footnote, className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
ref,
|
|
34
|
+
className: utils.cn("flex flex-col gap-5 rounded-xl border border-border bg-background p-6", className),
|
|
35
|
+
...props,
|
|
36
|
+
children: [
|
|
37
|
+
heading && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-center text-lg font-semibold text-foreground", children: heading }),
|
|
38
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-4 sm:grid-cols-3", children: sections.map((section, i) => /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "flex flex-col gap-3", children: [
|
|
39
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-1.5 text-center", children: [
|
|
40
|
+
section.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-flex size-8 items-center justify-center rounded-lg bg-muted text-muted-foreground [&_svg]:size-4", children: section.icon }),
|
|
41
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-foreground", children: section.title })
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-col gap-2", children: section.items.map((item, j) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
44
|
+
"li",
|
|
45
|
+
{
|
|
46
|
+
className: "rounded-lg bg-muted/50 px-3 py-2 text-center text-xs leading-relaxed text-muted-foreground",
|
|
47
|
+
children: item
|
|
48
|
+
},
|
|
49
|
+
j
|
|
50
|
+
)) })
|
|
51
|
+
] }, i)) }),
|
|
52
|
+
footnote && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-center text-xs text-muted-foreground", children: footnote })
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
);
|
|
57
|
+
CapabilityOverview.displayName = "CapabilityOverview";
|
|
58
|
+
|
|
59
|
+
exports.CapabilityOverview = CapabilityOverview;
|
|
60
|
+
//# sourceMappingURL=index.cjs.map
|
|
61
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.tsx"],"names":["React","jsxs","cn","jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BO,IAAM,kBAAA,GAA2BA,gBAAA,CAAA,UAAA;AAAA,EACtC,CAAC,EAAE,QAAA,EAAU,OAAA,EAAS,UAAU,SAAA,EAAW,GAAG,KAAA,EAAM,EAAG,GAAA,qBACrDC,eAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,SAAA,EAAWC,QAAA,CAAG,uEAAA,EAAyE,SAAS,CAAA;AAAA,MAC/F,GAAG,KAAA;AAAA,MAEH,QAAA,EAAA;AAAA,QAAA,OAAA,oBAAWC,cAAA,CAAC,IAAA,EAAA,EAAG,SAAA,EAAU,mDAAA,EAAqD,QAAA,EAAA,OAAA,EAAQ,CAAA;AAAA,wBACvFA,cAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,2BAAA,EACZ,QAAA,EAAA,QAAA,CAAS,GAAA,CAAI,CAAC,OAAA,EAAS,CAAA,qBACtBF,eAAA,CAAC,SAAA,EAAA,EAAgB,SAAA,EAAU,qBAAA,EACzB,QAAA,EAAA;AAAA,0BAAAA,eAAA,CAAC,KAAA,EAAA,EAAI,WAAU,gDAAA,EACZ,QAAA,EAAA;AAAA,YAAA,OAAA,CAAQ,wBACPE,cAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,yGAAA,EACb,kBAAQ,IAAA,EACX,CAAA;AAAA,4BAEFA,cAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,qCAAA,EAAuC,kBAAQ,KAAA,EAAM;AAAA,WAAA,EACvE,CAAA;AAAA,0BACAA,cAAA,CAAC,QAAG,SAAA,EAAU,qBAAA,EACX,kBAAQ,KAAA,CAAM,GAAA,CAAI,CAAC,IAAA,EAAM,CAAA,qBACxBA,cAAA;AAAA,YAAC,IAAA;AAAA,YAAA;AAAA,cAEC,SAAA,EAAU,4FAAA;AAAA,cAET,QAAA,EAAA;AAAA,aAAA;AAAA,YAHI;AAAA,WAKR,CAAA,EACH;AAAA,SAAA,EAAA,EAlBY,CAmBd,CACD,CAAA,EACH,CAAA;AAAA,QACC,QAAA,oBAAYA,cAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAU,6CAA6C,QAAA,EAAA,QAAA,EAAS;AAAA;AAAA;AAAA;AAGtF;AACA,kBAAA,CAAmB,WAAA,GAAc,oBAAA","file":"index.cjs","sourcesContent":["import * as React from \"react\";\nimport { cn } from \"@nucleux/utils\";\n\nexport interface CapabilitySection {\n /** Column title, e.g. `\"Examples\"`, `\"Capabilities\"`, `\"Limits\"`. */\n title: React.ReactNode;\n /** Leading icon for the column. */\n icon?: React.ReactNode;\n /** The lines listed in the column. */\n items: React.ReactNode[];\n}\n\nexport interface CapabilityOverviewProps extends React.HTMLAttributes<HTMLDivElement> {\n /** The columns to show — typically Examples / Capabilities / Limits. */\n sections: CapabilitySection[];\n /** Heading above the columns. */\n heading?: React.ReactNode;\n /** Footnote, e.g. a knowledge-cutoff note. */\n footnote?: React.ReactNode;\n}\n\n/**\n * A first-run card that sets expectations for an agent — what it can do, and\n * where it falls short — as Examples / Capabilities / Limits columns.\n * Source: Figma \"Onboarding / Generic Assistant Overview\".\n */\nexport const CapabilityOverview = React.forwardRef<HTMLDivElement, CapabilityOverviewProps>(\n ({ sections, heading, footnote, className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col gap-5 rounded-xl border border-border bg-background p-6\", className)}\n {...props}\n >\n {heading && <h3 className=\"text-center text-lg font-semibold text-foreground\">{heading}</h3>}\n <div className=\"grid gap-4 sm:grid-cols-3\">\n {sections.map((section, i) => (\n <section key={i} className=\"flex flex-col gap-3\">\n <div className=\"flex flex-col items-center gap-1.5 text-center\">\n {section.icon && (\n <span className=\"inline-flex size-8 items-center justify-center rounded-lg bg-muted text-muted-foreground [&_svg]:size-4\">\n {section.icon}\n </span>\n )}\n <span className=\"text-sm font-medium text-foreground\">{section.title}</span>\n </div>\n <ul className=\"flex flex-col gap-2\">\n {section.items.map((item, j) => (\n <li\n key={j}\n className=\"rounded-lg bg-muted/50 px-3 py-2 text-center text-xs leading-relaxed text-muted-foreground\"\n >\n {item}\n </li>\n ))}\n </ul>\n </section>\n ))}\n </div>\n {footnote && <p className=\"text-center text-xs text-muted-foreground\">{footnote}</p>}\n </div>\n ),\n);\nCapabilityOverview.displayName = \"CapabilityOverview\";\n"]}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface CapabilitySection {
|
|
4
|
+
/** Column title, e.g. `"Examples"`, `"Capabilities"`, `"Limits"`. */
|
|
5
|
+
title: React.ReactNode;
|
|
6
|
+
/** Leading icon for the column. */
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
/** The lines listed in the column. */
|
|
9
|
+
items: React.ReactNode[];
|
|
10
|
+
}
|
|
11
|
+
interface CapabilityOverviewProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
12
|
+
/** The columns to show — typically Examples / Capabilities / Limits. */
|
|
13
|
+
sections: CapabilitySection[];
|
|
14
|
+
/** Heading above the columns. */
|
|
15
|
+
heading?: React.ReactNode;
|
|
16
|
+
/** Footnote, e.g. a knowledge-cutoff note. */
|
|
17
|
+
footnote?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A first-run card that sets expectations for an agent — what it can do, and
|
|
21
|
+
* where it falls short — as Examples / Capabilities / Limits columns.
|
|
22
|
+
* Source: Figma "Onboarding / Generic Assistant Overview".
|
|
23
|
+
*/
|
|
24
|
+
declare const CapabilityOverview: React.ForwardRefExoticComponent<CapabilityOverviewProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
|
|
26
|
+
export { CapabilityOverview, type CapabilityOverviewProps, type CapabilitySection };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface CapabilitySection {
|
|
4
|
+
/** Column title, e.g. `"Examples"`, `"Capabilities"`, `"Limits"`. */
|
|
5
|
+
title: React.ReactNode;
|
|
6
|
+
/** Leading icon for the column. */
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
/** The lines listed in the column. */
|
|
9
|
+
items: React.ReactNode[];
|
|
10
|
+
}
|
|
11
|
+
interface CapabilityOverviewProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
12
|
+
/** The columns to show — typically Examples / Capabilities / Limits. */
|
|
13
|
+
sections: CapabilitySection[];
|
|
14
|
+
/** Heading above the columns. */
|
|
15
|
+
heading?: React.ReactNode;
|
|
16
|
+
/** Footnote, e.g. a knowledge-cutoff note. */
|
|
17
|
+
footnote?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A first-run card that sets expectations for an agent — what it can do, and
|
|
21
|
+
* where it falls short — as Examples / Capabilities / Limits columns.
|
|
22
|
+
* Source: Figma "Onboarding / Generic Assistant Overview".
|
|
23
|
+
*/
|
|
24
|
+
declare const CapabilityOverview: React.ForwardRefExoticComponent<CapabilityOverviewProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
|
|
26
|
+
export { CapabilityOverview, type CapabilityOverviewProps, type CapabilitySection };
|
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 { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
|
+
|
|
6
|
+
// src/index.tsx
|
|
7
|
+
var CapabilityOverview = React.forwardRef(
|
|
8
|
+
({ sections, heading, footnote, className, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
9
|
+
"div",
|
|
10
|
+
{
|
|
11
|
+
ref,
|
|
12
|
+
className: cn("flex flex-col gap-5 rounded-xl border border-border bg-background p-6", className),
|
|
13
|
+
...props,
|
|
14
|
+
children: [
|
|
15
|
+
heading && /* @__PURE__ */ jsx("h3", { className: "text-center text-lg font-semibold text-foreground", children: heading }),
|
|
16
|
+
/* @__PURE__ */ jsx("div", { className: "grid gap-4 sm:grid-cols-3", children: sections.map((section, i) => /* @__PURE__ */ jsxs("section", { className: "flex flex-col gap-3", children: [
|
|
17
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-1.5 text-center", children: [
|
|
18
|
+
section.icon && /* @__PURE__ */ jsx("span", { className: "inline-flex size-8 items-center justify-center rounded-lg bg-muted text-muted-foreground [&_svg]:size-4", children: section.icon }),
|
|
19
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-foreground", children: section.title })
|
|
20
|
+
] }),
|
|
21
|
+
/* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-2", children: section.items.map((item, j) => /* @__PURE__ */ jsx(
|
|
22
|
+
"li",
|
|
23
|
+
{
|
|
24
|
+
className: "rounded-lg bg-muted/50 px-3 py-2 text-center text-xs leading-relaxed text-muted-foreground",
|
|
25
|
+
children: item
|
|
26
|
+
},
|
|
27
|
+
j
|
|
28
|
+
)) })
|
|
29
|
+
] }, i)) }),
|
|
30
|
+
footnote && /* @__PURE__ */ jsx("p", { className: "text-center text-xs text-muted-foreground", children: footnote })
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
);
|
|
35
|
+
CapabilityOverview.displayName = "CapabilityOverview";
|
|
36
|
+
|
|
37
|
+
export { CapabilityOverview };
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.tsx"],"names":[],"mappings":";;;;;AA0BO,IAAM,kBAAA,GAA2B,KAAA,CAAA,UAAA;AAAA,EACtC,CAAC,EAAE,QAAA,EAAU,OAAA,EAAS,UAAU,SAAA,EAAW,GAAG,KAAA,EAAM,EAAG,GAAA,qBACrD,IAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,SAAA,EAAW,EAAA,CAAG,uEAAA,EAAyE,SAAS,CAAA;AAAA,MAC/F,GAAG,KAAA;AAAA,MAEH,QAAA,EAAA;AAAA,QAAA,OAAA,oBAAW,GAAA,CAAC,IAAA,EAAA,EAAG,SAAA,EAAU,mDAAA,EAAqD,QAAA,EAAA,OAAA,EAAQ,CAAA;AAAA,wBACvF,GAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,2BAAA,EACZ,QAAA,EAAA,QAAA,CAAS,GAAA,CAAI,CAAC,OAAA,EAAS,CAAA,qBACtB,IAAA,CAAC,SAAA,EAAA,EAAgB,SAAA,EAAU,qBAAA,EACzB,QAAA,EAAA;AAAA,0BAAA,IAAA,CAAC,KAAA,EAAA,EAAI,WAAU,gDAAA,EACZ,QAAA,EAAA;AAAA,YAAA,OAAA,CAAQ,wBACP,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,yGAAA,EACb,kBAAQ,IAAA,EACX,CAAA;AAAA,4BAEF,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,qCAAA,EAAuC,kBAAQ,KAAA,EAAM;AAAA,WAAA,EACvE,CAAA;AAAA,0BACA,GAAA,CAAC,QAAG,SAAA,EAAU,qBAAA,EACX,kBAAQ,KAAA,CAAM,GAAA,CAAI,CAAC,IAAA,EAAM,CAAA,qBACxB,GAAA;AAAA,YAAC,IAAA;AAAA,YAAA;AAAA,cAEC,SAAA,EAAU,4FAAA;AAAA,cAET,QAAA,EAAA;AAAA,aAAA;AAAA,YAHI;AAAA,WAKR,CAAA,EACH;AAAA,SAAA,EAAA,EAlBY,CAmBd,CACD,CAAA,EACH,CAAA;AAAA,QACC,QAAA,oBAAY,GAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAU,6CAA6C,QAAA,EAAA,QAAA,EAAS;AAAA;AAAA;AAAA;AAGtF;AACA,kBAAA,CAAmB,WAAA,GAAc,oBAAA","file":"index.js","sourcesContent":["import * as React from \"react\";\nimport { cn } from \"@nucleux/utils\";\n\nexport interface CapabilitySection {\n /** Column title, e.g. `\"Examples\"`, `\"Capabilities\"`, `\"Limits\"`. */\n title: React.ReactNode;\n /** Leading icon for the column. */\n icon?: React.ReactNode;\n /** The lines listed in the column. */\n items: React.ReactNode[];\n}\n\nexport interface CapabilityOverviewProps extends React.HTMLAttributes<HTMLDivElement> {\n /** The columns to show — typically Examples / Capabilities / Limits. */\n sections: CapabilitySection[];\n /** Heading above the columns. */\n heading?: React.ReactNode;\n /** Footnote, e.g. a knowledge-cutoff note. */\n footnote?: React.ReactNode;\n}\n\n/**\n * A first-run card that sets expectations for an agent — what it can do, and\n * where it falls short — as Examples / Capabilities / Limits columns.\n * Source: Figma \"Onboarding / Generic Assistant Overview\".\n */\nexport const CapabilityOverview = React.forwardRef<HTMLDivElement, CapabilityOverviewProps>(\n ({ sections, heading, footnote, className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col gap-5 rounded-xl border border-border bg-background p-6\", className)}\n {...props}\n >\n {heading && <h3 className=\"text-center text-lg font-semibold text-foreground\">{heading}</h3>}\n <div className=\"grid gap-4 sm:grid-cols-3\">\n {sections.map((section, i) => (\n <section key={i} className=\"flex flex-col gap-3\">\n <div className=\"flex flex-col items-center gap-1.5 text-center\">\n {section.icon && (\n <span className=\"inline-flex size-8 items-center justify-center rounded-lg bg-muted text-muted-foreground [&_svg]:size-4\">\n {section.icon}\n </span>\n )}\n <span className=\"text-sm font-medium text-foreground\">{section.title}</span>\n </div>\n <ul className=\"flex flex-col gap-2\">\n {section.items.map((item, j) => (\n <li\n key={j}\n className=\"rounded-lg bg-muted/50 px-3 py-2 text-center text-xs leading-relaxed text-muted-foreground\"\n >\n {item}\n </li>\n ))}\n </ul>\n </section>\n ))}\n </div>\n {footnote && <p className=\"text-center text-xs text-muted-foreground\">{footnote}</p>}\n </div>\n ),\n);\nCapabilityOverview.displayName = \"CapabilityOverview\";\n"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nucleux/capability-overview",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"sideEffects": false,
|
|
6
|
+
"description": "CapabilityOverview — an agent's examples, capabilities, and limits — Nucleux agentic UI for React.",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"nucleux",
|
|
9
|
+
"react",
|
|
10
|
+
"ui",
|
|
11
|
+
"components",
|
|
12
|
+
"agentic",
|
|
13
|
+
"ai",
|
|
14
|
+
"tailwind",
|
|
15
|
+
"capability-overview"
|
|
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/capability-overview"
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://github.com/intelligaia-open-labs/nucleux#readme",
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "tsup"
|
|
57
|
+
}
|
|
58
|
+
}
|