@axis-ds/agentic-ui 1.1.3 → 1.2.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.
Files changed (42) hide show
  1. package/dist/agent-avatar/index.js +6 -6
  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-2A5QQFYL.mjs} +2 -2
  8. package/dist/{chunk-RGBY6EEU.mjs → chunk-4CMUEGLK.mjs} +1 -1
  9. package/dist/{chunk-ENIWC4WX.mjs → chunk-7HTVJ6MK.mjs} +8 -8
  10. package/dist/{chunk-657RY6MM.mjs → chunk-KPRUFC34.mjs} +1 -1
  11. package/dist/{chunk-RGPKTWK4.mjs → chunk-M325YRLE.mjs} +5 -5
  12. package/dist/{chunk-H6VXOP7U.mjs → chunk-QS6GQNSE.mjs} +5 -5
  13. package/dist/{chunk-KH4OXDEV.mjs → chunk-RPW4Y5G2.mjs} +6 -6
  14. package/dist/{chunk-7UGSLEYG.mjs → chunk-UDL4M5RP.mjs} +3 -3
  15. package/dist/{chunk-FAJF5RCY.mjs → chunk-WFYQINWD.mjs} +4 -4
  16. package/dist/{chunk-LZKOCELQ.mjs → chunk-WMQGJIAF.mjs} +7 -7
  17. package/dist/{chunk-PWKN5UHT.mjs → chunk-WUA5Q76Y.mjs} +20 -20
  18. package/dist/{chunk-ETFET3LT.mjs → chunk-YHCEJ2L5.mjs} +2 -2
  19. package/dist/{chunk-NRBIHROX.mjs → chunk-ZFU34YYY.mjs} +6 -6
  20. package/dist/code-block/index.js +1 -1
  21. package/dist/code-block/index.mjs +1 -1
  22. package/dist/diff-viewer/index.js +6 -6
  23. package/dist/diff-viewer/index.mjs +1 -1
  24. package/dist/feedback-buttons/index.js +2 -2
  25. package/dist/feedback-buttons/index.mjs +1 -1
  26. package/dist/index.js +70 -70
  27. package/dist/index.mjs +17 -17
  28. package/dist/message-bubble/index.js +1 -1
  29. package/dist/message-bubble/index.mjs +1 -1
  30. package/dist/plan-card/index.js +20 -20
  31. package/dist/plan-card/index.mjs +1 -1
  32. package/dist/recovery-banner/index.js +3 -3
  33. package/dist/recovery-banner/index.mjs +1 -1
  34. package/dist/run-progress/index.js +7 -7
  35. package/dist/run-progress/index.mjs +1 -1
  36. package/dist/step-timeline/index.js +5 -5
  37. package/dist/step-timeline/index.mjs +1 -1
  38. package/dist/token-usage-indicator/index.js +5 -5
  39. package/dist/token-usage-indicator/index.mjs +1 -1
  40. package/dist/tool-call-card/index.js +4 -4
  41. package/dist/tool-call-card/index.mjs +1 -1
  42. package/package.json +4 -4
@@ -41,14 +41,14 @@ var sizeStyles = {
41
41
  xl: "w-12 h-12 text-lg"
42
42
  };
43
43
  var statusStyles = {
44
- online: "bg-[var(--axis-color-green-500)]",
45
- busy: "bg-[var(--axis-color-yellow-500)]",
46
- offline: "bg-[var(--axis-color-gray-400)]"
44
+ online: "bg-[var(--axis-status-success)]",
45
+ busy: "bg-[var(--axis-status-warning)]",
46
+ offline: "bg-[var(--axis-status-neutral)]"
47
47
  };
48
48
  var typeColors = {
49
- assistant: "bg-[var(--axis-color-purple-500)]",
50
- tool: "bg-[var(--axis-color-blue-500)]",
51
- system: "bg-[var(--axis-color-gray-600)]"
49
+ assistant: "bg-[var(--axis-agent-avatar-assistant)]",
50
+ tool: "bg-[var(--axis-agent-avatar-tool)]",
51
+ system: "bg-[var(--axis-agent-avatar-system)]"
52
52
  };
53
53
  function AgentAvatar({
54
54
  name,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AgentAvatar
3
- } from "../chunk-KH4OXDEV.mjs";
3
+ } from "../chunk-RPW4Y5G2.mjs";
4
4
  import "../chunk-SCZ4BQ2G.mjs";
5
5
  export {
6
6
  AgentAvatar
@@ -47,18 +47,18 @@ var SEVERITY_LABELS = {
47
47
  var import_jsx_runtime = require("react/jsx-runtime");
48
48
  var severityStyles = {
49
49
  info: {
50
- border: "border-l-[var(--axis-color-blue-500)]",
51
- icon: "text-[var(--axis-color-blue-500)]",
50
+ border: "border-l-[var(--axis-status-info)]",
51
+ icon: "text-[var(--axis-status-info)]",
52
52
  bg: "bg-[var(--axis-surface-info)]"
53
53
  },
54
54
  warning: {
55
- border: "border-l-[var(--axis-color-yellow-500)]",
56
- icon: "text-[var(--axis-color-yellow-500)]",
55
+ border: "border-l-[var(--axis-status-warning)]",
56
+ icon: "text-[var(--axis-status-warning)]",
57
57
  bg: "bg-[var(--axis-surface-warning)]"
58
58
  },
59
59
  error: {
60
- border: "border-l-[var(--axis-color-red-500)]",
61
- icon: "text-[var(--axis-color-red-500)]",
60
+ border: "border-l-[var(--axis-status-error)]",
61
+ icon: "text-[var(--axis-status-error)]",
62
62
  bg: "bg-[var(--axis-surface-error)]"
63
63
  }
64
64
  };
@@ -68,10 +68,10 @@ var severityIcons = {
68
68
  error: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-5 h-5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" }) })
69
69
  };
70
70
  var actionVariantStyles = {
71
- default: "bg-[var(--axis-button-bg-default)] text-white hover:bg-[var(--axis-button-bg-hover)]",
71
+ default: "bg-[var(--axis-button-bg-default)] text-[var(--axis-button-text-default)] hover:bg-[var(--axis-button-bg-hover)]",
72
72
  secondary: "bg-[var(--axis-button-secondary-bg-default)] text-[var(--axis-text-primary)] hover:bg-[var(--axis-button-secondary-bg-hover)]",
73
73
  ghost: "bg-transparent text-[var(--axis-text-primary)] hover:bg-[var(--axis-surface-secondary)]",
74
- destructive: "bg-[var(--axis-button-destructive-bg-default)] text-white hover:bg-[var(--axis-button-destructive-bg-hover)]"
74
+ destructive: "bg-[var(--axis-button-destructive-bg-default)] text-[var(--axis-button-destructive-text-default)] hover:bg-[var(--axis-button-destructive-bg-hover)]"
75
75
  };
76
76
  function ApprovalCard({
77
77
  id,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ApprovalCard
3
- } from "../chunk-ENIWC4WX.mjs";
3
+ } from "../chunk-7HTVJ6MK.mjs";
4
4
  import "../chunk-SCZ4BQ2G.mjs";
5
5
  export {
6
6
  ApprovalCard
@@ -68,7 +68,7 @@ function AttachmentCard({
68
68
  className: (0, import_ui_react.cn)(
69
69
  "flex items-center gap-3 rounded-lg border p-3",
70
70
  "bg-[var(--axis-surface-default)] border-[var(--axis-border-default)]",
71
- status === "error" && "border-[var(--axis-color-red-500)]/30",
71
+ status === "error" && "border-[var(--axis-status-error)]/30",
72
72
  className
73
73
  ),
74
74
  children: [
@@ -111,7 +111,7 @@ function AttachmentCard({
111
111
  status === "uploading" && progress !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "mt-1.5 h-1 rounded-full bg-[var(--axis-surface-secondary)] overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
112
112
  "div",
113
113
  {
114
- className: "h-full rounded-full bg-[var(--axis-color-blue-500)] transition-all",
114
+ className: "h-full rounded-full bg-[var(--axis-status-running)] transition-all",
115
115
  style: { width: `${progress}%` },
116
116
  role: "progressbar",
117
117
  "aria-valuenow": progress,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AttachmentCard
3
- } from "../chunk-FPOHPDZ2.mjs";
3
+ } from "../chunk-2A5QQFYL.mjs";
4
4
  import "../chunk-SCZ4BQ2G.mjs";
5
5
  export {
6
6
  AttachmentCard
@@ -37,7 +37,7 @@ function AttachmentCard({
37
37
  className: cn(
38
38
  "flex items-center gap-3 rounded-lg border p-3",
39
39
  "bg-[var(--axis-surface-default)] border-[var(--axis-border-default)]",
40
- status === "error" && "border-[var(--axis-color-red-500)]/30",
40
+ status === "error" && "border-[var(--axis-status-error)]/30",
41
41
  className
42
42
  ),
43
43
  children: [
@@ -80,7 +80,7 @@ function AttachmentCard({
80
80
  status === "uploading" && progress !== void 0 && /* @__PURE__ */ jsx("div", { className: "mt-1.5 h-1 rounded-full bg-[var(--axis-surface-secondary)] overflow-hidden", children: /* @__PURE__ */ jsx(
81
81
  "div",
82
82
  {
83
- className: "h-full rounded-full bg-[var(--axis-color-blue-500)] transition-all",
83
+ className: "h-full rounded-full bg-[var(--axis-status-running)] transition-all",
84
84
  style: { width: `${progress}%` },
85
85
  role: "progressbar",
86
86
  "aria-valuenow": progress,
@@ -43,7 +43,7 @@ function CodeBlock({
43
43
  "aria-label": copied ? "\uBCF5\uC0AC\uB428" : "\uCF54\uB4DC \uBCF5\uC0AC",
44
44
  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",
45
45
  children: copied ? /* @__PURE__ */ jsxs(Fragment, { children: [
46
- /* @__PURE__ */ 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__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
46
+ /* @__PURE__ */ 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__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
47
47
  /* @__PURE__ */ jsx("span", { children: "\uBCF5\uC0AC\uB428" })
48
48
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
49
49
  /* @__PURE__ */ jsx("svg", { className: "w-3.5 h-3.5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ 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" }) }),
@@ -8,18 +8,18 @@ import { cn } from "@axis-ds/ui-react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  var severityStyles = {
10
10
  info: {
11
- border: "border-l-[var(--axis-color-blue-500)]",
12
- icon: "text-[var(--axis-color-blue-500)]",
11
+ border: "border-l-[var(--axis-status-info)]",
12
+ icon: "text-[var(--axis-status-info)]",
13
13
  bg: "bg-[var(--axis-surface-info)]"
14
14
  },
15
15
  warning: {
16
- border: "border-l-[var(--axis-color-yellow-500)]",
17
- icon: "text-[var(--axis-color-yellow-500)]",
16
+ border: "border-l-[var(--axis-status-warning)]",
17
+ icon: "text-[var(--axis-status-warning)]",
18
18
  bg: "bg-[var(--axis-surface-warning)]"
19
19
  },
20
20
  error: {
21
- border: "border-l-[var(--axis-color-red-500)]",
22
- icon: "text-[var(--axis-color-red-500)]",
21
+ border: "border-l-[var(--axis-status-error)]",
22
+ icon: "text-[var(--axis-status-error)]",
23
23
  bg: "bg-[var(--axis-surface-error)]"
24
24
  }
25
25
  };
@@ -29,10 +29,10 @@ var severityIcons = {
29
29
  error: /* @__PURE__ */ jsx("svg", { className: "w-5 h-5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" }) })
30
30
  };
31
31
  var actionVariantStyles = {
32
- default: "bg-[var(--axis-button-bg-default)] text-white hover:bg-[var(--axis-button-bg-hover)]",
32
+ default: "bg-[var(--axis-button-bg-default)] text-[var(--axis-button-text-default)] hover:bg-[var(--axis-button-bg-hover)]",
33
33
  secondary: "bg-[var(--axis-button-secondary-bg-default)] text-[var(--axis-text-primary)] hover:bg-[var(--axis-button-secondary-bg-hover)]",
34
34
  ghost: "bg-transparent text-[var(--axis-text-primary)] hover:bg-[var(--axis-surface-secondary)]",
35
- destructive: "bg-[var(--axis-button-destructive-bg-default)] text-white hover:bg-[var(--axis-button-destructive-bg-hover)]"
35
+ destructive: "bg-[var(--axis-button-destructive-bg-default)] text-[var(--axis-button-destructive-text-default)] hover:bg-[var(--axis-button-destructive-bg-hover)]"
36
36
  };
37
37
  function ApprovalCard({
38
38
  id,
@@ -8,7 +8,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
8
8
  var roleStyles = {
9
9
  user: {
10
10
  container: "flex-row-reverse",
11
- bubble: "bg-[var(--axis-color-blue-500)] text-white rounded-br-sm"
11
+ bubble: "bg-[var(--axis-agent-message-user-bg)] text-white rounded-br-sm"
12
12
  },
13
13
  assistant: {
14
14
  container: "flex-row",
@@ -46,11 +46,11 @@ function StepTimeline({
46
46
  "aria-hidden": "true",
47
47
  className: cn(
48
48
  "relative z-10 w-5 h-5 rounded-full flex items-center justify-center",
49
- step.status === "complete" && "bg-[var(--axis-color-green-500)]",
50
- step.status === "running" && "bg-[var(--axis-color-blue-500)] animate-pulse",
51
- step.status === "error" && "bg-[var(--axis-color-red-500)]",
52
- step.status === "skipped" && "bg-[var(--axis-color-gray-300)]",
53
- step.status === "pending" && "bg-[var(--axis-color-gray-300)]"
49
+ step.status === "complete" && "bg-[var(--axis-status-success)]",
50
+ step.status === "running" && "bg-[var(--axis-status-running)] animate-pulse",
51
+ step.status === "error" && "bg-[var(--axis-status-error)]",
52
+ step.status === "skipped" && "bg-[var(--axis-status-neutral-muted)]",
53
+ step.status === "pending" && "bg-[var(--axis-status-neutral-muted)]"
54
54
  ),
55
55
  children: step.status === "complete" && /* @__PURE__ */ jsx("svg", { className: "w-3 h-3 text-white", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M5 13l4 4L19 7" }) })
56
56
  }
@@ -12,13 +12,13 @@ function TokenUsageIndicator({
12
12
  const ratio = max > 0 ? current / max : 0;
13
13
  const percentage = Math.min(Math.round(ratio * 100), 100);
14
14
  const getColor = () => {
15
- if (ratio >= 1) return "bg-[var(--axis-color-red-500)]";
16
- if (ratio >= warningThreshold) return "bg-[var(--axis-color-yellow-500)]";
17
- return "bg-[var(--axis-color-green-500)]";
15
+ if (ratio >= 1) return "bg-[var(--axis-status-error)]";
16
+ if (ratio >= warningThreshold) return "bg-[var(--axis-status-warning)]";
17
+ return "bg-[var(--axis-status-success)]";
18
18
  };
19
19
  const getTextColor = () => {
20
- if (ratio >= 1) return "text-[var(--axis-color-red-500)]";
21
- if (ratio >= warningThreshold) return "text-[var(--axis-color-yellow-500)]";
20
+ if (ratio >= 1) return "text-[var(--axis-status-error)]";
21
+ if (ratio >= warningThreshold) return "text-[var(--axis-status-warning)]";
22
22
  return "text-[var(--axis-text-secondary)]";
23
23
  };
24
24
  const formatNumber = (n) => n >= 1e3 ? `${(n / 1e3).toFixed(1)}k` : String(n);
@@ -12,14 +12,14 @@ var sizeStyles = {
12
12
  xl: "w-12 h-12 text-lg"
13
13
  };
14
14
  var statusStyles = {
15
- online: "bg-[var(--axis-color-green-500)]",
16
- busy: "bg-[var(--axis-color-yellow-500)]",
17
- offline: "bg-[var(--axis-color-gray-400)]"
15
+ online: "bg-[var(--axis-status-success)]",
16
+ busy: "bg-[var(--axis-status-warning)]",
17
+ offline: "bg-[var(--axis-status-neutral)]"
18
18
  };
19
19
  var typeColors = {
20
- assistant: "bg-[var(--axis-color-purple-500)]",
21
- tool: "bg-[var(--axis-color-blue-500)]",
22
- system: "bg-[var(--axis-color-gray-600)]"
20
+ assistant: "bg-[var(--axis-agent-avatar-assistant)]",
21
+ tool: "bg-[var(--axis-agent-avatar-tool)]",
22
+ system: "bg-[var(--axis-agent-avatar-system)]"
23
23
  };
24
24
  function AgentAvatar({
25
25
  name,
@@ -16,7 +16,7 @@ function RecoveryBanner({
16
16
  {
17
17
  className: cn(
18
18
  "flex items-start gap-3 p-4 rounded-lg border",
19
- "bg-[var(--axis-surface-error)] border-[var(--axis-color-red-200)]",
19
+ "bg-[var(--axis-surface-error)] border-[var(--axis-status-error-border)]",
20
20
  className
21
21
  ),
22
22
  role: "alert",
@@ -26,7 +26,7 @@ function RecoveryBanner({
26
26
  /* @__PURE__ */ jsx(
27
27
  "svg",
28
28
  {
29
- className: "w-5 h-5 text-[var(--axis-color-red-500)] flex-shrink-0 mt-0.5",
29
+ className: "w-5 h-5 text-[var(--axis-status-error)] flex-shrink-0 mt-0.5",
30
30
  fill: "none",
31
31
  stroke: "currentColor",
32
32
  viewBox: "0 0 24 24",
@@ -51,7 +51,7 @@ function RecoveryBanner({
51
51
  {
52
52
  onClick: onRetry,
53
53
  "aria-describedby": descId,
54
- 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",
54
+ 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",
55
55
  children: "\uC7AC\uC2DC\uB3C4"
56
56
  }
57
57
  ),
@@ -8,22 +8,22 @@ import { cn } from "@axis-ds/ui-react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  var statusConfig = {
10
10
  pending: {
11
- color: "text-[var(--axis-color-gray-400)]",
11
+ color: "text-[var(--axis-status-neutral)]",
12
12
  icon: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10", strokeWidth: 2 }) })
13
13
  },
14
14
  running: {
15
- color: "text-[var(--axis-color-blue-500)]",
15
+ color: "text-[var(--axis-status-running)]",
16
16
  icon: /* @__PURE__ */ jsxs("svg", { className: "w-4 h-4 animate-spin", viewBox: "0 0 24 24", fill: "none", children: [
17
17
  /* @__PURE__ */ jsx("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
18
18
  /* @__PURE__ */ jsx("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z" })
19
19
  ] })
20
20
  },
21
21
  success: {
22
- color: "text-[var(--axis-color-green-500)]",
22
+ color: "text-[var(--axis-status-success)]",
23
23
  icon: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) })
24
24
  },
25
25
  error: {
26
- color: "text-[var(--axis-color-red-500)]",
26
+ color: "text-[var(--axis-status-error)]",
27
27
  icon: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) })
28
28
  }
29
29
  };
@@ -7,10 +7,10 @@ import * as React from "react";
7
7
  import { cn } from "@axis-ds/ui-react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  var statusColors = {
10
- pending: "bg-[var(--axis-color-gray-300)]",
11
- running: "bg-[var(--axis-color-blue-500)] animate-pulse",
12
- complete: "bg-[var(--axis-color-green-500)]",
13
- error: "bg-[var(--axis-color-red-500)]"
10
+ pending: "bg-[var(--axis-status-neutral-muted)]",
11
+ running: "bg-[var(--axis-status-running)] animate-pulse",
12
+ complete: "bg-[var(--axis-status-success)]",
13
+ error: "bg-[var(--axis-status-error)]"
14
14
  };
15
15
  var statusIcons = {
16
16
  pending: null,
@@ -44,7 +44,7 @@ function RunProgress({
44
44
  children: [
45
45
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between mb-4", children: [
46
46
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
47
- status === "running" && /* @__PURE__ */ jsx("div", { className: "w-2 h-2 rounded-full bg-[var(--axis-color-blue-500)] animate-pulse" }),
47
+ status === "running" && /* @__PURE__ */ jsx("div", { className: "w-2 h-2 rounded-full bg-[var(--axis-status-running)] animate-pulse" }),
48
48
  /* @__PURE__ */ jsxs("span", { className: "text-sm font-medium text-[var(--axis-text-primary)]", children: [
49
49
  status === "idle" && "\uB300\uAE30 \uC911",
50
50
  status === "running" && "\uC2E4\uD589 \uC911",
@@ -69,7 +69,7 @@ function RunProgress({
69
69
  children: /* @__PURE__ */ jsx(
70
70
  "div",
71
71
  {
72
- className: "h-full rounded-full bg-[var(--axis-color-blue-500)] transition-all duration-300",
72
+ className: "h-full rounded-full bg-[var(--axis-status-running)] transition-all duration-300",
73
73
  style: { width: `${progressPercent}%` }
74
74
  }
75
75
  )
@@ -121,7 +121,7 @@ function RunProgress({
121
121
  "button",
122
122
  {
123
123
  onClick: onRetry,
124
- 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)]",
124
+ 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)]",
125
125
  children: "\uC7AC\uC2DC\uB3C4"
126
126
  }
127
127
  )
@@ -9,39 +9,39 @@ import { cn } from "@axis-ds/ui-react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  var planStatusStyles = {
11
11
  draft: {
12
- border: "border-l-[var(--axis-color-gray-400)]",
13
- badge: "bg-[var(--axis-color-gray-100)] text-[var(--axis-color-gray-600)]"
12
+ border: "border-l-[var(--axis-status-neutral)]",
13
+ badge: "bg-[var(--axis-status-neutral-bg)] text-[var(--axis-status-neutral-strong)]"
14
14
  },
15
15
  pending: {
16
- border: "border-l-[var(--axis-color-yellow-500)]",
17
- badge: "bg-[var(--axis-color-yellow-500)]/10 text-[var(--axis-color-yellow-600)]"
16
+ border: "border-l-[var(--axis-status-warning)]",
17
+ badge: "bg-[var(--axis-status-warning)]/10 text-[var(--axis-status-warning-strong)]"
18
18
  },
19
19
  approved: {
20
- border: "border-l-[var(--axis-color-green-500)]",
21
- badge: "bg-[var(--axis-color-green-500)]/10 text-[var(--axis-color-green-600)]"
20
+ border: "border-l-[var(--axis-status-success)]",
21
+ badge: "bg-[var(--axis-status-success)]/10 text-[var(--axis-status-success-strong)]"
22
22
  },
23
23
  rejected: {
24
- border: "border-l-[var(--axis-color-red-500)]",
25
- badge: "bg-[var(--axis-color-red-500)]/10 text-[var(--axis-color-red-600)]"
24
+ border: "border-l-[var(--axis-status-error)]",
25
+ badge: "bg-[var(--axis-status-error)]/10 text-[var(--axis-status-error-strong)]"
26
26
  },
27
27
  executing: {
28
- border: "border-l-[var(--axis-color-blue-500)]",
29
- badge: "bg-[var(--axis-color-blue-500)]/10 text-[var(--axis-color-blue-600)]"
28
+ border: "border-l-[var(--axis-status-running)]",
29
+ badge: "bg-[var(--axis-status-running)]/10 text-[var(--axis-status-running-strong)]"
30
30
  },
31
31
  completed: {
32
- border: "border-l-[var(--axis-color-green-500)]",
33
- badge: "bg-[var(--axis-color-green-500)]/10 text-[var(--axis-color-green-600)]"
32
+ border: "border-l-[var(--axis-status-success)]",
33
+ badge: "bg-[var(--axis-status-success)]/10 text-[var(--axis-status-success-strong)]"
34
34
  }
35
35
  };
36
36
  var stepStatusIcons = {
37
- pending: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4 text-[var(--axis-color-gray-400)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10", strokeWidth: 2 }) }),
38
- running: /* @__PURE__ */ jsxs("svg", { className: "w-4 h-4 text-[var(--axis-color-blue-500)] animate-spin", viewBox: "0 0 24 24", fill: "none", children: [
37
+ pending: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4 text-[var(--axis-status-neutral)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10", strokeWidth: 2 }) }),
38
+ running: /* @__PURE__ */ jsxs("svg", { className: "w-4 h-4 text-[var(--axis-status-running)] animate-spin", viewBox: "0 0 24 24", fill: "none", children: [
39
39
  /* @__PURE__ */ jsx("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
40
40
  /* @__PURE__ */ jsx("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z" })
41
41
  ] }),
42
- complete: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4 text-[var(--axis-color-green-500)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
43
- error: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4 text-[var(--axis-color-red-500)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }),
44
- skipped: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4 text-[var(--axis-color-gray-400)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M13 5l7 7-7 7M5 5l7 7-7 7" }) })
42
+ complete: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4 text-[var(--axis-status-success)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
43
+ error: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4 text-[var(--axis-status-error)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }),
44
+ skipped: /* @__PURE__ */ jsx("svg", { className: "w-4 h-4 text-[var(--axis-status-neutral)]", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M13 5l7 7-7 7M5 5l7 7-7 7" }) })
45
45
  };
46
46
  function PlanCard({
47
47
  title,
@@ -86,7 +86,7 @@ function PlanCard({
86
86
  steps.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex-1 h-1 rounded-full bg-[var(--axis-surface-secondary)] overflow-hidden", children: /* @__PURE__ */ jsx(
87
87
  "div",
88
88
  {
89
- className: "h-full rounded-full bg-[var(--axis-color-green-500)] transition-all",
89
+ className: "h-full rounded-full bg-[var(--axis-status-success)] transition-all",
90
90
  style: { width: `${completedCount / steps.length * 100}%` },
91
91
  "aria-hidden": "true"
92
92
  }
@@ -121,7 +121,7 @@ function PlanCard({
121
121
  "button",
122
122
  {
123
123
  onClick: onApprove,
124
- 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",
124
+ className: "px-3 py-1.5 text-xs font-medium rounded-md bg-[var(--axis-status-success)] text-white hover:bg-[var(--axis-status-success-strong)] transition-colors",
125
125
  children: "\uC2B9\uC778"
126
126
  }
127
127
  ),
@@ -137,7 +137,7 @@ function PlanCard({
137
137
  "button",
138
138
  {
139
139
  onClick: onReject,
140
- 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",
140
+ className: "px-3 py-1.5 text-xs font-medium rounded-md text-[var(--axis-status-error)] hover:bg-[var(--axis-status-error)]/10 transition-colors",
141
141
  children: "\uAC70\uC808"
142
142
  }
143
143
  )
@@ -43,7 +43,7 @@ function FeedbackButtons({
43
43
  className: cn(
44
44
  "rounded-md transition-colors",
45
45
  sizeStyles[size],
46
- 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)]"
46
+ feedback === "like" ? "text-[var(--axis-status-success)] bg-[var(--axis-status-success)]/10" : "text-[var(--axis-text-tertiary)] hover:text-[var(--axis-text-secondary)] hover:bg-[var(--axis-surface-secondary)]"
47
47
  ),
48
48
  children: /* @__PURE__ */ jsx("svg", { className: iconSizes[size], fill: feedback === "like" ? "currentColor" : "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ 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" }) })
49
49
  }
@@ -57,7 +57,7 @@ function FeedbackButtons({
57
57
  className: cn(
58
58
  "rounded-md transition-colors",
59
59
  sizeStyles[size],
60
- 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)]"
60
+ feedback === "dislike" ? "text-[var(--axis-status-error)] bg-[var(--axis-status-error)]/10" : "text-[var(--axis-text-tertiary)] hover:text-[var(--axis-text-secondary)] hover:bg-[var(--axis-surface-secondary)]"
61
61
  ),
62
62
  children: /* @__PURE__ */ jsx("svg", { className: iconSizes[size], fill: feedback === "dislike" ? "currentColor" : "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ 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" }) })
63
63
  }
@@ -40,13 +40,13 @@ function computeDiff(before, after) {
40
40
  return result;
41
41
  }
42
42
  var lineTypeStyles = {
43
- added: "bg-[var(--axis-color-green-500)]/10",
44
- removed: "bg-[var(--axis-color-red-500)]/10",
43
+ added: "bg-[var(--axis-diff-added)]/10",
44
+ removed: "bg-[var(--axis-diff-removed)]/10",
45
45
  unchanged: ""
46
46
  };
47
47
  var lineTypeTextStyles = {
48
- added: "text-[var(--axis-color-green-600)]",
49
- removed: "text-[var(--axis-color-red-600)]",
48
+ added: "text-[var(--axis-diff-added-text)]",
49
+ removed: "text-[var(--axis-diff-removed-text)]",
50
50
  unchanged: "text-[var(--axis-text-primary)]"
51
51
  };
52
52
  var lineTypeSymbols = {
@@ -80,11 +80,11 @@ function DiffViewer({
80
80
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 min-w-0", children: [
81
81
  /* @__PURE__ */ 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__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16M4 18h7" }) }),
82
82
  filename && /* @__PURE__ */ jsx("code", { className: "text-xs font-mono text-[var(--axis-text-primary)] truncate", children: filename }),
83
- /* @__PURE__ */ jsxs("span", { className: "text-xs text-[var(--axis-color-green-500)]", "aria-label": `${addedCount}\uC904 ${DIFF_LABELS.added}`, children: [
83
+ /* @__PURE__ */ jsxs("span", { className: "text-xs text-[var(--axis-diff-added)]", "aria-label": `${addedCount}\uC904 ${DIFF_LABELS.added}`, children: [
84
84
  "+",
85
85
  addedCount
86
86
  ] }),
87
- /* @__PURE__ */ jsxs("span", { className: "text-xs text-[var(--axis-color-red-500)]", "aria-label": `${removedCount}\uC904 ${DIFF_LABELS.removed}`, children: [
87
+ /* @__PURE__ */ jsxs("span", { className: "text-xs text-[var(--axis-diff-removed)]", "aria-label": `${removedCount}\uC904 ${DIFF_LABELS.removed}`, children: [
88
88
  "-",
89
89
  removedCount
90
90
  ] })
@@ -77,7 +77,7 @@ function CodeBlock({
77
77
  "aria-label": copied ? "\uBCF5\uC0AC\uB428" : "\uCF54\uB4DC \uBCF5\uC0AC",
78
78
  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",
79
79
  children: copied ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
80
- /* @__PURE__ */ (0, import_jsx_runtime.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_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
80
+ /* @__PURE__ */ (0, import_jsx_runtime.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_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
81
81
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "\uBCF5\uC0AC\uB428" })
82
82
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
83
83
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-3.5 h-3.5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.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" }) }),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CodeBlock
3
- } from "../chunk-RGBY6EEU.mjs";
3
+ } from "../chunk-4CMUEGLK.mjs";
4
4
  export {
5
5
  CodeBlock
6
6
  };
@@ -79,13 +79,13 @@ function computeDiff(before, after) {
79
79
  return result;
80
80
  }
81
81
  var lineTypeStyles = {
82
- added: "bg-[var(--axis-color-green-500)]/10",
83
- removed: "bg-[var(--axis-color-red-500)]/10",
82
+ added: "bg-[var(--axis-diff-added)]/10",
83
+ removed: "bg-[var(--axis-diff-removed)]/10",
84
84
  unchanged: ""
85
85
  };
86
86
  var lineTypeTextStyles = {
87
- added: "text-[var(--axis-color-green-600)]",
88
- removed: "text-[var(--axis-color-red-600)]",
87
+ added: "text-[var(--axis-diff-added-text)]",
88
+ removed: "text-[var(--axis-diff-removed-text)]",
89
89
  unchanged: "text-[var(--axis-text-primary)]"
90
90
  };
91
91
  var lineTypeSymbols = {
@@ -119,11 +119,11 @@ function DiffViewer({
119
119
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-2 min-w-0", children: [
120
120
  /* @__PURE__ */ (0, import_jsx_runtime.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_runtime.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16M4 18h7" }) }),
121
121
  filename && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("code", { className: "text-xs font-mono text-[var(--axis-text-primary)] truncate", children: filename }),
122
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "text-xs text-[var(--axis-color-green-500)]", "aria-label": `${addedCount}\uC904 ${DIFF_LABELS.added}`, children: [
122
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "text-xs text-[var(--axis-diff-added)]", "aria-label": `${addedCount}\uC904 ${DIFF_LABELS.added}`, children: [
123
123
  "+",
124
124
  addedCount
125
125
  ] }),
126
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "text-xs text-[var(--axis-color-red-500)]", "aria-label": `${removedCount}\uC904 ${DIFF_LABELS.removed}`, children: [
126
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "text-xs text-[var(--axis-diff-removed)]", "aria-label": `${removedCount}\uC904 ${DIFF_LABELS.removed}`, children: [
127
127
  "-",
128
128
  removedCount
129
129
  ] })
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DiffViewer
3
- } from "../chunk-NRBIHROX.mjs";
3
+ } from "../chunk-ZFU34YYY.mjs";
4
4
  import "../chunk-SCZ4BQ2G.mjs";
5
5
  export {
6
6
  DiffViewer
@@ -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-[var(--axis-status-success)]/10" : "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-[var(--axis-status-error)]/10" : "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-YHCEJ2L5.mjs";
4
4
  import "../chunk-SCZ4BQ2G.mjs";
5
5
  export {
6
6
  FeedbackButtons