@agentiffai/design 0.1.4 → 0.1.6
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/{Window-CukhSS8T.d.cts → StreamStatusIndicator-DM5n4MI1.d.cts} +141 -4
- package/dist/{Window-CukhSS8T.d.ts → StreamStatusIndicator-DM5n4MI1.d.ts} +141 -4
- package/dist/copilotkit/index.cjs +937 -206
- package/dist/copilotkit/index.cjs.map +1 -1
- package/dist/copilotkit/index.d.cts +1 -1
- package/dist/copilotkit/index.d.ts +1 -1
- package/dist/copilotkit/index.js +935 -207
- package/dist/copilotkit/index.js.map +1 -1
- package/dist/index.cjs +1819 -164
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -3
- package/dist/index.d.ts +17 -3
- package/dist/index.js +1812 -165
- package/dist/index.js.map +1 -1
- package/dist/layout/index.cjs +85 -50
- package/dist/layout/index.cjs.map +1 -1
- package/dist/layout/index.d.cts +10 -3
- package/dist/layout/index.d.ts +10 -3
- package/dist/layout/index.js +85 -50
- package/dist/layout/index.js.map +1 -1
- package/dist/theme/index.cjs +6 -1
- package/dist/theme/index.cjs.map +1 -1
- package/dist/theme/index.d.cts +8 -0
- package/dist/theme/index.d.ts +8 -0
- package/dist/theme/index.js +6 -1
- package/dist/theme/index.js.map +1 -1
- package/dist/workflow/index.cjs +995 -0
- package/dist/workflow/index.cjs.map +1 -0
- package/dist/workflow/index.d.cts +168 -0
- package/dist/workflow/index.d.ts +168 -0
- package/dist/workflow/index.js +986 -0
- package/dist/workflow/index.js.map +1 -0
- package/package.json +16 -3
- package/public/assets/bg-set/brand-logos/Google.svg +1 -0
- package/public/assets/bg-set/brand-logos/Google2.svg +1 -0
- package/public/assets/bg-set/brand-logos/Microsoft.svg +1 -0
- package/public/assets/bg-set/brand-logos/Microsoft2.svg +1 -0
- package/public/assets/bg-set/brand-logos/Slack.svg +1 -0
- package/public/assets/bg-set/brand-logos/Slack2.svg +1 -0
- package/public/assets/bg-set/brand-logos/YouTube.svg +1 -0
- package/public/assets/bg-set/brand-logos/YouTube2.svg +1 -0
- package/public/assets/bg-set/pattern/Size=lg, Type=Waves Rays2.svg +1 -0
- package/public/assets/bg-set/pattern/Size=md, Type=Waves Rays2.svg +1 -0
- package/public/assets/bg-set/pattern/Size=sm, Type=Waves Rays2.svg +1 -0
- package/public/assets/bg-set/pattern/Size=xl, Type=Waves Rays2.svg +1 -0
- package/public/assets/bg-set/pattern/Size=xs, Type=Waves Rays2.svg +1 -0
- package/public/assets/icon-set/Icon-add-circle-fill.svg +1 -0
- package/public/assets/icon-set/Icon-arrow-left-fill.svg +1 -0
- package/public/assets/icon-set/Icon-calendar-fill.svg +1 -0
- package/public/assets/icon-set/Icon-chat-1-fill.svg +1 -0
- package/public/assets/icon-set/Icon-check-fill.svg +3 -0
- package/public/assets/icon-set/Icon-close-fill.svg +3 -0
- package/public/assets/icon-set/Icon-download-2-fill.svg +1 -0
- package/public/assets/icon-set/Icon-home-fill.svg +1 -0
- package/public/assets/icon-set/Icon-hourglass-line.svg +3 -0
- package/public/assets/icon-set/Icon-loader-2-line.svg +3 -0
- package/public/assets/icon-set/Icon-mic-fill.svg +1 -0
- package/public/assets/icon-set/Icon-radio-button-line.svg +3 -0
- package/public/assets/icon-set/Icon-settings-3-fill.svg +1 -0
- package/public/assets/icon-set/Icon-settings-fill.svg +1 -0
- package/public/assets/icon-set/Icon-settings-line.svg +1 -0
- package/public/assets/icon-set/Icon-shield-check-fill.svg +3 -0
- package/public/assets/icon-set/Icon-shield-cross-fill.svg +3 -0
- package/public/assets/icon-set/logout-box-fill.svg +1 -0
package/dist/layout/index.cjs
CHANGED
|
@@ -100,7 +100,8 @@ var Container = styled8__default.default.nav`
|
|
|
100
100
|
right: 0;
|
|
101
101
|
background-color: ${NAV_BG};
|
|
102
102
|
border-top: 1px solid ${NAV_BORDER};
|
|
103
|
-
|
|
103
|
+
/* Reserve space for Android nav buttons (80px) below the actual navbar */
|
|
104
|
+
padding-bottom: max(80px, env(safe-area-inset-bottom, 80px));
|
|
104
105
|
z-index: 10;
|
|
105
106
|
|
|
106
107
|
/* Dark theme support */
|
|
@@ -112,7 +113,8 @@ var ContentWrapper = styled8__default.default.div`
|
|
|
112
113
|
display: flex;
|
|
113
114
|
justify-content: space-between;
|
|
114
115
|
align-items: center;
|
|
115
|
-
height
|
|
116
|
+
/* Fixed height for actual navbar content - keeps vertical centering */
|
|
117
|
+
height: 52px;
|
|
116
118
|
padding: 0 8px;
|
|
117
119
|
max-width: 100%;
|
|
118
120
|
|
|
@@ -308,12 +310,13 @@ var Container3 = styled8__default.default.div`
|
|
|
308
310
|
position: relative;
|
|
309
311
|
width: 100%;
|
|
310
312
|
height: 100vh;
|
|
311
|
-
background-color:
|
|
313
|
+
background-color: rgba(255, 255, 255, 0.03);
|
|
312
314
|
overflow: hidden;
|
|
313
315
|
|
|
314
|
-
/*
|
|
315
|
-
@media (
|
|
316
|
-
|
|
316
|
+
/* Ensure content is clipped on mobile */
|
|
317
|
+
@media (max-width: 768px) {
|
|
318
|
+
overflow: hidden;
|
|
319
|
+
position: relative;
|
|
317
320
|
}
|
|
318
321
|
`;
|
|
319
322
|
var MainPane = styled8__default.default.main`
|
|
@@ -322,7 +325,7 @@ var MainPane = styled8__default.default.main`
|
|
|
322
325
|
left: 72px; /* Width of vertical nav */
|
|
323
326
|
right: 0;
|
|
324
327
|
bottom: 52px; /* Height of horizontal nav */
|
|
325
|
-
background-color:
|
|
328
|
+
background-color: rgba(255, 255, 255, 0.05);
|
|
326
329
|
overflow: auto;
|
|
327
330
|
|
|
328
331
|
/* Custom scrollbar styling */
|
|
@@ -348,11 +351,6 @@ var MainPane = styled8__default.default.main`
|
|
|
348
351
|
scrollbar-width: thin;
|
|
349
352
|
scrollbar-color: #202225 transparent;
|
|
350
353
|
|
|
351
|
-
/* Dark theme support */
|
|
352
|
-
@media (prefers-color-scheme: dark) {
|
|
353
|
-
background-color: #2f3136;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
354
|
/* Responsive adjustments */
|
|
357
355
|
@media (max-width: 768px) {
|
|
358
356
|
left: 60px; /* Smaller nav on mobile */
|
|
@@ -997,7 +995,7 @@ var HOVER_BG2 = "rgba(255, 255, 255, 0.05)";
|
|
|
997
995
|
var Container6 = styled8__default.default.div`
|
|
998
996
|
width: 100%;
|
|
999
997
|
height: 100%;
|
|
1000
|
-
background-color:
|
|
998
|
+
background-color: transparent;
|
|
1001
999
|
color: ${TEXT_PRIMARY2};
|
|
1002
1000
|
display: flex;
|
|
1003
1001
|
flex-direction: column;
|
|
@@ -1006,8 +1004,8 @@ var Container6 = styled8__default.default.div`
|
|
|
1006
1004
|
`;
|
|
1007
1005
|
var TabListWrapper = styled8__default.default.div`
|
|
1008
1006
|
display: flex;
|
|
1009
|
-
border-bottom: 2px solid
|
|
1010
|
-
background-color:
|
|
1007
|
+
border-bottom: 2px solid rgba(255, 255, 255, 0.1);
|
|
1008
|
+
background-color: rgba(255, 255, 255, 0.03);
|
|
1011
1009
|
padding: 0 16px;
|
|
1012
1010
|
gap: 8px;
|
|
1013
1011
|
overflow-x: auto;
|
|
@@ -1073,7 +1071,7 @@ var TabPanelWrapper = styled8__default.default.div`
|
|
|
1073
1071
|
padding: 24px;
|
|
1074
1072
|
overflow-y: auto;
|
|
1075
1073
|
overflow-x: hidden; // Prevent horizontal overflow
|
|
1076
|
-
background-color:
|
|
1074
|
+
background-color: rgba(255, 255, 255, 0.05);
|
|
1077
1075
|
min-height: 0; // Enable proper flex shrinking and scrolling
|
|
1078
1076
|
|
|
1079
1077
|
@media (max-width: 640px) {
|
|
@@ -1124,8 +1122,8 @@ var BrowseButton = styled8__default.default.button`
|
|
|
1124
1122
|
gap: 12px;
|
|
1125
1123
|
width: 100%;
|
|
1126
1124
|
padding: 12px 16px;
|
|
1127
|
-
background-color:
|
|
1128
|
-
border: 1px solid
|
|
1125
|
+
background-color: rgba(255, 255, 255, 0.05);
|
|
1126
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
1129
1127
|
border-radius: 8px;
|
|
1130
1128
|
color: ${TEXT_SECONDARY2};
|
|
1131
1129
|
font-size: 14px;
|
|
@@ -1297,7 +1295,7 @@ var ItemContainer = styled8__default.default.div`
|
|
|
1297
1295
|
display: flex;
|
|
1298
1296
|
align-items: center;
|
|
1299
1297
|
gap: 8px;
|
|
1300
|
-
padding:
|
|
1298
|
+
padding: 10px 8px; // Increased vertical padding from 4px to 10px for better breathing room
|
|
1301
1299
|
border-radius: 4px;
|
|
1302
1300
|
cursor: pointer;
|
|
1303
1301
|
transition: background-color 0.1s ease;
|
|
@@ -1306,7 +1304,7 @@ var ItemContainer = styled8__default.default.div`
|
|
|
1306
1304
|
|
|
1307
1305
|
@media (max-width: 640px) {
|
|
1308
1306
|
gap: 6px;
|
|
1309
|
-
padding:
|
|
1307
|
+
padding: 8px 6px; // Increased vertical padding from 4px to 8px for mobile
|
|
1310
1308
|
}
|
|
1311
1309
|
|
|
1312
1310
|
&:hover {
|
|
@@ -1324,7 +1322,7 @@ var ItemDisclosure = styled8__default.default(reactAriaComponents.Disclosure)`
|
|
|
1324
1322
|
overflow: hidden;
|
|
1325
1323
|
|
|
1326
1324
|
&[data-expanded] {
|
|
1327
|
-
background-color:
|
|
1325
|
+
background-color: rgba(255, 255, 255, 0.05);
|
|
1328
1326
|
border-radius: 8px;
|
|
1329
1327
|
}
|
|
1330
1328
|
`;
|
|
@@ -1348,7 +1346,7 @@ var ItemHeader = styled8__default.default(reactAriaComponents.Button)`
|
|
|
1348
1346
|
`;
|
|
1349
1347
|
var ItemDisclosurePanel = styled8__default.default(reactAriaComponents.DisclosurePanel)`
|
|
1350
1348
|
padding: 6px;
|
|
1351
|
-
background-color:
|
|
1349
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
1352
1350
|
border-radius: 0 0 8px 8px;
|
|
1353
1351
|
margin-top: -4px;
|
|
1354
1352
|
display: flex;
|
|
@@ -1406,25 +1404,32 @@ var ItemName = styled8__default.default.span`
|
|
|
1406
1404
|
}
|
|
1407
1405
|
`;
|
|
1408
1406
|
var RunStatus = styled8__default.default.span`
|
|
1407
|
+
display: flex;
|
|
1408
|
+
align-items: center;
|
|
1409
|
+
justify-content: center;
|
|
1409
1410
|
font-size: 14px;
|
|
1410
1411
|
font-weight: 500;
|
|
1411
1412
|
flex-shrink: 0;
|
|
1412
1413
|
margin-left: auto;
|
|
1413
|
-
|
|
1414
|
+
|
|
1415
|
+
/* Color for SVG icons */
|
|
1416
|
+
img {
|
|
1417
|
+
filter: ${(props) => {
|
|
1414
1418
|
switch (props.$status) {
|
|
1415
1419
|
case "completed":
|
|
1416
|
-
return "
|
|
1417
|
-
// green
|
|
1420
|
+
return "brightness(0) saturate(100%) invert(73%) sepia(34%) saturate(547%) hue-rotate(99deg) brightness(91%) contrast(89%)";
|
|
1421
|
+
// green #10b981
|
|
1418
1422
|
case "running":
|
|
1419
|
-
return "
|
|
1420
|
-
// yellow
|
|
1423
|
+
return "brightness(0) saturate(100%) invert(78%) sepia(60%) saturate(1839%) hue-rotate(360deg) brightness(100%) contrast(94%)";
|
|
1424
|
+
// yellow #f59e0b
|
|
1421
1425
|
case "failed":
|
|
1422
|
-
return "
|
|
1423
|
-
// red
|
|
1426
|
+
return "brightness(0) saturate(100%) invert(34%) sepia(94%) saturate(3446%) hue-rotate(343deg) brightness(94%) contrast(94%)";
|
|
1427
|
+
// red #ef4444
|
|
1424
1428
|
default:
|
|
1425
|
-
return
|
|
1429
|
+
return "none";
|
|
1426
1430
|
}
|
|
1427
1431
|
}};
|
|
1432
|
+
}
|
|
1428
1433
|
|
|
1429
1434
|
@media (max-width: 640px) {
|
|
1430
1435
|
font-size: 12px;
|
|
@@ -1433,13 +1438,13 @@ var RunStatus = styled8__default.default.span`
|
|
|
1433
1438
|
styled8__default.default.div`
|
|
1434
1439
|
margin-bottom: 12px;
|
|
1435
1440
|
border-radius: 12px;
|
|
1436
|
-
background-color:
|
|
1441
|
+
background-color: rgba(255, 255, 255, 0.05);
|
|
1437
1442
|
overflow: hidden;
|
|
1438
1443
|
`;
|
|
1439
1444
|
styled8__default.default.button`
|
|
1440
1445
|
width: 100%;
|
|
1441
1446
|
padding: 16px;
|
|
1442
|
-
background:
|
|
1447
|
+
background: rgba(255, 255, 255, 0.05);
|
|
1443
1448
|
border: none;
|
|
1444
1449
|
color: ${TEXT_PRIMARY2};
|
|
1445
1450
|
display: flex;
|
|
@@ -1481,7 +1486,7 @@ styled8__default.default.span`
|
|
|
1481
1486
|
styled8__default.default.div`
|
|
1482
1487
|
padding: 16px;
|
|
1483
1488
|
padding-top: 0;
|
|
1484
|
-
background-color:
|
|
1489
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
1485
1490
|
color: ${TEXT_SECONDARY2};
|
|
1486
1491
|
font-size: 13px;
|
|
1487
1492
|
line-height: 1.6;
|
|
@@ -1610,16 +1615,34 @@ var GoogleButton = styled8__default.default.button`
|
|
|
1610
1615
|
`;
|
|
1611
1616
|
var ICONS = {
|
|
1612
1617
|
hashtag: "/assets/icon-set/Icon-hashtag.svg",
|
|
1618
|
+
// State icons - left side
|
|
1619
|
+
loader: "/assets/icon-set/Icon-loader-2-line.svg",
|
|
1620
|
+
// Pending
|
|
1621
|
+
radioButton: "/assets/icon-set/Icon-radio-button-line.svg",
|
|
1622
|
+
// Running
|
|
1623
|
+
shieldCheck: "/assets/icon-set/Icon-shield-check-fill.svg",
|
|
1624
|
+
// Completed
|
|
1625
|
+
shieldCross: "/assets/icon-set/Icon-shield-cross-fill.svg",
|
|
1626
|
+
// Failed
|
|
1627
|
+
// Status indicator icons - right side (before chevron)
|
|
1628
|
+
checkFill: "/assets/icon-set/Icon-check-fill.svg",
|
|
1629
|
+
// Completed status
|
|
1630
|
+
hourglass: "/assets/icon-set/Icon-hourglass-line.svg",
|
|
1631
|
+
// Running status
|
|
1632
|
+
closeFill: "/assets/icon-set/Icon-close-fill.svg",
|
|
1633
|
+
// Failed status
|
|
1634
|
+
// Legacy icons (kept for backward compatibility)
|
|
1613
1635
|
bell: "/assets/icon-set/Icon-bell-fill.svg",
|
|
1614
1636
|
file: "/assets/icon-set/Icon-file-3-fill.svg",
|
|
1615
1637
|
link: "/assets/icon-set/Icon-external-link-fill.svg",
|
|
1616
1638
|
chat: "/assets/icon-set/Icon-chat-1-fill.svg",
|
|
1639
|
+
logout: "/assets/icon-set/logout-box-fill.svg",
|
|
1617
1640
|
community: "/assets/icon-set/Icon-community-fill.svg",
|
|
1618
1641
|
cpu: "/assets/icon-set/Icon-cpu-fill.svg",
|
|
1619
1642
|
chevronDown: "/assets/icon-set/Icon-arrow-down-s-fill.svg",
|
|
1620
1643
|
warning: "/assets/icon-set/Icon-error-warning-fill.svg"
|
|
1621
1644
|
};
|
|
1622
|
-
function ItemWithLogs({ run }) {
|
|
1645
|
+
function ItemWithLogs({ run, onRunSelect }) {
|
|
1623
1646
|
const [isExpanded, setIsExpanded] = react.useState(false);
|
|
1624
1647
|
const logSections = run.logs ? [
|
|
1625
1648
|
{
|
|
@@ -1633,31 +1656,39 @@ function ItemWithLogs({ run }) {
|
|
|
1633
1656
|
}))
|
|
1634
1657
|
}
|
|
1635
1658
|
] : [];
|
|
1659
|
+
const handleClick = () => {
|
|
1660
|
+
setIsExpanded(!isExpanded);
|
|
1661
|
+
onRunSelect?.(run.id);
|
|
1662
|
+
};
|
|
1636
1663
|
return /* @__PURE__ */ jsxRuntime.jsxs(ItemDisclosure, { id: run.id, children: [
|
|
1637
1664
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1638
1665
|
ItemHeader,
|
|
1639
1666
|
{
|
|
1640
1667
|
slot: "trigger",
|
|
1641
|
-
onClick:
|
|
1668
|
+
onClick: handleClick,
|
|
1642
1669
|
$isExpanded: isExpanded,
|
|
1643
1670
|
children: /* @__PURE__ */ jsxRuntime.jsxs(ItemContainer, { as: "div", children: [
|
|
1644
|
-
/* @__PURE__ */ jsxRuntime.jsx(ItemIcon, { src: ICONS[run.icon || "
|
|
1671
|
+
/* @__PURE__ */ jsxRuntime.jsx(ItemIcon, { src: ICONS[run.icon || "loader"], alt: "" }),
|
|
1645
1672
|
/* @__PURE__ */ jsxRuntime.jsx(ItemName, { children: run.name }),
|
|
1646
1673
|
/* @__PURE__ */ jsxRuntime.jsxs(RunStatus, { $status: run.status, children: [
|
|
1647
|
-
run.status === "completed" && "
|
|
1648
|
-
run.status === "running" && "
|
|
1649
|
-
run.status === "failed" && "
|
|
1674
|
+
run.status === "completed" && /* @__PURE__ */ jsxRuntime.jsx("img", { src: ICONS.checkFill, alt: "", style: { width: "16px", height: "16px" } }),
|
|
1675
|
+
run.status === "running" && /* @__PURE__ */ jsxRuntime.jsx("img", { src: ICONS.hourglass, alt: "", style: { width: "16px", height: "16px" } }),
|
|
1676
|
+
run.status === "failed" && /* @__PURE__ */ jsxRuntime.jsx("img", { src: ICONS.closeFill, alt: "", style: { width: "16px", height: "16px" } })
|
|
1650
1677
|
] }),
|
|
1651
1678
|
/* @__PURE__ */ jsxRuntime.jsx(ChevronIcon, { $isExpanded: isExpanded, children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: ICONS.chevronDown, alt: "" }) })
|
|
1652
1679
|
] })
|
|
1653
1680
|
}
|
|
1654
1681
|
),
|
|
1655
|
-
isExpanded && /* @__PURE__ */ jsxRuntime.jsx(ItemDisclosurePanel, { children: run.
|
|
1682
|
+
isExpanded && /* @__PURE__ */ jsxRuntime.jsx(ItemDisclosurePanel, { children: run.customContent ? (
|
|
1683
|
+
// Render custom content directly
|
|
1684
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "16px" }, children: run.customContent })
|
|
1685
|
+
) : run.logs && run.logs.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(DarkNotificationCard, { sections: logSections }) : /* @__PURE__ */ jsxRuntime.jsx("div", { style: { color: "#72767D", fontSize: "13px", padding: "8px" }, children: "No action logs available" }) })
|
|
1656
1686
|
] });
|
|
1657
1687
|
}
|
|
1658
1688
|
function RunsTabContent({
|
|
1659
1689
|
runs,
|
|
1660
|
-
onBrowseAutomations
|
|
1690
|
+
onBrowseAutomations,
|
|
1691
|
+
onRunSelect
|
|
1661
1692
|
}) {
|
|
1662
1693
|
const [expandedKeys, setExpandedKeys] = react.useState(
|
|
1663
1694
|
/* @__PURE__ */ new Set(["scheduled", "completed", "issues"])
|
|
@@ -1694,7 +1725,7 @@ function RunsTabContent({
|
|
|
1694
1725
|
] }),
|
|
1695
1726
|
/* @__PURE__ */ jsxRuntime.jsx(ChevronIcon, { $isExpanded: expandedKeys.has("scheduled"), children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: ICONS.chevronDown, alt: "" }) })
|
|
1696
1727
|
] }) }),
|
|
1697
|
-
/* @__PURE__ */ jsxRuntime.jsx(CategoryDisclosurePanel, { children: scheduledRuns.length > 0 ? scheduledRuns.map((run) => /* @__PURE__ */ jsxRuntime.jsx(ItemWithLogs, { run }, run.id)) : /* @__PURE__ */ jsxRuntime.jsx(ItemContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(ItemName, { $dimmed: true, children: "No scheduled items" }) }) })
|
|
1728
|
+
/* @__PURE__ */ jsxRuntime.jsx(CategoryDisclosurePanel, { children: scheduledRuns.length > 0 ? scheduledRuns.map((run) => /* @__PURE__ */ jsxRuntime.jsx(ItemWithLogs, { run, onRunSelect }, run.id)) : /* @__PURE__ */ jsxRuntime.jsx(ItemContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(ItemName, { $dimmed: true, children: "No scheduled items" }) }) })
|
|
1698
1729
|
] }),
|
|
1699
1730
|
/* @__PURE__ */ jsxRuntime.jsxs(CategoryDisclosure, { id: "completed", children: [
|
|
1700
1731
|
/* @__PURE__ */ jsxRuntime.jsx(reactAriaComponents.Heading, { level: 3, children: /* @__PURE__ */ jsxRuntime.jsxs(CategoryHeader, { slot: "trigger", children: [
|
|
@@ -1704,7 +1735,7 @@ function RunsTabContent({
|
|
|
1704
1735
|
] }),
|
|
1705
1736
|
/* @__PURE__ */ jsxRuntime.jsx(ChevronIcon, { $isExpanded: expandedKeys.has("completed"), children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: ICONS.chevronDown, alt: "" }) })
|
|
1706
1737
|
] }) }),
|
|
1707
|
-
/* @__PURE__ */ jsxRuntime.jsx(CategoryDisclosurePanel, { children: completedRuns.length > 0 ? completedRuns.map((run) => /* @__PURE__ */ jsxRuntime.jsx(ItemWithLogs, { run }, run.id)) : /* @__PURE__ */ jsxRuntime.jsx(ItemContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(ItemName, { $dimmed: true, children: "No completed items" }) }) })
|
|
1738
|
+
/* @__PURE__ */ jsxRuntime.jsx(CategoryDisclosurePanel, { children: completedRuns.length > 0 ? completedRuns.map((run) => /* @__PURE__ */ jsxRuntime.jsx(ItemWithLogs, { run, onRunSelect }, run.id)) : /* @__PURE__ */ jsxRuntime.jsx(ItemContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(ItemName, { $dimmed: true, children: "No completed items" }) }) })
|
|
1708
1739
|
] }),
|
|
1709
1740
|
/* @__PURE__ */ jsxRuntime.jsxs(CategoryDisclosure, { id: "issues", children: [
|
|
1710
1741
|
/* @__PURE__ */ jsxRuntime.jsx(reactAriaComponents.Heading, { level: 3, children: /* @__PURE__ */ jsxRuntime.jsxs(CategoryHeader, { slot: "trigger", children: [
|
|
@@ -1714,7 +1745,7 @@ function RunsTabContent({
|
|
|
1714
1745
|
] }),
|
|
1715
1746
|
/* @__PURE__ */ jsxRuntime.jsx(ChevronIcon, { $isExpanded: expandedKeys.has("issues"), children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: ICONS.chevronDown, alt: "" }) })
|
|
1716
1747
|
] }) }),
|
|
1717
|
-
/* @__PURE__ */ jsxRuntime.jsx(CategoryDisclosurePanel, { children: issuesRuns.length > 0 ? issuesRuns.map((run) => /* @__PURE__ */ jsxRuntime.jsx(ItemWithLogs, { run }, run.id)) : /* @__PURE__ */ jsxRuntime.jsx(ItemContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(ItemName, { $dimmed: true, children: "No issues" }) }) })
|
|
1748
|
+
/* @__PURE__ */ jsxRuntime.jsx(CategoryDisclosurePanel, { children: issuesRuns.length > 0 ? issuesRuns.map((run) => /* @__PURE__ */ jsxRuntime.jsx(ItemWithLogs, { run, onRunSelect }, run.id)) : /* @__PURE__ */ jsxRuntime.jsx(ItemContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(ItemName, { $dimmed: true, children: "No issues" }) }) })
|
|
1718
1749
|
] })
|
|
1719
1750
|
]
|
|
1720
1751
|
}
|
|
@@ -1839,6 +1870,7 @@ function PaneMenus({
|
|
|
1839
1870
|
activeTab = "runs",
|
|
1840
1871
|
onTabChange,
|
|
1841
1872
|
runs = [],
|
|
1873
|
+
onRunSelect,
|
|
1842
1874
|
currentUsage = 0,
|
|
1843
1875
|
maxUsage = 1e5,
|
|
1844
1876
|
isGoogleConnected = false,
|
|
@@ -1859,7 +1891,7 @@ function PaneMenus({
|
|
|
1859
1891
|
}
|
|
1860
1892
|
},
|
|
1861
1893
|
children: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1862
|
-
/* @__PURE__ */ jsxRuntime.jsx(collections.Item, { title: "Runs", children: /* @__PURE__ */ jsxRuntime.jsx(RunsTabContent, { runs, onBrowseAutomations }) }, "runs"),
|
|
1894
|
+
/* @__PURE__ */ jsxRuntime.jsx(collections.Item, { title: "Runs", children: /* @__PURE__ */ jsxRuntime.jsx(RunsTabContent, { runs, onBrowseAutomations, onRunSelect }) }, "runs"),
|
|
1863
1895
|
/* @__PURE__ */ jsxRuntime.jsx(collections.Item, { title: "Usage", children: /* @__PURE__ */ jsxRuntime.jsx(UsageTabContent, { currentUsage, maxUsage }) }, "usage"),
|
|
1864
1896
|
/* @__PURE__ */ jsxRuntime.jsx(collections.Item, { title: "Connections", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1865
1897
|
ConnectionsTabContent,
|
|
@@ -1881,10 +1913,10 @@ function PaneMenus({
|
|
|
1881
1913
|
/* @__PURE__ */ jsxRuntime.jsx(TabPanel, { state }, state.selectedItem?.key)
|
|
1882
1914
|
] });
|
|
1883
1915
|
}
|
|
1884
|
-
var HEADER_BG = "
|
|
1885
|
-
var HEADER_BG_DARK = "
|
|
1886
|
-
var BUTTON_BG = "
|
|
1887
|
-
var BUTTON_BG_HOVER = "
|
|
1916
|
+
var HEADER_BG = "rgba(32, 34, 37, 0.1)";
|
|
1917
|
+
var HEADER_BG_DARK = "rgba(24, 25, 28, 0.7)";
|
|
1918
|
+
var BUTTON_BG = "rgba(54, 57, 63, 0.6)";
|
|
1919
|
+
var BUTTON_BG_HOVER = "rgba(64, 68, 75, 0.8)";
|
|
1888
1920
|
var breakpoints = {
|
|
1889
1921
|
xs: "640px",
|
|
1890
1922
|
sm: "768px",
|
|
@@ -1896,6 +1928,8 @@ var Container7 = styled8__default.default.header`
|
|
|
1896
1928
|
width: 100%;
|
|
1897
1929
|
height: 56px;
|
|
1898
1930
|
background-color: ${HEADER_BG};
|
|
1931
|
+
backdrop-filter: blur(10px);
|
|
1932
|
+
-webkit-backdrop-filter: blur(10px);
|
|
1899
1933
|
overflow: hidden;
|
|
1900
1934
|
display: flex;
|
|
1901
1935
|
align-items: center;
|
|
@@ -2079,6 +2113,7 @@ function PaneSectionHeader({
|
|
|
2079
2113
|
brand = "Google",
|
|
2080
2114
|
onBackClick,
|
|
2081
2115
|
onSettingsClick,
|
|
2116
|
+
settingsIcon = "settings-fill",
|
|
2082
2117
|
className,
|
|
2083
2118
|
"aria-label": ariaLabel = "Pane section header"
|
|
2084
2119
|
}) {
|
|
@@ -2124,7 +2159,7 @@ function PaneSectionHeader({
|
|
|
2124
2159
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2125
2160
|
Icon,
|
|
2126
2161
|
{
|
|
2127
|
-
name:
|
|
2162
|
+
name: settingsIcon,
|
|
2128
2163
|
size: 20,
|
|
2129
2164
|
color: "#b9bbbe"
|
|
2130
2165
|
}
|