@axis-ds/agentic-ui 1.2.0 → 1.3.0

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.
Files changed (45) hide show
  1. package/dist/agent-avatar/index.js +7 -7
  2. package/dist/agent-avatar/index.mjs +1 -1
  3. package/dist/approval-card/index.js +8 -8
  4. package/dist/approval-card/index.mjs +1 -1
  5. package/dist/attachment-card/index.js +2 -2
  6. package/dist/attachment-card/index.mjs +1 -1
  7. package/dist/{chunk-FPOHPDZ2.mjs → chunk-42KEAZ2Y.mjs} +2 -2
  8. package/dist/{chunk-RGBY6EEU.mjs → chunk-4CMUEGLK.mjs} +1 -1
  9. package/dist/{chunk-RGPKTWK4.mjs → chunk-4V4BWBRC.mjs} +6 -6
  10. package/dist/{chunk-ENIWC4WX.mjs → chunk-7HTVJ6MK.mjs} +8 -8
  11. package/dist/{chunk-NRBIHROX.mjs → chunk-IOF4OET6.mjs} +6 -6
  12. package/dist/{chunk-657RY6MM.mjs → chunk-J4FIMXXG.mjs} +1 -1
  13. package/dist/{chunk-KH4OXDEV.mjs → chunk-JY7MTMMB.mjs} +7 -7
  14. package/dist/{chunk-PWKN5UHT.mjs → chunk-OYQX3SL4.mjs} +21 -21
  15. package/dist/{chunk-H6VXOP7U.mjs → chunk-QS6GQNSE.mjs} +5 -5
  16. package/dist/{chunk-ETFET3LT.mjs → chunk-R4CMHIRO.mjs} +2 -2
  17. package/dist/{chunk-LZKOCELQ.mjs → chunk-SCXUEQLI.mjs} +8 -8
  18. package/dist/{chunk-7UGSLEYG.mjs → chunk-UDL4M5RP.mjs} +3 -3
  19. package/dist/{chunk-FAJF5RCY.mjs → chunk-WFYQINWD.mjs} +4 -4
  20. package/dist/{chunk-MVBXXDZB.mjs → chunk-ZW4Z27AB.mjs} +2 -1
  21. package/dist/code-block/index.js +1 -1
  22. package/dist/code-block/index.mjs +1 -1
  23. package/dist/diff-viewer/index.js +6 -6
  24. package/dist/diff-viewer/index.mjs +1 -1
  25. package/dist/feedback-buttons/index.js +2 -2
  26. package/dist/feedback-buttons/index.mjs +1 -1
  27. package/dist/index.js +76 -75
  28. package/dist/index.mjs +16 -16
  29. package/dist/message-bubble/index.js +1 -1
  30. package/dist/message-bubble/index.mjs +1 -1
  31. package/dist/plan-card/index.js +21 -21
  32. package/dist/plan-card/index.mjs +1 -1
  33. package/dist/recovery-banner/index.js +3 -3
  34. package/dist/recovery-banner/index.mjs +1 -1
  35. package/dist/run-progress/index.js +8 -8
  36. package/dist/run-progress/index.mjs +1 -1
  37. package/dist/step-timeline/index.js +6 -6
  38. package/dist/step-timeline/index.mjs +1 -1
  39. package/dist/surface-renderer/index.js +2 -1
  40. package/dist/surface-renderer/index.mjs +1 -1
  41. package/dist/token-usage-indicator/index.js +5 -5
  42. package/dist/token-usage-indicator/index.mjs +1 -1
  43. package/dist/tool-call-card/index.js +4 -4
  44. package/dist/tool-call-card/index.mjs +1 -1
  45. package/package.json +5 -4
@@ -59,39 +59,39 @@ var PLAN_STATUS_LABELS = {
59
59
  var import_jsx_runtime = require("react/jsx-runtime");
60
60
  var planStatusStyles = {
61
61
  draft: {
62
- border: "border-l-[var(--axis-color-gray-400)]",
63
- badge: "bg-[var(--axis-color-gray-100)] text-[var(--axis-color-gray-600)]"
62
+ border: "border-l-[var(--axis-status-neutral)]",
63
+ badge: "bg-[var(--axis-status-neutral-bg)] text-[var(--axis-status-neutral-strong)]"
64
64
  },
65
65
  pending: {
66
- border: "border-l-[var(--axis-color-yellow-500)]",
67
- badge: "bg-[var(--axis-color-yellow-500)]/10 text-[var(--axis-color-yellow-600)]"
66
+ border: "border-l-[var(--axis-status-warning)]",
67
+ badge: "bg-[var(--axis-badge-warning-bg)] text-[var(--axis-badge-warning-text)]"
68
68
  },
69
69
  approved: {
70
- border: "border-l-[var(--axis-color-green-500)]",
71
- badge: "bg-[var(--axis-color-green-500)]/10 text-[var(--axis-color-green-600)]"
70
+ border: "border-l-[var(--axis-status-success)]",
71
+ badge: "bg-[var(--axis-badge-success-bg)] text-[var(--axis-badge-success-text)]"
72
72
  },
73
73
  rejected: {
74
- border: "border-l-[var(--axis-color-red-500)]",
75
- badge: "bg-[var(--axis-color-red-500)]/10 text-[var(--axis-color-red-600)]"
74
+ border: "border-l-[var(--axis-status-error)]",
75
+ badge: "bg-[var(--axis-badge-error-bg)] text-[var(--axis-badge-error-text)]"
76
76
  },
77
77
  executing: {
78
- border: "border-l-[var(--axis-color-blue-500)]",
79
- badge: "bg-[var(--axis-color-blue-500)]/10 text-[var(--axis-color-blue-600)]"
78
+ border: "border-l-[var(--axis-status-running)]",
79
+ badge: "bg-[var(--axis-badge-info-bg)] text-[var(--axis-badge-info-text)]"
80
80
  },
81
81
  completed: {
82
- border: "border-l-[var(--axis-color-green-500)]",
83
- badge: "bg-[var(--axis-color-green-500)]/10 text-[var(--axis-color-green-600)]"
82
+ border: "border-l-[var(--axis-status-success)]",
83
+ badge: "bg-[var(--axis-badge-success-bg)] text-[var(--axis-badge-success-text)]"
84
84
  }
85
85
  };
86
86
  var stepStatusIcons = {
87
- pending: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-color-gray-400)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "10", strokeWidth: 2 }) }),
88
- running: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { className: "w-4 h-4 text-[var(--axis-color-blue-500)] animate-spin", viewBox: "0 0 24 24", fill: "none", children: [
87
+ pending: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-status-neutral)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "10", strokeWidth: 2 }) }),
88
+ running: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { className: "w-4 h-4 text-[var(--axis-status-running)] animate-spin", viewBox: "0 0 24 24", fill: "none", children: [
89
89
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
90
90
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z" })
91
91
  ] }),
92
- complete: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-color-green-500)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
93
- error: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-color-red-500)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }),
94
- skipped: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-color-gray-400)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M13 5l7 7-7 7M5 5l7 7-7 7" }) })
92
+ complete: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-status-success)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
93
+ error: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-status-error)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }),
94
+ skipped: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-status-neutral)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M13 5l7 7-7 7M5 5l7 7-7 7" }) })
95
95
  };
96
96
  function PlanCard({
97
97
  title,
@@ -112,7 +112,7 @@ function PlanCard({
112
112
  role: "region",
113
113
  "aria-labelledby": titleId,
114
114
  className: (0, import_ui_react.cn)(
115
- "rounded-lg border border-l-4 overflow-hidden",
115
+ "rounded-lg border border-l-[length:var(--axis-plan-card-accent-width)] overflow-hidden",
116
116
  "bg-[var(--axis-surface-default)] border-[var(--axis-border-default)]",
117
117
  styles.border,
118
118
  className
@@ -136,7 +136,7 @@ function PlanCard({
136
136
  steps.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex-1 h-1 rounded-full bg-[var(--axis-surface-secondary)] overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
137
137
  "div",
138
138
  {
139
- className: "h-full rounded-full bg-[var(--axis-color-green-500)] transition-all",
139
+ className: "h-full rounded-full bg-[var(--axis-status-success)] transition-all",
140
140
  style: { width: `${completedCount / steps.length * 100}%` },
141
141
  "aria-hidden": "true"
142
142
  }
@@ -171,7 +171,7 @@ function PlanCard({
171
171
  "button",
172
172
  {
173
173
  onClick: onApprove,
174
- className: "px-3 py-1.5 text-xs font-medium rounded-md bg-[var(--axis-color-green-500)] text-white hover:bg-[var(--axis-color-green-600)] transition-colors",
174
+ className: "px-3 py-1.5 text-xs font-medium rounded-md bg-[var(--axis-status-success)] text-[var(--axis-status-success-contrast)] hover:bg-[var(--axis-status-success-strong)] transition-colors",
175
175
  children: "\uC2B9\uC778"
176
176
  }
177
177
  ),
@@ -187,7 +187,7 @@ function PlanCard({
187
187
  "button",
188
188
  {
189
189
  onClick: onReject,
190
- className: "px-3 py-1.5 text-xs font-medium rounded-md text-[var(--axis-color-red-500)] hover:bg-[var(--axis-color-red-500)]/10 transition-colors",
190
+ className: "px-3 py-1.5 text-xs font-medium rounded-md text-[var(--axis-status-error)] hover:text-[var(--axis-plan-card-reject-hover-text)] hover:bg-[color:color-mix(in_srgb,var(--axis-status-error)_10%,transparent)] transition-colors",
191
191
  children: "\uAC70\uC808"
192
192
  }
193
193
  )
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlanCard
3
- } from "../chunk-PWKN5UHT.mjs";
3
+ } from "../chunk-OYQX3SL4.mjs";
4
4
  import "../chunk-SCZ4BQ2G.mjs";
5
5
  export {
6
6
  PlanCard
@@ -50,7 +50,7 @@ function RecoveryBanner({
50
50
  {
51
51
  className: (0, import_ui_react.cn)(
52
52
  "flex items-start gap-3 p-4 rounded-lg border",
53
- "bg-[var(--axis-surface-error)] border-[var(--axis-color-red-200)]",
53
+ "bg-[var(--axis-surface-error)] border-[var(--axis-status-error-border)]",
54
54
  className
55
55
  ),
56
56
  role: "alert",
@@ -60,7 +60,7 @@ function RecoveryBanner({
60
60
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
61
61
  "svg",
62
62
  {
63
- className: "w-5 h-5 text-[var(--axis-color-red-500)] flex-shrink-0 mt-0.5",
63
+ className: "w-5 h-5 text-[var(--axis-status-error)] flex-shrink-0 mt-0.5",
64
64
  fill: "none",
65
65
  stroke: "currentColor",
66
66
  viewBox: "0 0 24 24",
@@ -85,7 +85,7 @@ function RecoveryBanner({
85
85
  {
86
86
  onClick: onRetry,
87
87
  "aria-describedby": descId,
88
- className: "px-3 py-1.5 text-sm font-medium rounded-md bg-[var(--axis-color-red-500)] text-white hover:bg-[var(--axis-color-red-600)] transition-colors",
88
+ className: "px-3 py-1.5 text-sm font-medium rounded-md bg-[var(--axis-button-destructive-bg-default)] text-[var(--axis-button-destructive-text-default)] hover:bg-[var(--axis-button-destructive-bg-hover)] transition-colors",
89
89
  children: "\uC7AC\uC2DC\uB3C4"
90
90
  }
91
91
  ),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RecoveryBanner
3
- } from "../chunk-7UGSLEYG.mjs";
3
+ } from "../chunk-UDL4M5RP.mjs";
4
4
  export {
5
5
  RecoveryBanner
6
6
  };
@@ -50,10 +50,10 @@ var STATUS_LABELS = {
50
50
  // src/run-progress/index.tsx
51
51
  var import_jsx_runtime = require("react/jsx-runtime");
52
52
  var statusColors = {
53
- pending: "bg-[var(--axis-color-gray-300)]",
54
- running: "bg-[var(--axis-color-blue-500)] animate-pulse",
55
- complete: "bg-[var(--axis-color-green-500)]",
56
- error: "bg-[var(--axis-color-red-500)]"
53
+ pending: "bg-[var(--axis-status-neutral-muted)] text-[var(--axis-status-neutral-muted-contrast)]",
54
+ running: "bg-[var(--axis-status-running)] text-[var(--axis-status-running-contrast)] animate-pulse",
55
+ complete: "bg-[var(--axis-status-success)] text-[var(--axis-status-success-contrast)]",
56
+ error: "bg-[var(--axis-status-error)] text-[var(--axis-status-error-contrast)]"
57
57
  };
58
58
  var statusIcons = {
59
59
  pending: null,
@@ -87,7 +87,7 @@ function RunProgress({
87
87
  children: [
88
88
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center justify-between mb-4", children: [
89
89
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-2", children: [
90
- status === "running" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "w-2 h-2 rounded-full bg-[var(--axis-color-blue-500)] animate-pulse" }),
90
+ status === "running" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "w-2 h-2 rounded-full bg-[var(--axis-status-running)] animate-pulse" }),
91
91
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "text-sm font-medium text-[var(--axis-text-primary)]", children: [
92
92
  status === "idle" && "\uB300\uAE30 \uC911",
93
93
  status === "running" && "\uC2E4\uD589 \uC911",
@@ -112,7 +112,7 @@ function RunProgress({
112
112
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
113
113
  "div",
114
114
  {
115
- className: "h-full rounded-full bg-[var(--axis-color-blue-500)] transition-all duration-300",
115
+ className: "h-full rounded-full bg-[var(--axis-status-running)] transition-all duration-300",
116
116
  style: { width: `${progressPercent}%` }
117
117
  }
118
118
  )
@@ -132,7 +132,7 @@ function RunProgress({
132
132
  "div",
133
133
  {
134
134
  className: (0, import_ui_react.cn)(
135
- "w-5 h-5 rounded-full flex items-center justify-center text-white text-xs",
135
+ "w-5 h-5 rounded-full flex items-center justify-center text-xs",
136
136
  statusColors[step.status]
137
137
  ),
138
138
  "aria-hidden": "true",
@@ -164,7 +164,7 @@ function RunProgress({
164
164
  "button",
165
165
  {
166
166
  onClick: onRetry,
167
- className: "px-3 py-1.5 text-sm rounded-md bg-[var(--axis-color-blue-500)] text-white hover:bg-[var(--axis-color-blue-600)]",
167
+ className: "px-3 py-1.5 text-sm rounded-md bg-[var(--axis-button-bg-default)] text-[var(--axis-button-text-default)] hover:bg-[var(--axis-button-bg-hover)]",
168
168
  children: "\uC7AC\uC2DC\uB3C4"
169
169
  }
170
170
  )
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RunProgress
3
- } from "../chunk-LZKOCELQ.mjs";
3
+ } from "../chunk-SCXUEQLI.mjs";
4
4
  import "../chunk-SCZ4BQ2G.mjs";
5
5
  export {
6
6
  RunProgress
@@ -79,13 +79,13 @@ function StepTimeline({
79
79
  "aria-hidden": "true",
80
80
  className: (0, import_ui_react.cn)(
81
81
  "relative z-10 w-5 h-5 rounded-full flex items-center justify-center",
82
- step.status === "complete" && "bg-[var(--axis-color-green-500)]",
83
- step.status === "running" && "bg-[var(--axis-color-blue-500)] animate-pulse",
84
- step.status === "error" && "bg-[var(--axis-color-red-500)]",
85
- step.status === "skipped" && "bg-[var(--axis-color-gray-300)]",
86
- step.status === "pending" && "bg-[var(--axis-color-gray-300)]"
82
+ step.status === "complete" && "bg-[var(--axis-status-success)]",
83
+ step.status === "running" && "bg-[var(--axis-status-running)] animate-pulse",
84
+ step.status === "error" && "bg-[var(--axis-status-error)]",
85
+ step.status === "skipped" && "bg-[var(--axis-status-neutral-muted)]",
86
+ step.status === "pending" && "bg-[var(--axis-status-neutral-muted)]"
87
87
  ),
88
- children: step.status === "complete" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-3 h-3 text-white", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M5 13l4 4L19 7" }) })
88
+ children: step.status === "complete" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-3 h-3 text-[var(--axis-status-success-contrast)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M5 13l4 4L19 7" }) })
89
89
  }
90
90
  ),
91
91
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: (0, import_ui_react.cn)(isVertical ? "flex-1" : "text-center mt-2"), children: [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  StepTimeline
3
- } from "../chunk-RGPKTWK4.mjs";
3
+ } from "../chunk-4V4BWBRC.mjs";
4
4
  import "../chunk-SCZ4BQ2G.mjs";
5
5
  export {
6
6
  StepTimeline
@@ -36,7 +36,7 @@ function SurfaceRenderer({
36
36
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "prose prose-sm max-w-none text-[var(--axis-text-primary)]", children: String(surface.content) });
37
37
  case "code":
38
38
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("pre", { className: "p-3 rounded-md bg-[var(--axis-surface-secondary)] overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("code", { className: "text-sm font-mono text-[var(--axis-text-primary)]", children: String(surface.content) }) });
39
- case "table":
39
+ case "table": {
40
40
  const tableData = surface.content;
41
41
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("table", { role: "table", className: "w-full text-sm", children: [
42
42
  surface.title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("caption", { className: "sr-only", children: surface.title }),
@@ -65,6 +65,7 @@ function SurfaceRenderer({
65
65
  i
66
66
  )) })
67
67
  ] }) });
68
+ }
68
69
  case "chart":
69
70
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "p-4 text-center text-[var(--axis-text-secondary)]", children: [
70
71
  "[\uCC28\uD2B8: ",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SurfaceRenderer
3
- } from "../chunk-MVBXXDZB.mjs";
3
+ } from "../chunk-ZW4Z27AB.mjs";
4
4
  export {
5
5
  SurfaceRenderer
6
6
  };
@@ -36,13 +36,13 @@ function TokenUsageIndicator({
36
36
  const ratio = max > 0 ? current / max : 0;
37
37
  const percentage = Math.min(Math.round(ratio * 100), 100);
38
38
  const getColor = () => {
39
- if (ratio >= 1) return "bg-[var(--axis-color-red-500)]";
40
- if (ratio >= warningThreshold) return "bg-[var(--axis-color-yellow-500)]";
41
- return "bg-[var(--axis-color-green-500)]";
39
+ if (ratio >= 1) return "bg-[var(--axis-status-error)]";
40
+ if (ratio >= warningThreshold) return "bg-[var(--axis-status-warning)]";
41
+ return "bg-[var(--axis-status-success)]";
42
42
  };
43
43
  const getTextColor = () => {
44
- if (ratio >= 1) return "text-[var(--axis-color-red-500)]";
45
- if (ratio >= warningThreshold) return "text-[var(--axis-color-yellow-500)]";
44
+ if (ratio >= 1) return "text-[var(--axis-status-error)]";
45
+ if (ratio >= warningThreshold) return "text-[var(--axis-status-warning)]";
46
46
  return "text-[var(--axis-text-secondary)]";
47
47
  };
48
48
  const formatNumber = (n) => n >= 1e3 ? `${(n / 1e3).toFixed(1)}k` : String(n);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TokenUsageIndicator
3
- } from "../chunk-H6VXOP7U.mjs";
3
+ } from "../chunk-QS6GQNSE.mjs";
4
4
  export {
5
5
  TokenUsageIndicator
6
6
  };
@@ -51,22 +51,22 @@ var STATUS_LABELS = {
51
51
  var import_jsx_runtime = require("react/jsx-runtime");
52
52
  var statusConfig = {
53
53
  pending: {
54
- color: "text-[var(--axis-color-gray-400)]",
54
+ color: "text-[var(--axis-status-neutral)]",
55
55
  icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "10", strokeWidth: 2 }) })
56
56
  },
57
57
  running: {
58
- color: "text-[var(--axis-color-blue-500)]",
58
+ color: "text-[var(--axis-status-running)]",
59
59
  icon: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { className: "w-4 h-4 animate-spin", viewBox: "0 0 24 24", fill: "none", children: [
60
60
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
61
61
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z" })
62
62
  ] })
63
63
  },
64
64
  success: {
65
- color: "text-[var(--axis-color-green-500)]",
65
+ color: "text-[var(--axis-status-success)]",
66
66
  icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) })
67
67
  },
68
68
  error: {
69
- color: "text-[var(--axis-color-red-500)]",
69
+ color: "text-[var(--axis-status-error)]",
70
70
  icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) })
71
71
  }
72
72
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ToolCallCard
3
- } from "../chunk-FAJF5RCY.mjs";
3
+ } from "../chunk-WFYQINWD.mjs";
4
4
  import "../chunk-SCZ4BQ2G.mjs";
5
5
  export {
6
6
  ToolCallCard
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axis-ds/agentic-ui",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "AXIS Design System - Agentic UI Components for AI/LLM Applications",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -88,8 +88,8 @@
88
88
  "clsx": "^2.1.0",
89
89
  "framer-motion": "^11.0.0",
90
90
  "tailwind-merge": "^2.5.0",
91
- "@axis-ds/tokens": "1.2.0",
92
- "@axis-ds/ui-react": "1.2.0"
91
+ "@axis-ds/tokens": "1.3.0",
92
+ "@axis-ds/ui-react": "1.3.0"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@testing-library/jest-dom": "^6.9.1",
@@ -118,7 +118,7 @@
118
118
  "license": "MIT",
119
119
  "repository": {
120
120
  "type": "git",
121
- "url": "https://github.com/thoughtandaction/axis.git",
121
+ "url": "https://github.com/IDEA-on-Action/AXIS-Design-System.git",
122
122
  "directory": "packages/axis-agentic-ui"
123
123
  },
124
124
  "homepage": "https://axis.minu.best",
@@ -126,6 +126,7 @@
126
126
  "build": "tsup src/index.ts src/*/index.tsx --format cjs,esm --dts --external react",
127
127
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch --external react",
128
128
  "clean": "rm -rf dist",
129
+ "lint": "eslint .",
129
130
  "test": "vitest run",
130
131
  "test:coverage": "vitest run --coverage",
131
132
  "test:watch": "vitest",