@agentiffai/design 1.3.3 → 1.3.4
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/copilotkit/index.cjs +7 -0
- package/dist/copilotkit/index.cjs.map +1 -1
- package/dist/copilotkit/index.js +7 -0
- package/dist/copilotkit/index.js.map +1 -1
- package/dist/index.cjs +106 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +106 -30
- package/dist/index.js.map +1 -1
- package/dist/layout/index.cjs +37 -13
- package/dist/layout/index.cjs.map +1 -1
- package/dist/layout/index.d.cts +3 -1
- package/dist/layout/index.d.ts +3 -1
- package/dist/layout/index.js +37 -13
- package/dist/layout/index.js.map +1 -1
- package/package.json +1 -1
package/dist/layout/index.cjs
CHANGED
|
@@ -508,12 +508,16 @@ var ContentWrapper = styled9__default.default.div`
|
|
|
508
508
|
align-items: center;
|
|
509
509
|
/* Fixed height for actual navbar content - keeps vertical centering */
|
|
510
510
|
height: 52px;
|
|
511
|
-
padding
|
|
511
|
+
/* Left padding aligns WorkflowStatusCard icon with NavVertical icons (center at 36px) */
|
|
512
|
+
/* Icon is 36px with 6px card padding, so card edge at 12px, icon center at 12+6+18=36px */
|
|
513
|
+
padding: 0 ${tokens.spacing.xs} 0 12px;
|
|
514
|
+
gap: ${tokens.spacing.xs}; /* 4px gap between status card and action buttons */
|
|
512
515
|
max-width: 100%;
|
|
513
516
|
|
|
514
|
-
/* Responsive padding */
|
|
515
|
-
@media (
|
|
516
|
-
|
|
517
|
+
/* Responsive padding - adjust for mobile nav width (60px, center at 30px) */
|
|
518
|
+
@media (max-width: ${tokens.breakpoints.tablet}px) {
|
|
519
|
+
/* Card edge at 6px, icon center at 6+6+18=30px to match 60px nav */
|
|
520
|
+
padding: 0 ${tokens.spacing.xs} 0 6px;
|
|
517
521
|
}
|
|
518
522
|
`;
|
|
519
523
|
var UserStatusSlot = styled9__default.default.div`
|
|
@@ -1003,9 +1007,9 @@ var Container5 = styled9__default.default.button`
|
|
|
1003
1007
|
display: grid;
|
|
1004
1008
|
grid-template-columns: auto 1fr;
|
|
1005
1009
|
align-items: center;
|
|
1006
|
-
gap: ${tokens.spacing.
|
|
1010
|
+
gap: ${tokens.spacing.sm};
|
|
1007
1011
|
padding: 6px;
|
|
1008
|
-
margin:
|
|
1012
|
+
margin: 0; /* No margin - positioning handled by parent slot */
|
|
1009
1013
|
border-radius: ${tokens.borderRadius.md};
|
|
1010
1014
|
border: none;
|
|
1011
1015
|
background: ${tokens.colors.surface.subtle};
|
|
@@ -1015,19 +1019,27 @@ var Container5 = styled9__default.default.button`
|
|
|
1015
1019
|
cursor: ${(props) => props.$isDisabled ? "default" : "pointer"};
|
|
1016
1020
|
opacity: ${(props) => props.$isDisabled ? 0.7 : 1};
|
|
1017
1021
|
text-align: left;
|
|
1018
|
-
width:
|
|
1022
|
+
width: 100%; /* Fill available slot width */
|
|
1023
|
+
/* Remove mobile tap highlight that causes blue flash */
|
|
1024
|
+
-webkit-tap-highlight-color: transparent;
|
|
1019
1025
|
|
|
1020
1026
|
&:hover:not(:disabled) {
|
|
1021
1027
|
background-color: ${(props) => props.$isDisabled ? tokens.colors.surface.subtle : tokens.colors.surface.overlay};
|
|
1022
1028
|
}
|
|
1023
1029
|
|
|
1030
|
+
&:focus {
|
|
1031
|
+
outline: none;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1024
1034
|
&:focus-visible {
|
|
1025
|
-
outline:
|
|
1026
|
-
|
|
1035
|
+
outline: none;
|
|
1036
|
+
/* Subtle focus ring instead of bright color */
|
|
1037
|
+
box-shadow: inset 0 0 0 1px ${tokens.colors.border.default};
|
|
1027
1038
|
}
|
|
1028
1039
|
|
|
1029
1040
|
&:active:not(:disabled) {
|
|
1030
|
-
|
|
1041
|
+
/* Subtle press feedback - no color flash */
|
|
1042
|
+
opacity: 0.9;
|
|
1031
1043
|
}
|
|
1032
1044
|
`;
|
|
1033
1045
|
var IconWrapper2 = styled9__default.default.div`
|
|
@@ -1063,6 +1075,16 @@ var WorkflowStatus = styled9__default.default.span`
|
|
|
1063
1075
|
line-height: ${tokens.typography.lineHeight.tight};
|
|
1064
1076
|
text-transform: capitalize;
|
|
1065
1077
|
`;
|
|
1078
|
+
var WorkflowSubtitle = styled9__default.default.span`
|
|
1079
|
+
color: ${tokens.colors.text.tertiary};
|
|
1080
|
+
font-size: ${tokens.typography.fontSize.xs};
|
|
1081
|
+
font-weight: ${tokens.typography.fontWeight.regular};
|
|
1082
|
+
line-height: ${tokens.typography.lineHeight.tight};
|
|
1083
|
+
opacity: 0.7;
|
|
1084
|
+
overflow: hidden;
|
|
1085
|
+
text-overflow: ellipsis;
|
|
1086
|
+
white-space: nowrap;
|
|
1087
|
+
`;
|
|
1066
1088
|
var StatusIndicatorOuter = styled9__default.default.span`
|
|
1067
1089
|
position: absolute;
|
|
1068
1090
|
bottom: -2px;
|
|
@@ -1086,6 +1108,7 @@ function WorkflowStatusCard({
|
|
|
1086
1108
|
workflowName,
|
|
1087
1109
|
status = "offline",
|
|
1088
1110
|
statusText,
|
|
1111
|
+
subtitle,
|
|
1089
1112
|
className,
|
|
1090
1113
|
onClick,
|
|
1091
1114
|
onPress,
|
|
@@ -1114,7 +1137,8 @@ function WorkflowStatusCard({
|
|
|
1114
1137
|
] }),
|
|
1115
1138
|
/* @__PURE__ */ jsxRuntime.jsxs(WorkflowInfo, { children: [
|
|
1116
1139
|
/* @__PURE__ */ jsxRuntime.jsx(WorkflowName, { children: workflowName }),
|
|
1117
|
-
/* @__PURE__ */ jsxRuntime.jsx(WorkflowStatus, { children: displayStatus })
|
|
1140
|
+
/* @__PURE__ */ jsxRuntime.jsx(WorkflowStatus, { children: displayStatus }),
|
|
1141
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx(WorkflowSubtitle, { children: subtitle })
|
|
1118
1142
|
] })
|
|
1119
1143
|
] });
|
|
1120
1144
|
}
|
|
@@ -2197,8 +2221,8 @@ function WorkflowGroupItem({
|
|
|
2197
2221
|
return /* @__PURE__ */ jsxRuntime.jsxs(CategoryDisclosure, { id: groupId, children: [
|
|
2198
2222
|
/* @__PURE__ */ jsxRuntime.jsx(reactAriaComponents.Heading, { level: 4, children: /* @__PURE__ */ jsxRuntime.jsxs(CategoryHeader, { slot: "trigger", style: { paddingLeft: "8px" }, children: [
|
|
2199
2223
|
/* @__PURE__ */ jsxRuntime.jsxs(CategoryTitle, { children: [
|
|
2200
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: tokens.typography.fontSize.
|
|
2201
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: tokens.typography.fontSize.
|
|
2224
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: tokens.typography.fontSize.sm, fontWeight: 400 }, children: group.workflowName }),
|
|
2225
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: tokens.typography.fontSize.xs, color: tokens.colors.text.tertiary, marginLeft: "8px" }, children: [
|
|
2202
2226
|
"(",
|
|
2203
2227
|
group.runs.length,
|
|
2204
2228
|
")"
|