@agentiffai/design 0.1.11 → 0.1.13
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 +107 -97
- package/dist/copilotkit/index.cjs.map +1 -1
- package/dist/copilotkit/index.d.cts +23 -2
- package/dist/copilotkit/index.d.ts +23 -2
- package/dist/copilotkit/index.js +108 -98
- 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 +309 -95
- 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 +309 -96
- 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.cjs
CHANGED
|
@@ -144,7 +144,7 @@ var NavigationContainer = styled9__default.default.div`
|
|
|
144
144
|
display: flex;
|
|
145
145
|
flex-direction: column;
|
|
146
146
|
align-items: center;
|
|
147
|
-
padding-top:
|
|
147
|
+
padding-top: ${tokens.spacing.xs};
|
|
148
148
|
gap: ${tokens.spacing.xs};
|
|
149
149
|
width: 100%;
|
|
150
150
|
height: 100%;
|
|
@@ -197,7 +197,7 @@ var CategoryButton = styled9__default.default.button`
|
|
|
197
197
|
var CategoryLabel = styled9__default.default.span`
|
|
198
198
|
font-size: 9px;
|
|
199
199
|
color: ${tokens.colors.text.tertiary};
|
|
200
|
-
margin-top:
|
|
200
|
+
margin-top: ${tokens.spacing.xs};
|
|
201
201
|
text-align: center;
|
|
202
202
|
max-width: 56px;
|
|
203
203
|
overflow: hidden;
|
|
@@ -1046,7 +1046,7 @@ WorkflowStatusCard.displayName = "WorkflowStatusCard";
|
|
|
1046
1046
|
var DarkNotificationCardContainer = styled9__default.default.div`
|
|
1047
1047
|
display: flex;
|
|
1048
1048
|
flex-direction: column;
|
|
1049
|
-
padding:
|
|
1049
|
+
padding: ${tokens.spacing.xs};
|
|
1050
1050
|
background: ${tokens.colors.surface.base};
|
|
1051
1051
|
border-radius: ${tokens.borderRadius.md};
|
|
1052
1052
|
gap: ${tokens.spacing.xs};
|
|
@@ -1059,7 +1059,7 @@ var DarkSectionHeader = styled9__default.default.button`
|
|
|
1059
1059
|
align-items: center;
|
|
1060
1060
|
justify-content: space-between;
|
|
1061
1061
|
width: 100%;
|
|
1062
|
-
padding: ${tokens.spacing.xs}
|
|
1062
|
+
padding: ${tokens.spacing.xs} ${tokens.spacing.xs};
|
|
1063
1063
|
border: none;
|
|
1064
1064
|
background: transparent;
|
|
1065
1065
|
font-family: ${tokens.typography.fontFamily.primary};
|
|
@@ -1101,18 +1101,18 @@ var DarkChevronIcon = styled9__default.default.span`
|
|
|
1101
1101
|
var DarkSectionContent = styled9__default.default.div`
|
|
1102
1102
|
display: flex;
|
|
1103
1103
|
flex-direction: column;
|
|
1104
|
-
gap:
|
|
1104
|
+
gap: ${tokens.spacing.xs};
|
|
1105
1105
|
padding-left: ${tokens.spacing.xs};
|
|
1106
|
-
margin-top:
|
|
1106
|
+
margin-top: ${tokens.spacing.xs};
|
|
1107
1107
|
min-width: 0;
|
|
1108
1108
|
overflow: hidden;
|
|
1109
1109
|
`;
|
|
1110
1110
|
var DarkNotificationItemWrapper = styled9__default.default.button`
|
|
1111
1111
|
display: flex;
|
|
1112
1112
|
align-items: center;
|
|
1113
|
-
gap:
|
|
1113
|
+
gap: ${tokens.spacing.xs};
|
|
1114
1114
|
width: 100%;
|
|
1115
|
-
padding: ${tokens.spacing.xs}
|
|
1115
|
+
padding: ${tokens.spacing.xs} ${tokens.spacing.xs};
|
|
1116
1116
|
border: none;
|
|
1117
1117
|
cursor: pointer;
|
|
1118
1118
|
text-align: left;
|
|
@@ -1168,7 +1168,7 @@ var DarkItemIcon = styled9__default.default.span`
|
|
|
1168
1168
|
|
|
1169
1169
|
/* Custom icon (emoji or colored icon) styling */
|
|
1170
1170
|
${(props) => props.$hasCustomIcon && `
|
|
1171
|
-
padding:
|
|
1171
|
+
padding: ${tokens.spacing.xs};
|
|
1172
1172
|
`}
|
|
1173
1173
|
`;
|
|
1174
1174
|
var DarkItemText = styled9__default.default.span`
|
|
@@ -1446,7 +1446,7 @@ var TabButton = styled9__default.default.button`
|
|
|
1446
1446
|
flex-shrink: 0;
|
|
1447
1447
|
|
|
1448
1448
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1449
|
-
padding:
|
|
1449
|
+
padding: ${tokens.spacing.sm} ${tokens.spacing.md};
|
|
1450
1450
|
font-size: ${tokens.typography.fontSize.xs};
|
|
1451
1451
|
}
|
|
1452
1452
|
|
|
@@ -1544,7 +1544,7 @@ styled9__default.default.button`
|
|
|
1544
1544
|
overflow: hidden;
|
|
1545
1545
|
|
|
1546
1546
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1547
|
-
padding:
|
|
1547
|
+
padding: ${tokens.spacing.sm} ${tokens.spacing.md};
|
|
1548
1548
|
font-size: 13px;
|
|
1549
1549
|
gap: ${tokens.spacing.sm};
|
|
1550
1550
|
}
|
|
@@ -1626,7 +1626,7 @@ var CategoryTitle = styled9__default.default.div`
|
|
|
1626
1626
|
gap: ${tokens.spacing.sm};
|
|
1627
1627
|
|
|
1628
1628
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1629
|
-
gap:
|
|
1629
|
+
gap: ${tokens.spacing.xs};
|
|
1630
1630
|
}
|
|
1631
1631
|
`;
|
|
1632
1632
|
styled9__default.default.img`
|
|
@@ -1683,7 +1683,7 @@ var CategoryDisclosurePanel = styled9__default.default(reactAriaComponents.Discl
|
|
|
1683
1683
|
overflow: hidden;
|
|
1684
1684
|
|
|
1685
1685
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1686
|
-
padding-left:
|
|
1686
|
+
padding-left: ${tokens.spacing.xs};
|
|
1687
1687
|
}
|
|
1688
1688
|
|
|
1689
1689
|
&[data-entering] {
|
|
@@ -1705,7 +1705,7 @@ var ItemContainer = styled9__default.default.div`
|
|
|
1705
1705
|
display: flex;
|
|
1706
1706
|
align-items: center;
|
|
1707
1707
|
gap: ${tokens.spacing.sm};
|
|
1708
|
-
padding:
|
|
1708
|
+
padding: ${tokens.spacing.sm} ${tokens.spacing.sm}; // Increased vertical padding from 4px to 8px for better breathing room
|
|
1709
1709
|
border-radius: ${tokens.borderRadius.sm};
|
|
1710
1710
|
cursor: pointer;
|
|
1711
1711
|
transition: background-color ${tokens.transitions.fast};
|
|
@@ -1713,8 +1713,8 @@ var ItemContainer = styled9__default.default.div`
|
|
|
1713
1713
|
overflow: hidden;
|
|
1714
1714
|
|
|
1715
1715
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1716
|
-
gap:
|
|
1717
|
-
padding: ${tokens.spacing.sm}
|
|
1716
|
+
gap: ${tokens.spacing.xs};
|
|
1717
|
+
padding: ${tokens.spacing.sm} ${tokens.spacing.xs}; // Increased vertical padding from 4px to 8px for mobile
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
1720
1720
|
&:hover {
|
|
@@ -1755,7 +1755,7 @@ var ItemHeader = styled9__default.default(reactAriaComponents.Button)`
|
|
|
1755
1755
|
}
|
|
1756
1756
|
`;
|
|
1757
1757
|
var ItemDisclosurePanel = styled9__default.default(reactAriaComponents.DisclosurePanel)`
|
|
1758
|
-
padding:
|
|
1758
|
+
padding: ${tokens.spacing.xs};
|
|
1759
1759
|
background-color: ${tokens.colors.overlay};
|
|
1760
1760
|
border-radius: 0 0 ${tokens.borderRadius.md} ${tokens.borderRadius.md};
|
|
1761
1761
|
margin-top: -${tokens.spacing.xs};
|
|
@@ -1766,7 +1766,7 @@ var ItemDisclosurePanel = styled9__default.default(reactAriaComponents.Disclosur
|
|
|
1766
1766
|
overflow: hidden;
|
|
1767
1767
|
|
|
1768
1768
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
1769
|
-
padding:
|
|
1769
|
+
padding: ${tokens.spacing.xs};
|
|
1770
1770
|
}
|
|
1771
1771
|
|
|
1772
1772
|
&[data-entering] {
|
|
@@ -2087,7 +2087,7 @@ function ItemWithLogs({
|
|
|
2087
2087
|
isExpanded && /* @__PURE__ */ jsxRuntime.jsx(ItemDisclosurePanel, { children: run.customContent ? (
|
|
2088
2088
|
// Render custom content directly
|
|
2089
2089
|
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "16px" }, children: run.customContent })
|
|
2090
|
-
) : run.logs && run.logs.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(DarkNotificationCard, { sections: logSections }) : /* @__PURE__ */ jsxRuntime.jsx("div", { style: { color:
|
|
2090
|
+
) : run.logs && run.logs.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(DarkNotificationCard, { sections: logSections }) : /* @__PURE__ */ jsxRuntime.jsx("div", { style: { color: tokens.colors.text.tertiary, fontSize: "13px", padding: "8px" }, children: "No action logs available" }) })
|
|
2091
2091
|
] });
|
|
2092
2092
|
}
|
|
2093
2093
|
function normalizeCategory(category) {
|
|
@@ -2122,7 +2122,7 @@ function WorkflowGroupItem({
|
|
|
2122
2122
|
/* @__PURE__ */ jsxRuntime.jsx(reactAriaComponents.Heading, { level: 4, children: /* @__PURE__ */ jsxRuntime.jsxs(CategoryHeader, { slot: "trigger", style: { paddingLeft: "8px" }, children: [
|
|
2123
2123
|
/* @__PURE__ */ jsxRuntime.jsxs(CategoryTitle, { children: [
|
|
2124
2124
|
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: "13px", fontWeight: 500 }, children: group.workflowName }),
|
|
2125
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: "11px", color:
|
|
2125
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: "11px", color: tokens.colors.text.tertiary, marginLeft: "8px" }, children: [
|
|
2126
2126
|
"(",
|
|
2127
2127
|
group.runs.length,
|
|
2128
2128
|
")"
|
|
@@ -2332,7 +2332,7 @@ function ConnectionsTabContent({
|
|
|
2332
2332
|
return /* @__PURE__ */ jsxRuntime.jsxs(ConnectionsContainer, { children: [
|
|
2333
2333
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectionDescription, { children: descriptionText }),
|
|
2334
2334
|
/* @__PURE__ */ jsxRuntime.jsx(GoogleButton, { ...buttonProps, ref, $isConnected: isConnected, children: buttonText }),
|
|
2335
|
-
isConnected && googleConnection?.scopes && googleConnection.scopes.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginTop: "16px", fontSize: "13px", color:
|
|
2335
|
+
isConnected && googleConnection?.scopes && googleConnection.scopes.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { marginTop: "16px", fontSize: "13px", color: tokens.colors.text.secondary }, children: [
|
|
2336
2336
|
"Connected services: ",
|
|
2337
2337
|
googleConnection.scopes.join(", ")
|
|
2338
2338
|
] })
|