@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.
- package/dist/agent-avatar/index.js +6 -6
- package/dist/agent-avatar/index.mjs +1 -1
- package/dist/approval-card/index.js +8 -8
- package/dist/approval-card/index.mjs +1 -1
- package/dist/attachment-card/index.js +2 -2
- package/dist/attachment-card/index.mjs +1 -1
- package/dist/{chunk-FPOHPDZ2.mjs → chunk-2A5QQFYL.mjs} +2 -2
- package/dist/{chunk-RGBY6EEU.mjs → chunk-4CMUEGLK.mjs} +1 -1
- package/dist/{chunk-ENIWC4WX.mjs → chunk-7HTVJ6MK.mjs} +8 -8
- package/dist/{chunk-657RY6MM.mjs → chunk-KPRUFC34.mjs} +1 -1
- package/dist/{chunk-RGPKTWK4.mjs → chunk-M325YRLE.mjs} +5 -5
- package/dist/{chunk-H6VXOP7U.mjs → chunk-QS6GQNSE.mjs} +5 -5
- package/dist/{chunk-KH4OXDEV.mjs → chunk-RPW4Y5G2.mjs} +6 -6
- package/dist/{chunk-7UGSLEYG.mjs → chunk-UDL4M5RP.mjs} +3 -3
- package/dist/{chunk-FAJF5RCY.mjs → chunk-WFYQINWD.mjs} +4 -4
- package/dist/{chunk-LZKOCELQ.mjs → chunk-WMQGJIAF.mjs} +7 -7
- package/dist/{chunk-PWKN5UHT.mjs → chunk-WUA5Q76Y.mjs} +20 -20
- package/dist/{chunk-ETFET3LT.mjs → chunk-YHCEJ2L5.mjs} +2 -2
- package/dist/{chunk-NRBIHROX.mjs → chunk-ZFU34YYY.mjs} +6 -6
- package/dist/code-block/index.js +1 -1
- package/dist/code-block/index.mjs +1 -1
- package/dist/diff-viewer/index.js +6 -6
- package/dist/diff-viewer/index.mjs +1 -1
- package/dist/feedback-buttons/index.js +2 -2
- package/dist/feedback-buttons/index.mjs +1 -1
- package/dist/index.js +70 -70
- package/dist/index.mjs +17 -17
- package/dist/message-bubble/index.js +1 -1
- package/dist/message-bubble/index.mjs +1 -1
- package/dist/plan-card/index.js +20 -20
- package/dist/plan-card/index.mjs +1 -1
- package/dist/recovery-banner/index.js +3 -3
- package/dist/recovery-banner/index.mjs +1 -1
- package/dist/run-progress/index.js +7 -7
- package/dist/run-progress/index.mjs +1 -1
- package/dist/step-timeline/index.js +5 -5
- package/dist/step-timeline/index.mjs +1 -1
- package/dist/token-usage-indicator/index.js +5 -5
- package/dist/token-usage-indicator/index.mjs +1 -1
- package/dist/tool-call-card/index.js +4 -4
- package/dist/tool-call-card/index.mjs +1 -1
- package/package.json +4 -4
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-
|
|
119
|
-
running: "bg-[var(--axis-
|
|
120
|
-
complete: "bg-[var(--axis-
|
|
121
|
-
error: "bg-[var(--axis-
|
|
118
|
+
pending: "bg-[var(--axis-status-neutral-muted)]",
|
|
119
|
+
running: "bg-[var(--axis-status-running)] animate-pulse",
|
|
120
|
+
complete: "bg-[var(--axis-status-success)]",
|
|
121
|
+
error: "bg-[var(--axis-status-error)]"
|
|
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-
|
|
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-
|
|
180
|
+
className: "h-full rounded-full bg-[var(--axis-status-running)] transition-all duration-300",
|
|
181
181
|
style: { width: `${progressPercent}%` }
|
|
182
182
|
}
|
|
183
183
|
)
|
|
@@ -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-
|
|
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,11 +283,11 @@ 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-
|
|
287
|
-
step.status === "running" && "bg-[var(--axis-
|
|
288
|
-
step.status === "error" && "bg-[var(--axis-
|
|
289
|
-
step.status === "skipped" && "bg-[var(--axis-
|
|
290
|
-
step.status === "pending" && "bg-[var(--axis-
|
|
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
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" }) })
|
|
293
293
|
}
|
|
@@ -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-
|
|
366
|
-
icon: "text-[var(--axis-
|
|
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-
|
|
371
|
-
icon: "text-[var(--axis-
|
|
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-
|
|
376
|
-
icon: "text-[var(--axis-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
};
|
|
@@ -797,7 +797,7 @@ function RecoveryBanner({
|
|
|
797
797
|
{
|
|
798
798
|
className: (0, import_ui_react9.cn)(
|
|
799
799
|
"flex items-start gap-3 p-4 rounded-lg border",
|
|
800
|
-
"bg-[var(--axis-surface-error)] border-[var(--axis-
|
|
800
|
+
"bg-[var(--axis-surface-error)] border-[var(--axis-status-error-border)]",
|
|
801
801
|
className
|
|
802
802
|
),
|
|
803
803
|
role: "alert",
|
|
@@ -807,7 +807,7 @@ function RecoveryBanner({
|
|
|
807
807
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
808
808
|
"svg",
|
|
809
809
|
{
|
|
810
|
-
className: "w-5 h-5 text-[var(--axis-
|
|
810
|
+
className: "w-5 h-5 text-[var(--axis-status-error)] flex-shrink-0 mt-0.5",
|
|
811
811
|
fill: "none",
|
|
812
812
|
stroke: "currentColor",
|
|
813
813
|
viewBox: "0 0 24 24",
|
|
@@ -832,7 +832,7 @@ function RecoveryBanner({
|
|
|
832
832
|
{
|
|
833
833
|
onClick: onRetry,
|
|
834
834
|
"aria-describedby": descId,
|
|
835
|
-
className: "px-3 py-1.5 text-sm font-medium rounded-md bg-[var(--axis-
|
|
835
|
+
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
836
|
children: "\uC7AC\uC2DC\uB3C4"
|
|
837
837
|
}
|
|
838
838
|
),
|
|
@@ -861,14 +861,14 @@ var sizeStyles2 = {
|
|
|
861
861
|
xl: "w-12 h-12 text-lg"
|
|
862
862
|
};
|
|
863
863
|
var statusStyles = {
|
|
864
|
-
online: "bg-[var(--axis-
|
|
865
|
-
busy: "bg-[var(--axis-
|
|
866
|
-
offline: "bg-[var(--axis-
|
|
864
|
+
online: "bg-[var(--axis-status-success)]",
|
|
865
|
+
busy: "bg-[var(--axis-status-warning)]",
|
|
866
|
+
offline: "bg-[var(--axis-status-neutral)]"
|
|
867
867
|
};
|
|
868
868
|
var typeColors = {
|
|
869
|
-
assistant: "bg-[var(--axis-
|
|
870
|
-
tool: "bg-[var(--axis-
|
|
871
|
-
system: "bg-[var(--axis-
|
|
869
|
+
assistant: "bg-[var(--axis-agent-avatar-assistant)]",
|
|
870
|
+
tool: "bg-[var(--axis-agent-avatar-tool)]",
|
|
871
|
+
system: "bg-[var(--axis-agent-avatar-system)]"
|
|
872
872
|
};
|
|
873
873
|
function AgentAvatar({
|
|
874
874
|
name,
|
|
@@ -933,7 +933,7 @@ var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
|
933
933
|
var roleStyles = {
|
|
934
934
|
user: {
|
|
935
935
|
container: "flex-row-reverse",
|
|
936
|
-
bubble: "bg-[var(--axis-
|
|
936
|
+
bubble: "bg-[var(--axis-agent-message-user-bg)] text-white rounded-br-sm"
|
|
937
937
|
},
|
|
938
938
|
assistant: {
|
|
939
939
|
container: "flex-row",
|
|
@@ -1067,7 +1067,7 @@ function FeedbackButtons({
|
|
|
1067
1067
|
className: (0, import_ui_react12.cn)(
|
|
1068
1068
|
"rounded-md transition-colors",
|
|
1069
1069
|
sizeStyles3[size],
|
|
1070
|
-
feedback === "like" ? "text-[var(--axis-
|
|
1070
|
+
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)]"
|
|
1071
1071
|
),
|
|
1072
1072
|
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
1073
|
}
|
|
@@ -1081,7 +1081,7 @@ function FeedbackButtons({
|
|
|
1081
1081
|
className: (0, import_ui_react12.cn)(
|
|
1082
1082
|
"rounded-md transition-colors",
|
|
1083
1083
|
sizeStyles3[size],
|
|
1084
|
-
feedback === "dislike" ? "text-[var(--axis-
|
|
1084
|
+
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)]"
|
|
1085
1085
|
),
|
|
1086
1086
|
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
1087
|
}
|
|
@@ -1136,7 +1136,7 @@ function CodeBlock({
|
|
|
1136
1136
|
"aria-label": copied ? "\uBCF5\uC0AC\uB428" : "\uCF54\uB4DC \uBCF5\uC0AC",
|
|
1137
1137
|
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
1138
|
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-
|
|
1139
|
+
/* @__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
1140
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: "\uBCF5\uC0AC\uB428" })
|
|
1141
1141
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
|
|
1142
1142
|
/* @__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 +1206,13 @@ function computeDiff(before, after) {
|
|
|
1206
1206
|
return result;
|
|
1207
1207
|
}
|
|
1208
1208
|
var lineTypeStyles = {
|
|
1209
|
-
added: "bg-[var(--axis-
|
|
1210
|
-
removed: "bg-[var(--axis-
|
|
1209
|
+
added: "bg-[var(--axis-diff-added)]/10",
|
|
1210
|
+
removed: "bg-[var(--axis-diff-removed)]/10",
|
|
1211
1211
|
unchanged: ""
|
|
1212
1212
|
};
|
|
1213
1213
|
var lineTypeTextStyles = {
|
|
1214
|
-
added: "text-[var(--axis-
|
|
1215
|
-
removed: "text-[var(--axis-
|
|
1214
|
+
added: "text-[var(--axis-diff-added-text)]",
|
|
1215
|
+
removed: "text-[var(--axis-diff-removed-text)]",
|
|
1216
1216
|
unchanged: "text-[var(--axis-text-primary)]"
|
|
1217
1217
|
};
|
|
1218
1218
|
var lineTypeSymbols = {
|
|
@@ -1246,11 +1246,11 @@ function DiffViewer({
|
|
|
1246
1246
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex items-center gap-2 min-w-0", children: [
|
|
1247
1247
|
/* @__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
1248
|
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-
|
|
1249
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "text-xs text-[var(--axis-diff-added)]", "aria-label": `${addedCount}\uC904 ${DIFF_LABELS.added}`, children: [
|
|
1250
1250
|
"+",
|
|
1251
1251
|
addedCount
|
|
1252
1252
|
] }),
|
|
1253
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "text-xs text-[var(--axis-
|
|
1253
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "text-xs text-[var(--axis-diff-removed)]", "aria-label": `${removedCount}\uC904 ${DIFF_LABELS.removed}`, children: [
|
|
1254
1254
|
"-",
|
|
1255
1255
|
removedCount
|
|
1256
1256
|
] })
|
|
@@ -1329,39 +1329,39 @@ var import_ui_react15 = require("@axis-ds/ui-react");
|
|
|
1329
1329
|
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
1330
1330
|
var planStatusStyles = {
|
|
1331
1331
|
draft: {
|
|
1332
|
-
border: "border-l-[var(--axis-
|
|
1333
|
-
badge: "bg-[var(--axis-
|
|
1332
|
+
border: "border-l-[var(--axis-status-neutral)]",
|
|
1333
|
+
badge: "bg-[var(--axis-status-neutral-bg)] text-[var(--axis-status-neutral-strong)]"
|
|
1334
1334
|
},
|
|
1335
1335
|
pending: {
|
|
1336
|
-
border: "border-l-[var(--axis-
|
|
1337
|
-
badge: "bg-[var(--axis-
|
|
1336
|
+
border: "border-l-[var(--axis-status-warning)]",
|
|
1337
|
+
badge: "bg-[var(--axis-status-warning)]/10 text-[var(--axis-status-warning-strong)]"
|
|
1338
1338
|
},
|
|
1339
1339
|
approved: {
|
|
1340
|
-
border: "border-l-[var(--axis-
|
|
1341
|
-
badge: "bg-[var(--axis-
|
|
1340
|
+
border: "border-l-[var(--axis-status-success)]",
|
|
1341
|
+
badge: "bg-[var(--axis-status-success)]/10 text-[var(--axis-status-success-strong)]"
|
|
1342
1342
|
},
|
|
1343
1343
|
rejected: {
|
|
1344
|
-
border: "border-l-[var(--axis-
|
|
1345
|
-
badge: "bg-[var(--axis-
|
|
1344
|
+
border: "border-l-[var(--axis-status-error)]",
|
|
1345
|
+
badge: "bg-[var(--axis-status-error)]/10 text-[var(--axis-status-error-strong)]"
|
|
1346
1346
|
},
|
|
1347
1347
|
executing: {
|
|
1348
|
-
border: "border-l-[var(--axis-
|
|
1349
|
-
badge: "bg-[var(--axis-
|
|
1348
|
+
border: "border-l-[var(--axis-status-running)]",
|
|
1349
|
+
badge: "bg-[var(--axis-status-running)]/10 text-[var(--axis-status-running-strong)]"
|
|
1350
1350
|
},
|
|
1351
1351
|
completed: {
|
|
1352
|
-
border: "border-l-[var(--axis-
|
|
1353
|
-
badge: "bg-[var(--axis-
|
|
1352
|
+
border: "border-l-[var(--axis-status-success)]",
|
|
1353
|
+
badge: "bg-[var(--axis-status-success)]/10 text-[var(--axis-status-success-strong)]"
|
|
1354
1354
|
}
|
|
1355
1355
|
};
|
|
1356
1356
|
var stepStatusIcons = {
|
|
1357
|
-
pending: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-
|
|
1358
|
-
running: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("svg", { className: "w-4 h-4 text-[var(--axis-
|
|
1357
|
+
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 }) }),
|
|
1358
|
+
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
1359
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
|
|
1360
1360
|
/* @__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
1361
|
] }),
|
|
1362
|
-
complete: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-
|
|
1363
|
-
error: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-
|
|
1364
|
-
skipped: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-
|
|
1362
|
+
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" }) }),
|
|
1363
|
+
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" }) }),
|
|
1364
|
+
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
1365
|
};
|
|
1366
1366
|
function PlanCard({
|
|
1367
1367
|
title,
|
|
@@ -1406,7 +1406,7 @@ function PlanCard({
|
|
|
1406
1406
|
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
1407
|
"div",
|
|
1408
1408
|
{
|
|
1409
|
-
className: "h-full rounded-full bg-[var(--axis-
|
|
1409
|
+
className: "h-full rounded-full bg-[var(--axis-status-success)] transition-all",
|
|
1410
1410
|
style: { width: `${completedCount / steps.length * 100}%` },
|
|
1411
1411
|
"aria-hidden": "true"
|
|
1412
1412
|
}
|
|
@@ -1441,7 +1441,7 @@ function PlanCard({
|
|
|
1441
1441
|
"button",
|
|
1442
1442
|
{
|
|
1443
1443
|
onClick: onApprove,
|
|
1444
|
-
className: "px-3 py-1.5 text-xs font-medium rounded-md bg-[var(--axis-
|
|
1444
|
+
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",
|
|
1445
1445
|
children: "\uC2B9\uC778"
|
|
1446
1446
|
}
|
|
1447
1447
|
),
|
|
@@ -1457,7 +1457,7 @@ function PlanCard({
|
|
|
1457
1457
|
"button",
|
|
1458
1458
|
{
|
|
1459
1459
|
onClick: onReject,
|
|
1460
|
-
className: "px-3 py-1.5 text-xs font-medium rounded-md text-[var(--axis-
|
|
1460
|
+
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",
|
|
1461
1461
|
children: "\uAC70\uC808"
|
|
1462
1462
|
}
|
|
1463
1463
|
)
|
|
@@ -1581,13 +1581,13 @@ function TokenUsageIndicator({
|
|
|
1581
1581
|
const ratio = max > 0 ? current / max : 0;
|
|
1582
1582
|
const percentage = Math.min(Math.round(ratio * 100), 100);
|
|
1583
1583
|
const getColor = () => {
|
|
1584
|
-
if (ratio >= 1) return "bg-[var(--axis-
|
|
1585
|
-
if (ratio >= warningThreshold) return "bg-[var(--axis-
|
|
1586
|
-
return "bg-[var(--axis-
|
|
1584
|
+
if (ratio >= 1) return "bg-[var(--axis-status-error)]";
|
|
1585
|
+
if (ratio >= warningThreshold) return "bg-[var(--axis-status-warning)]";
|
|
1586
|
+
return "bg-[var(--axis-status-success)]";
|
|
1587
1587
|
};
|
|
1588
1588
|
const getTextColor = () => {
|
|
1589
|
-
if (ratio >= 1) return "text-[var(--axis-
|
|
1590
|
-
if (ratio >= warningThreshold) return "text-[var(--axis-
|
|
1589
|
+
if (ratio >= 1) return "text-[var(--axis-status-error)]";
|
|
1590
|
+
if (ratio >= warningThreshold) return "text-[var(--axis-status-warning)]";
|
|
1591
1591
|
return "text-[var(--axis-text-secondary)]";
|
|
1592
1592
|
};
|
|
1593
1593
|
const formatNumber = (n) => n >= 1e3 ? `${(n / 1e3).toFixed(1)}k` : String(n);
|
|
@@ -1685,7 +1685,7 @@ function AttachmentCard({
|
|
|
1685
1685
|
className: (0, import_ui_react18.cn)(
|
|
1686
1686
|
"flex items-center gap-3 rounded-lg border p-3",
|
|
1687
1687
|
"bg-[var(--axis-surface-default)] border-[var(--axis-border-default)]",
|
|
1688
|
-
status === "error" && "border-[var(--axis-
|
|
1688
|
+
status === "error" && "border-[var(--axis-status-error)]/30",
|
|
1689
1689
|
className
|
|
1690
1690
|
),
|
|
1691
1691
|
children: [
|
|
@@ -1728,7 +1728,7 @@ function AttachmentCard({
|
|
|
1728
1728
|
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
1729
|
"div",
|
|
1730
1730
|
{
|
|
1731
|
-
className: "h-full rounded-full bg-[var(--axis-
|
|
1731
|
+
className: "h-full rounded-full bg-[var(--axis-status-running)] transition-all",
|
|
1732
1732
|
style: { width: `${progress}%` },
|
|
1733
1733
|
role: "progressbar",
|
|
1734
1734
|
"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-
|
|
6
|
+
} from "./chunk-QS6GQNSE.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ToolCallCard
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WFYQINWD.mjs";
|
|
10
10
|
import {
|
|
11
11
|
MessageBubble
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KPRUFC34.mjs";
|
|
13
13
|
import {
|
|
14
14
|
PlanCard
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
RecoveryBanner
|
|
18
|
-
} from "./chunk-7UGSLEYG.mjs";
|
|
15
|
+
} from "./chunk-WUA5Q76Y.mjs";
|
|
19
16
|
import {
|
|
20
17
|
RunProgress
|
|
21
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WMQGJIAF.mjs";
|
|
19
|
+
import {
|
|
20
|
+
RecoveryBanner
|
|
21
|
+
} from "./chunk-UDL4M5RP.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SourcePanel
|
|
24
24
|
} from "./chunk-DPLGRVNQ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
StepTimeline
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-M325YRLE.mjs";
|
|
28
28
|
import {
|
|
29
29
|
StreamingText
|
|
30
30
|
} from "./chunk-GQYOOLDL.mjs";
|
|
31
31
|
import {
|
|
32
32
|
SurfaceRenderer
|
|
33
33
|
} from "./chunk-MVBXXDZB.mjs";
|
|
34
|
-
import {
|
|
35
|
-
AgentAvatar
|
|
36
|
-
} from "./chunk-KH4OXDEV.mjs";
|
|
37
34
|
import {
|
|
38
35
|
ApprovalCard
|
|
39
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-7HTVJ6MK.mjs";
|
|
37
|
+
import {
|
|
38
|
+
AgentAvatar
|
|
39
|
+
} from "./chunk-RPW4Y5G2.mjs";
|
|
40
40
|
import {
|
|
41
41
|
AttachmentCard
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-2A5QQFYL.mjs";
|
|
43
43
|
import {
|
|
44
44
|
CodeBlock
|
|
45
|
-
} from "./chunk-
|
|
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-
|
|
51
|
+
} from "./chunk-ZFU34YYY.mjs";
|
|
52
52
|
import {
|
|
53
53
|
FeedbackButtons
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-YHCEJ2L5.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-
|
|
40
|
+
bubble: "bg-[var(--axis-agent-message-user-bg)] text-white rounded-br-sm"
|
|
41
41
|
},
|
|
42
42
|
assistant: {
|
|
43
43
|
container: "flex-row",
|
package/dist/plan-card/index.js
CHANGED
|
@@ -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-
|
|
63
|
-
badge: "bg-[var(--axis-
|
|
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-
|
|
67
|
-
badge: "bg-[var(--axis-
|
|
66
|
+
border: "border-l-[var(--axis-status-warning)]",
|
|
67
|
+
badge: "bg-[var(--axis-status-warning)]/10 text-[var(--axis-status-warning-strong)]"
|
|
68
68
|
},
|
|
69
69
|
approved: {
|
|
70
|
-
border: "border-l-[var(--axis-
|
|
71
|
-
badge: "bg-[var(--axis-
|
|
70
|
+
border: "border-l-[var(--axis-status-success)]",
|
|
71
|
+
badge: "bg-[var(--axis-status-success)]/10 text-[var(--axis-status-success-strong)]"
|
|
72
72
|
},
|
|
73
73
|
rejected: {
|
|
74
|
-
border: "border-l-[var(--axis-
|
|
75
|
-
badge: "bg-[var(--axis-
|
|
74
|
+
border: "border-l-[var(--axis-status-error)]",
|
|
75
|
+
badge: "bg-[var(--axis-status-error)]/10 text-[var(--axis-status-error-strong)]"
|
|
76
76
|
},
|
|
77
77
|
executing: {
|
|
78
|
-
border: "border-l-[var(--axis-
|
|
79
|
-
badge: "bg-[var(--axis-
|
|
78
|
+
border: "border-l-[var(--axis-status-running)]",
|
|
79
|
+
badge: "bg-[var(--axis-status-running)]/10 text-[var(--axis-status-running-strong)]"
|
|
80
80
|
},
|
|
81
81
|
completed: {
|
|
82
|
-
border: "border-l-[var(--axis-
|
|
83
|
-
badge: "bg-[var(--axis-
|
|
82
|
+
border: "border-l-[var(--axis-status-success)]",
|
|
83
|
+
badge: "bg-[var(--axis-status-success)]/10 text-[var(--axis-status-success-strong)]"
|
|
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-
|
|
88
|
-
running: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { className: "w-4 h-4 text-[var(--axis-
|
|
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-
|
|
93
|
-
error: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-
|
|
94
|
-
skipped: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: "w-4 h-4 text-[var(--axis-
|
|
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,
|
|
@@ -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-
|
|
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-
|
|
174
|
+
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",
|
|
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-
|
|
190
|
+
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",
|
|
191
191
|
children: "\uAC70\uC808"
|
|
192
192
|
}
|
|
193
193
|
)
|
package/dist/plan-card/index.mjs
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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
|
),
|