@agentiffai/design 0.1.11 → 0.1.12
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 +75 -85
- package/dist/copilotkit/index.cjs.map +1 -1
- package/dist/copilotkit/index.js +76 -86
- package/dist/copilotkit/index.js.map +1 -1
- package/dist/icons/index.cjs +164 -1
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.d.cts +19 -1
- package/dist/icons/index.d.ts +19 -1
- package/dist/icons/index.js +164 -2
- package/dist/icons/index.js.map +1 -1
- package/dist/index.cjs +265 -94
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +265 -95
- package/dist/index.js.map +1 -1
- package/dist/layout/index.cjs +21 -21
- package/dist/layout/index.cjs.map +1 -1
- package/dist/layout/index.js +21 -21
- package/dist/layout/index.js.map +1 -1
- package/dist/workflow/index.cjs +2 -2
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.js +2 -2
- package/dist/workflow/index.js.map +1 -1
- package/package.json +1 -1
package/dist/layout/index.js
CHANGED
|
@@ -138,7 +138,7 @@ var NavigationContainer = styled9.div`
|
|
|
138
138
|
display: flex;
|
|
139
139
|
flex-direction: column;
|
|
140
140
|
align-items: center;
|
|
141
|
-
padding-top:
|
|
141
|
+
padding-top: ${tokens.spacing.xs};
|
|
142
142
|
gap: ${tokens.spacing.xs};
|
|
143
143
|
width: 100%;
|
|
144
144
|
height: 100%;
|
|
@@ -191,7 +191,7 @@ var CategoryButton = styled9.button`
|
|
|
191
191
|
var CategoryLabel = styled9.span`
|
|
192
192
|
font-size: 9px;
|
|
193
193
|
color: ${tokens.colors.text.tertiary};
|
|
194
|
-
margin-top:
|
|
194
|
+
margin-top: ${tokens.spacing.xs};
|
|
195
195
|
text-align: center;
|
|
196
196
|
max-width: 56px;
|
|
197
197
|
overflow: hidden;
|
|
@@ -1040,7 +1040,7 @@ WorkflowStatusCard.displayName = "WorkflowStatusCard";
|
|
|
1040
1040
|
var DarkNotificationCardContainer = styled9.div`
|
|
1041
1041
|
display: flex;
|
|
1042
1042
|
flex-direction: column;
|
|
1043
|
-
padding:
|
|
1043
|
+
padding: ${tokens.spacing.xs};
|
|
1044
1044
|
background: ${tokens.colors.surface.base};
|
|
1045
1045
|
border-radius: ${tokens.borderRadius.md};
|
|
1046
1046
|
gap: ${tokens.spacing.xs};
|
|
@@ -1053,7 +1053,7 @@ var DarkSectionHeader = styled9.button`
|
|
|
1053
1053
|
align-items: center;
|
|
1054
1054
|
justify-content: space-between;
|
|
1055
1055
|
width: 100%;
|
|
1056
|
-
padding: ${tokens.spacing.xs}
|
|
1056
|
+
padding: ${tokens.spacing.xs} ${tokens.spacing.xs};
|
|
1057
1057
|
border: none;
|
|
1058
1058
|
background: transparent;
|
|
1059
1059
|
font-family: ${tokens.typography.fontFamily.primary};
|
|
@@ -1095,18 +1095,18 @@ var DarkChevronIcon = styled9.span`
|
|
|
1095
1095
|
var DarkSectionContent = styled9.div`
|
|
1096
1096
|
display: flex;
|
|
1097
1097
|
flex-direction: column;
|
|
1098
|
-
gap:
|
|
1098
|
+
gap: ${tokens.spacing.xs};
|
|
1099
1099
|
padding-left: ${tokens.spacing.xs};
|
|
1100
|
-
margin-top:
|
|
1100
|
+
margin-top: ${tokens.spacing.xs};
|
|
1101
1101
|
min-width: 0;
|
|
1102
1102
|
overflow: hidden;
|
|
1103
1103
|
`;
|
|
1104
1104
|
var DarkNotificationItemWrapper = styled9.button`
|
|
1105
1105
|
display: flex;
|
|
1106
1106
|
align-items: center;
|
|
1107
|
-
gap:
|
|
1107
|
+
gap: ${tokens.spacing.xs};
|
|
1108
1108
|
width: 100%;
|
|
1109
|
-
padding: ${tokens.spacing.xs}
|
|
1109
|
+
padding: ${tokens.spacing.xs} ${tokens.spacing.xs};
|
|
1110
1110
|
border: none;
|
|
1111
1111
|
cursor: pointer;
|
|
1112
1112
|
text-align: left;
|
|
@@ -1162,7 +1162,7 @@ var DarkItemIcon = styled9.span`
|
|
|
1162
1162
|
|
|
1163
1163
|
/* Custom icon (emoji or colored icon) styling */
|
|
1164
1164
|
${(props) => props.$hasCustomIcon && `
|
|
1165
|
-
padding:
|
|
1165
|
+
padding: ${tokens.spacing.xs};
|
|
1166
1166
|
`}
|
|
1167
1167
|
`;
|
|
1168
1168
|
var DarkItemText = styled9.span`
|
|
@@ -1440,7 +1440,7 @@ var TabButton = styled9.button`
|
|
|
1440
1440
|
flex-shrink: 0;
|
|
1441
1441
|
|
|
1442
1442
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1443
|
-
padding:
|
|
1443
|
+
padding: ${tokens.spacing.sm} ${tokens.spacing.md};
|
|
1444
1444
|
font-size: ${tokens.typography.fontSize.xs};
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
@@ -1538,7 +1538,7 @@ styled9.button`
|
|
|
1538
1538
|
overflow: hidden;
|
|
1539
1539
|
|
|
1540
1540
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1541
|
-
padding:
|
|
1541
|
+
padding: ${tokens.spacing.sm} ${tokens.spacing.md};
|
|
1542
1542
|
font-size: 13px;
|
|
1543
1543
|
gap: ${tokens.spacing.sm};
|
|
1544
1544
|
}
|
|
@@ -1620,7 +1620,7 @@ var CategoryTitle = styled9.div`
|
|
|
1620
1620
|
gap: ${tokens.spacing.sm};
|
|
1621
1621
|
|
|
1622
1622
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1623
|
-
gap:
|
|
1623
|
+
gap: ${tokens.spacing.xs};
|
|
1624
1624
|
}
|
|
1625
1625
|
`;
|
|
1626
1626
|
styled9.img`
|
|
@@ -1677,7 +1677,7 @@ var CategoryDisclosurePanel = styled9(DisclosurePanel)`
|
|
|
1677
1677
|
overflow: hidden;
|
|
1678
1678
|
|
|
1679
1679
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1680
|
-
padding-left:
|
|
1680
|
+
padding-left: ${tokens.spacing.xs};
|
|
1681
1681
|
}
|
|
1682
1682
|
|
|
1683
1683
|
&[data-entering] {
|
|
@@ -1699,7 +1699,7 @@ var ItemContainer = styled9.div`
|
|
|
1699
1699
|
display: flex;
|
|
1700
1700
|
align-items: center;
|
|
1701
1701
|
gap: ${tokens.spacing.sm};
|
|
1702
|
-
padding:
|
|
1702
|
+
padding: ${tokens.spacing.sm} ${tokens.spacing.sm}; // Increased vertical padding from 4px to 8px for better breathing room
|
|
1703
1703
|
border-radius: ${tokens.borderRadius.sm};
|
|
1704
1704
|
cursor: pointer;
|
|
1705
1705
|
transition: background-color ${tokens.transitions.fast};
|
|
@@ -1707,8 +1707,8 @@ var ItemContainer = styled9.div`
|
|
|
1707
1707
|
overflow: hidden;
|
|
1708
1708
|
|
|
1709
1709
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1710
|
-
gap:
|
|
1711
|
-
padding: ${tokens.spacing.sm}
|
|
1710
|
+
gap: ${tokens.spacing.xs};
|
|
1711
|
+
padding: ${tokens.spacing.sm} ${tokens.spacing.xs}; // Increased vertical padding from 4px to 8px for mobile
|
|
1712
1712
|
}
|
|
1713
1713
|
|
|
1714
1714
|
&:hover {
|
|
@@ -1749,7 +1749,7 @@ var ItemHeader = styled9(Button)`
|
|
|
1749
1749
|
}
|
|
1750
1750
|
`;
|
|
1751
1751
|
var ItemDisclosurePanel = styled9(DisclosurePanel)`
|
|
1752
|
-
padding:
|
|
1752
|
+
padding: ${tokens.spacing.xs};
|
|
1753
1753
|
background-color: ${tokens.colors.overlay};
|
|
1754
1754
|
border-radius: 0 0 ${tokens.borderRadius.md} ${tokens.borderRadius.md};
|
|
1755
1755
|
margin-top: -${tokens.spacing.xs};
|
|
@@ -1760,7 +1760,7 @@ var ItemDisclosurePanel = styled9(DisclosurePanel)`
|
|
|
1760
1760
|
overflow: hidden;
|
|
1761
1761
|
|
|
1762
1762
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1763
|
-
padding:
|
|
1763
|
+
padding: ${tokens.spacing.xs};
|
|
1764
1764
|
}
|
|
1765
1765
|
|
|
1766
1766
|
&[data-entering] {
|
|
@@ -2081,7 +2081,7 @@ function ItemWithLogs({
|
|
|
2081
2081
|
isExpanded && /* @__PURE__ */ jsx(ItemDisclosurePanel, { children: run.customContent ? (
|
|
2082
2082
|
// Render custom content directly
|
|
2083
2083
|
/* @__PURE__ */ jsx("div", { style: { padding: "16px" }, children: run.customContent })
|
|
2084
|
-
) : run.logs && run.logs.length > 0 ? /* @__PURE__ */ jsx(DarkNotificationCard, { sections: logSections }) : /* @__PURE__ */ jsx("div", { style: { color:
|
|
2084
|
+
) : run.logs && run.logs.length > 0 ? /* @__PURE__ */ jsx(DarkNotificationCard, { sections: logSections }) : /* @__PURE__ */ jsx("div", { style: { color: tokens.colors.text.tertiary, fontSize: "13px", padding: "8px" }, children: "No action logs available" }) })
|
|
2085
2085
|
] });
|
|
2086
2086
|
}
|
|
2087
2087
|
function normalizeCategory(category) {
|
|
@@ -2116,7 +2116,7 @@ function WorkflowGroupItem({
|
|
|
2116
2116
|
/* @__PURE__ */ jsx(Heading, { level: 4, children: /* @__PURE__ */ jsxs(CategoryHeader, { slot: "trigger", style: { paddingLeft: "8px" }, children: [
|
|
2117
2117
|
/* @__PURE__ */ jsxs(CategoryTitle, { children: [
|
|
2118
2118
|
/* @__PURE__ */ jsx("span", { style: { fontSize: "13px", fontWeight: 500 }, children: group.workflowName }),
|
|
2119
|
-
/* @__PURE__ */ jsxs("span", { style: { fontSize: "11px", color:
|
|
2119
|
+
/* @__PURE__ */ jsxs("span", { style: { fontSize: "11px", color: tokens.colors.text.tertiary, marginLeft: "8px" }, children: [
|
|
2120
2120
|
"(",
|
|
2121
2121
|
group.runs.length,
|
|
2122
2122
|
")"
|
|
@@ -2326,7 +2326,7 @@ function ConnectionsTabContent({
|
|
|
2326
2326
|
return /* @__PURE__ */ jsxs(ConnectionsContainer, { children: [
|
|
2327
2327
|
/* @__PURE__ */ jsx(ConnectionDescription, { children: descriptionText }),
|
|
2328
2328
|
/* @__PURE__ */ jsx(GoogleButton, { ...buttonProps, ref, $isConnected: isConnected, children: buttonText }),
|
|
2329
|
-
isConnected && googleConnection?.scopes && googleConnection.scopes.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "16px", fontSize: "13px", color:
|
|
2329
|
+
isConnected && googleConnection?.scopes && googleConnection.scopes.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "16px", fontSize: "13px", color: tokens.colors.text.secondary }, children: [
|
|
2330
2330
|
"Connected services: ",
|
|
2331
2331
|
googleConnection.scopes.join(", ")
|
|
2332
2332
|
] })
|