@getcatalystiq/agent-plane-ui 0.1.1 → 0.1.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/dist/index.cjs +4 -2
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -228,7 +228,8 @@ function Select({ className = "", ...props }) {
|
|
|
228
228
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
229
229
|
"select",
|
|
230
230
|
{
|
|
231
|
-
className: `flex h-9 w-full
|
|
231
|
+
className: `flex h-9 w-full rounded-md border border-input bg-transparent pl-3 pr-8 py-1 text-sm shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 ${className}`,
|
|
232
|
+
style: { appearance: "none", WebkitAppearance: "none" },
|
|
232
233
|
...props
|
|
233
234
|
}
|
|
234
235
|
),
|
|
@@ -636,7 +637,8 @@ function RunListPage({ initialData }) {
|
|
|
636
637
|
/* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "h-96 rounded-lg" })
|
|
637
638
|
] });
|
|
638
639
|
}
|
|
639
|
-
const
|
|
640
|
+
const runs = data.data;
|
|
641
|
+
const total = data.has_more ? data.offset + data.limit + 1 : data.offset + runs.length;
|
|
640
642
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
641
643
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center mb-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-40", children: /* @__PURE__ */ jsxRuntime.jsx(Select, { value: sourceFilter ?? "", onChange: handleSourceChange, children: SOURCES.map((s) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: s.value, children: s.label }, s.value)) }) }) }),
|
|
642
644
|
/* @__PURE__ */ jsxRuntime.jsxs(AdminTable, { className: "overflow-x-auto", footer: /* @__PURE__ */ jsxRuntime.jsx(
|
package/dist/index.d.cts
CHANGED
|
@@ -372,8 +372,10 @@ interface RunItem {
|
|
|
372
372
|
created_at: string;
|
|
373
373
|
}
|
|
374
374
|
interface RunListResponse {
|
|
375
|
-
|
|
376
|
-
|
|
375
|
+
data: RunItem[];
|
|
376
|
+
limit: number;
|
|
377
|
+
offset: number;
|
|
378
|
+
has_more: boolean;
|
|
377
379
|
}
|
|
378
380
|
interface RunListPageProps {
|
|
379
381
|
/** Optional initial data for SSR hosts */
|
package/dist/index.d.ts
CHANGED
|
@@ -372,8 +372,10 @@ interface RunItem {
|
|
|
372
372
|
created_at: string;
|
|
373
373
|
}
|
|
374
374
|
interface RunListResponse {
|
|
375
|
-
|
|
376
|
-
|
|
375
|
+
data: RunItem[];
|
|
376
|
+
limit: number;
|
|
377
|
+
offset: number;
|
|
378
|
+
has_more: boolean;
|
|
377
379
|
}
|
|
378
380
|
interface RunListPageProps {
|
|
379
381
|
/** Optional initial data for SSR hosts */
|
package/dist/index.js
CHANGED
|
@@ -202,7 +202,8 @@ function Select({ className = "", ...props }) {
|
|
|
202
202
|
/* @__PURE__ */ jsx(
|
|
203
203
|
"select",
|
|
204
204
|
{
|
|
205
|
-
className: `flex h-9 w-full
|
|
205
|
+
className: `flex h-9 w-full rounded-md border border-input bg-transparent pl-3 pr-8 py-1 text-sm shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 ${className}`,
|
|
206
|
+
style: { appearance: "none", WebkitAppearance: "none" },
|
|
206
207
|
...props
|
|
207
208
|
}
|
|
208
209
|
),
|
|
@@ -610,7 +611,8 @@ function RunListPage({ initialData }) {
|
|
|
610
611
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-96 rounded-lg" })
|
|
611
612
|
] });
|
|
612
613
|
}
|
|
613
|
-
const
|
|
614
|
+
const runs = data.data;
|
|
615
|
+
const total = data.has_more ? data.offset + data.limit + 1 : data.offset + runs.length;
|
|
614
616
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
615
617
|
/* @__PURE__ */ jsx("div", { className: "flex items-center mb-6", children: /* @__PURE__ */ jsx("div", { className: "w-40", children: /* @__PURE__ */ jsx(Select, { value: sourceFilter ?? "", onChange: handleSourceChange, children: SOURCES.map((s) => /* @__PURE__ */ jsx("option", { value: s.value, children: s.label }, s.value)) }) }) }),
|
|
616
618
|
/* @__PURE__ */ jsxs(AdminTable, { className: "overflow-x-auto", footer: /* @__PURE__ */ jsx(
|