@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.js CHANGED
@@ -14439,7 +14439,7 @@ function FormatToggle({ format, setFormat }) {
14439
14439
 
14440
14440
  // package.json
14441
14441
  var package_default = {
14442
- version: "1.125.15"};
14442
+ version: "1.126.0"};
14443
14443
  var SluggerContext = React5__default.createContext(null);
14444
14444
  function flattenText(nodes) {
14445
14445
  if (nodes == null || typeof nodes === "boolean") return "";
@@ -31297,14 +31297,20 @@ var getStatusBadge = (status) => {
31297
31297
  const labels = {
31298
31298
  "input-streaming": "Pending",
31299
31299
  "input-available": "Running",
31300
+ "approval-requested": "Awaiting approval",
31301
+ "approval-responded": "Approval response received",
31300
31302
  "output-available": "Completed",
31301
- "output-error": "Error"
31303
+ "output-error": "Error",
31304
+ "output-denied": "Denied"
31302
31305
  };
31303
31306
  const icons = {
31304
31307
  "input-streaming": /* @__PURE__ */ jsx(CircleIcon, { className: "size-4" }),
31305
31308
  "input-available": /* @__PURE__ */ jsx(ClockIcon, { className: "size-4 animate-pulse" }),
31309
+ "approval-requested": /* @__PURE__ */ jsx(ClockIcon, { className: "size-4 animate-pulse" }),
31310
+ "approval-responded": /* @__PURE__ */ jsx(CircleIcon, { className: "size-4" }),
31306
31311
  "output-available": /* @__PURE__ */ jsx(Icons.check_circle, { className: "size-4 text-green-600" }),
31307
- "output-error": /* @__PURE__ */ jsx(XCircleIcon, { className: "size-4 text-red-600" })
31312
+ "output-error": /* @__PURE__ */ jsx(XCircleIcon, { className: "size-4 text-red-600" }),
31313
+ "output-denied": /* @__PURE__ */ jsx(XCircleIcon, { className: "size-4 text-red-600" })
31308
31314
  };
31309
31315
  return /* @__PURE__ */ jsxs(Badge2, { className: "gap-1.5 rounded-full text-xs", variant: "secondary", children: [
31310
31316
  icons[status],