@agentiffai/design 1.2.1 → 1.3.3
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 +8 -8
- package/dist/copilotkit/index.cjs.map +1 -1
- package/dist/copilotkit/index.js +8 -8
- package/dist/copilotkit/index.js.map +1 -1
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.js.map +1 -1
- package/dist/index.cjs +167 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +167 -66
- package/dist/index.js.map +1 -1
- package/dist/layout/index.cjs +123 -47
- package/dist/layout/index.cjs.map +1 -1
- package/dist/layout/index.d.cts +14 -9
- package/dist/layout/index.d.ts +14 -9
- package/dist/layout/index.js +123 -47
- package/dist/layout/index.js.map +1 -1
- package/dist/theme/index.cjs +12 -11
- package/dist/theme/index.cjs.map +1 -1
- package/dist/theme/index.d.cts +12 -9
- package/dist/theme/index.d.ts +12 -9
- package/dist/theme/index.js +12 -11
- package/dist/theme/index.js.map +1 -1
- package/dist/workflow/index.cjs +21 -6
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.js +21 -6
- package/dist/workflow/index.js.map +1 -1
- package/package.json +1 -1
- package/public/assets/icon-set/Icon-arrow-up-fill.svg +1 -0
- package/public/assets/icon-set/Icon-box-3-fill.svg +1 -0
- package/public/assets/icon-set/Icon-briefcase-fill.svg +1 -0
- package/public/assets/icon-set/Icon-clipboard-fill.svg +1 -0
- package/public/assets/icon-set/Icon-edit-fill.svg +1 -0
- package/public/assets/icon-set/Icon-emotion-happy-fill.svg +1 -0
- package/public/assets/icon-set/Icon-external-link-fill.svg +1 -0
- package/public/assets/icon-set/Icon-flow-chart.svg +1 -0
- package/public/assets/icon-set/Icon-git-branch-fill.svg +1 -0
- package/public/assets/icon-set/Icon-lightbulb-fill.svg +1 -0
- package/public/assets/icon-set/Icon-logout-circle-r-fill.svg +1 -0
- package/public/assets/icon-set/Icon-logout-circle-r-line.svg +1 -0
- package/public/assets/icon-set/Icon-map-pin-fill.svg +1 -0
- package/public/assets/icon-set/Icon-refresh-fill.svg +1 -0
- package/public/assets/icon-set/Icon-settings-3-line.svg +1 -0
- package/public/assets/icon-set/Icon-side-bar-fill.svg +1 -0
- package/public/assets/icon-set/Icon-skip-forward-fill.svg +1 -0
- package/public/assets/icon-set/Icon-time-fill.svg +1 -0
package/dist/index.js
CHANGED
|
@@ -51,6 +51,7 @@ var tokens = {
|
|
|
51
51
|
// Status colors (for workflow/SSE events)
|
|
52
52
|
status: {
|
|
53
53
|
pending: "#6B7280",
|
|
54
|
+
editing: "#3B82F6",
|
|
54
55
|
idle: "#6B7280",
|
|
55
56
|
running: "#459FB9",
|
|
56
57
|
// Sky Blue (brand aligned)
|
|
@@ -138,22 +139,22 @@ var tokens = {
|
|
|
138
139
|
monospace: "'Roboto Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace"
|
|
139
140
|
},
|
|
140
141
|
fontSize: {
|
|
141
|
-
xs: "0.
|
|
142
|
-
// 12px
|
|
143
|
-
sm: "
|
|
144
|
-
// 14px
|
|
145
|
-
base: "
|
|
146
|
-
// 16px
|
|
142
|
+
xs: "0.875rem",
|
|
143
|
+
// 14px (was 12px, increased for better readability)
|
|
144
|
+
sm: "1rem",
|
|
145
|
+
// 16px (was 14px, increased for better readability)
|
|
146
|
+
base: "1.125rem",
|
|
147
|
+
// 18px (was 16px, increased for better readability)
|
|
147
148
|
lg: "1.125rem",
|
|
148
|
-
// 18px
|
|
149
|
+
// 18px (heading size, unchanged)
|
|
149
150
|
xl: "1.25rem",
|
|
150
|
-
// 20px
|
|
151
|
+
// 20px (heading size, unchanged)
|
|
151
152
|
"2xl": "1.5rem",
|
|
152
|
-
// 24px
|
|
153
|
+
// 24px (heading size, unchanged)
|
|
153
154
|
"3xl": "1.875rem",
|
|
154
|
-
// 30px
|
|
155
|
+
// 30px (heading size, unchanged)
|
|
155
156
|
"4xl": "2.25rem"
|
|
156
|
-
// 36px
|
|
157
|
+
// 36px (heading size, unchanged)
|
|
157
158
|
},
|
|
158
159
|
fontWeight: {
|
|
159
160
|
light: 300,
|
|
@@ -1010,32 +1011,36 @@ var IconNames = {
|
|
|
1010
1011
|
MIC_OFF: "mic-off-fill",
|
|
1011
1012
|
HEADPHONE: "headphone-fill",
|
|
1012
1013
|
VOLUME_MUTE: "volume-mute-fill",
|
|
1013
|
-
|
|
1014
|
-
SETTINGS_FILL: "settings-fill",
|
|
1015
|
-
SETTINGS_LINE: "settings-line",
|
|
1014
|
+
SETTINGS_3_LINE: "settings-3-line",
|
|
1016
1015
|
HOME: "home-fill",
|
|
1017
1016
|
ADD_CIRCLE: "add-circle-fill",
|
|
1018
1017
|
COMPASS_DISCOVER: "compass-discover-fill",
|
|
1019
1018
|
DOWNLOAD: "download-2-fill",
|
|
1020
1019
|
ARROW_LEFT: "arrow-left-fill",
|
|
1021
1020
|
CALENDAR: "calendar-fill",
|
|
1022
|
-
CHAT: "chat-1-fill"
|
|
1021
|
+
CHAT: "chat-1-fill",
|
|
1022
|
+
FLOW_CHART: "flow-chart",
|
|
1023
|
+
LOGOUT_CIRCLE_R_FILL: "logout-circle-r-fill",
|
|
1024
|
+
LOGOUT_CIRCLE_R_LINE: "logout-circle-r-line",
|
|
1025
|
+
SIDE_BAR_FILL: "side-bar-fill"
|
|
1023
1026
|
};
|
|
1024
1027
|
var iconFiles = {
|
|
1025
1028
|
"mic-fill": "Icon-mic-fill.svg",
|
|
1026
1029
|
"mic-off-fill": "Icon-mic-off-fill.svg",
|
|
1027
1030
|
"headphone-fill": "Icon-headphone-fill.svg",
|
|
1028
1031
|
"volume-mute-fill": "Icon-volume-mute-fill.svg",
|
|
1029
|
-
"settings-3-
|
|
1030
|
-
"settings-fill": "Icon-settings-fill.svg",
|
|
1031
|
-
"settings-line": "Icon-settings-line.svg",
|
|
1032
|
+
"settings-3-line": "Icon-settings-3-line.svg",
|
|
1032
1033
|
"home-fill": "Icon-home-fill.svg",
|
|
1033
1034
|
"add-circle-fill": "Icon-add-circle-fill.svg",
|
|
1034
1035
|
"compass-discover-fill": "Icon-compass-discover-fill.svg",
|
|
1035
1036
|
"download-2-fill": "Icon-download-2-fill.svg",
|
|
1036
1037
|
"arrow-left-fill": "Icon-arrow-left-fill.svg",
|
|
1037
1038
|
"calendar-fill": "Icon-calendar-fill.svg",
|
|
1038
|
-
"chat-1-fill": "Icon-chat-1-fill.svg"
|
|
1039
|
+
"chat-1-fill": "Icon-chat-1-fill.svg",
|
|
1040
|
+
"flow-chart": "Icon-flow-chart.svg",
|
|
1041
|
+
"logout-circle-r-fill": "Icon-logout-circle-r-fill.svg",
|
|
1042
|
+
"logout-circle-r-line": "Icon-logout-circle-r-line.svg",
|
|
1043
|
+
"side-bar-fill": "Icon-side-bar-fill.svg"
|
|
1039
1044
|
};
|
|
1040
1045
|
function getIconPath(name) {
|
|
1041
1046
|
return `${ICON_BASE_PATH}/${iconFiles[name]}`;
|
|
@@ -1058,6 +1063,8 @@ var Container2 = styled11.nav`
|
|
|
1058
1063
|
right: 0;
|
|
1059
1064
|
background-color: ${tokens.colors.background.darker};
|
|
1060
1065
|
border-top: 1px solid ${tokens.colors.border.subtle};
|
|
1066
|
+
/* Add vertical padding to prevent content overlap */
|
|
1067
|
+
padding-top: 4px;
|
|
1061
1068
|
/* Use safe-area-inset-bottom for Android navigation buttons.
|
|
1062
1069
|
The env() value will be 0 on devices without soft nav buttons.
|
|
1063
1070
|
Fallback to 0 if env() is not supported. */
|
|
@@ -1087,7 +1094,7 @@ var UserStatusSlot = styled11.div`
|
|
|
1087
1094
|
display: flex;
|
|
1088
1095
|
align-items: center;
|
|
1089
1096
|
min-width: 0; /* Allow flex item to shrink */
|
|
1090
|
-
flex:
|
|
1097
|
+
flex: 1 1 auto; /* Allow slot to grow and take available space */
|
|
1091
1098
|
|
|
1092
1099
|
/* Handle overflow for long usernames */
|
|
1093
1100
|
> * {
|
|
@@ -1215,6 +1222,7 @@ var FolderGroupsSlot = styled11.div`
|
|
|
1215
1222
|
gap: ${tokens.spacing.sm};
|
|
1216
1223
|
padding: 0 ${tokens.spacing.md} ${tokens.spacing.md};
|
|
1217
1224
|
flex: 1;
|
|
1225
|
+
padding-bottom: 120px; /* Prevent overlap with bottom section (2 buttons @ 40px + 1 gap @ 8px + padding @ 32px) */
|
|
1218
1226
|
|
|
1219
1227
|
/* Server/workspace icons styling */
|
|
1220
1228
|
> * {
|
|
@@ -1231,18 +1239,68 @@ var FolderGroupsSlot = styled11.div`
|
|
|
1231
1239
|
|
|
1232
1240
|
/* Responsive adjustments */
|
|
1233
1241
|
@media (max-width: ${tokens.breakpoints.tablet}px) {
|
|
1234
|
-
padding: 0 6px ${tokens.spacing.md}; /* Reduce horizontal padding on mobile */
|
|
1242
|
+
padding: 0 6px ${tokens.spacing.md} 96px; /* Reduce horizontal padding on mobile */
|
|
1243
|
+
}
|
|
1244
|
+
`;
|
|
1245
|
+
var BottomSection = styled11.div`
|
|
1246
|
+
position: absolute;
|
|
1247
|
+
bottom: 0; /* At the bottom of the nav container */
|
|
1248
|
+
left: 0;
|
|
1249
|
+
right: 0;
|
|
1250
|
+
display: flex;
|
|
1251
|
+
flex-direction: column;
|
|
1252
|
+
align-items: center;
|
|
1253
|
+
gap: ${tokens.spacing.sm};
|
|
1254
|
+
padding: ${tokens.spacing.md} 0;
|
|
1255
|
+
background-color: ${tokens.colors.background.darker};
|
|
1256
|
+
|
|
1257
|
+
@media (prefers-color-scheme: dark) {
|
|
1258
|
+
background-color: ${tokens.colors.background.darkest};
|
|
1259
|
+
}
|
|
1260
|
+
`;
|
|
1261
|
+
var BottomButton = styled11.button`
|
|
1262
|
+
width: 40px;
|
|
1263
|
+
height: 40px;
|
|
1264
|
+
border-radius: 0;
|
|
1265
|
+
border: none;
|
|
1266
|
+
background-color: transparent;
|
|
1267
|
+
color: white;
|
|
1268
|
+
cursor: pointer;
|
|
1269
|
+
display: flex;
|
|
1270
|
+
align-items: center;
|
|
1271
|
+
justify-content: center;
|
|
1272
|
+
transition: all ${tokens.transitions.normal};
|
|
1273
|
+
|
|
1274
|
+
&:hover {
|
|
1275
|
+
opacity: 0.7;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
&:active {
|
|
1279
|
+
transform: scale(0.95);
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
&:focus {
|
|
1283
|
+
outline: none;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
&:focus-visible {
|
|
1287
|
+
outline: 2px solid ${tokens.colors.border.focus};
|
|
1288
|
+
outline-offset: 2px;
|
|
1235
1289
|
}
|
|
1236
1290
|
`;
|
|
1237
1291
|
function NavVertical({
|
|
1238
1292
|
onBackClick,
|
|
1239
1293
|
onHomeClick,
|
|
1294
|
+
onSettingsClick,
|
|
1295
|
+
onLogoutClick,
|
|
1240
1296
|
folderGroupsSlot,
|
|
1241
1297
|
className,
|
|
1242
1298
|
"aria-label": ariaLabel = "Vertical navigation sidebar"
|
|
1243
1299
|
}) {
|
|
1244
1300
|
const backButtonRef = useRef(null);
|
|
1245
1301
|
const homeButtonRef = useRef(null);
|
|
1302
|
+
const settingsButtonRef = useRef(null);
|
|
1303
|
+
const logoutButtonRef = useRef(null);
|
|
1246
1304
|
const { buttonProps: backButtonProps } = useButton(
|
|
1247
1305
|
{
|
|
1248
1306
|
onPress: onBackClick,
|
|
@@ -1257,10 +1315,28 @@ function NavVertical({
|
|
|
1257
1315
|
},
|
|
1258
1316
|
homeButtonRef
|
|
1259
1317
|
);
|
|
1318
|
+
const { buttonProps: settingsButtonProps } = useButton(
|
|
1319
|
+
{
|
|
1320
|
+
onPress: onSettingsClick,
|
|
1321
|
+
"aria-label": "Settings"
|
|
1322
|
+
},
|
|
1323
|
+
settingsButtonRef
|
|
1324
|
+
);
|
|
1325
|
+
const { buttonProps: logoutButtonProps } = useButton(
|
|
1326
|
+
{
|
|
1327
|
+
onPress: onLogoutClick,
|
|
1328
|
+
"aria-label": "Logout"
|
|
1329
|
+
},
|
|
1330
|
+
logoutButtonRef
|
|
1331
|
+
);
|
|
1260
1332
|
return /* @__PURE__ */ jsxs(Container3, { className, role: "navigation", "aria-label": ariaLabel, children: [
|
|
1261
|
-
/* @__PURE__ */ jsx(TopSection, { children: onBackClick ? /* @__PURE__ */ jsx(BackButton, { ...backButtonProps, ref: backButtonRef, children: /* @__PURE__ */ jsx(Icon, { name: "
|
|
1333
|
+
/* @__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 }),
|
|
1262
1334
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
1263
|
-
/* @__PURE__ */ jsx(FolderGroupsSlot, { children: folderGroupsSlot })
|
|
1335
|
+
/* @__PURE__ */ jsx(FolderGroupsSlot, { children: folderGroupsSlot }),
|
|
1336
|
+
(onSettingsClick || onLogoutClick) && /* @__PURE__ */ jsxs(BottomSection, { children: [
|
|
1337
|
+
onSettingsClick && /* @__PURE__ */ jsx(BottomButton, { ...settingsButtonProps, ref: settingsButtonRef, children: /* @__PURE__ */ jsx(Icon, { name: "settings-3-line", size: 24, color: "white" }) }),
|
|
1338
|
+
onLogoutClick && /* @__PURE__ */ jsx(BottomButton, { ...logoutButtonProps, ref: logoutButtonRef, children: /* @__PURE__ */ jsx(Icon, { name: "logout-circle-r-line", size: 24, color: "white" }) })
|
|
1339
|
+
] })
|
|
1264
1340
|
] });
|
|
1265
1341
|
}
|
|
1266
1342
|
NavVertical.displayName = "NavVertical";
|
|
@@ -1360,10 +1436,22 @@ function Layout({
|
|
|
1360
1436
|
navHorizontalUserSlot,
|
|
1361
1437
|
navHorizontalActionsSlot,
|
|
1362
1438
|
onNavBackClick,
|
|
1439
|
+
onNavHomeClick,
|
|
1440
|
+
onNavSettingsClick,
|
|
1441
|
+
onNavLogoutClick,
|
|
1363
1442
|
className
|
|
1364
1443
|
}) {
|
|
1365
1444
|
return /* @__PURE__ */ jsxs(Container4, { className, children: [
|
|
1366
|
-
/* @__PURE__ */ jsx(
|
|
1445
|
+
/* @__PURE__ */ jsx(
|
|
1446
|
+
NavVertical,
|
|
1447
|
+
{
|
|
1448
|
+
folderGroupsSlot: navVerticalSlot,
|
|
1449
|
+
onBackClick: onNavBackClick,
|
|
1450
|
+
onHomeClick: onNavHomeClick,
|
|
1451
|
+
onSettingsClick: onNavSettingsClick,
|
|
1452
|
+
onLogoutClick: onNavLogoutClick
|
|
1453
|
+
}
|
|
1454
|
+
),
|
|
1367
1455
|
backgroundSlot && /* @__PURE__ */ jsx(BackgroundPane, { children: backgroundSlot }),
|
|
1368
1456
|
/* @__PURE__ */ jsx(MainPane, { children: mainPaneSlot }),
|
|
1369
1457
|
/* @__PURE__ */ jsx(
|
|
@@ -1450,10 +1538,8 @@ function ActionButtonItem({ icon, label, onClick, isActive, size, isPrimary }) {
|
|
|
1450
1538
|
}
|
|
1451
1539
|
function ActionButtons({
|
|
1452
1540
|
onCalendarClick,
|
|
1453
|
-
onSettingsClick,
|
|
1454
1541
|
onChatClick,
|
|
1455
1542
|
isCalendarActive = false,
|
|
1456
|
-
isSettingsActive = false,
|
|
1457
1543
|
isChatActive = false,
|
|
1458
1544
|
className
|
|
1459
1545
|
}) {
|
|
@@ -1468,16 +1554,6 @@ function ActionButtons({
|
|
|
1468
1554
|
size: 32
|
|
1469
1555
|
}
|
|
1470
1556
|
),
|
|
1471
|
-
/* @__PURE__ */ jsx(
|
|
1472
|
-
ActionButtonItem,
|
|
1473
|
-
{
|
|
1474
|
-
icon: /* @__PURE__ */ jsx(Icon, { name: "settings-3-fill", size: 16, color: tokens.colors.text.secondary }),
|
|
1475
|
-
label: "Settings",
|
|
1476
|
-
onClick: onSettingsClick,
|
|
1477
|
-
isActive: isSettingsActive,
|
|
1478
|
-
size: 32
|
|
1479
|
-
}
|
|
1480
|
-
),
|
|
1481
1557
|
/* @__PURE__ */ jsx(
|
|
1482
1558
|
ActionButtonItem,
|
|
1483
1559
|
{
|
|
@@ -1501,30 +1577,31 @@ var Container6 = styled11.button`
|
|
|
1501
1577
|
display: grid;
|
|
1502
1578
|
grid-template-columns: auto 1fr;
|
|
1503
1579
|
align-items: center;
|
|
1504
|
-
gap: ${tokens.spacing.
|
|
1505
|
-
padding:
|
|
1580
|
+
gap: ${tokens.spacing.xs};
|
|
1581
|
+
padding: 6px;
|
|
1582
|
+
margin: ${tokens.spacing.sm};
|
|
1506
1583
|
border-radius: ${tokens.borderRadius.md};
|
|
1507
1584
|
border: none;
|
|
1508
1585
|
background: ${tokens.colors.surface.subtle};
|
|
1509
1586
|
color: inherit;
|
|
1510
1587
|
font-family: ${tokens.typography.fontFamily.primary};
|
|
1511
1588
|
transition: background-color ${tokens.transitions.fast}, opacity ${tokens.transitions.fast};
|
|
1512
|
-
cursor: ${(props) => props.$isDisabled ? "
|
|
1513
|
-
opacity: ${(props) => props.$isDisabled ? 0.
|
|
1589
|
+
cursor: ${(props) => props.$isDisabled ? "default" : "pointer"};
|
|
1590
|
+
opacity: ${(props) => props.$isDisabled ? 0.7 : 1};
|
|
1514
1591
|
text-align: left;
|
|
1515
|
-
width: 100
|
|
1592
|
+
width: calc(100% - ${tokens.spacing.lg});
|
|
1516
1593
|
|
|
1517
1594
|
&:hover:not(:disabled) {
|
|
1518
|
-
background-color: ${tokens.colors.surface.overlay};
|
|
1595
|
+
background-color: ${(props) => props.$isDisabled ? tokens.colors.surface.subtle : tokens.colors.surface.overlay};
|
|
1519
1596
|
}
|
|
1520
1597
|
|
|
1521
1598
|
&:focus-visible {
|
|
1522
|
-
outline: 2px solid ${tokens.colors.border.focus};
|
|
1599
|
+
outline: ${(props) => props.$isDisabled ? "none" : `2px solid ${tokens.colors.border.focus}`};
|
|
1523
1600
|
outline-offset: 2px;
|
|
1524
1601
|
}
|
|
1525
1602
|
|
|
1526
1603
|
&:active:not(:disabled) {
|
|
1527
|
-
background-color: ${tokens.colors.surface.overlayActive};
|
|
1604
|
+
background-color: ${(props) => props.$isDisabled ? tokens.colors.surface.subtle : tokens.colors.surface.overlayActive};
|
|
1528
1605
|
}
|
|
1529
1606
|
`;
|
|
1530
1607
|
var IconWrapper2 = styled11.div`
|
|
@@ -2118,7 +2195,7 @@ styled11.button`
|
|
|
2118
2195
|
|
|
2119
2196
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
2120
2197
|
padding: ${tokens.spacing.sm} ${tokens.spacing.md};
|
|
2121
|
-
font-size:
|
|
2198
|
+
font-size: ${tokens.typography.fontSize.sm};
|
|
2122
2199
|
gap: ${tokens.spacing.sm};
|
|
2123
2200
|
}
|
|
2124
2201
|
|
|
@@ -2379,7 +2456,7 @@ var ItemName = styled11.span`
|
|
|
2379
2456
|
min-width: 0;
|
|
2380
2457
|
|
|
2381
2458
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
2382
|
-
font-size:
|
|
2459
|
+
font-size: ${tokens.typography.fontSize.sm};
|
|
2383
2460
|
}
|
|
2384
2461
|
|
|
2385
2462
|
${ItemContainer}:hover & {
|
|
@@ -2471,7 +2548,7 @@ styled11.div`
|
|
|
2471
2548
|
padding-top: 0;
|
|
2472
2549
|
background-color: ${tokens.colors.overlay};
|
|
2473
2550
|
color: ${tokens.colors.text.secondary};
|
|
2474
|
-
font-size:
|
|
2551
|
+
font-size: ${tokens.typography.fontSize.sm};
|
|
2475
2552
|
line-height: ${tokens.typography.lineHeight.relaxed};
|
|
2476
2553
|
animation: slideDown ${tokens.transitions.normal};
|
|
2477
2554
|
|
|
@@ -2558,7 +2635,7 @@ var ConnectionDescription = styled11.p`
|
|
|
2558
2635
|
var GoogleButton = styled11.button`
|
|
2559
2636
|
width: 100%;
|
|
2560
2637
|
padding: ${tokens.spacing.md} ${tokens.spacing.lg};
|
|
2561
|
-
font-size:
|
|
2638
|
+
font-size: ${tokens.typography.fontSize.sm};
|
|
2562
2639
|
font-weight: ${tokens.typography.fontWeight.semibold};
|
|
2563
2640
|
color: ${(props) => props.$isConnected ? tokens.colors.text.primary : tokens.colors.text.primary};
|
|
2564
2641
|
background: ${(props) => props.$isConnected ? tokens.colors.background.light : `linear-gradient(135deg, ${tokens.colors.platform.facebook}, ${tokens.colors.platform.whatsapp})`};
|
|
@@ -2694,8 +2771,8 @@ function WorkflowGroupItem({
|
|
|
2694
2771
|
return /* @__PURE__ */ jsxs(CategoryDisclosure, { id: groupId, children: [
|
|
2695
2772
|
/* @__PURE__ */ jsx(Heading, { level: 4, children: /* @__PURE__ */ jsxs(CategoryHeader, { slot: "trigger", style: { paddingLeft: "8px" }, children: [
|
|
2696
2773
|
/* @__PURE__ */ jsxs(CategoryTitle, { children: [
|
|
2697
|
-
/* @__PURE__ */ jsx("span", { style: { fontSize:
|
|
2698
|
-
/* @__PURE__ */ jsxs("span", { style: { fontSize:
|
|
2774
|
+
/* @__PURE__ */ jsx("span", { style: { fontSize: tokens.typography.fontSize.base, fontWeight: 500 }, children: group.workflowName }),
|
|
2775
|
+
/* @__PURE__ */ jsxs("span", { style: { fontSize: tokens.typography.fontSize.sm, color: tokens.colors.text.tertiary, marginLeft: "8px" }, children: [
|
|
2699
2776
|
"(",
|
|
2700
2777
|
group.runs.length,
|
|
2701
2778
|
")"
|
|
@@ -3172,7 +3249,7 @@ function PaneSectionHeader({
|
|
|
3172
3249
|
brand = "Google",
|
|
3173
3250
|
onBackClick,
|
|
3174
3251
|
onSettingsClick,
|
|
3175
|
-
settingsIcon = "
|
|
3252
|
+
settingsIcon = "flow-chart",
|
|
3176
3253
|
className,
|
|
3177
3254
|
"aria-label": ariaLabel = "Pane section header"
|
|
3178
3255
|
}) {
|
|
@@ -3190,7 +3267,7 @@ function PaneSectionHeader({
|
|
|
3190
3267
|
const { buttonProps: settingsButtonProps } = useButton(
|
|
3191
3268
|
{
|
|
3192
3269
|
onPress: onSettingsClick,
|
|
3193
|
-
"aria-label": "
|
|
3270
|
+
"aria-label": "Workflow configuration"
|
|
3194
3271
|
},
|
|
3195
3272
|
settingsButtonRef
|
|
3196
3273
|
);
|
|
@@ -3361,7 +3438,7 @@ var NotificationItemWrapper = styled11.button`
|
|
|
3361
3438
|
cursor: pointer;
|
|
3362
3439
|
text-align: left;
|
|
3363
3440
|
transition: all ${tokens.transitions.normal};
|
|
3364
|
-
border-radius: ${(props) => props.$isSelected ? tokens.borderRadius.
|
|
3441
|
+
border-radius: ${(props) => props.$isSelected ? tokens.borderRadius.md : tokens.borderRadius.md};
|
|
3365
3442
|
|
|
3366
3443
|
/* Default state - transparent background */
|
|
3367
3444
|
background-color: ${(props) => props.$isSelected ? tokens.colors.secondary : "transparent"};
|
|
@@ -3641,7 +3718,7 @@ var StyledUserMessage = styled11.button`
|
|
|
3641
3718
|
font-family: ${tokens.typography.fontFamily.primary};
|
|
3642
3719
|
font-size: ${tokens.typography.fontSize.sm};
|
|
3643
3720
|
font-weight: ${tokens.typography.fontWeight.regular};
|
|
3644
|
-
line-height:
|
|
3721
|
+
line-height: ${tokens.typography.lineHeight.normal};
|
|
3645
3722
|
border: none;
|
|
3646
3723
|
cursor: default;
|
|
3647
3724
|
user-select: none;
|
|
@@ -3983,6 +4060,11 @@ var Card = styled11.div`
|
|
|
3983
4060
|
font-family: ${tokens.typography.fontFamily.primary};
|
|
3984
4061
|
transition: border-color ${tokens.transitions.fast};
|
|
3985
4062
|
|
|
4063
|
+
@media (max-width: 480px) {
|
|
4064
|
+
padding: ${tokens.spacing.sm};
|
|
4065
|
+
gap: ${tokens.spacing.xs};
|
|
4066
|
+
}
|
|
4067
|
+
|
|
3986
4068
|
&:hover {
|
|
3987
4069
|
border-color: ${tokens.colors.border.hover};
|
|
3988
4070
|
}
|
|
@@ -3995,6 +4077,10 @@ var ContentHeader = styled11.div`
|
|
|
3995
4077
|
display: flex;
|
|
3996
4078
|
align-items: flex-start;
|
|
3997
4079
|
gap: ${tokens.spacing.sm};
|
|
4080
|
+
|
|
4081
|
+
@media (max-width: 480px) {
|
|
4082
|
+
gap: ${tokens.spacing.xs};
|
|
4083
|
+
}
|
|
3998
4084
|
`;
|
|
3999
4085
|
var IconWrapper3 = styled11.div`
|
|
4000
4086
|
width: 40px;
|
|
@@ -4002,7 +4088,7 @@ var IconWrapper3 = styled11.div`
|
|
|
4002
4088
|
display: flex;
|
|
4003
4089
|
align-items: center;
|
|
4004
4090
|
justify-content: center;
|
|
4005
|
-
border-radius: ${tokens.borderRadius.
|
|
4091
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
4006
4092
|
background: ${tokens.colors.background.light};
|
|
4007
4093
|
flex-shrink: 0;
|
|
4008
4094
|
`;
|
|
@@ -8073,12 +8159,12 @@ var fadeIn2 = keyframes`
|
|
|
8073
8159
|
`;
|
|
8074
8160
|
var CardContainer = styled11.div`
|
|
8075
8161
|
background: ${tokens.colors.background.dark};
|
|
8076
|
-
border-radius: ${tokens.borderRadius.
|
|
8162
|
+
border-radius: ${tokens.borderRadius.xl};
|
|
8077
8163
|
padding: ${tokens.spacing.md};
|
|
8078
8164
|
position: relative;
|
|
8079
8165
|
transition: all ${tokens.transitions.normal};
|
|
8080
|
-
border:
|
|
8081
|
-
box-shadow: ${({ $isActive, $isEditing, $platformColor }) => $isEditing ? `${tokens.shadows.lg}, 0
|
|
8166
|
+
border: 1px solid ${({ $isActive, $isEditing, $platformColor }) => $isEditing ? $platformColor : $isActive ? $platformColor : tokens.colors.border.default};
|
|
8167
|
+
box-shadow: ${({ $isActive, $isEditing, $platformColor }) => $isEditing ? `${tokens.shadows.lg}, 0 0 20px ${$platformColor}40` : $isActive ? `${tokens.shadows.lg}, 0 0 20px ${$platformColor}33` : tokens.shadows.md};
|
|
8082
8168
|
|
|
8083
8169
|
&:hover {
|
|
8084
8170
|
border-color: ${({ $platformColor }) => `${$platformColor}80`};
|
|
@@ -8098,7 +8184,7 @@ var PlatformIcon = styled11.span`
|
|
|
8098
8184
|
justify-content: center;
|
|
8099
8185
|
width: 32px;
|
|
8100
8186
|
height: 32px;
|
|
8101
|
-
border-radius: ${tokens.borderRadius.
|
|
8187
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8102
8188
|
background: ${({ $platformColor }) => `${$platformColor}20`};
|
|
8103
8189
|
color: ${({ $platformColor }) => $platformColor};
|
|
8104
8190
|
font-size: ${tokens.typography.fontSize.base};
|
|
@@ -8147,7 +8233,7 @@ var PostContentEditable = styled11.textarea`
|
|
|
8147
8233
|
color: ${tokens.colors.text.primary};
|
|
8148
8234
|
background: ${tokens.colors.background.darker};
|
|
8149
8235
|
border: 1px solid ${tokens.colors.border.default};
|
|
8150
|
-
border-radius: ${tokens.borderRadius.
|
|
8236
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8151
8237
|
padding: ${tokens.spacing.md};
|
|
8152
8238
|
margin-bottom: ${tokens.spacing.sm};
|
|
8153
8239
|
letter-spacing: 0.01em;
|
|
@@ -8211,7 +8297,7 @@ var ProgressBarFill2 = styled11.div`
|
|
|
8211
8297
|
`;
|
|
8212
8298
|
var ImagePreviewContainer = styled11.div`
|
|
8213
8299
|
margin-bottom: ${tokens.spacing.sm};
|
|
8214
|
-
border-radius: ${tokens.borderRadius.
|
|
8300
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8215
8301
|
overflow: hidden;
|
|
8216
8302
|
border: 1px solid ${tokens.colors.border.default};
|
|
8217
8303
|
`;
|
|
@@ -8233,7 +8319,7 @@ var ImagePlaceholder = styled11.div`
|
|
|
8233
8319
|
#cc2366 75%,
|
|
8234
8320
|
#bc1888 100%
|
|
8235
8321
|
);
|
|
8236
|
-
border-radius: ${tokens.borderRadius.
|
|
8322
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8237
8323
|
display: flex;
|
|
8238
8324
|
flex-direction: column;
|
|
8239
8325
|
align-items: center;
|
|
@@ -8248,7 +8334,7 @@ var PlaceholderIcon = styled11.div`
|
|
|
8248
8334
|
width: 48px;
|
|
8249
8335
|
height: 48px;
|
|
8250
8336
|
border: 2px solid white;
|
|
8251
|
-
border-radius: ${tokens.borderRadius.
|
|
8337
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8252
8338
|
display: flex;
|
|
8253
8339
|
align-items: center;
|
|
8254
8340
|
justify-content: center;
|
|
@@ -8835,7 +8921,7 @@ var Card2 = styled11.div`
|
|
|
8835
8921
|
display: flex;
|
|
8836
8922
|
flex-direction: column;
|
|
8837
8923
|
gap: ${tokens.spacing.md};
|
|
8838
|
-
padding: ${tokens.spacing.
|
|
8924
|
+
padding: ${tokens.spacing.md};
|
|
8839
8925
|
background: ${tokens.colors.background.dark};
|
|
8840
8926
|
border-radius: ${tokens.borderRadius.xl};
|
|
8841
8927
|
border: 1px solid ${tokens.colors.border.default};
|
|
@@ -8927,7 +9013,7 @@ var TransactionItem = styled11.div`
|
|
|
8927
9013
|
gap: ${tokens.spacing.sm};
|
|
8928
9014
|
padding: ${tokens.spacing.sm};
|
|
8929
9015
|
background: ${tokens.colors.background.darker};
|
|
8930
|
-
border-radius: ${tokens.borderRadius.
|
|
9016
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8931
9017
|
`;
|
|
8932
9018
|
var TransactionIcon = styled11.span`
|
|
8933
9019
|
width: 24px;
|
|
@@ -9093,12 +9179,22 @@ var WorkflowName2 = styled11.h3`
|
|
|
9093
9179
|
font-weight: ${tokens.typography.fontWeight.semibold};
|
|
9094
9180
|
color: ${tokens.colors.text.primary};
|
|
9095
9181
|
line-height: ${tokens.typography.lineHeight.tight};
|
|
9182
|
+
overflow: hidden;
|
|
9183
|
+
text-overflow: ellipsis;
|
|
9184
|
+
white-space: nowrap;
|
|
9185
|
+
min-width: 0;
|
|
9096
9186
|
`;
|
|
9097
9187
|
var Description2 = styled11.p`
|
|
9098
9188
|
margin: 0;
|
|
9099
9189
|
font-size: ${tokens.typography.fontSize.sm};
|
|
9100
9190
|
color: ${tokens.colors.text.tertiary};
|
|
9101
9191
|
line-height: ${tokens.typography.lineHeight.normal};
|
|
9192
|
+
overflow: hidden;
|
|
9193
|
+
display: -webkit-box;
|
|
9194
|
+
-webkit-line-clamp: 2;
|
|
9195
|
+
-webkit-box-orient: vertical;
|
|
9196
|
+
word-break: break-word;
|
|
9197
|
+
min-width: 0;
|
|
9102
9198
|
`;
|
|
9103
9199
|
var CardFooter = styled11.div`
|
|
9104
9200
|
display: flex;
|
|
@@ -9107,11 +9203,13 @@ var CardFooter = styled11.div`
|
|
|
9107
9203
|
gap: ${tokens.spacing.sm};
|
|
9108
9204
|
padding-top: ${tokens.spacing.sm};
|
|
9109
9205
|
border-top: 1px solid ${tokens.colors.border.subtle};
|
|
9206
|
+
width: 100%;
|
|
9110
9207
|
`;
|
|
9111
9208
|
var IntegrationList = styled11.div`
|
|
9112
9209
|
display: flex;
|
|
9113
9210
|
align-items: center;
|
|
9114
9211
|
gap: ${tokens.spacing.xs};
|
|
9212
|
+
flex-shrink: 0;
|
|
9115
9213
|
`;
|
|
9116
9214
|
var IntegrationIconWrapper = styled11.span`
|
|
9117
9215
|
display: flex;
|
|
@@ -9123,6 +9221,7 @@ var IntegrationIconWrapper = styled11.span`
|
|
|
9123
9221
|
background: ${tokens.colors.background.light};
|
|
9124
9222
|
opacity: ${({ $connected }) => $connected ? 1 : 0.4};
|
|
9125
9223
|
position: relative;
|
|
9224
|
+
flex-shrink: 0;
|
|
9126
9225
|
|
|
9127
9226
|
${({ $connected }) => !$connected && `
|
|
9128
9227
|
&::after {
|
|
@@ -9142,8 +9241,10 @@ var IntegrationIcon = styled11.img`
|
|
|
9142
9241
|
var Indicators = styled11.div`
|
|
9143
9242
|
display: flex;
|
|
9144
9243
|
align-items: center;
|
|
9145
|
-
|
|
9244
|
+
flex-wrap: wrap;
|
|
9245
|
+
gap: ${tokens.spacing.xs};
|
|
9146
9246
|
margin-left: auto;
|
|
9247
|
+
min-width: 0;
|
|
9147
9248
|
`;
|
|
9148
9249
|
var IndicatorPill = styled11.span`
|
|
9149
9250
|
display: inline-flex;
|