@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
@@ -82,7 +82,7 @@ function FeedbackButtons({
82
82
  className: (0, import_ui_react.cn)(
83
83
  "rounded-md transition-colors",
84
84
  sizeStyles[size],
85
- feedback === "like" ? "text-[var(--axis-color-green-500)] bg-[var(--axis-color-green-500)]/10" : "text-[var(--axis-text-tertiary)] hover:text-[var(--axis-text-secondary)] hover:bg-[var(--axis-surface-secondary)]"
85
+ feedback === "like" ? "text-[var(--axis-status-success)] bg-[color:color-mix(in_srgb,var(--axis-status-success)_10%,transparent)]" : "text-[var(--axis-text-tertiary)] hover:text-[var(--axis-text-secondary)] hover:bg-[var(--axis-surface-secondary)]"
86
86
  ),
87
87
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: iconSizes[size], fill: feedback === "like" ? "currentColor" : "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M14 9V5a3 3 0 00-3-3l-4 9v11h11.28a2 2 0 002-1.7l1.38-9a2 2 0 00-2-2.3H14zm-9 11H3a2 2 0 01-2-2v-7a2 2 0 012-2h2" }) })
88
88
  }
@@ -96,7 +96,7 @@ function FeedbackButtons({
96
96
  className: (0, import_ui_react.cn)(
97
97
  "rounded-md transition-colors",
98
98
  sizeStyles[size],
99
- feedback === "dislike" ? "text-[var(--axis-color-red-500)] bg-[var(--axis-color-red-500)]/10" : "text-[var(--axis-text-tertiary)] hover:text-[var(--axis-text-secondary)] hover:bg-[var(--axis-surface-secondary)]"
99
+ feedback === "dislike" ? "text-[var(--axis-status-error)] bg-[color:color-mix(in_srgb,var(--axis-status-error)_10%,transparent)]" : "text-[var(--axis-text-tertiary)] hover:text-[var(--axis-text-secondary)] hover:bg-[var(--axis-surface-secondary)]"
100
100
  ),
101
101
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: iconSizes[size], fill: feedback === "dislike" ? "currentColor" : "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10 15V19a3 3 0 003 3l4-9V2H5.72a2 2 0 00-2 1.7l-1.38 9a2 2 0 002 2.3H10zm9-13h2a2 2 0 012 2v7a2 2 0 01-2 2h-2" }) })
102
102
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  FeedbackButtons
3
- } from "../chunk-ETFET3LT.mjs";
3
+ } from "../chunk-R4CMHIRO.mjs";
4
4
  import "../chunk-SCZ4BQ2G.mjs";
5
5
  export {
6
6
  FeedbackButtons
package/dist/index.js CHANGED
@@ -115,10 +115,10 @@ var PLAN_STATUS_LABELS = {
115
115
  // src/run-progress/index.tsx
116
116
  var import_jsx_runtime = require("react/jsx-runtime");
117
117
  var statusColors = {
118
- pending: "bg-[var(--axis-color-gray-300)]",
119
- running: "bg-[var(--axis-color-blue-500)] animate-pulse",
120
- complete: "bg-[var(--axis-color-green-500)]",
121
- error: "bg-[var(--axis-color-red-500)]"
118
+ pending: "bg-[var(--axis-status-neutral-muted)] text-[var(--axis-status-neutral-muted-contrast)]",
119
+ running: "bg-[var(--axis-status-running)] text-[var(--axis-status-running-contrast)] animate-pulse",
120
+ complete: "bg-[var(--axis-status-success)] text-[var(--axis-status-success-contrast)]",
121
+ error: "bg-[var(--axis-status-error)] text-[var(--axis-status-error-contrast)]"
122
122
  };
123
123
  var statusIcons = {
124
124
  pending: null,
@@ -152,7 +152,7 @@ function RunProgress({
152
152
  children: [
153
153
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center justify-between mb-4", children: [
154
154
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-2", children: [
155
- status === "running" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "w-2 h-2 rounded-full bg-[var(--axis-color-blue-500)] animate-pulse" }),
155
+ status === "running" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "w-2 h-2 rounded-full bg-[var(--axis-status-running)] animate-pulse" }),
156
156
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "text-sm font-medium text-[var(--axis-text-primary)]", children: [
157
157
  status === "idle" && "\uB300\uAE30 \uC911",
158
158
  status === "running" && "\uC2E4\uD589 \uC911",
@@ -177,7 +177,7 @@ function RunProgress({
177
177
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
178
178
  "div",
179
179
  {
180
- className: "h-full rounded-full bg-[var(--axis-color-blue-500)] transition-all duration-300",
180
+ className: "h-full rounded-full bg-[var(--axis-status-running)] transition-all duration-300",
181
181
  style: { width: `${progressPercent}%` }
182
182
  }
183
183
  )
@@ -197,7 +197,7 @@ function RunProgress({
197
197
  "div",
198
198
  {
199
199
  className: (0, import_ui_react.cn)(
200
- "w-5 h-5 rounded-full flex items-center justify-center text-white text-xs",
200
+ "w-5 h-5 rounded-full flex items-center justify-center text-xs",
201
201
  statusColors[step.status]
202
202
  ),
203
203
  "aria-hidden": "true",
@@ -229,7 +229,7 @@ function RunProgress({
229
229
  "button",
230
230
  {
231
231
  onClick: onRetry,
232
- 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)]",
232
+ 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)]",
233
233
  children: "\uC7AC\uC2DC\uB3C4"
234
234
  }
235
235
  )
@@ -283,13 +283,13 @@ function StepTimeline({
283
283
  "aria-hidden": "true",
284
284
  className: (0, import_ui_react2.cn)(
285
285
  "relative z-10 w-5 h-5 rounded-full flex items-center justify-center",
286
- step.status === "complete" && "bg-[var(--axis-color-green-500)]",
287
- step.status === "running" && "bg-[var(--axis-color-blue-500)] animate-pulse",
288
- step.status === "error" && "bg-[var(--axis-color-red-500)]",
289
- step.status === "skipped" && "bg-[var(--axis-color-gray-300)]",
290
- step.status === "pending" && "bg-[var(--axis-color-gray-300)]"
286
+ step.status === "complete" && "bg-[var(--axis-status-success)]",
287
+ step.status === "running" && "bg-[var(--axis-status-running)] animate-pulse",
288
+ step.status === "error" && "bg-[var(--axis-status-error)]",
289
+ step.status === "skipped" && "bg-[var(--axis-status-neutral-muted)]",
290
+ step.status === "pending" && "bg-[var(--axis-status-neutral-muted)]"
291
291
  ),
292
- children: step.status === "complete" && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("svg", { className: "w-3 h-3 text-white", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M5 13l4 4L19 7" }) })
292
+ children: step.status === "complete" && /* @__PURE__ */ (0, import_jsx_runtime2.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_runtime2.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M5 13l4 4L19 7" }) })
293
293
  }
294
294
  ),
295
295
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: (0, import_ui_react2.cn)(isVertical ? "flex-1" : "text-center mt-2"), children: [
@@ -362,18 +362,18 @@ var import_ui_react4 = require("@axis-ds/ui-react");
362
362
  var import_jsx_runtime4 = require("react/jsx-runtime");
363
363
  var severityStyles = {
364
364
  info: {
365
- border: "border-l-[var(--axis-color-blue-500)]",
366
- icon: "text-[var(--axis-color-blue-500)]",
365
+ border: "border-l-[var(--axis-status-info)]",
366
+ icon: "text-[var(--axis-status-info)]",
367
367
  bg: "bg-[var(--axis-surface-info)]"
368
368
  },
369
369
  warning: {
370
- border: "border-l-[var(--axis-color-yellow-500)]",
371
- icon: "text-[var(--axis-color-yellow-500)]",
370
+ border: "border-l-[var(--axis-status-warning)]",
371
+ icon: "text-[var(--axis-status-warning)]",
372
372
  bg: "bg-[var(--axis-surface-warning)]"
373
373
  },
374
374
  error: {
375
- border: "border-l-[var(--axis-color-red-500)]",
376
- icon: "text-[var(--axis-color-red-500)]",
375
+ border: "border-l-[var(--axis-status-error)]",
376
+ icon: "text-[var(--axis-status-error)]",
377
377
  bg: "bg-[var(--axis-surface-error)]"
378
378
  }
379
379
  };
@@ -383,10 +383,10 @@ var severityIcons = {
383
383
  error: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("svg", { className: "w-5 h-5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" }) })
384
384
  };
385
385
  var actionVariantStyles = {
386
- default: "bg-[var(--axis-button-bg-default)] text-white hover:bg-[var(--axis-button-bg-hover)]",
386
+ default: "bg-[var(--axis-button-bg-default)] text-[var(--axis-button-text-default)] hover:bg-[var(--axis-button-bg-hover)]",
387
387
  secondary: "bg-[var(--axis-button-secondary-bg-default)] text-[var(--axis-text-primary)] hover:bg-[var(--axis-button-secondary-bg-hover)]",
388
388
  ghost: "bg-transparent text-[var(--axis-text-primary)] hover:bg-[var(--axis-surface-secondary)]",
389
- destructive: "bg-[var(--axis-button-destructive-bg-default)] text-white hover:bg-[var(--axis-button-destructive-bg-hover)]"
389
+ destructive: "bg-[var(--axis-button-destructive-bg-default)] text-[var(--axis-button-destructive-text-default)] hover:bg-[var(--axis-button-destructive-bg-hover)]"
390
390
  };
391
391
  function ApprovalCard({
392
392
  id,
@@ -597,22 +597,22 @@ var import_ui_react7 = require("@axis-ds/ui-react");
597
597
  var import_jsx_runtime7 = require("react/jsx-runtime");
598
598
  var statusConfig = {
599
599
  pending: {
600
- color: "text-[var(--axis-color-gray-400)]",
600
+ color: "text-[var(--axis-status-neutral)]",
601
601
  icon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", strokeWidth: 2 }) })
602
602
  },
603
603
  running: {
604
- color: "text-[var(--axis-color-blue-500)]",
604
+ color: "text-[var(--axis-status-running)]",
605
605
  icon: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("svg", { className: "w-4 h-4 animate-spin", viewBox: "0 0 24 24", fill: "none", children: [
606
606
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
607
607
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z" })
608
608
  ] })
609
609
  },
610
610
  success: {
611
- color: "text-[var(--axis-color-green-500)]",
611
+ color: "text-[var(--axis-status-success)]",
612
612
  icon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) })
613
613
  },
614
614
  error: {
615
- color: "text-[var(--axis-color-red-500)]",
615
+ color: "text-[var(--axis-status-error)]",
616
616
  icon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) })
617
617
  }
618
618
  };
@@ -713,7 +713,7 @@ function SurfaceRenderer({
713
713
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "prose prose-sm max-w-none text-[var(--axis-text-primary)]", children: String(surface.content) });
714
714
  case "code":
715
715
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("pre", { className: "p-3 rounded-md bg-[var(--axis-surface-secondary)] overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("code", { className: "text-sm font-mono text-[var(--axis-text-primary)]", children: String(surface.content) }) });
716
- case "table":
716
+ case "table": {
717
717
  const tableData = surface.content;
718
718
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("table", { role: "table", className: "w-full text-sm", children: [
719
719
  surface.title && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("caption", { className: "sr-only", children: surface.title }),
@@ -742,6 +742,7 @@ function SurfaceRenderer({
742
742
  i
743
743
  )) })
744
744
  ] }) });
745
+ }
745
746
  case "chart":
746
747
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "p-4 text-center text-[var(--axis-text-secondary)]", children: [
747
748
  "[\uCC28\uD2B8: ",
@@ -797,7 +798,7 @@ function RecoveryBanner({
797
798
  {
798
799
  className: (0, import_ui_react9.cn)(
799
800
  "flex items-start gap-3 p-4 rounded-lg border",
800
- "bg-[var(--axis-surface-error)] border-[var(--axis-color-red-200)]",
801
+ "bg-[var(--axis-surface-error)] border-[var(--axis-status-error-border)]",
801
802
  className
802
803
  ),
803
804
  role: "alert",
@@ -807,7 +808,7 @@ function RecoveryBanner({
807
808
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
808
809
  "svg",
809
810
  {
810
- className: "w-5 h-5 text-[var(--axis-color-red-500)] flex-shrink-0 mt-0.5",
811
+ className: "w-5 h-5 text-[var(--axis-status-error)] flex-shrink-0 mt-0.5",
811
812
  fill: "none",
812
813
  stroke: "currentColor",
813
814
  viewBox: "0 0 24 24",
@@ -832,7 +833,7 @@ function RecoveryBanner({
832
833
  {
833
834
  onClick: onRetry,
834
835
  "aria-describedby": descId,
835
- 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",
836
+ 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",
836
837
  children: "\uC7AC\uC2DC\uB3C4"
837
838
  }
838
839
  ),
@@ -861,14 +862,14 @@ var sizeStyles2 = {
861
862
  xl: "w-12 h-12 text-lg"
862
863
  };
863
864
  var statusStyles = {
864
- online: "bg-[var(--axis-color-green-500)]",
865
- busy: "bg-[var(--axis-color-yellow-500)]",
866
- offline: "bg-[var(--axis-color-gray-400)]"
865
+ online: "bg-[var(--axis-status-success)]",
866
+ busy: "bg-[var(--axis-status-warning)]",
867
+ offline: "bg-[var(--axis-status-neutral)]"
867
868
  };
868
869
  var typeColors = {
869
- assistant: "bg-[var(--axis-color-purple-500)]",
870
- tool: "bg-[var(--axis-color-blue-500)]",
871
- system: "bg-[var(--axis-color-gray-600)]"
870
+ assistant: "bg-[var(--axis-agent-avatar-assistant)]",
871
+ tool: "bg-[var(--axis-agent-avatar-tool)]",
872
+ system: "bg-[var(--axis-agent-avatar-system)]"
872
873
  };
873
874
  function AgentAvatar({
874
875
  name,
@@ -904,7 +905,7 @@ function AgentAvatar({
904
905
  {
905
906
  "aria-hidden": "true",
906
907
  className: (0, import_ui_react10.cn)(
907
- "rounded-full flex items-center justify-center font-medium text-white",
908
+ "rounded-full flex items-center justify-center font-medium text-[var(--axis-agent-avatar-text)]",
908
909
  sizeStyles2[size],
909
910
  typeColors[type]
910
911
  ),
@@ -933,7 +934,7 @@ var import_jsx_runtime11 = require("react/jsx-runtime");
933
934
  var roleStyles = {
934
935
  user: {
935
936
  container: "flex-row-reverse",
936
- bubble: "bg-[var(--axis-color-blue-500)] text-white rounded-br-sm"
937
+ bubble: "bg-[var(--axis-agent-message-user-bg)] text-[var(--axis-agent-message-user-text)] rounded-br-sm"
937
938
  },
938
939
  assistant: {
939
940
  container: "flex-row",
@@ -1067,7 +1068,7 @@ function FeedbackButtons({
1067
1068
  className: (0, import_ui_react12.cn)(
1068
1069
  "rounded-md transition-colors",
1069
1070
  sizeStyles3[size],
1070
- feedback === "like" ? "text-[var(--axis-color-green-500)] bg-[var(--axis-color-green-500)]/10" : "text-[var(--axis-text-tertiary)] hover:text-[var(--axis-text-secondary)] hover:bg-[var(--axis-surface-secondary)]"
1071
+ feedback === "like" ? "text-[var(--axis-status-success)] bg-[color:color-mix(in_srgb,var(--axis-status-success)_10%,transparent)]" : "text-[var(--axis-text-tertiary)] hover:text-[var(--axis-text-secondary)] hover:bg-[var(--axis-surface-secondary)]"
1071
1072
  ),
1072
1073
  children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { className: iconSizes[size], fill: feedback === "like" ? "currentColor" : "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M14 9V5a3 3 0 00-3-3l-4 9v11h11.28a2 2 0 002-1.7l1.38-9a2 2 0 00-2-2.3H14zm-9 11H3a2 2 0 01-2-2v-7a2 2 0 012-2h2" }) })
1073
1074
  }
@@ -1081,7 +1082,7 @@ function FeedbackButtons({
1081
1082
  className: (0, import_ui_react12.cn)(
1082
1083
  "rounded-md transition-colors",
1083
1084
  sizeStyles3[size],
1084
- feedback === "dislike" ? "text-[var(--axis-color-red-500)] bg-[var(--axis-color-red-500)]/10" : "text-[var(--axis-text-tertiary)] hover:text-[var(--axis-text-secondary)] hover:bg-[var(--axis-surface-secondary)]"
1085
+ feedback === "dislike" ? "text-[var(--axis-status-error)] bg-[color:color-mix(in_srgb,var(--axis-status-error)_10%,transparent)]" : "text-[var(--axis-text-tertiary)] hover:text-[var(--axis-text-secondary)] hover:bg-[var(--axis-surface-secondary)]"
1085
1086
  ),
1086
1087
  children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { className: iconSizes[size], fill: feedback === "dislike" ? "currentColor" : "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10 15V19a3 3 0 003 3l4-9V2H5.72a2 2 0 00-2 1.7l-1.38 9a2 2 0 002 2.3H10zm9-13h2a2 2 0 012 2v7a2 2 0 01-2 2h-2" }) })
1087
1088
  }
@@ -1136,7 +1137,7 @@ function CodeBlock({
1136
1137
  "aria-label": copied ? "\uBCF5\uC0AC\uB428" : "\uCF54\uB4DC \uBCF5\uC0AC",
1137
1138
  className: "flex items-center gap-1 px-2 py-1 text-xs rounded-md text-[var(--axis-text-secondary)] hover:bg-[var(--axis-surface-tertiary)] transition-colors",
1138
1139
  children: copied ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
1139
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("svg", { className: "w-3.5 h-3.5 text-[var(--axis-color-green-500)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
1140
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("svg", { className: "w-3.5 h-3.5 text-[var(--axis-status-success)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
1140
1141
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: "\uBCF5\uC0AC\uB428" })
1141
1142
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
1142
1143
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("svg", { className: "w-3.5 h-3.5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" }) }),
@@ -1206,13 +1207,13 @@ function computeDiff(before, after) {
1206
1207
  return result;
1207
1208
  }
1208
1209
  var lineTypeStyles = {
1209
- added: "bg-[var(--axis-color-green-500)]/10",
1210
- removed: "bg-[var(--axis-color-red-500)]/10",
1210
+ added: "bg-[color:color-mix(in_srgb,var(--axis-diff-added)_10%,transparent)]",
1211
+ removed: "bg-[color:color-mix(in_srgb,var(--axis-diff-removed)_10%,transparent)]",
1211
1212
  unchanged: ""
1212
1213
  };
1213
1214
  var lineTypeTextStyles = {
1214
- added: "text-[var(--axis-color-green-600)]",
1215
- removed: "text-[var(--axis-color-red-600)]",
1215
+ added: "text-[var(--axis-diff-added-text)]",
1216
+ removed: "text-[var(--axis-diff-removed-text)]",
1216
1217
  unchanged: "text-[var(--axis-text-primary)]"
1217
1218
  };
1218
1219
  var lineTypeSymbols = {
@@ -1246,11 +1247,11 @@ function DiffViewer({
1246
1247
  /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex items-center gap-2 min-w-0", children: [
1247
1248
  /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-icon-secondary)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16M4 18h7" }) }),
1248
1249
  filename && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { className: "text-xs font-mono text-[var(--axis-text-primary)] truncate", children: filename }),
1249
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "text-xs text-[var(--axis-color-green-500)]", "aria-label": `${addedCount}\uC904 ${DIFF_LABELS.added}`, children: [
1250
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "text-xs text-[var(--axis-diff-added)]", "aria-label": `${addedCount}\uC904 ${DIFF_LABELS.added}`, children: [
1250
1251
  "+",
1251
1252
  addedCount
1252
1253
  ] }),
1253
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "text-xs text-[var(--axis-color-red-500)]", "aria-label": `${removedCount}\uC904 ${DIFF_LABELS.removed}`, children: [
1254
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "text-xs text-[var(--axis-diff-removed)]", "aria-label": `${removedCount}\uC904 ${DIFF_LABELS.removed}`, children: [
1254
1255
  "-",
1255
1256
  removedCount
1256
1257
  ] })
@@ -1329,39 +1330,39 @@ var import_ui_react15 = require("@axis-ds/ui-react");
1329
1330
  var import_jsx_runtime15 = require("react/jsx-runtime");
1330
1331
  var planStatusStyles = {
1331
1332
  draft: {
1332
- border: "border-l-[var(--axis-color-gray-400)]",
1333
- badge: "bg-[var(--axis-color-gray-100)] text-[var(--axis-color-gray-600)]"
1333
+ border: "border-l-[var(--axis-status-neutral)]",
1334
+ badge: "bg-[var(--axis-status-neutral-bg)] text-[var(--axis-status-neutral-strong)]"
1334
1335
  },
1335
1336
  pending: {
1336
- border: "border-l-[var(--axis-color-yellow-500)]",
1337
- badge: "bg-[var(--axis-color-yellow-500)]/10 text-[var(--axis-color-yellow-600)]"
1337
+ border: "border-l-[var(--axis-status-warning)]",
1338
+ badge: "bg-[var(--axis-badge-warning-bg)] text-[var(--axis-badge-warning-text)]"
1338
1339
  },
1339
1340
  approved: {
1340
- border: "border-l-[var(--axis-color-green-500)]",
1341
- badge: "bg-[var(--axis-color-green-500)]/10 text-[var(--axis-color-green-600)]"
1341
+ border: "border-l-[var(--axis-status-success)]",
1342
+ badge: "bg-[var(--axis-badge-success-bg)] text-[var(--axis-badge-success-text)]"
1342
1343
  },
1343
1344
  rejected: {
1344
- border: "border-l-[var(--axis-color-red-500)]",
1345
- badge: "bg-[var(--axis-color-red-500)]/10 text-[var(--axis-color-red-600)]"
1345
+ border: "border-l-[var(--axis-status-error)]",
1346
+ badge: "bg-[var(--axis-badge-error-bg)] text-[var(--axis-badge-error-text)]"
1346
1347
  },
1347
1348
  executing: {
1348
- border: "border-l-[var(--axis-color-blue-500)]",
1349
- badge: "bg-[var(--axis-color-blue-500)]/10 text-[var(--axis-color-blue-600)]"
1349
+ border: "border-l-[var(--axis-status-running)]",
1350
+ badge: "bg-[var(--axis-badge-info-bg)] text-[var(--axis-badge-info-text)]"
1350
1351
  },
1351
1352
  completed: {
1352
- border: "border-l-[var(--axis-color-green-500)]",
1353
- badge: "bg-[var(--axis-color-green-500)]/10 text-[var(--axis-color-green-600)]"
1353
+ border: "border-l-[var(--axis-status-success)]",
1354
+ badge: "bg-[var(--axis-badge-success-bg)] text-[var(--axis-badge-success-text)]"
1354
1355
  }
1355
1356
  };
1356
1357
  var stepStatusIcons = {
1357
- pending: /* @__PURE__ */ (0, import_jsx_runtime15.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_runtime15.jsx)("circle", { cx: "12", cy: "12", r: "10", strokeWidth: 2 }) }),
1358
- running: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("svg", { className: "w-4 h-4 text-[var(--axis-color-blue-500)] animate-spin", viewBox: "0 0 24 24", fill: "none", children: [
1358
+ pending: /* @__PURE__ */ (0, import_jsx_runtime15.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_runtime15.jsx)("circle", { cx: "12", cy: "12", r: "10", strokeWidth: 2 }) }),
1359
+ running: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("svg", { className: "w-4 h-4 text-[var(--axis-status-running)] animate-spin", viewBox: "0 0 24 24", fill: "none", children: [
1359
1360
  /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
1360
1361
  /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z" })
1361
1362
  ] }),
1362
- complete: /* @__PURE__ */ (0, import_jsx_runtime15.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_runtime15.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
1363
- error: /* @__PURE__ */ (0, import_jsx_runtime15.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_runtime15.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }),
1364
- skipped: /* @__PURE__ */ (0, import_jsx_runtime15.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_runtime15.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M13 5l7 7-7 7M5 5l7 7-7 7" }) })
1363
+ complete: /* @__PURE__ */ (0, import_jsx_runtime15.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_runtime15.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
1364
+ error: /* @__PURE__ */ (0, import_jsx_runtime15.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_runtime15.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }),
1365
+ skipped: /* @__PURE__ */ (0, import_jsx_runtime15.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_runtime15.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M13 5l7 7-7 7M5 5l7 7-7 7" }) })
1365
1366
  };
1366
1367
  function PlanCard({
1367
1368
  title,
@@ -1382,7 +1383,7 @@ function PlanCard({
1382
1383
  role: "region",
1383
1384
  "aria-labelledby": titleId,
1384
1385
  className: (0, import_ui_react15.cn)(
1385
- "rounded-lg border border-l-4 overflow-hidden",
1386
+ "rounded-lg border border-l-[length:var(--axis-plan-card-accent-width)] overflow-hidden",
1386
1387
  "bg-[var(--axis-surface-default)] border-[var(--axis-border-default)]",
1387
1388
  styles.border,
1388
1389
  className
@@ -1406,7 +1407,7 @@ function PlanCard({
1406
1407
  steps.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "flex-1 h-1 rounded-full bg-[var(--axis-surface-secondary)] overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1407
1408
  "div",
1408
1409
  {
1409
- className: "h-full rounded-full bg-[var(--axis-color-green-500)] transition-all",
1410
+ className: "h-full rounded-full bg-[var(--axis-status-success)] transition-all",
1410
1411
  style: { width: `${completedCount / steps.length * 100}%` },
1411
1412
  "aria-hidden": "true"
1412
1413
  }
@@ -1441,7 +1442,7 @@ function PlanCard({
1441
1442
  "button",
1442
1443
  {
1443
1444
  onClick: onApprove,
1444
- 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",
1445
+ 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",
1445
1446
  children: "\uC2B9\uC778"
1446
1447
  }
1447
1448
  ),
@@ -1457,7 +1458,7 @@ function PlanCard({
1457
1458
  "button",
1458
1459
  {
1459
1460
  onClick: onReject,
1460
- 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",
1461
+ 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",
1461
1462
  children: "\uAC70\uC808"
1462
1463
  }
1463
1464
  )
@@ -1581,13 +1582,13 @@ function TokenUsageIndicator({
1581
1582
  const ratio = max > 0 ? current / max : 0;
1582
1583
  const percentage = Math.min(Math.round(ratio * 100), 100);
1583
1584
  const getColor = () => {
1584
- if (ratio >= 1) return "bg-[var(--axis-color-red-500)]";
1585
- if (ratio >= warningThreshold) return "bg-[var(--axis-color-yellow-500)]";
1586
- return "bg-[var(--axis-color-green-500)]";
1585
+ if (ratio >= 1) return "bg-[var(--axis-status-error)]";
1586
+ if (ratio >= warningThreshold) return "bg-[var(--axis-status-warning)]";
1587
+ return "bg-[var(--axis-status-success)]";
1587
1588
  };
1588
1589
  const getTextColor = () => {
1589
- if (ratio >= 1) return "text-[var(--axis-color-red-500)]";
1590
- if (ratio >= warningThreshold) return "text-[var(--axis-color-yellow-500)]";
1590
+ if (ratio >= 1) return "text-[var(--axis-status-error)]";
1591
+ if (ratio >= warningThreshold) return "text-[var(--axis-status-warning)]";
1591
1592
  return "text-[var(--axis-text-secondary)]";
1592
1593
  };
1593
1594
  const formatNumber = (n) => n >= 1e3 ? `${(n / 1e3).toFixed(1)}k` : String(n);
@@ -1685,7 +1686,7 @@ function AttachmentCard({
1685
1686
  className: (0, import_ui_react18.cn)(
1686
1687
  "flex items-center gap-3 rounded-lg border p-3",
1687
1688
  "bg-[var(--axis-surface-default)] border-[var(--axis-border-default)]",
1688
- status === "error" && "border-[var(--axis-color-red-500)]/30",
1689
+ status === "error" && "border-[var(--axis-status-error-border)]",
1689
1690
  className
1690
1691
  ),
1691
1692
  children: [
@@ -1728,7 +1729,7 @@ function AttachmentCard({
1728
1729
  status === "uploading" && progress !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "mt-1.5 h-1 rounded-full bg-[var(--axis-surface-secondary)] overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1729
1730
  "div",
1730
1731
  {
1731
- className: "h-full rounded-full bg-[var(--axis-color-blue-500)] transition-all",
1732
+ className: "h-full rounded-full bg-[var(--axis-status-running)] transition-all",
1732
1733
  style: { width: `${progress}%` },
1733
1734
  role: "progressbar",
1734
1735
  "aria-valuenow": progress,
package/dist/index.mjs CHANGED
@@ -3,55 +3,55 @@ import {
3
3
  } from "./chunk-FYAMA32G.mjs";
4
4
  import {
5
5
  TokenUsageIndicator
6
- } from "./chunk-H6VXOP7U.mjs";
6
+ } from "./chunk-QS6GQNSE.mjs";
7
7
  import {
8
8
  ToolCallCard
9
- } from "./chunk-FAJF5RCY.mjs";
9
+ } from "./chunk-WFYQINWD.mjs";
10
10
  import {
11
11
  MessageBubble
12
- } from "./chunk-657RY6MM.mjs";
12
+ } from "./chunk-J4FIMXXG.mjs";
13
13
  import {
14
14
  PlanCard
15
- } from "./chunk-PWKN5UHT.mjs";
15
+ } from "./chunk-OYQX3SL4.mjs";
16
16
  import {
17
17
  RecoveryBanner
18
- } from "./chunk-7UGSLEYG.mjs";
18
+ } from "./chunk-UDL4M5RP.mjs";
19
19
  import {
20
20
  RunProgress
21
- } from "./chunk-LZKOCELQ.mjs";
21
+ } from "./chunk-SCXUEQLI.mjs";
22
22
  import {
23
23
  SourcePanel
24
24
  } from "./chunk-DPLGRVNQ.mjs";
25
25
  import {
26
26
  StepTimeline
27
- } from "./chunk-RGPKTWK4.mjs";
27
+ } from "./chunk-4V4BWBRC.mjs";
28
28
  import {
29
29
  StreamingText
30
30
  } from "./chunk-GQYOOLDL.mjs";
31
31
  import {
32
32
  SurfaceRenderer
33
- } from "./chunk-MVBXXDZB.mjs";
33
+ } from "./chunk-ZW4Z27AB.mjs";
34
34
  import {
35
35
  AgentAvatar
36
- } from "./chunk-KH4OXDEV.mjs";
36
+ } from "./chunk-JY7MTMMB.mjs";
37
37
  import {
38
38
  ApprovalCard
39
- } from "./chunk-ENIWC4WX.mjs";
40
- import {
41
- CodeBlock
42
- } from "./chunk-RGBY6EEU.mjs";
39
+ } from "./chunk-7HTVJ6MK.mjs";
43
40
  import {
44
41
  AttachmentCard
45
- } from "./chunk-FPOHPDZ2.mjs";
42
+ } from "./chunk-42KEAZ2Y.mjs";
43
+ import {
44
+ CodeBlock
45
+ } from "./chunk-4CMUEGLK.mjs";
46
46
  import {
47
47
  ContextPanel
48
48
  } from "./chunk-KJVPVBET.mjs";
49
49
  import {
50
50
  DiffViewer
51
- } from "./chunk-NRBIHROX.mjs";
51
+ } from "./chunk-IOF4OET6.mjs";
52
52
  import {
53
53
  FeedbackButtons
54
- } from "./chunk-ETFET3LT.mjs";
54
+ } from "./chunk-R4CMHIRO.mjs";
55
55
  import "./chunk-SCZ4BQ2G.mjs";
56
56
  export {
57
57
  AgentAvatar,
@@ -37,7 +37,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
37
37
  var roleStyles = {
38
38
  user: {
39
39
  container: "flex-row-reverse",
40
- bubble: "bg-[var(--axis-color-blue-500)] text-white rounded-br-sm"
40
+ bubble: "bg-[var(--axis-agent-message-user-bg)] text-[var(--axis-agent-message-user-text)] rounded-br-sm"
41
41
  },
42
42
  assistant: {
43
43
  container: "flex-row",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MessageBubble
3
- } from "../chunk-657RY6MM.mjs";
3
+ } from "../chunk-J4FIMXXG.mjs";
4
4
  import "../chunk-SCZ4BQ2G.mjs";
5
5
  export {
6
6
  MessageBubble