nexus-shared 1.1.4 → 1.1.5
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 +12 -40
- package/src/server.ts +1 -2
- package/dist/chunk-7GVFDWOS.js +0 -28
- package/dist/chunk-7GVFDWOS.js.map +0 -1
- package/dist/chunk-EW6K4PYI.js +0 -96
- package/dist/chunk-EW6K4PYI.js.map +0 -1
- package/dist/chunk-UMV7E2RN.js +0 -1
- package/dist/chunk-UMV7E2RN.js.map +0 -1
- package/dist/client.css +0 -119
- package/dist/client.css.map +0 -1
- package/dist/client.d.ts +0 -9
- package/dist/client.js +0 -7
- package/dist/client.js.map +0 -1
- package/dist/index.css +0 -207
- package/dist/index.css.map +0 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -12
- package/dist/index.js.map +0 -1
- package/dist/interface.d.ts +0 -9
- package/dist/interface.js +0 -2
- package/dist/interface.js.map +0 -1
- package/dist/nexus-list-DV45tcM0.d.ts +0 -24
- package/dist/server.css +0 -88
- package/dist/server.css.map +0 -1
- package/dist/server.d.ts +0 -9
- package/dist/server.js +0 -7
- package/dist/server.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,54 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexus-shared",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Nexus
|
|
3
|
+
"version": "1.1.5",
|
|
4
|
+
"description": "Nexus shared React components for Next.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": ["**/*.css"],
|
|
7
7
|
"exports": {
|
|
8
|
-
".":
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
"./interface": {
|
|
14
|
-
"types": "./dist/interface.d.ts",
|
|
15
|
-
"import": "./src/interface.ts",
|
|
16
|
-
"default": "./dist/interface.js"
|
|
17
|
-
},
|
|
18
|
-
"./server": {
|
|
19
|
-
"types": "./dist/server.d.ts",
|
|
20
|
-
"import": "./src/server.ts",
|
|
21
|
-
"default": "./dist/server.js"
|
|
22
|
-
},
|
|
23
|
-
"./client": {
|
|
24
|
-
"types": "./dist/client.d.ts",
|
|
25
|
-
"import": "./src/client.ts",
|
|
26
|
-
"default": "./dist/client.js"
|
|
27
|
-
}
|
|
8
|
+
".": "./src/index.ts",
|
|
9
|
+
"./interface": "./src/interface.ts",
|
|
10
|
+
"./server": "./src/server.ts",
|
|
11
|
+
"./client": "./src/client.ts"
|
|
28
12
|
},
|
|
29
|
-
"files": ["
|
|
13
|
+
"files": ["src"],
|
|
30
14
|
"scripts": {
|
|
31
|
-
"build": "tsup",
|
|
32
|
-
"dev": "tsup --watch",
|
|
33
15
|
"typecheck": "tsc --noEmit"
|
|
34
16
|
},
|
|
35
17
|
"peerDependencies": {
|
|
36
|
-
"
|
|
37
|
-
"react": "
|
|
38
|
-
"react-dom": "^19.2.6"
|
|
18
|
+
"react": "19.2.4",
|
|
19
|
+
"react-dom": "19.2.4"
|
|
39
20
|
},
|
|
40
21
|
"devDependencies": {
|
|
41
|
-
"@types/
|
|
42
|
-
"@types/react": "^19
|
|
43
|
-
"
|
|
44
|
-
"next": "^16.2.6",
|
|
45
|
-
"react": "^19.2.6",
|
|
46
|
-
"react-dom": "^19.2.6",
|
|
47
|
-
"server-only": "^0.0.1",
|
|
48
|
-
"tsup": "^8.5.0",
|
|
49
|
-
"typescript": "^5.9.2"
|
|
50
|
-
},
|
|
51
|
-
"engines": {
|
|
52
|
-
"node": "24.15.0"
|
|
22
|
+
"@types/react": "^19",
|
|
23
|
+
"@types/react-dom": "^19",
|
|
24
|
+
"typescript": "^5"
|
|
53
25
|
}
|
|
54
26
|
}
|
package/src/server.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import "server-only";
|
|
2
1
|
import "./server/nexus-stat-list.css";
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
|
-
* Barrel entry for server
|
|
4
|
+
* Barrel entry for server components and server utilities.
|
|
6
5
|
* Add exports here as you create modules under ./server/
|
|
7
6
|
*/
|
|
8
7
|
export * from "./server/index";
|
package/dist/chunk-7GVFDWOS.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// src/server.ts
|
|
2
|
-
import "server-only";
|
|
3
|
-
|
|
4
|
-
// src/server/nexus-stat-list.tsx
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
function NexusStatList({
|
|
7
|
-
title,
|
|
8
|
-
items,
|
|
9
|
-
emptyMessage = "No items to display.",
|
|
10
|
-
className
|
|
11
|
-
}) {
|
|
12
|
-
const rootClass = className ? `nexus-stat-list ${className}` : "nexus-stat-list";
|
|
13
|
-
return /* @__PURE__ */ jsxs("section", { className: rootClass, "aria-labelledby": "nexus-stat-list-title", children: [
|
|
14
|
-
/* @__PURE__ */ jsx("h2", { id: "nexus-stat-list-title", className: "nexus-stat-list__title", children: title }),
|
|
15
|
-
items.length === 0 ? /* @__PURE__ */ jsx("p", { className: "nexus-stat-list__empty", children: emptyMessage }) : /* @__PURE__ */ jsx("ul", { className: "nexus-stat-list__list", children: items.map((item) => /* @__PURE__ */ jsxs("li", { className: "nexus-stat-list__item", children: [
|
|
16
|
-
/* @__PURE__ */ jsxs("div", { className: "nexus-stat-list__label-group", children: [
|
|
17
|
-
/* @__PURE__ */ jsx("span", { className: "nexus-stat-list__label", children: item.label }),
|
|
18
|
-
item.description ? /* @__PURE__ */ jsx("span", { className: "nexus-stat-list__description", children: item.description }) : null
|
|
19
|
-
] }),
|
|
20
|
-
item.value !== void 0 && item.value !== null ? /* @__PURE__ */ jsx("span", { className: "nexus-stat-list__value", children: item.value }) : null
|
|
21
|
-
] }, item.id)) })
|
|
22
|
-
] });
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
NexusStatList
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=chunk-7GVFDWOS.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/server.ts","../src/server/nexus-stat-list.tsx"],"sourcesContent":["import \"server-only\";\r\nimport \"./server/nexus-stat-list.css\";\r\n\r\n/**\r\n * Barrel entry for server-only modules (RSC, server actions, etc.).\r\n * Add exports here as you create modules under ./server/\r\n */\r\nexport * from \"./server/index\";\r\n","import type { NexusStatListProps } from \"../interfaces/nexus-list\";\r\nimport \"./nexus-stat-list.css\";\r\n\r\n/**\r\n * Server component — renders a read-only list of labeled items with optional values.\r\n */\r\nexport function NexusStatList({\r\n title,\r\n items,\r\n emptyMessage = \"No items to display.\",\r\n className,\r\n}: NexusStatListProps) {\r\n const rootClass = className\r\n ? `nexus-stat-list ${className}`\r\n : \"nexus-stat-list\";\r\n\r\n return (\r\n <section className={rootClass} aria-labelledby=\"nexus-stat-list-title\">\r\n <h2 id=\"nexus-stat-list-title\" className=\"nexus-stat-list__title\">\r\n {title}\r\n </h2>\r\n\r\n {items.length === 0 ? (\r\n <p className=\"nexus-stat-list__empty\">{emptyMessage}</p>\r\n ) : (\r\n <ul className=\"nexus-stat-list__list\">\r\n {items.map((item) => (\r\n <li key={item.id} className=\"nexus-stat-list__item\">\r\n <div className=\"nexus-stat-list__label-group\">\r\n <span className=\"nexus-stat-list__label\">{item.label}</span>\r\n {item.description ? (\r\n <span className=\"nexus-stat-list__description\">\r\n {item.description}\r\n </span>\r\n ) : null}\r\n </div>\r\n {item.value !== undefined && item.value !== null ? (\r\n <span className=\"nexus-stat-list__value\">{item.value}</span>\r\n ) : null}\r\n </li>\r\n ))}\r\n </ul>\r\n )}\r\n </section>\r\n );\r\n}\r\n"],"mappings":";AAAA,OAAO;;;ACkBD,cAUQ,YAVR;AAZC,SAAS,cAAc;AAAA,EAC5B;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf;AACF,GAAuB;AACrB,QAAM,YAAY,YACd,mBAAmB,SAAS,KAC5B;AAEJ,SACE,qBAAC,aAAQ,WAAW,WAAW,mBAAgB,yBAC7C;AAAA,wBAAC,QAAG,IAAG,yBAAwB,WAAU,0BACtC,iBACH;AAAA,IAEC,MAAM,WAAW,IAChB,oBAAC,OAAE,WAAU,0BAA0B,wBAAa,IAEpD,oBAAC,QAAG,WAAU,yBACX,gBAAM,IAAI,CAAC,SACV,qBAAC,QAAiB,WAAU,yBAC1B;AAAA,2BAAC,SAAI,WAAU,gCACb;AAAA,4BAAC,UAAK,WAAU,0BAA0B,eAAK,OAAM;AAAA,QACpD,KAAK,cACJ,oBAAC,UAAK,WAAU,gCACb,eAAK,aACR,IACE;AAAA,SACN;AAAA,MACC,KAAK,UAAU,UAAa,KAAK,UAAU,OAC1C,oBAAC,UAAK,WAAU,0BAA0B,eAAK,OAAM,IACnD;AAAA,SAXG,KAAK,EAYd,CACD,GACH;AAAA,KAEJ;AAEJ;","names":[]}
|
package/dist/chunk-EW6K4PYI.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
// src/client/nexus-selectable-list.tsx
|
|
2
|
-
import { useMemo, useState } from "react";
|
|
3
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
function NexusSelectableList({
|
|
5
|
-
title,
|
|
6
|
-
items,
|
|
7
|
-
placeholder = "Filter items\u2026",
|
|
8
|
-
emptyMessage = "No matching items.",
|
|
9
|
-
className
|
|
10
|
-
}) {
|
|
11
|
-
const [query, setQuery] = useState("");
|
|
12
|
-
const [selectedId, setSelectedId] = useState(
|
|
13
|
-
items[0]?.id ?? null
|
|
14
|
-
);
|
|
15
|
-
const filtered = useMemo(() => {
|
|
16
|
-
const q = query.trim().toLowerCase();
|
|
17
|
-
if (!q) return items;
|
|
18
|
-
return items.filter(
|
|
19
|
-
(item) => item.label.toLowerCase().includes(q) || item.description?.toLowerCase().includes(q)
|
|
20
|
-
);
|
|
21
|
-
}, [items, query]);
|
|
22
|
-
const selected = items.find((item) => item.id === selectedId) ?? null;
|
|
23
|
-
const rootClass = className ? `nexus-selectable-list ${className}` : "nexus-selectable-list";
|
|
24
|
-
return /* @__PURE__ */ jsxs(
|
|
25
|
-
"section",
|
|
26
|
-
{
|
|
27
|
-
className: rootClass,
|
|
28
|
-
"aria-labelledby": "nexus-selectable-list-title",
|
|
29
|
-
children: [
|
|
30
|
-
/* @__PURE__ */ jsxs("div", { className: "nexus-selectable-list__header", children: [
|
|
31
|
-
/* @__PURE__ */ jsx("h2", { id: "nexus-selectable-list-title", className: "nexus-selectable-list__title", children: title }),
|
|
32
|
-
/* @__PURE__ */ jsx(
|
|
33
|
-
"input",
|
|
34
|
-
{
|
|
35
|
-
type: "search",
|
|
36
|
-
className: "nexus-selectable-list__search",
|
|
37
|
-
placeholder,
|
|
38
|
-
value: query,
|
|
39
|
-
onChange: (e) => setQuery(e.target.value),
|
|
40
|
-
"aria-label": `Filter ${title}`
|
|
41
|
-
}
|
|
42
|
-
),
|
|
43
|
-
/* @__PURE__ */ jsxs("p", { className: "nexus-selectable-list__meta", children: [
|
|
44
|
-
"Showing ",
|
|
45
|
-
filtered.length,
|
|
46
|
-
" of ",
|
|
47
|
-
items.length
|
|
48
|
-
] })
|
|
49
|
-
] }),
|
|
50
|
-
filtered.length === 0 ? /* @__PURE__ */ jsx("p", { className: "nexus-selectable-list__empty", children: emptyMessage }) : /* @__PURE__ */ jsx(
|
|
51
|
-
"ul",
|
|
52
|
-
{
|
|
53
|
-
className: "nexus-selectable-list__list",
|
|
54
|
-
role: "listbox",
|
|
55
|
-
"aria-label": title,
|
|
56
|
-
children: filtered.map((item) => {
|
|
57
|
-
const isSelected = item.id === selectedId;
|
|
58
|
-
const itemClass = isSelected ? "nexus-selectable-list__item nexus-selectable-list__item--selected" : "nexus-selectable-list__item";
|
|
59
|
-
return /* @__PURE__ */ jsx("li", { role: "presentation", children: /* @__PURE__ */ jsxs(
|
|
60
|
-
"button",
|
|
61
|
-
{
|
|
62
|
-
type: "button",
|
|
63
|
-
role: "option",
|
|
64
|
-
"aria-selected": isSelected,
|
|
65
|
-
className: itemClass,
|
|
66
|
-
onClick: () => setSelectedId(item.id),
|
|
67
|
-
children: [
|
|
68
|
-
/* @__PURE__ */ jsx("span", { className: "nexus-selectable-list__label", children: item.label }),
|
|
69
|
-
item.description ? /* @__PURE__ */ jsx("span", { className: "nexus-selectable-list__description", children: item.description }) : null
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
) }, item.id);
|
|
73
|
-
})
|
|
74
|
-
}
|
|
75
|
-
),
|
|
76
|
-
selected ? /* @__PURE__ */ jsxs("div", { className: "nexus-selectable-list__detail", children: [
|
|
77
|
-
/* @__PURE__ */ jsx("strong", { children: selected.label }),
|
|
78
|
-
selected.description ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
79
|
-
" \u2014 ",
|
|
80
|
-
selected.description
|
|
81
|
-
] }) : null,
|
|
82
|
-
selected.value !== void 0 && selected.value !== null ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
83
|
-
/* @__PURE__ */ jsx("br", {}),
|
|
84
|
-
"Value: ",
|
|
85
|
-
/* @__PURE__ */ jsx("strong", { children: selected.value })
|
|
86
|
-
] }) : null
|
|
87
|
-
] }) : null
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export {
|
|
94
|
-
NexusSelectableList
|
|
95
|
-
};
|
|
96
|
-
//# sourceMappingURL=chunk-EW6K4PYI.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/client/nexus-selectable-list.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport { useMemo, useState } from \"react\";\r\nimport type { NexusSelectableListProps } from \"../interfaces/nexus-list\";\r\nimport \"./nexus-selectable-list.css\";\r\n\r\n/**\r\n * Client component — filterable list with selection and detail preview.\r\n */\r\nexport function NexusSelectableList({\r\n title,\r\n items,\r\n placeholder = \"Filter items…\",\r\n emptyMessage = \"No matching items.\",\r\n className,\r\n}: NexusSelectableListProps) {\r\n const [query, setQuery] = useState(\"\");\r\n const [selectedId, setSelectedId] = useState<string | null>(\r\n items[0]?.id ?? null,\r\n );\r\n\r\n const filtered = useMemo(() => {\r\n const q = query.trim().toLowerCase();\r\n if (!q) return items;\r\n return items.filter(\r\n (item) =>\r\n item.label.toLowerCase().includes(q) ||\r\n item.description?.toLowerCase().includes(q),\r\n );\r\n }, [items, query]);\r\n\r\n const selected = items.find((item) => item.id === selectedId) ?? null;\r\n const rootClass = className\r\n ? `nexus-selectable-list ${className}`\r\n : \"nexus-selectable-list\";\r\n\r\n return (\r\n <section\r\n className={rootClass}\r\n aria-labelledby=\"nexus-selectable-list-title\"\r\n >\r\n <div className=\"nexus-selectable-list__header\">\r\n <h2 id=\"nexus-selectable-list-title\" className=\"nexus-selectable-list__title\">\r\n {title}\r\n </h2>\r\n <input\r\n type=\"search\"\r\n className=\"nexus-selectable-list__search\"\r\n placeholder={placeholder}\r\n value={query}\r\n onChange={(e) => setQuery(e.target.value)}\r\n aria-label={`Filter ${title}`}\r\n />\r\n <p className=\"nexus-selectable-list__meta\">\r\n Showing {filtered.length} of {items.length}\r\n </p>\r\n </div>\r\n\r\n {filtered.length === 0 ? (\r\n <p className=\"nexus-selectable-list__empty\">{emptyMessage}</p>\r\n ) : (\r\n <ul\r\n className=\"nexus-selectable-list__list\"\r\n role=\"listbox\"\r\n aria-label={title}\r\n >\r\n {filtered.map((item) => {\r\n const isSelected = item.id === selectedId;\r\n const itemClass = isSelected\r\n ? \"nexus-selectable-list__item nexus-selectable-list__item--selected\"\r\n : \"nexus-selectable-list__item\";\r\n\r\n return (\r\n <li key={item.id} role=\"presentation\">\r\n <button\r\n type=\"button\"\r\n role=\"option\"\r\n aria-selected={isSelected}\r\n className={itemClass}\r\n onClick={() => setSelectedId(item.id)}\r\n >\r\n <span className=\"nexus-selectable-list__label\">\r\n {item.label}\r\n </span>\r\n {item.description ? (\r\n <span className=\"nexus-selectable-list__description\">\r\n {item.description}\r\n </span>\r\n ) : null}\r\n </button>\r\n </li>\r\n );\r\n })}\r\n </ul>\r\n )}\r\n\r\n {selected ? (\r\n <div className=\"nexus-selectable-list__detail\">\r\n <strong>{selected.label}</strong>\r\n {selected.description ? <> — {selected.description}</> : null}\r\n {selected.value !== undefined && selected.value !== null ? (\r\n <>\r\n <br />\r\n Value: <strong>{selected.value}</strong>\r\n </>\r\n ) : null}\r\n </div>\r\n ) : null}\r\n </section>\r\n );\r\n}\r\n"],"mappings":";AAEA,SAAS,SAAS,gBAAgB;AAwC1B,SAyD0B,UAzD1B,KAWA,YAXA;AAjCD,SAAS,oBAAoB;AAAA,EAClC;AAAA,EACA;AAAA,EACA,cAAc;AAAA,EACd,eAAe;AAAA,EACf;AACF,GAA6B;AAC3B,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,EAAE;AACrC,QAAM,CAAC,YAAY,aAAa,IAAI;AAAA,IAClC,MAAM,CAAC,GAAG,MAAM;AAAA,EAClB;AAEA,QAAM,WAAW,QAAQ,MAAM;AAC7B,UAAM,IAAI,MAAM,KAAK,EAAE,YAAY;AACnC,QAAI,CAAC,EAAG,QAAO;AACf,WAAO,MAAM;AAAA,MACX,CAAC,SACC,KAAK,MAAM,YAAY,EAAE,SAAS,CAAC,KACnC,KAAK,aAAa,YAAY,EAAE,SAAS,CAAC;AAAA,IAC9C;AAAA,EACF,GAAG,CAAC,OAAO,KAAK,CAAC;AAEjB,QAAM,WAAW,MAAM,KAAK,CAAC,SAAS,KAAK,OAAO,UAAU,KAAK;AACjE,QAAM,YAAY,YACd,yBAAyB,SAAS,KAClC;AAEJ,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,MACX,mBAAgB;AAAA,MAEhB;AAAA,6BAAC,SAAI,WAAU,iCACb;AAAA,8BAAC,QAAG,IAAG,+BAA8B,WAAU,gCAC5C,iBACH;AAAA,UACA;AAAA,YAAC;AAAA;AAAA,cACC,MAAK;AAAA,cACL,WAAU;AAAA,cACV;AAAA,cACA,OAAO;AAAA,cACP,UAAU,CAAC,MAAM,SAAS,EAAE,OAAO,KAAK;AAAA,cACxC,cAAY,UAAU,KAAK;AAAA;AAAA,UAC7B;AAAA,UACA,qBAAC,OAAE,WAAU,+BAA8B;AAAA;AAAA,YAChC,SAAS;AAAA,YAAO;AAAA,YAAK,MAAM;AAAA,aACtC;AAAA,WACF;AAAA,QAEC,SAAS,WAAW,IACnB,oBAAC,OAAE,WAAU,gCAAgC,wBAAa,IAE1D;AAAA,UAAC;AAAA;AAAA,YACC,WAAU;AAAA,YACV,MAAK;AAAA,YACL,cAAY;AAAA,YAEX,mBAAS,IAAI,CAAC,SAAS;AACtB,oBAAM,aAAa,KAAK,OAAO;AAC/B,oBAAM,YAAY,aACd,sEACA;AAEJ,qBACE,oBAAC,QAAiB,MAAK,gBACrB;AAAA,gBAAC;AAAA;AAAA,kBACC,MAAK;AAAA,kBACL,MAAK;AAAA,kBACL,iBAAe;AAAA,kBACf,WAAW;AAAA,kBACX,SAAS,MAAM,cAAc,KAAK,EAAE;AAAA,kBAEpC;AAAA,wCAAC,UAAK,WAAU,gCACb,eAAK,OACR;AAAA,oBACC,KAAK,cACJ,oBAAC,UAAK,WAAU,sCACb,eAAK,aACR,IACE;AAAA;AAAA;AAAA,cACN,KAhBO,KAAK,EAiBd;AAAA,YAEJ,CAAC;AAAA;AAAA,QACH;AAAA,QAGD,WACC,qBAAC,SAAI,WAAU,iCACb;AAAA,8BAAC,YAAQ,mBAAS,OAAM;AAAA,UACvB,SAAS,cAAc,iCAAE;AAAA;AAAA,YAAI,SAAS;AAAA,aAAY,IAAM;AAAA,UACxD,SAAS,UAAU,UAAa,SAAS,UAAU,OAClD,iCACE;AAAA,gCAAC,QAAG;AAAA,YAAE;AAAA,YACC,oBAAC,YAAQ,mBAAS,OAAM;AAAA,aACjC,IACE;AAAA,WACN,IACE;AAAA;AAAA;AAAA,EACN;AAEJ;","names":[]}
|
package/dist/chunk-UMV7E2RN.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-UMV7E2RN.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/client.css
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/* src/client/nexus-selectable-list.css */
|
|
2
|
-
.nexus-selectable-list {
|
|
3
|
-
--nexus-select-bg: #12101a;
|
|
4
|
-
--nexus-select-surface: #1e1b28;
|
|
5
|
-
--nexus-select-border: #3d3654;
|
|
6
|
-
--nexus-select-accent: #a855f7;
|
|
7
|
-
--nexus-select-accent-dim: rgba(168, 85, 247, 0.15);
|
|
8
|
-
--nexus-select-text: #f4f0fa;
|
|
9
|
-
--nexus-select-muted: #9d94b0;
|
|
10
|
-
font-family:
|
|
11
|
-
system-ui,
|
|
12
|
-
-apple-system,
|
|
13
|
-
"Segoe UI",
|
|
14
|
-
sans-serif;
|
|
15
|
-
background: var(--nexus-select-bg);
|
|
16
|
-
border: 1px solid var(--nexus-select-border);
|
|
17
|
-
border-radius: 12px;
|
|
18
|
-
padding: 1.25rem 1.5rem;
|
|
19
|
-
color: var(--nexus-select-text);
|
|
20
|
-
max-width: 32rem;
|
|
21
|
-
}
|
|
22
|
-
.nexus-selectable-list__header {
|
|
23
|
-
margin-bottom: 1rem;
|
|
24
|
-
}
|
|
25
|
-
.nexus-selectable-list__title {
|
|
26
|
-
margin: 0 0 0.75rem;
|
|
27
|
-
font-size: 1.125rem;
|
|
28
|
-
font-weight: 600;
|
|
29
|
-
letter-spacing: -0.02em;
|
|
30
|
-
}
|
|
31
|
-
.nexus-selectable-list__search {
|
|
32
|
-
width: 100%;
|
|
33
|
-
box-sizing: border-box;
|
|
34
|
-
padding: 0.625rem 0.875rem;
|
|
35
|
-
font-size: 0.875rem;
|
|
36
|
-
color: var(--nexus-select-text);
|
|
37
|
-
background: var(--nexus-select-surface);
|
|
38
|
-
border: 1px solid var(--nexus-select-border);
|
|
39
|
-
border-radius: 8px;
|
|
40
|
-
outline: none;
|
|
41
|
-
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
42
|
-
}
|
|
43
|
-
.nexus-selectable-list__search::placeholder {
|
|
44
|
-
color: var(--nexus-select-muted);
|
|
45
|
-
}
|
|
46
|
-
.nexus-selectable-list__search:focus {
|
|
47
|
-
border-color: var(--nexus-select-accent);
|
|
48
|
-
box-shadow: 0 0 0 3px var(--nexus-select-accent-dim);
|
|
49
|
-
}
|
|
50
|
-
.nexus-selectable-list__meta {
|
|
51
|
-
margin: 0.5rem 0 0;
|
|
52
|
-
font-size: 0.75rem;
|
|
53
|
-
color: var(--nexus-select-muted);
|
|
54
|
-
}
|
|
55
|
-
.nexus-selectable-list__list {
|
|
56
|
-
list-style: none;
|
|
57
|
-
margin: 0;
|
|
58
|
-
padding: 0;
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
gap: 0.375rem;
|
|
62
|
-
max-height: 16rem;
|
|
63
|
-
overflow-y: auto;
|
|
64
|
-
}
|
|
65
|
-
.nexus-selectable-list__item {
|
|
66
|
-
display: block;
|
|
67
|
-
width: 100%;
|
|
68
|
-
text-align: left;
|
|
69
|
-
padding: 0.75rem 1rem;
|
|
70
|
-
font: inherit;
|
|
71
|
-
color: inherit;
|
|
72
|
-
background: var(--nexus-select-surface);
|
|
73
|
-
border: 1px solid transparent;
|
|
74
|
-
border-radius: 8px;
|
|
75
|
-
cursor: pointer;
|
|
76
|
-
transition: background 0.15s ease, border-color 0.15s ease;
|
|
77
|
-
}
|
|
78
|
-
.nexus-selectable-list__item:hover {
|
|
79
|
-
border-color: var(--nexus-select-border);
|
|
80
|
-
}
|
|
81
|
-
.nexus-selectable-list__item--selected {
|
|
82
|
-
background: var(--nexus-select-accent-dim);
|
|
83
|
-
border-color: var(--nexus-select-accent);
|
|
84
|
-
}
|
|
85
|
-
.nexus-selectable-list__label {
|
|
86
|
-
display: block;
|
|
87
|
-
font-size: 0.9375rem;
|
|
88
|
-
font-weight: 500;
|
|
89
|
-
}
|
|
90
|
-
.nexus-selectable-list__description {
|
|
91
|
-
display: block;
|
|
92
|
-
margin-top: 0.2rem;
|
|
93
|
-
font-size: 0.8125rem;
|
|
94
|
-
color: var(--nexus-select-muted);
|
|
95
|
-
line-height: 1.35;
|
|
96
|
-
}
|
|
97
|
-
.nexus-selectable-list__empty {
|
|
98
|
-
margin: 0;
|
|
99
|
-
padding: 1.25rem;
|
|
100
|
-
text-align: center;
|
|
101
|
-
font-size: 0.875rem;
|
|
102
|
-
color: var(--nexus-select-muted);
|
|
103
|
-
background: var(--nexus-select-surface);
|
|
104
|
-
border-radius: 8px;
|
|
105
|
-
}
|
|
106
|
-
.nexus-selectable-list__detail {
|
|
107
|
-
margin-top: 1rem;
|
|
108
|
-
padding: 0.875rem 1rem;
|
|
109
|
-
background: var(--nexus-select-surface);
|
|
110
|
-
border-left: 3px solid var(--nexus-select-accent);
|
|
111
|
-
border-radius: 0 8px 8px 0;
|
|
112
|
-
font-size: 0.8125rem;
|
|
113
|
-
line-height: 1.5;
|
|
114
|
-
}
|
|
115
|
-
.nexus-selectable-list__detail strong {
|
|
116
|
-
color: var(--nexus-select-accent);
|
|
117
|
-
font-weight: 600;
|
|
118
|
-
}
|
|
119
|
-
/*# sourceMappingURL=client.css.map */
|
package/dist/client.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/client/nexus-selectable-list.css"],"sourcesContent":[".nexus-selectable-list {\r\n --nexus-select-bg: #12101a;\r\n --nexus-select-surface: #1e1b28;\r\n --nexus-select-border: #3d3654;\r\n --nexus-select-accent: #a855f7;\r\n --nexus-select-accent-dim: rgba(168, 85, 247, 0.15);\r\n --nexus-select-text: #f4f0fa;\r\n --nexus-select-muted: #9d94b0;\r\n\r\n font-family: system-ui, -apple-system, \"Segoe UI\", sans-serif;\r\n background: var(--nexus-select-bg);\r\n border: 1px solid var(--nexus-select-border);\r\n border-radius: 12px;\r\n padding: 1.25rem 1.5rem;\r\n color: var(--nexus-select-text);\r\n max-width: 32rem;\r\n}\r\n\r\n.nexus-selectable-list__header {\r\n margin-bottom: 1rem;\r\n}\r\n\r\n.nexus-selectable-list__title {\r\n margin: 0 0 0.75rem;\r\n font-size: 1.125rem;\r\n font-weight: 600;\r\n letter-spacing: -0.02em;\r\n}\r\n\r\n.nexus-selectable-list__search {\r\n width: 100%;\r\n box-sizing: border-box;\r\n padding: 0.625rem 0.875rem;\r\n font-size: 0.875rem;\r\n color: var(--nexus-select-text);\r\n background: var(--nexus-select-surface);\r\n border: 1px solid var(--nexus-select-border);\r\n border-radius: 8px;\r\n outline: none;\r\n transition: border-color 0.15s ease, box-shadow 0.15s ease;\r\n}\r\n\r\n.nexus-selectable-list__search::placeholder {\r\n color: var(--nexus-select-muted);\r\n}\r\n\r\n.nexus-selectable-list__search:focus {\r\n border-color: var(--nexus-select-accent);\r\n box-shadow: 0 0 0 3px var(--nexus-select-accent-dim);\r\n}\r\n\r\n.nexus-selectable-list__meta {\r\n margin: 0.5rem 0 0;\r\n font-size: 0.75rem;\r\n color: var(--nexus-select-muted);\r\n}\r\n\r\n.nexus-selectable-list__list {\r\n list-style: none;\r\n margin: 0;\r\n padding: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.375rem;\r\n max-height: 16rem;\r\n overflow-y: auto;\r\n}\r\n\r\n.nexus-selectable-list__item {\r\n display: block;\r\n width: 100%;\r\n text-align: left;\r\n padding: 0.75rem 1rem;\r\n font: inherit;\r\n color: inherit;\r\n background: var(--nexus-select-surface);\r\n border: 1px solid transparent;\r\n border-radius: 8px;\r\n cursor: pointer;\r\n transition:\r\n background 0.15s ease,\r\n border-color 0.15s ease;\r\n}\r\n\r\n.nexus-selectable-list__item:hover {\r\n border-color: var(--nexus-select-border);\r\n}\r\n\r\n.nexus-selectable-list__item--selected {\r\n background: var(--nexus-select-accent-dim);\r\n border-color: var(--nexus-select-accent);\r\n}\r\n\r\n.nexus-selectable-list__label {\r\n display: block;\r\n font-size: 0.9375rem;\r\n font-weight: 500;\r\n}\r\n\r\n.nexus-selectable-list__description {\r\n display: block;\r\n margin-top: 0.2rem;\r\n font-size: 0.8125rem;\r\n color: var(--nexus-select-muted);\r\n line-height: 1.35;\r\n}\r\n\r\n.nexus-selectable-list__empty {\r\n margin: 0;\r\n padding: 1.25rem;\r\n text-align: center;\r\n font-size: 0.875rem;\r\n color: var(--nexus-select-muted);\r\n background: var(--nexus-select-surface);\r\n border-radius: 8px;\r\n}\r\n\r\n.nexus-selectable-list__detail {\r\n margin-top: 1rem;\r\n padding: 0.875rem 1rem;\r\n background: var(--nexus-select-surface);\r\n border-left: 3px solid var(--nexus-select-accent);\r\n border-radius: 0 8px 8px 0;\r\n font-size: 0.8125rem;\r\n line-height: 1.5;\r\n}\r\n\r\n.nexus-selectable-list__detail strong {\r\n color: var(--nexus-select-accent);\r\n font-weight: 600;\r\n}\r\n"],"mappings":";AAAA,CAAC;AACC,qBAAmB;AACnB,0BAAwB;AACxB,yBAAuB;AACvB,yBAAuB;AACvB,6BAA2B,KAAK,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE;AAC9C,uBAAqB;AACrB,wBAAsB;AAEtB;AAAA,IAAa,SAAS;AAAA,IAAE,aAAa;AAAA,IAAE,UAAU;AAAA,IAAE;AACnD,cAAY,IAAI;AAChB,UAAQ,IAAI,MAAM,IAAI;AACtB,iBAAe;AACf,WAAS,QAAQ;AACjB,SAAO,IAAI;AACX,aAAW;AACb;AAEA,CAAC;AACC,iBAAe;AACjB;AAEA,CAAC;AACC,UAAQ,EAAE,EAAE;AACZ,aAAW;AACX,eAAa;AACb,kBAAgB;AAClB;AAEA,CAAC;AACC,SAAO;AACP,cAAY;AACZ,WAAS,SAAS;AAClB,aAAW;AACX,SAAO,IAAI;AACX,cAAY,IAAI;AAChB,UAAQ,IAAI,MAAM,IAAI;AACtB,iBAAe;AACf,WAAS;AACT,cAAY,aAAa,MAAM,IAAI,EAAE,WAAW,MAAM;AACxD;AAEA,CAbC,6BAa6B;AAC5B,SAAO,IAAI;AACb;AAEA,CAjBC,6BAiB6B;AAC5B,gBAAc,IAAI;AAClB,cAAY,EAAE,EAAE,EAAE,IAAI,IAAI;AAC5B;AAEA,CAAC;AACC,UAAQ,OAAO,EAAE;AACjB,aAAW;AACX,SAAO,IAAI;AACb;AAEA,CAAC;AACC,cAAY;AACZ,UAAQ;AACR,WAAS;AACT,WAAS;AACT,kBAAgB;AAChB,OAAK;AACL,cAAY;AACZ,cAAY;AACd;AAEA,CAAC;AACC,WAAS;AACT,SAAO;AACP,cAAY;AACZ,WAAS,QAAQ;AACjB,QAAM;AACN,SAAO;AACP,cAAY,IAAI;AAChB,UAAQ,IAAI,MAAM;AAClB,iBAAe;AACf,UAAQ;AACR,cACE,WAAW,MAAM,IAAI,EACrB,aAAa,MAAM;AACvB;AAEA,CAhBC,2BAgB2B;AAC1B,gBAAc,IAAI;AACpB;AAEA,CAAC;AACC,cAAY,IAAI;AAChB,gBAAc,IAAI;AACpB;AAEA,CAAC;AACC,WAAS;AACT,aAAW;AACX,eAAa;AACf;AAEA,CAAC;AACC,WAAS;AACT,cAAY;AACZ,aAAW;AACX,SAAO,IAAI;AACX,eAAa;AACf;AAEA,CAAC;AACC,UAAQ;AACR,WAAS;AACT,cAAY;AACZ,aAAW;AACX,SAAO,IAAI;AACX,cAAY,IAAI;AAChB,iBAAe;AACjB;AAEA,CAAC;AACC,cAAY;AACZ,WAAS,SAAS;AAClB,cAAY,IAAI;AAChB,eAAa,IAAI,MAAM,IAAI;AAC3B,iBAAe,EAAE,IAAI,IAAI;AACzB,aAAW;AACX,eAAa;AACf;AAEA,CAVC,8BAU8B;AAC7B,SAAO,IAAI;AACX,eAAa;AACf;","names":[]}
|
package/dist/client.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { a as NexusSelectableListProps } from './nexus-list-DV45tcM0.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Client component — filterable list with selection and detail preview.
|
|
6
|
-
*/
|
|
7
|
-
declare function NexusSelectableList({ title, items, placeholder, emptyMessage, className, }: NexusSelectableListProps): react_jsx_runtime.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { NexusSelectableList };
|
package/dist/client.js
DELETED
package/dist/client.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/index.css
DELETED
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
/* src/server/nexus-stat-list.css */
|
|
2
|
-
.nexus-stat-list {
|
|
3
|
-
--nexus-stat-bg: #0f1419;
|
|
4
|
-
--nexus-stat-surface: #1a2332;
|
|
5
|
-
--nexus-stat-border: #2d3a4f;
|
|
6
|
-
--nexus-stat-accent: #3b82f6;
|
|
7
|
-
--nexus-stat-text: #e8edf4;
|
|
8
|
-
--nexus-stat-muted: #8b9cb3;
|
|
9
|
-
font-family:
|
|
10
|
-
system-ui,
|
|
11
|
-
-apple-system,
|
|
12
|
-
"Segoe UI",
|
|
13
|
-
sans-serif;
|
|
14
|
-
background: var(--nexus-stat-bg);
|
|
15
|
-
border: 1px solid var(--nexus-stat-border);
|
|
16
|
-
border-radius: 12px;
|
|
17
|
-
padding: 1.25rem 1.5rem;
|
|
18
|
-
color: var(--nexus-stat-text);
|
|
19
|
-
max-width: 28rem;
|
|
20
|
-
}
|
|
21
|
-
.nexus-stat-list__title {
|
|
22
|
-
margin: 0 0 1rem;
|
|
23
|
-
font-size: 1.125rem;
|
|
24
|
-
font-weight: 600;
|
|
25
|
-
letter-spacing: -0.02em;
|
|
26
|
-
color: var(--nexus-stat-text);
|
|
27
|
-
border-bottom: 2px solid var(--nexus-stat-accent);
|
|
28
|
-
padding-bottom: 0.5rem;
|
|
29
|
-
display: inline-block;
|
|
30
|
-
}
|
|
31
|
-
.nexus-stat-list__list {
|
|
32
|
-
list-style: none;
|
|
33
|
-
margin: 0;
|
|
34
|
-
padding: 0;
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
gap: 0.5rem;
|
|
38
|
-
}
|
|
39
|
-
.nexus-stat-list__item {
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: space-between;
|
|
43
|
-
gap: 1rem;
|
|
44
|
-
padding: 0.75rem 1rem;
|
|
45
|
-
background: var(--nexus-stat-surface);
|
|
46
|
-
border-radius: 8px;
|
|
47
|
-
border: 1px solid transparent;
|
|
48
|
-
transition: border-color 0.15s ease;
|
|
49
|
-
}
|
|
50
|
-
.nexus-stat-list__item:hover {
|
|
51
|
-
border-color: var(--nexus-stat-border);
|
|
52
|
-
}
|
|
53
|
-
.nexus-stat-list__label-group {
|
|
54
|
-
display: flex;
|
|
55
|
-
flex-direction: column;
|
|
56
|
-
gap: 0.15rem;
|
|
57
|
-
min-width: 0;
|
|
58
|
-
}
|
|
59
|
-
.nexus-stat-list__label {
|
|
60
|
-
font-size: 0.9375rem;
|
|
61
|
-
font-weight: 500;
|
|
62
|
-
color: var(--nexus-stat-text);
|
|
63
|
-
}
|
|
64
|
-
.nexus-stat-list__description {
|
|
65
|
-
font-size: 0.8125rem;
|
|
66
|
-
color: var(--nexus-stat-muted);
|
|
67
|
-
line-height: 1.35;
|
|
68
|
-
}
|
|
69
|
-
.nexus-stat-list__value {
|
|
70
|
-
flex-shrink: 0;
|
|
71
|
-
font-size: 0.875rem;
|
|
72
|
-
font-weight: 600;
|
|
73
|
-
color: var(--nexus-stat-accent);
|
|
74
|
-
background: rgba(59, 130, 246, 0.12);
|
|
75
|
-
padding: 0.25rem 0.625rem;
|
|
76
|
-
border-radius: 6px;
|
|
77
|
-
}
|
|
78
|
-
.nexus-stat-list__empty {
|
|
79
|
-
margin: 0;
|
|
80
|
-
padding: 1.5rem;
|
|
81
|
-
text-align: center;
|
|
82
|
-
font-size: 0.875rem;
|
|
83
|
-
color: var(--nexus-stat-muted);
|
|
84
|
-
background: var(--nexus-stat-surface);
|
|
85
|
-
border-radius: 8px;
|
|
86
|
-
border: 1px dashed var(--nexus-stat-border);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* src/client/nexus-selectable-list.css */
|
|
90
|
-
.nexus-selectable-list {
|
|
91
|
-
--nexus-select-bg: #12101a;
|
|
92
|
-
--nexus-select-surface: #1e1b28;
|
|
93
|
-
--nexus-select-border: #3d3654;
|
|
94
|
-
--nexus-select-accent: #a855f7;
|
|
95
|
-
--nexus-select-accent-dim: rgba(168, 85, 247, 0.15);
|
|
96
|
-
--nexus-select-text: #f4f0fa;
|
|
97
|
-
--nexus-select-muted: #9d94b0;
|
|
98
|
-
font-family:
|
|
99
|
-
system-ui,
|
|
100
|
-
-apple-system,
|
|
101
|
-
"Segoe UI",
|
|
102
|
-
sans-serif;
|
|
103
|
-
background: var(--nexus-select-bg);
|
|
104
|
-
border: 1px solid var(--nexus-select-border);
|
|
105
|
-
border-radius: 12px;
|
|
106
|
-
padding: 1.25rem 1.5rem;
|
|
107
|
-
color: var(--nexus-select-text);
|
|
108
|
-
max-width: 32rem;
|
|
109
|
-
}
|
|
110
|
-
.nexus-selectable-list__header {
|
|
111
|
-
margin-bottom: 1rem;
|
|
112
|
-
}
|
|
113
|
-
.nexus-selectable-list__title {
|
|
114
|
-
margin: 0 0 0.75rem;
|
|
115
|
-
font-size: 1.125rem;
|
|
116
|
-
font-weight: 600;
|
|
117
|
-
letter-spacing: -0.02em;
|
|
118
|
-
}
|
|
119
|
-
.nexus-selectable-list__search {
|
|
120
|
-
width: 100%;
|
|
121
|
-
box-sizing: border-box;
|
|
122
|
-
padding: 0.625rem 0.875rem;
|
|
123
|
-
font-size: 0.875rem;
|
|
124
|
-
color: var(--nexus-select-text);
|
|
125
|
-
background: var(--nexus-select-surface);
|
|
126
|
-
border: 1px solid var(--nexus-select-border);
|
|
127
|
-
border-radius: 8px;
|
|
128
|
-
outline: none;
|
|
129
|
-
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
130
|
-
}
|
|
131
|
-
.nexus-selectable-list__search::placeholder {
|
|
132
|
-
color: var(--nexus-select-muted);
|
|
133
|
-
}
|
|
134
|
-
.nexus-selectable-list__search:focus {
|
|
135
|
-
border-color: var(--nexus-select-accent);
|
|
136
|
-
box-shadow: 0 0 0 3px var(--nexus-select-accent-dim);
|
|
137
|
-
}
|
|
138
|
-
.nexus-selectable-list__meta {
|
|
139
|
-
margin: 0.5rem 0 0;
|
|
140
|
-
font-size: 0.75rem;
|
|
141
|
-
color: var(--nexus-select-muted);
|
|
142
|
-
}
|
|
143
|
-
.nexus-selectable-list__list {
|
|
144
|
-
list-style: none;
|
|
145
|
-
margin: 0;
|
|
146
|
-
padding: 0;
|
|
147
|
-
display: flex;
|
|
148
|
-
flex-direction: column;
|
|
149
|
-
gap: 0.375rem;
|
|
150
|
-
max-height: 16rem;
|
|
151
|
-
overflow-y: auto;
|
|
152
|
-
}
|
|
153
|
-
.nexus-selectable-list__item {
|
|
154
|
-
display: block;
|
|
155
|
-
width: 100%;
|
|
156
|
-
text-align: left;
|
|
157
|
-
padding: 0.75rem 1rem;
|
|
158
|
-
font: inherit;
|
|
159
|
-
color: inherit;
|
|
160
|
-
background: var(--nexus-select-surface);
|
|
161
|
-
border: 1px solid transparent;
|
|
162
|
-
border-radius: 8px;
|
|
163
|
-
cursor: pointer;
|
|
164
|
-
transition: background 0.15s ease, border-color 0.15s ease;
|
|
165
|
-
}
|
|
166
|
-
.nexus-selectable-list__item:hover {
|
|
167
|
-
border-color: var(--nexus-select-border);
|
|
168
|
-
}
|
|
169
|
-
.nexus-selectable-list__item--selected {
|
|
170
|
-
background: var(--nexus-select-accent-dim);
|
|
171
|
-
border-color: var(--nexus-select-accent);
|
|
172
|
-
}
|
|
173
|
-
.nexus-selectable-list__label {
|
|
174
|
-
display: block;
|
|
175
|
-
font-size: 0.9375rem;
|
|
176
|
-
font-weight: 500;
|
|
177
|
-
}
|
|
178
|
-
.nexus-selectable-list__description {
|
|
179
|
-
display: block;
|
|
180
|
-
margin-top: 0.2rem;
|
|
181
|
-
font-size: 0.8125rem;
|
|
182
|
-
color: var(--nexus-select-muted);
|
|
183
|
-
line-height: 1.35;
|
|
184
|
-
}
|
|
185
|
-
.nexus-selectable-list__empty {
|
|
186
|
-
margin: 0;
|
|
187
|
-
padding: 1.25rem;
|
|
188
|
-
text-align: center;
|
|
189
|
-
font-size: 0.875rem;
|
|
190
|
-
color: var(--nexus-select-muted);
|
|
191
|
-
background: var(--nexus-select-surface);
|
|
192
|
-
border-radius: 8px;
|
|
193
|
-
}
|
|
194
|
-
.nexus-selectable-list__detail {
|
|
195
|
-
margin-top: 1rem;
|
|
196
|
-
padding: 0.875rem 1rem;
|
|
197
|
-
background: var(--nexus-select-surface);
|
|
198
|
-
border-left: 3px solid var(--nexus-select-accent);
|
|
199
|
-
border-radius: 0 8px 8px 0;
|
|
200
|
-
font-size: 0.8125rem;
|
|
201
|
-
line-height: 1.5;
|
|
202
|
-
}
|
|
203
|
-
.nexus-selectable-list__detail strong {
|
|
204
|
-
color: var(--nexus-select-accent);
|
|
205
|
-
font-weight: 600;
|
|
206
|
-
}
|
|
207
|
-
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/server/nexus-stat-list.css","../src/client/nexus-selectable-list.css"],"sourcesContent":[".nexus-stat-list {\r\n --nexus-stat-bg: #0f1419;\r\n --nexus-stat-surface: #1a2332;\r\n --nexus-stat-border: #2d3a4f;\r\n --nexus-stat-accent: #3b82f6;\r\n --nexus-stat-text: #e8edf4;\r\n --nexus-stat-muted: #8b9cb3;\r\n\r\n font-family: system-ui, -apple-system, \"Segoe UI\", sans-serif;\r\n background: var(--nexus-stat-bg);\r\n border: 1px solid var(--nexus-stat-border);\r\n border-radius: 12px;\r\n padding: 1.25rem 1.5rem;\r\n color: var(--nexus-stat-text);\r\n max-width: 28rem;\r\n}\r\n\r\n.nexus-stat-list__title {\r\n margin: 0 0 1rem;\r\n font-size: 1.125rem;\r\n font-weight: 600;\r\n letter-spacing: -0.02em;\r\n color: var(--nexus-stat-text);\r\n border-bottom: 2px solid var(--nexus-stat-accent);\r\n padding-bottom: 0.5rem;\r\n display: inline-block;\r\n}\r\n\r\n.nexus-stat-list__list {\r\n list-style: none;\r\n margin: 0;\r\n padding: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.5rem;\r\n}\r\n\r\n.nexus-stat-list__item {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n gap: 1rem;\r\n padding: 0.75rem 1rem;\r\n background: var(--nexus-stat-surface);\r\n border-radius: 8px;\r\n border: 1px solid transparent;\r\n transition: border-color 0.15s ease;\r\n}\r\n\r\n.nexus-stat-list__item:hover {\r\n border-color: var(--nexus-stat-border);\r\n}\r\n\r\n.nexus-stat-list__label-group {\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.15rem;\r\n min-width: 0;\r\n}\r\n\r\n.nexus-stat-list__label {\r\n font-size: 0.9375rem;\r\n font-weight: 500;\r\n color: var(--nexus-stat-text);\r\n}\r\n\r\n.nexus-stat-list__description {\r\n font-size: 0.8125rem;\r\n color: var(--nexus-stat-muted);\r\n line-height: 1.35;\r\n}\r\n\r\n.nexus-stat-list__value {\r\n flex-shrink: 0;\r\n font-size: 0.875rem;\r\n font-weight: 600;\r\n color: var(--nexus-stat-accent);\r\n background: rgba(59, 130, 246, 0.12);\r\n padding: 0.25rem 0.625rem;\r\n border-radius: 6px;\r\n}\r\n\r\n.nexus-stat-list__empty {\r\n margin: 0;\r\n padding: 1.5rem;\r\n text-align: center;\r\n font-size: 0.875rem;\r\n color: var(--nexus-stat-muted);\r\n background: var(--nexus-stat-surface);\r\n border-radius: 8px;\r\n border: 1px dashed var(--nexus-stat-border);\r\n}\r\n",".nexus-selectable-list {\r\n --nexus-select-bg: #12101a;\r\n --nexus-select-surface: #1e1b28;\r\n --nexus-select-border: #3d3654;\r\n --nexus-select-accent: #a855f7;\r\n --nexus-select-accent-dim: rgba(168, 85, 247, 0.15);\r\n --nexus-select-text: #f4f0fa;\r\n --nexus-select-muted: #9d94b0;\r\n\r\n font-family: system-ui, -apple-system, \"Segoe UI\", sans-serif;\r\n background: var(--nexus-select-bg);\r\n border: 1px solid var(--nexus-select-border);\r\n border-radius: 12px;\r\n padding: 1.25rem 1.5rem;\r\n color: var(--nexus-select-text);\r\n max-width: 32rem;\r\n}\r\n\r\n.nexus-selectable-list__header {\r\n margin-bottom: 1rem;\r\n}\r\n\r\n.nexus-selectable-list__title {\r\n margin: 0 0 0.75rem;\r\n font-size: 1.125rem;\r\n font-weight: 600;\r\n letter-spacing: -0.02em;\r\n}\r\n\r\n.nexus-selectable-list__search {\r\n width: 100%;\r\n box-sizing: border-box;\r\n padding: 0.625rem 0.875rem;\r\n font-size: 0.875rem;\r\n color: var(--nexus-select-text);\r\n background: var(--nexus-select-surface);\r\n border: 1px solid var(--nexus-select-border);\r\n border-radius: 8px;\r\n outline: none;\r\n transition: border-color 0.15s ease, box-shadow 0.15s ease;\r\n}\r\n\r\n.nexus-selectable-list__search::placeholder {\r\n color: var(--nexus-select-muted);\r\n}\r\n\r\n.nexus-selectable-list__search:focus {\r\n border-color: var(--nexus-select-accent);\r\n box-shadow: 0 0 0 3px var(--nexus-select-accent-dim);\r\n}\r\n\r\n.nexus-selectable-list__meta {\r\n margin: 0.5rem 0 0;\r\n font-size: 0.75rem;\r\n color: var(--nexus-select-muted);\r\n}\r\n\r\n.nexus-selectable-list__list {\r\n list-style: none;\r\n margin: 0;\r\n padding: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.375rem;\r\n max-height: 16rem;\r\n overflow-y: auto;\r\n}\r\n\r\n.nexus-selectable-list__item {\r\n display: block;\r\n width: 100%;\r\n text-align: left;\r\n padding: 0.75rem 1rem;\r\n font: inherit;\r\n color: inherit;\r\n background: var(--nexus-select-surface);\r\n border: 1px solid transparent;\r\n border-radius: 8px;\r\n cursor: pointer;\r\n transition:\r\n background 0.15s ease,\r\n border-color 0.15s ease;\r\n}\r\n\r\n.nexus-selectable-list__item:hover {\r\n border-color: var(--nexus-select-border);\r\n}\r\n\r\n.nexus-selectable-list__item--selected {\r\n background: var(--nexus-select-accent-dim);\r\n border-color: var(--nexus-select-accent);\r\n}\r\n\r\n.nexus-selectable-list__label {\r\n display: block;\r\n font-size: 0.9375rem;\r\n font-weight: 500;\r\n}\r\n\r\n.nexus-selectable-list__description {\r\n display: block;\r\n margin-top: 0.2rem;\r\n font-size: 0.8125rem;\r\n color: var(--nexus-select-muted);\r\n line-height: 1.35;\r\n}\r\n\r\n.nexus-selectable-list__empty {\r\n margin: 0;\r\n padding: 1.25rem;\r\n text-align: center;\r\n font-size: 0.875rem;\r\n color: var(--nexus-select-muted);\r\n background: var(--nexus-select-surface);\r\n border-radius: 8px;\r\n}\r\n\r\n.nexus-selectable-list__detail {\r\n margin-top: 1rem;\r\n padding: 0.875rem 1rem;\r\n background: var(--nexus-select-surface);\r\n border-left: 3px solid var(--nexus-select-accent);\r\n border-radius: 0 8px 8px 0;\r\n font-size: 0.8125rem;\r\n line-height: 1.5;\r\n}\r\n\r\n.nexus-selectable-list__detail strong {\r\n color: var(--nexus-select-accent);\r\n font-weight: 600;\r\n}\r\n"],"mappings":"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","names":[]}
|
package/dist/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { NexusBaseProps } from './interface.js';
|
|
2
|
-
export { N as NexusListItem, a as NexusSelectableListProps, b as NexusStatListProps } from './nexus-list-DV45tcM0.js';
|
|
3
|
-
export { NexusStatList } from './server.js';
|
|
4
|
-
export { NexusSelectableList } from './client.js';
|
|
5
|
-
import 'react/jsx-runtime';
|
package/dist/index.js
DELETED
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/interface.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { N as NexusListItem, a as NexusSelectableListProps, b as NexusStatListProps } from './nexus-list-DV45tcM0.js';
|
|
2
|
-
|
|
3
|
-
/** Base props shared across Nexus packages */
|
|
4
|
-
interface NexusBaseProps {
|
|
5
|
-
id?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export type { NexusBaseProps };
|
package/dist/interface.js
DELETED
package/dist/interface.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** Single row/item used by Nexus list components */
|
|
2
|
-
interface NexusListItem {
|
|
3
|
-
id: string;
|
|
4
|
-
label: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
value?: string | number;
|
|
7
|
-
}
|
|
8
|
-
/** Props for the server-rendered stat list */
|
|
9
|
-
interface NexusStatListProps {
|
|
10
|
-
title: string;
|
|
11
|
-
items: NexusListItem[];
|
|
12
|
-
emptyMessage?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
15
|
-
/** Props for the client-side selectable & filterable list */
|
|
16
|
-
interface NexusSelectableListProps {
|
|
17
|
-
title: string;
|
|
18
|
-
items: NexusListItem[];
|
|
19
|
-
placeholder?: string;
|
|
20
|
-
emptyMessage?: string;
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type { NexusListItem as N, NexusSelectableListProps as a, NexusStatListProps as b };
|
package/dist/server.css
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/* src/server/nexus-stat-list.css */
|
|
2
|
-
.nexus-stat-list {
|
|
3
|
-
--nexus-stat-bg: #0f1419;
|
|
4
|
-
--nexus-stat-surface: #1a2332;
|
|
5
|
-
--nexus-stat-border: #2d3a4f;
|
|
6
|
-
--nexus-stat-accent: #3b82f6;
|
|
7
|
-
--nexus-stat-text: #e8edf4;
|
|
8
|
-
--nexus-stat-muted: #8b9cb3;
|
|
9
|
-
font-family:
|
|
10
|
-
system-ui,
|
|
11
|
-
-apple-system,
|
|
12
|
-
"Segoe UI",
|
|
13
|
-
sans-serif;
|
|
14
|
-
background: var(--nexus-stat-bg);
|
|
15
|
-
border: 1px solid var(--nexus-stat-border);
|
|
16
|
-
border-radius: 12px;
|
|
17
|
-
padding: 1.25rem 1.5rem;
|
|
18
|
-
color: var(--nexus-stat-text);
|
|
19
|
-
max-width: 28rem;
|
|
20
|
-
}
|
|
21
|
-
.nexus-stat-list__title {
|
|
22
|
-
margin: 0 0 1rem;
|
|
23
|
-
font-size: 1.125rem;
|
|
24
|
-
font-weight: 600;
|
|
25
|
-
letter-spacing: -0.02em;
|
|
26
|
-
color: var(--nexus-stat-text);
|
|
27
|
-
border-bottom: 2px solid var(--nexus-stat-accent);
|
|
28
|
-
padding-bottom: 0.5rem;
|
|
29
|
-
display: inline-block;
|
|
30
|
-
}
|
|
31
|
-
.nexus-stat-list__list {
|
|
32
|
-
list-style: none;
|
|
33
|
-
margin: 0;
|
|
34
|
-
padding: 0;
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
gap: 0.5rem;
|
|
38
|
-
}
|
|
39
|
-
.nexus-stat-list__item {
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: space-between;
|
|
43
|
-
gap: 1rem;
|
|
44
|
-
padding: 0.75rem 1rem;
|
|
45
|
-
background: var(--nexus-stat-surface);
|
|
46
|
-
border-radius: 8px;
|
|
47
|
-
border: 1px solid transparent;
|
|
48
|
-
transition: border-color 0.15s ease;
|
|
49
|
-
}
|
|
50
|
-
.nexus-stat-list__item:hover {
|
|
51
|
-
border-color: var(--nexus-stat-border);
|
|
52
|
-
}
|
|
53
|
-
.nexus-stat-list__label-group {
|
|
54
|
-
display: flex;
|
|
55
|
-
flex-direction: column;
|
|
56
|
-
gap: 0.15rem;
|
|
57
|
-
min-width: 0;
|
|
58
|
-
}
|
|
59
|
-
.nexus-stat-list__label {
|
|
60
|
-
font-size: 0.9375rem;
|
|
61
|
-
font-weight: 500;
|
|
62
|
-
color: var(--nexus-stat-text);
|
|
63
|
-
}
|
|
64
|
-
.nexus-stat-list__description {
|
|
65
|
-
font-size: 0.8125rem;
|
|
66
|
-
color: var(--nexus-stat-muted);
|
|
67
|
-
line-height: 1.35;
|
|
68
|
-
}
|
|
69
|
-
.nexus-stat-list__value {
|
|
70
|
-
flex-shrink: 0;
|
|
71
|
-
font-size: 0.875rem;
|
|
72
|
-
font-weight: 600;
|
|
73
|
-
color: var(--nexus-stat-accent);
|
|
74
|
-
background: rgba(59, 130, 246, 0.12);
|
|
75
|
-
padding: 0.25rem 0.625rem;
|
|
76
|
-
border-radius: 6px;
|
|
77
|
-
}
|
|
78
|
-
.nexus-stat-list__empty {
|
|
79
|
-
margin: 0;
|
|
80
|
-
padding: 1.5rem;
|
|
81
|
-
text-align: center;
|
|
82
|
-
font-size: 0.875rem;
|
|
83
|
-
color: var(--nexus-stat-muted);
|
|
84
|
-
background: var(--nexus-stat-surface);
|
|
85
|
-
border-radius: 8px;
|
|
86
|
-
border: 1px dashed var(--nexus-stat-border);
|
|
87
|
-
}
|
|
88
|
-
/*# sourceMappingURL=server.css.map */
|
package/dist/server.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/server/nexus-stat-list.css"],"sourcesContent":[".nexus-stat-list {\r\n --nexus-stat-bg: #0f1419;\r\n --nexus-stat-surface: #1a2332;\r\n --nexus-stat-border: #2d3a4f;\r\n --nexus-stat-accent: #3b82f6;\r\n --nexus-stat-text: #e8edf4;\r\n --nexus-stat-muted: #8b9cb3;\r\n\r\n font-family: system-ui, -apple-system, \"Segoe UI\", sans-serif;\r\n background: var(--nexus-stat-bg);\r\n border: 1px solid var(--nexus-stat-border);\r\n border-radius: 12px;\r\n padding: 1.25rem 1.5rem;\r\n color: var(--nexus-stat-text);\r\n max-width: 28rem;\r\n}\r\n\r\n.nexus-stat-list__title {\r\n margin: 0 0 1rem;\r\n font-size: 1.125rem;\r\n font-weight: 600;\r\n letter-spacing: -0.02em;\r\n color: var(--nexus-stat-text);\r\n border-bottom: 2px solid var(--nexus-stat-accent);\r\n padding-bottom: 0.5rem;\r\n display: inline-block;\r\n}\r\n\r\n.nexus-stat-list__list {\r\n list-style: none;\r\n margin: 0;\r\n padding: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.5rem;\r\n}\r\n\r\n.nexus-stat-list__item {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n gap: 1rem;\r\n padding: 0.75rem 1rem;\r\n background: var(--nexus-stat-surface);\r\n border-radius: 8px;\r\n border: 1px solid transparent;\r\n transition: border-color 0.15s ease;\r\n}\r\n\r\n.nexus-stat-list__item:hover {\r\n border-color: var(--nexus-stat-border);\r\n}\r\n\r\n.nexus-stat-list__label-group {\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.15rem;\r\n min-width: 0;\r\n}\r\n\r\n.nexus-stat-list__label {\r\n font-size: 0.9375rem;\r\n font-weight: 500;\r\n color: var(--nexus-stat-text);\r\n}\r\n\r\n.nexus-stat-list__description {\r\n font-size: 0.8125rem;\r\n color: var(--nexus-stat-muted);\r\n line-height: 1.35;\r\n}\r\n\r\n.nexus-stat-list__value {\r\n flex-shrink: 0;\r\n font-size: 0.875rem;\r\n font-weight: 600;\r\n color: var(--nexus-stat-accent);\r\n background: rgba(59, 130, 246, 0.12);\r\n padding: 0.25rem 0.625rem;\r\n border-radius: 6px;\r\n}\r\n\r\n.nexus-stat-list__empty {\r\n margin: 0;\r\n padding: 1.5rem;\r\n text-align: center;\r\n font-size: 0.875rem;\r\n color: var(--nexus-stat-muted);\r\n background: var(--nexus-stat-surface);\r\n border-radius: 8px;\r\n border: 1px dashed var(--nexus-stat-border);\r\n}\r\n"],"mappings":";AAAA,CAAC;AACC,mBAAiB;AACjB,wBAAsB;AACtB,uBAAqB;AACrB,uBAAqB;AACrB,qBAAmB;AACnB,sBAAoB;AAEpB;AAAA,IAAa,SAAS;AAAA,IAAE,aAAa;AAAA,IAAE,UAAU;AAAA,IAAE;AACnD,cAAY,IAAI;AAChB,UAAQ,IAAI,MAAM,IAAI;AACtB,iBAAe;AACf,WAAS,QAAQ;AACjB,SAAO,IAAI;AACX,aAAW;AACb;AAEA,CAAC;AACC,UAAQ,EAAE,EAAE;AACZ,aAAW;AACX,eAAa;AACb,kBAAgB;AAChB,SAAO,IAAI;AACX,iBAAe,IAAI,MAAM,IAAI;AAC7B,kBAAgB;AAChB,WAAS;AACX;AAEA,CAAC;AACC,cAAY;AACZ,UAAQ;AACR,WAAS;AACT,WAAS;AACT,kBAAgB;AAChB,OAAK;AACP;AAEA,CAAC;AACC,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,OAAK;AACL,WAAS,QAAQ;AACjB,cAAY,IAAI;AAChB,iBAAe;AACf,UAAQ,IAAI,MAAM;AAClB,cAAY,aAAa,MAAM;AACjC;AAEA,CAZC,qBAYqB;AACpB,gBAAc,IAAI;AACpB;AAEA,CAAC;AACC,WAAS;AACT,kBAAgB;AAChB,OAAK;AACL,aAAW;AACb;AAEA,CAAC;AACC,aAAW;AACX,eAAa;AACb,SAAO,IAAI;AACb;AAEA,CAAC;AACC,aAAW;AACX,SAAO,IAAI;AACX,eAAa;AACf;AAEA,CAAC;AACC,eAAa;AACb,aAAW;AACX,eAAa;AACb,SAAO,IAAI;AACX,cAAY,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE;AAC/B,WAAS,QAAQ;AACjB,iBAAe;AACjB;AAEA,CAAC;AACC,UAAQ;AACR,WAAS;AACT,cAAY;AACZ,aAAW;AACX,SAAO,IAAI;AACX,cAAY,IAAI;AAChB,iBAAe;AACf,UAAQ,IAAI,OAAO,IAAI;AACzB;","names":[]}
|
package/dist/server.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { b as NexusStatListProps } from './nexus-list-DV45tcM0.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Server component — renders a read-only list of labeled items with optional values.
|
|
6
|
-
*/
|
|
7
|
-
declare function NexusStatList({ title, items, emptyMessage, className, }: NexusStatListProps): react_jsx_runtime.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { NexusStatList };
|
package/dist/server.js
DELETED
package/dist/server.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|