@nswds/app 1.126.0 → 1.126.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/dist/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -14495,7 +14495,7 @@ function FormatToggle({ format, setFormat }) {
|
|
|
14495
14495
|
|
|
14496
14496
|
// package.json
|
|
14497
14497
|
var package_default = {
|
|
14498
|
-
version: "1.
|
|
14498
|
+
version: "1.126.0"};
|
|
14499
14499
|
var SluggerContext = React5__namespace.default.createContext(null);
|
|
14500
14500
|
function flattenText(nodes) {
|
|
14501
14501
|
if (nodes == null || typeof nodes === "boolean") return "";
|
|
@@ -31353,14 +31353,20 @@ var getStatusBadge = (status) => {
|
|
|
31353
31353
|
const labels = {
|
|
31354
31354
|
"input-streaming": "Pending",
|
|
31355
31355
|
"input-available": "Running",
|
|
31356
|
+
"approval-requested": "Awaiting approval",
|
|
31357
|
+
"approval-responded": "Approval response received",
|
|
31356
31358
|
"output-available": "Completed",
|
|
31357
|
-
"output-error": "Error"
|
|
31359
|
+
"output-error": "Error",
|
|
31360
|
+
"output-denied": "Denied"
|
|
31358
31361
|
};
|
|
31359
31362
|
const icons = {
|
|
31360
31363
|
"input-streaming": /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CircleIcon, { className: "size-4" }),
|
|
31361
31364
|
"input-available": /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClockIcon, { className: "size-4 animate-pulse" }),
|
|
31365
|
+
"approval-requested": /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClockIcon, { className: "size-4 animate-pulse" }),
|
|
31366
|
+
"approval-responded": /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CircleIcon, { className: "size-4" }),
|
|
31362
31367
|
"output-available": /* @__PURE__ */ jsxRuntime.jsx(Icons.check_circle, { className: "size-4 text-green-600" }),
|
|
31363
|
-
"output-error": /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XCircleIcon, { className: "size-4 text-red-600" })
|
|
31368
|
+
"output-error": /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XCircleIcon, { className: "size-4 text-red-600" }),
|
|
31369
|
+
"output-denied": /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XCircleIcon, { className: "size-4 text-red-600" })
|
|
31364
31370
|
};
|
|
31365
31371
|
return /* @__PURE__ */ jsxRuntime.jsxs(Badge2, { className: "gap-1.5 rounded-full text-xs", variant: "secondary", children: [
|
|
31366
31372
|
icons[status],
|