@agentiffai/design 1.3.22 → 1.3.24
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 +27 -25
- package/dist/copilotkit/index.cjs.map +1 -1
- package/dist/copilotkit/index.js +27 -25
- package/dist/copilotkit/index.js.map +1 -1
- package/dist/index.cjs +21 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -8
- package/dist/index.js.map +1 -1
- package/dist/layout/index.cjs +21 -7
- package/dist/layout/index.cjs.map +1 -1
- package/dist/layout/index.d.cts +5 -2
- package/dist/layout/index.d.ts +5 -2
- package/dist/layout/index.js +21 -7
- package/dist/layout/index.js.map +1 -1
- package/dist/workflow/index.cjs +0 -1
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.js +0 -1
- package/dist/workflow/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1022,6 +1022,7 @@ var IconNames = {
|
|
|
1022
1022
|
FLOW_CHART: "flow-chart",
|
|
1023
1023
|
LOGOUT_CIRCLE_R_FILL: "logout-circle-r-fill",
|
|
1024
1024
|
LOGOUT_CIRCLE_R_LINE: "logout-circle-r-line",
|
|
1025
|
+
QUESTION_LINE: "question-line",
|
|
1025
1026
|
SIDE_BAR_FILL: "side-bar-fill",
|
|
1026
1027
|
CHECK: "check-fill",
|
|
1027
1028
|
CHECK_CIRCLE: "checkbox-circle-fill",
|
|
@@ -1048,6 +1049,7 @@ var iconFiles = {
|
|
|
1048
1049
|
"flow-chart": "Icon-flow-chart.svg",
|
|
1049
1050
|
"logout-circle-r-fill": "Icon-logout-circle-r-fill.svg",
|
|
1050
1051
|
"logout-circle-r-line": "Icon-logout-circle-r-line.svg",
|
|
1052
|
+
"question-line": "Icon-question-line.svg",
|
|
1051
1053
|
"side-bar-fill": "Icon-side-bar-fill.svg",
|
|
1052
1054
|
"check-fill": "Icon-check-fill.svg",
|
|
1053
1055
|
"checkbox-circle-fill": "Icon-checkbox-circle-fill.svg",
|
|
@@ -1268,9 +1270,8 @@ var FolderGroupsSlot = styled48.div`
|
|
|
1268
1270
|
flex-direction: column;
|
|
1269
1271
|
align-items: center;
|
|
1270
1272
|
gap: ${tokens.spacing.sm};
|
|
1271
|
-
padding: 0 ${tokens.spacing.md}
|
|
1273
|
+
padding: 0 ${tokens.spacing.md} 120px; /* Extra bottom padding to avoid overlap with BottomSection */
|
|
1272
1274
|
flex: 1;
|
|
1273
|
-
padding-bottom: 120px; /* Prevent overlap with bottom section (2 buttons @ 40px + 1 gap @ 8px + padding @ 32px) */
|
|
1274
1275
|
|
|
1275
1276
|
/* Server/workspace icons styling */
|
|
1276
1277
|
> * {
|
|
@@ -1287,7 +1288,7 @@ var FolderGroupsSlot = styled48.div`
|
|
|
1287
1288
|
|
|
1288
1289
|
/* Responsive adjustments */
|
|
1289
1290
|
@media (max-width: ${tokens.breakpoints.tablet}px) {
|
|
1290
|
-
padding: 0 6px
|
|
1291
|
+
padding: 0 6px 120px; /* Reduce horizontal padding on mobile */
|
|
1291
1292
|
}
|
|
1292
1293
|
|
|
1293
1294
|
/* Mobile landscape: remove extra padding since BottomSection flows with content */
|
|
@@ -1298,7 +1299,7 @@ var FolderGroupsSlot = styled48.div`
|
|
|
1298
1299
|
`;
|
|
1299
1300
|
var BottomSection = styled48.div`
|
|
1300
1301
|
position: absolute;
|
|
1301
|
-
bottom: 0;
|
|
1302
|
+
bottom: 0;
|
|
1302
1303
|
left: 0;
|
|
1303
1304
|
right: 0;
|
|
1304
1305
|
display: flex;
|
|
@@ -1358,6 +1359,7 @@ function NavVertical({
|
|
|
1358
1359
|
onHomeClick,
|
|
1359
1360
|
onSettingsClick,
|
|
1360
1361
|
onLogoutClick,
|
|
1362
|
+
onHelpClick,
|
|
1361
1363
|
folderGroupsSlot,
|
|
1362
1364
|
className,
|
|
1363
1365
|
"aria-label": ariaLabel = "Vertical navigation sidebar"
|
|
@@ -1366,6 +1368,7 @@ function NavVertical({
|
|
|
1366
1368
|
const homeButtonRef = useRef(null);
|
|
1367
1369
|
const settingsButtonRef = useRef(null);
|
|
1368
1370
|
const logoutButtonRef = useRef(null);
|
|
1371
|
+
const helpButtonRef = useRef(null);
|
|
1369
1372
|
const { buttonProps: backButtonProps } = useButton(
|
|
1370
1373
|
{
|
|
1371
1374
|
onPress: onBackClick,
|
|
@@ -1394,11 +1397,20 @@ function NavVertical({
|
|
|
1394
1397
|
},
|
|
1395
1398
|
logoutButtonRef
|
|
1396
1399
|
);
|
|
1400
|
+
const { buttonProps: helpButtonProps } = useButton(
|
|
1401
|
+
{
|
|
1402
|
+
onPress: onHelpClick,
|
|
1403
|
+
"aria-label": "Help"
|
|
1404
|
+
},
|
|
1405
|
+
helpButtonRef
|
|
1406
|
+
);
|
|
1407
|
+
const hasBottomButtons = onHelpClick || onSettingsClick || onLogoutClick;
|
|
1397
1408
|
return /* @__PURE__ */ jsxs(Container3, { className, role: "navigation", "aria-label": ariaLabel, children: [
|
|
1398
1409
|
/* @__PURE__ */ jsx(TopSection, { children: onBackClick ? /* @__PURE__ */ jsx(BackButton, { ...backButtonProps, ref: backButtonRef, children: /* @__PURE__ */ jsx(Icon, { name: "side-bar-fill", size: 20, color: "white" }) }) : onHomeClick ? /* @__PURE__ */ jsx(BackButton, { ...homeButtonProps, ref: homeButtonRef, children: /* @__PURE__ */ jsx(Icon, { name: "side-bar-fill", size: 24, color: "white" }) }) : null }),
|
|
1399
1410
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
1400
1411
|
/* @__PURE__ */ jsx(FolderGroupsSlot, { children: folderGroupsSlot }),
|
|
1401
|
-
|
|
1412
|
+
hasBottomButtons && /* @__PURE__ */ jsxs(BottomSection, { children: [
|
|
1413
|
+
onHelpClick && /* @__PURE__ */ jsx(BottomButton, { ...helpButtonProps, ref: helpButtonRef, "data-tour-help-button": true, children: /* @__PURE__ */ jsx(Icon, { name: "question-line", size: 24, color: "white" }) }),
|
|
1402
1414
|
onSettingsClick && /* @__PURE__ */ jsx(BottomButton, { ...settingsButtonProps, ref: settingsButtonRef, children: /* @__PURE__ */ jsx(Icon, { name: "settings-3-line", size: 24, color: "white" }) }),
|
|
1403
1415
|
onLogoutClick && /* @__PURE__ */ jsx(BottomButton, { ...logoutButtonProps, ref: logoutButtonRef, children: /* @__PURE__ */ jsx(Icon, { name: "logout-circle-r-line", size: 24, color: "white" }) })
|
|
1404
1416
|
] })
|
|
@@ -1510,6 +1522,7 @@ function Layout({
|
|
|
1510
1522
|
onNavHomeClick,
|
|
1511
1523
|
onNavSettingsClick,
|
|
1512
1524
|
onNavLogoutClick,
|
|
1525
|
+
onNavHelpClick,
|
|
1513
1526
|
className
|
|
1514
1527
|
}) {
|
|
1515
1528
|
return /* @__PURE__ */ jsxs(Container4, { className, children: [
|
|
@@ -1520,7 +1533,8 @@ function Layout({
|
|
|
1520
1533
|
onBackClick: onNavBackClick,
|
|
1521
1534
|
onHomeClick: onNavHomeClick,
|
|
1522
1535
|
onSettingsClick: onNavSettingsClick,
|
|
1523
|
-
onLogoutClick: onNavLogoutClick
|
|
1536
|
+
onLogoutClick: onNavLogoutClick,
|
|
1537
|
+
onHelpClick: onNavHelpClick
|
|
1524
1538
|
}
|
|
1525
1539
|
),
|
|
1526
1540
|
backgroundSlot && /* @__PURE__ */ jsx(BackgroundPane, { children: backgroundSlot }),
|
|
@@ -2225,7 +2239,7 @@ var TabPanelWrapper = styled48.div`
|
|
|
2225
2239
|
overflow-y: auto;
|
|
2226
2240
|
overflow-x: hidden; // Prevent horizontal overflow
|
|
2227
2241
|
scrollbar-gutter: stable; // Always reserve space for scrollbar to prevent width jump
|
|
2228
|
-
background-color: ${tokens.colors.
|
|
2242
|
+
background-color: ${tokens.colors.background.dark};
|
|
2229
2243
|
min-height: 0; // Enable proper flex shrinking and scrolling
|
|
2230
2244
|
|
|
2231
2245
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
@@ -10875,7 +10889,6 @@ var Card3 = styled48.button`
|
|
|
10875
10889
|
}
|
|
10876
10890
|
|
|
10877
10891
|
&:disabled {
|
|
10878
|
-
opacity: 0.5;
|
|
10879
10892
|
cursor: not-allowed;
|
|
10880
10893
|
}
|
|
10881
10894
|
`;
|