@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.cjs
CHANGED
|
@@ -57,6 +57,7 @@ var tokens = {
|
|
|
57
57
|
// Status colors (for workflow/SSE events)
|
|
58
58
|
status: {
|
|
59
59
|
pending: "#6B7280",
|
|
60
|
+
editing: "#3B82F6",
|
|
60
61
|
idle: "#6B7280",
|
|
61
62
|
running: "#459FB9",
|
|
62
63
|
// Sky Blue (brand aligned)
|
|
@@ -144,22 +145,22 @@ var tokens = {
|
|
|
144
145
|
monospace: "'Roboto Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace"
|
|
145
146
|
},
|
|
146
147
|
fontSize: {
|
|
147
|
-
xs: "0.
|
|
148
|
-
// 12px
|
|
149
|
-
sm: "
|
|
150
|
-
// 14px
|
|
151
|
-
base: "
|
|
152
|
-
// 16px
|
|
148
|
+
xs: "0.875rem",
|
|
149
|
+
// 14px (was 12px, increased for better readability)
|
|
150
|
+
sm: "1rem",
|
|
151
|
+
// 16px (was 14px, increased for better readability)
|
|
152
|
+
base: "1.125rem",
|
|
153
|
+
// 18px (was 16px, increased for better readability)
|
|
153
154
|
lg: "1.125rem",
|
|
154
|
-
// 18px
|
|
155
|
+
// 18px (heading size, unchanged)
|
|
155
156
|
xl: "1.25rem",
|
|
156
|
-
// 20px
|
|
157
|
+
// 20px (heading size, unchanged)
|
|
157
158
|
"2xl": "1.5rem",
|
|
158
|
-
// 24px
|
|
159
|
+
// 24px (heading size, unchanged)
|
|
159
160
|
"3xl": "1.875rem",
|
|
160
|
-
// 30px
|
|
161
|
+
// 30px (heading size, unchanged)
|
|
161
162
|
"4xl": "2.25rem"
|
|
162
|
-
// 36px
|
|
163
|
+
// 36px (heading size, unchanged)
|
|
163
164
|
},
|
|
164
165
|
fontWeight: {
|
|
165
166
|
light: 300,
|
|
@@ -1016,32 +1017,36 @@ var IconNames = {
|
|
|
1016
1017
|
MIC_OFF: "mic-off-fill",
|
|
1017
1018
|
HEADPHONE: "headphone-fill",
|
|
1018
1019
|
VOLUME_MUTE: "volume-mute-fill",
|
|
1019
|
-
|
|
1020
|
-
SETTINGS_FILL: "settings-fill",
|
|
1021
|
-
SETTINGS_LINE: "settings-line",
|
|
1020
|
+
SETTINGS_3_LINE: "settings-3-line",
|
|
1022
1021
|
HOME: "home-fill",
|
|
1023
1022
|
ADD_CIRCLE: "add-circle-fill",
|
|
1024
1023
|
COMPASS_DISCOVER: "compass-discover-fill",
|
|
1025
1024
|
DOWNLOAD: "download-2-fill",
|
|
1026
1025
|
ARROW_LEFT: "arrow-left-fill",
|
|
1027
1026
|
CALENDAR: "calendar-fill",
|
|
1028
|
-
CHAT: "chat-1-fill"
|
|
1027
|
+
CHAT: "chat-1-fill",
|
|
1028
|
+
FLOW_CHART: "flow-chart",
|
|
1029
|
+
LOGOUT_CIRCLE_R_FILL: "logout-circle-r-fill",
|
|
1030
|
+
LOGOUT_CIRCLE_R_LINE: "logout-circle-r-line",
|
|
1031
|
+
SIDE_BAR_FILL: "side-bar-fill"
|
|
1029
1032
|
};
|
|
1030
1033
|
var iconFiles = {
|
|
1031
1034
|
"mic-fill": "Icon-mic-fill.svg",
|
|
1032
1035
|
"mic-off-fill": "Icon-mic-off-fill.svg",
|
|
1033
1036
|
"headphone-fill": "Icon-headphone-fill.svg",
|
|
1034
1037
|
"volume-mute-fill": "Icon-volume-mute-fill.svg",
|
|
1035
|
-
"settings-3-
|
|
1036
|
-
"settings-fill": "Icon-settings-fill.svg",
|
|
1037
|
-
"settings-line": "Icon-settings-line.svg",
|
|
1038
|
+
"settings-3-line": "Icon-settings-3-line.svg",
|
|
1038
1039
|
"home-fill": "Icon-home-fill.svg",
|
|
1039
1040
|
"add-circle-fill": "Icon-add-circle-fill.svg",
|
|
1040
1041
|
"compass-discover-fill": "Icon-compass-discover-fill.svg",
|
|
1041
1042
|
"download-2-fill": "Icon-download-2-fill.svg",
|
|
1042
1043
|
"arrow-left-fill": "Icon-arrow-left-fill.svg",
|
|
1043
1044
|
"calendar-fill": "Icon-calendar-fill.svg",
|
|
1044
|
-
"chat-1-fill": "Icon-chat-1-fill.svg"
|
|
1045
|
+
"chat-1-fill": "Icon-chat-1-fill.svg",
|
|
1046
|
+
"flow-chart": "Icon-flow-chart.svg",
|
|
1047
|
+
"logout-circle-r-fill": "Icon-logout-circle-r-fill.svg",
|
|
1048
|
+
"logout-circle-r-line": "Icon-logout-circle-r-line.svg",
|
|
1049
|
+
"side-bar-fill": "Icon-side-bar-fill.svg"
|
|
1045
1050
|
};
|
|
1046
1051
|
function getIconPath(name) {
|
|
1047
1052
|
return `${ICON_BASE_PATH}/${iconFiles[name]}`;
|
|
@@ -1064,6 +1069,8 @@ var Container2 = styled11__default.default.nav`
|
|
|
1064
1069
|
right: 0;
|
|
1065
1070
|
background-color: ${tokens.colors.background.darker};
|
|
1066
1071
|
border-top: 1px solid ${tokens.colors.border.subtle};
|
|
1072
|
+
/* Add vertical padding to prevent content overlap */
|
|
1073
|
+
padding-top: 4px;
|
|
1067
1074
|
/* Use safe-area-inset-bottom for Android navigation buttons.
|
|
1068
1075
|
The env() value will be 0 on devices without soft nav buttons.
|
|
1069
1076
|
Fallback to 0 if env() is not supported. */
|
|
@@ -1093,7 +1100,7 @@ var UserStatusSlot = styled11__default.default.div`
|
|
|
1093
1100
|
display: flex;
|
|
1094
1101
|
align-items: center;
|
|
1095
1102
|
min-width: 0; /* Allow flex item to shrink */
|
|
1096
|
-
flex:
|
|
1103
|
+
flex: 1 1 auto; /* Allow slot to grow and take available space */
|
|
1097
1104
|
|
|
1098
1105
|
/* Handle overflow for long usernames */
|
|
1099
1106
|
> * {
|
|
@@ -1221,6 +1228,7 @@ var FolderGroupsSlot = styled11__default.default.div`
|
|
|
1221
1228
|
gap: ${tokens.spacing.sm};
|
|
1222
1229
|
padding: 0 ${tokens.spacing.md} ${tokens.spacing.md};
|
|
1223
1230
|
flex: 1;
|
|
1231
|
+
padding-bottom: 120px; /* Prevent overlap with bottom section (2 buttons @ 40px + 1 gap @ 8px + padding @ 32px) */
|
|
1224
1232
|
|
|
1225
1233
|
/* Server/workspace icons styling */
|
|
1226
1234
|
> * {
|
|
@@ -1237,18 +1245,68 @@ var FolderGroupsSlot = styled11__default.default.div`
|
|
|
1237
1245
|
|
|
1238
1246
|
/* Responsive adjustments */
|
|
1239
1247
|
@media (max-width: ${tokens.breakpoints.tablet}px) {
|
|
1240
|
-
padding: 0 6px ${tokens.spacing.md}; /* Reduce horizontal padding on mobile */
|
|
1248
|
+
padding: 0 6px ${tokens.spacing.md} 96px; /* Reduce horizontal padding on mobile */
|
|
1249
|
+
}
|
|
1250
|
+
`;
|
|
1251
|
+
var BottomSection = styled11__default.default.div`
|
|
1252
|
+
position: absolute;
|
|
1253
|
+
bottom: 0; /* At the bottom of the nav container */
|
|
1254
|
+
left: 0;
|
|
1255
|
+
right: 0;
|
|
1256
|
+
display: flex;
|
|
1257
|
+
flex-direction: column;
|
|
1258
|
+
align-items: center;
|
|
1259
|
+
gap: ${tokens.spacing.sm};
|
|
1260
|
+
padding: ${tokens.spacing.md} 0;
|
|
1261
|
+
background-color: ${tokens.colors.background.darker};
|
|
1262
|
+
|
|
1263
|
+
@media (prefers-color-scheme: dark) {
|
|
1264
|
+
background-color: ${tokens.colors.background.darkest};
|
|
1265
|
+
}
|
|
1266
|
+
`;
|
|
1267
|
+
var BottomButton = styled11__default.default.button`
|
|
1268
|
+
width: 40px;
|
|
1269
|
+
height: 40px;
|
|
1270
|
+
border-radius: 0;
|
|
1271
|
+
border: none;
|
|
1272
|
+
background-color: transparent;
|
|
1273
|
+
color: white;
|
|
1274
|
+
cursor: pointer;
|
|
1275
|
+
display: flex;
|
|
1276
|
+
align-items: center;
|
|
1277
|
+
justify-content: center;
|
|
1278
|
+
transition: all ${tokens.transitions.normal};
|
|
1279
|
+
|
|
1280
|
+
&:hover {
|
|
1281
|
+
opacity: 0.7;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
&:active {
|
|
1285
|
+
transform: scale(0.95);
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
&:focus {
|
|
1289
|
+
outline: none;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
&:focus-visible {
|
|
1293
|
+
outline: 2px solid ${tokens.colors.border.focus};
|
|
1294
|
+
outline-offset: 2px;
|
|
1241
1295
|
}
|
|
1242
1296
|
`;
|
|
1243
1297
|
function NavVertical({
|
|
1244
1298
|
onBackClick,
|
|
1245
1299
|
onHomeClick,
|
|
1300
|
+
onSettingsClick,
|
|
1301
|
+
onLogoutClick,
|
|
1246
1302
|
folderGroupsSlot,
|
|
1247
1303
|
className,
|
|
1248
1304
|
"aria-label": ariaLabel = "Vertical navigation sidebar"
|
|
1249
1305
|
}) {
|
|
1250
1306
|
const backButtonRef = react.useRef(null);
|
|
1251
1307
|
const homeButtonRef = react.useRef(null);
|
|
1308
|
+
const settingsButtonRef = react.useRef(null);
|
|
1309
|
+
const logoutButtonRef = react.useRef(null);
|
|
1252
1310
|
const { buttonProps: backButtonProps } = button.useButton(
|
|
1253
1311
|
{
|
|
1254
1312
|
onPress: onBackClick,
|
|
@@ -1263,10 +1321,28 @@ function NavVertical({
|
|
|
1263
1321
|
},
|
|
1264
1322
|
homeButtonRef
|
|
1265
1323
|
);
|
|
1324
|
+
const { buttonProps: settingsButtonProps } = button.useButton(
|
|
1325
|
+
{
|
|
1326
|
+
onPress: onSettingsClick,
|
|
1327
|
+
"aria-label": "Settings"
|
|
1328
|
+
},
|
|
1329
|
+
settingsButtonRef
|
|
1330
|
+
);
|
|
1331
|
+
const { buttonProps: logoutButtonProps } = button.useButton(
|
|
1332
|
+
{
|
|
1333
|
+
onPress: onLogoutClick,
|
|
1334
|
+
"aria-label": "Logout"
|
|
1335
|
+
},
|
|
1336
|
+
logoutButtonRef
|
|
1337
|
+
);
|
|
1266
1338
|
return /* @__PURE__ */ jsxRuntime.jsxs(Container3, { className, role: "navigation", "aria-label": ariaLabel, children: [
|
|
1267
|
-
/* @__PURE__ */ jsxRuntime.jsx(TopSection, { children: onBackClick ? /* @__PURE__ */ jsxRuntime.jsx(BackButton, { ...backButtonProps, ref: backButtonRef, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "
|
|
1339
|
+
/* @__PURE__ */ jsxRuntime.jsx(TopSection, { children: onBackClick ? /* @__PURE__ */ jsxRuntime.jsx(BackButton, { ...backButtonProps, ref: backButtonRef, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "side-bar-fill", size: 20, color: "white" }) }) : onHomeClick ? /* @__PURE__ */ jsxRuntime.jsx(BackButton, { ...homeButtonProps, ref: homeButtonRef, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "side-bar-fill", size: 24, color: "white" }) }) : null }),
|
|
1268
1340
|
/* @__PURE__ */ jsxRuntime.jsx(Separator, {}),
|
|
1269
|
-
/* @__PURE__ */ jsxRuntime.jsx(FolderGroupsSlot, { children: folderGroupsSlot })
|
|
1341
|
+
/* @__PURE__ */ jsxRuntime.jsx(FolderGroupsSlot, { children: folderGroupsSlot }),
|
|
1342
|
+
(onSettingsClick || onLogoutClick) && /* @__PURE__ */ jsxRuntime.jsxs(BottomSection, { children: [
|
|
1343
|
+
onSettingsClick && /* @__PURE__ */ jsxRuntime.jsx(BottomButton, { ...settingsButtonProps, ref: settingsButtonRef, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "settings-3-line", size: 24, color: "white" }) }),
|
|
1344
|
+
onLogoutClick && /* @__PURE__ */ jsxRuntime.jsx(BottomButton, { ...logoutButtonProps, ref: logoutButtonRef, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "logout-circle-r-line", size: 24, color: "white" }) })
|
|
1345
|
+
] })
|
|
1270
1346
|
] });
|
|
1271
1347
|
}
|
|
1272
1348
|
NavVertical.displayName = "NavVertical";
|
|
@@ -1366,10 +1442,22 @@ function Layout({
|
|
|
1366
1442
|
navHorizontalUserSlot,
|
|
1367
1443
|
navHorizontalActionsSlot,
|
|
1368
1444
|
onNavBackClick,
|
|
1445
|
+
onNavHomeClick,
|
|
1446
|
+
onNavSettingsClick,
|
|
1447
|
+
onNavLogoutClick,
|
|
1369
1448
|
className
|
|
1370
1449
|
}) {
|
|
1371
1450
|
return /* @__PURE__ */ jsxRuntime.jsxs(Container4, { className, children: [
|
|
1372
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1451
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1452
|
+
NavVertical,
|
|
1453
|
+
{
|
|
1454
|
+
folderGroupsSlot: navVerticalSlot,
|
|
1455
|
+
onBackClick: onNavBackClick,
|
|
1456
|
+
onHomeClick: onNavHomeClick,
|
|
1457
|
+
onSettingsClick: onNavSettingsClick,
|
|
1458
|
+
onLogoutClick: onNavLogoutClick
|
|
1459
|
+
}
|
|
1460
|
+
),
|
|
1373
1461
|
backgroundSlot && /* @__PURE__ */ jsxRuntime.jsx(BackgroundPane, { children: backgroundSlot }),
|
|
1374
1462
|
/* @__PURE__ */ jsxRuntime.jsx(MainPane, { children: mainPaneSlot }),
|
|
1375
1463
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1456,10 +1544,8 @@ function ActionButtonItem({ icon, label, onClick, isActive, size, isPrimary }) {
|
|
|
1456
1544
|
}
|
|
1457
1545
|
function ActionButtons({
|
|
1458
1546
|
onCalendarClick,
|
|
1459
|
-
onSettingsClick,
|
|
1460
1547
|
onChatClick,
|
|
1461
1548
|
isCalendarActive = false,
|
|
1462
|
-
isSettingsActive = false,
|
|
1463
1549
|
isChatActive = false,
|
|
1464
1550
|
className
|
|
1465
1551
|
}) {
|
|
@@ -1474,16 +1560,6 @@ function ActionButtons({
|
|
|
1474
1560
|
size: 32
|
|
1475
1561
|
}
|
|
1476
1562
|
),
|
|
1477
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1478
|
-
ActionButtonItem,
|
|
1479
|
-
{
|
|
1480
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "settings-3-fill", size: 16, color: tokens.colors.text.secondary }),
|
|
1481
|
-
label: "Settings",
|
|
1482
|
-
onClick: onSettingsClick,
|
|
1483
|
-
isActive: isSettingsActive,
|
|
1484
|
-
size: 32
|
|
1485
|
-
}
|
|
1486
|
-
),
|
|
1487
1563
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1488
1564
|
ActionButtonItem,
|
|
1489
1565
|
{
|
|
@@ -1507,30 +1583,31 @@ var Container6 = styled11__default.default.button`
|
|
|
1507
1583
|
display: grid;
|
|
1508
1584
|
grid-template-columns: auto 1fr;
|
|
1509
1585
|
align-items: center;
|
|
1510
|
-
gap: ${tokens.spacing.
|
|
1511
|
-
padding:
|
|
1586
|
+
gap: ${tokens.spacing.xs};
|
|
1587
|
+
padding: 6px;
|
|
1588
|
+
margin: ${tokens.spacing.sm};
|
|
1512
1589
|
border-radius: ${tokens.borderRadius.md};
|
|
1513
1590
|
border: none;
|
|
1514
1591
|
background: ${tokens.colors.surface.subtle};
|
|
1515
1592
|
color: inherit;
|
|
1516
1593
|
font-family: ${tokens.typography.fontFamily.primary};
|
|
1517
1594
|
transition: background-color ${tokens.transitions.fast}, opacity ${tokens.transitions.fast};
|
|
1518
|
-
cursor: ${(props) => props.$isDisabled ? "
|
|
1519
|
-
opacity: ${(props) => props.$isDisabled ? 0.
|
|
1595
|
+
cursor: ${(props) => props.$isDisabled ? "default" : "pointer"};
|
|
1596
|
+
opacity: ${(props) => props.$isDisabled ? 0.7 : 1};
|
|
1520
1597
|
text-align: left;
|
|
1521
|
-
width: 100
|
|
1598
|
+
width: calc(100% - ${tokens.spacing.lg});
|
|
1522
1599
|
|
|
1523
1600
|
&:hover:not(:disabled) {
|
|
1524
|
-
background-color: ${tokens.colors.surface.overlay};
|
|
1601
|
+
background-color: ${(props) => props.$isDisabled ? tokens.colors.surface.subtle : tokens.colors.surface.overlay};
|
|
1525
1602
|
}
|
|
1526
1603
|
|
|
1527
1604
|
&:focus-visible {
|
|
1528
|
-
outline: 2px solid ${tokens.colors.border.focus};
|
|
1605
|
+
outline: ${(props) => props.$isDisabled ? "none" : `2px solid ${tokens.colors.border.focus}`};
|
|
1529
1606
|
outline-offset: 2px;
|
|
1530
1607
|
}
|
|
1531
1608
|
|
|
1532
1609
|
&:active:not(:disabled) {
|
|
1533
|
-
background-color: ${tokens.colors.surface.overlayActive};
|
|
1610
|
+
background-color: ${(props) => props.$isDisabled ? tokens.colors.surface.subtle : tokens.colors.surface.overlayActive};
|
|
1534
1611
|
}
|
|
1535
1612
|
`;
|
|
1536
1613
|
var IconWrapper2 = styled11__default.default.div`
|
|
@@ -2124,7 +2201,7 @@ styled11__default.default.button`
|
|
|
2124
2201
|
|
|
2125
2202
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
2126
2203
|
padding: ${tokens.spacing.sm} ${tokens.spacing.md};
|
|
2127
|
-
font-size:
|
|
2204
|
+
font-size: ${tokens.typography.fontSize.sm};
|
|
2128
2205
|
gap: ${tokens.spacing.sm};
|
|
2129
2206
|
}
|
|
2130
2207
|
|
|
@@ -2385,7 +2462,7 @@ var ItemName = styled11__default.default.span`
|
|
|
2385
2462
|
min-width: 0;
|
|
2386
2463
|
|
|
2387
2464
|
@media (max-width: ${tokens.breakpoints.mobile}px) {
|
|
2388
|
-
font-size:
|
|
2465
|
+
font-size: ${tokens.typography.fontSize.sm};
|
|
2389
2466
|
}
|
|
2390
2467
|
|
|
2391
2468
|
${ItemContainer}:hover & {
|
|
@@ -2477,7 +2554,7 @@ styled11__default.default.div`
|
|
|
2477
2554
|
padding-top: 0;
|
|
2478
2555
|
background-color: ${tokens.colors.overlay};
|
|
2479
2556
|
color: ${tokens.colors.text.secondary};
|
|
2480
|
-
font-size:
|
|
2557
|
+
font-size: ${tokens.typography.fontSize.sm};
|
|
2481
2558
|
line-height: ${tokens.typography.lineHeight.relaxed};
|
|
2482
2559
|
animation: slideDown ${tokens.transitions.normal};
|
|
2483
2560
|
|
|
@@ -2564,7 +2641,7 @@ var ConnectionDescription = styled11__default.default.p`
|
|
|
2564
2641
|
var GoogleButton = styled11__default.default.button`
|
|
2565
2642
|
width: 100%;
|
|
2566
2643
|
padding: ${tokens.spacing.md} ${tokens.spacing.lg};
|
|
2567
|
-
font-size:
|
|
2644
|
+
font-size: ${tokens.typography.fontSize.sm};
|
|
2568
2645
|
font-weight: ${tokens.typography.fontWeight.semibold};
|
|
2569
2646
|
color: ${(props) => props.$isConnected ? tokens.colors.text.primary : tokens.colors.text.primary};
|
|
2570
2647
|
background: ${(props) => props.$isConnected ? tokens.colors.background.light : `linear-gradient(135deg, ${tokens.colors.platform.facebook}, ${tokens.colors.platform.whatsapp})`};
|
|
@@ -2700,8 +2777,8 @@ function WorkflowGroupItem({
|
|
|
2700
2777
|
return /* @__PURE__ */ jsxRuntime.jsxs(CategoryDisclosure, { id: groupId, children: [
|
|
2701
2778
|
/* @__PURE__ */ jsxRuntime.jsx(reactAriaComponents.Heading, { level: 4, children: /* @__PURE__ */ jsxRuntime.jsxs(CategoryHeader, { slot: "trigger", style: { paddingLeft: "8px" }, children: [
|
|
2702
2779
|
/* @__PURE__ */ jsxRuntime.jsxs(CategoryTitle, { children: [
|
|
2703
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize:
|
|
2704
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize:
|
|
2780
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: tokens.typography.fontSize.base, fontWeight: 500 }, children: group.workflowName }),
|
|
2781
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: tokens.typography.fontSize.sm, color: tokens.colors.text.tertiary, marginLeft: "8px" }, children: [
|
|
2705
2782
|
"(",
|
|
2706
2783
|
group.runs.length,
|
|
2707
2784
|
")"
|
|
@@ -3178,7 +3255,7 @@ function PaneSectionHeader({
|
|
|
3178
3255
|
brand = "Google",
|
|
3179
3256
|
onBackClick,
|
|
3180
3257
|
onSettingsClick,
|
|
3181
|
-
settingsIcon = "
|
|
3258
|
+
settingsIcon = "flow-chart",
|
|
3182
3259
|
className,
|
|
3183
3260
|
"aria-label": ariaLabel = "Pane section header"
|
|
3184
3261
|
}) {
|
|
@@ -3196,7 +3273,7 @@ function PaneSectionHeader({
|
|
|
3196
3273
|
const { buttonProps: settingsButtonProps } = button.useButton(
|
|
3197
3274
|
{
|
|
3198
3275
|
onPress: onSettingsClick,
|
|
3199
|
-
"aria-label": "
|
|
3276
|
+
"aria-label": "Workflow configuration"
|
|
3200
3277
|
},
|
|
3201
3278
|
settingsButtonRef
|
|
3202
3279
|
);
|
|
@@ -3367,7 +3444,7 @@ var NotificationItemWrapper = styled11__default.default.button`
|
|
|
3367
3444
|
cursor: pointer;
|
|
3368
3445
|
text-align: left;
|
|
3369
3446
|
transition: all ${tokens.transitions.normal};
|
|
3370
|
-
border-radius: ${(props) => props.$isSelected ? tokens.borderRadius.
|
|
3447
|
+
border-radius: ${(props) => props.$isSelected ? tokens.borderRadius.md : tokens.borderRadius.md};
|
|
3371
3448
|
|
|
3372
3449
|
/* Default state - transparent background */
|
|
3373
3450
|
background-color: ${(props) => props.$isSelected ? tokens.colors.secondary : "transparent"};
|
|
@@ -3647,7 +3724,7 @@ var StyledUserMessage = styled11__default.default.button`
|
|
|
3647
3724
|
font-family: ${tokens.typography.fontFamily.primary};
|
|
3648
3725
|
font-size: ${tokens.typography.fontSize.sm};
|
|
3649
3726
|
font-weight: ${tokens.typography.fontWeight.regular};
|
|
3650
|
-
line-height:
|
|
3727
|
+
line-height: ${tokens.typography.lineHeight.normal};
|
|
3651
3728
|
border: none;
|
|
3652
3729
|
cursor: default;
|
|
3653
3730
|
user-select: none;
|
|
@@ -3989,6 +4066,11 @@ var Card = styled11__default.default.div`
|
|
|
3989
4066
|
font-family: ${tokens.typography.fontFamily.primary};
|
|
3990
4067
|
transition: border-color ${tokens.transitions.fast};
|
|
3991
4068
|
|
|
4069
|
+
@media (max-width: 480px) {
|
|
4070
|
+
padding: ${tokens.spacing.sm};
|
|
4071
|
+
gap: ${tokens.spacing.xs};
|
|
4072
|
+
}
|
|
4073
|
+
|
|
3992
4074
|
&:hover {
|
|
3993
4075
|
border-color: ${tokens.colors.border.hover};
|
|
3994
4076
|
}
|
|
@@ -4001,6 +4083,10 @@ var ContentHeader = styled11__default.default.div`
|
|
|
4001
4083
|
display: flex;
|
|
4002
4084
|
align-items: flex-start;
|
|
4003
4085
|
gap: ${tokens.spacing.sm};
|
|
4086
|
+
|
|
4087
|
+
@media (max-width: 480px) {
|
|
4088
|
+
gap: ${tokens.spacing.xs};
|
|
4089
|
+
}
|
|
4004
4090
|
`;
|
|
4005
4091
|
var IconWrapper3 = styled11__default.default.div`
|
|
4006
4092
|
width: 40px;
|
|
@@ -4008,7 +4094,7 @@ var IconWrapper3 = styled11__default.default.div`
|
|
|
4008
4094
|
display: flex;
|
|
4009
4095
|
align-items: center;
|
|
4010
4096
|
justify-content: center;
|
|
4011
|
-
border-radius: ${tokens.borderRadius.
|
|
4097
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
4012
4098
|
background: ${tokens.colors.background.light};
|
|
4013
4099
|
flex-shrink: 0;
|
|
4014
4100
|
`;
|
|
@@ -8079,12 +8165,12 @@ var fadeIn2 = styled11.keyframes`
|
|
|
8079
8165
|
`;
|
|
8080
8166
|
var CardContainer = styled11__default.default.div`
|
|
8081
8167
|
background: ${tokens.colors.background.dark};
|
|
8082
|
-
border-radius: ${tokens.borderRadius.
|
|
8168
|
+
border-radius: ${tokens.borderRadius.xl};
|
|
8083
8169
|
padding: ${tokens.spacing.md};
|
|
8084
8170
|
position: relative;
|
|
8085
8171
|
transition: all ${tokens.transitions.normal};
|
|
8086
|
-
border:
|
|
8087
|
-
box-shadow: ${({ $isActive, $isEditing, $platformColor }) => $isEditing ? `${tokens.shadows.lg}, 0
|
|
8172
|
+
border: 1px solid ${({ $isActive, $isEditing, $platformColor }) => $isEditing ? $platformColor : $isActive ? $platformColor : tokens.colors.border.default};
|
|
8173
|
+
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};
|
|
8088
8174
|
|
|
8089
8175
|
&:hover {
|
|
8090
8176
|
border-color: ${({ $platformColor }) => `${$platformColor}80`};
|
|
@@ -8104,7 +8190,7 @@ var PlatformIcon = styled11__default.default.span`
|
|
|
8104
8190
|
justify-content: center;
|
|
8105
8191
|
width: 32px;
|
|
8106
8192
|
height: 32px;
|
|
8107
|
-
border-radius: ${tokens.borderRadius.
|
|
8193
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8108
8194
|
background: ${({ $platformColor }) => `${$platformColor}20`};
|
|
8109
8195
|
color: ${({ $platformColor }) => $platformColor};
|
|
8110
8196
|
font-size: ${tokens.typography.fontSize.base};
|
|
@@ -8153,7 +8239,7 @@ var PostContentEditable = styled11__default.default.textarea`
|
|
|
8153
8239
|
color: ${tokens.colors.text.primary};
|
|
8154
8240
|
background: ${tokens.colors.background.darker};
|
|
8155
8241
|
border: 1px solid ${tokens.colors.border.default};
|
|
8156
|
-
border-radius: ${tokens.borderRadius.
|
|
8242
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8157
8243
|
padding: ${tokens.spacing.md};
|
|
8158
8244
|
margin-bottom: ${tokens.spacing.sm};
|
|
8159
8245
|
letter-spacing: 0.01em;
|
|
@@ -8217,7 +8303,7 @@ var ProgressBarFill2 = styled11__default.default.div`
|
|
|
8217
8303
|
`;
|
|
8218
8304
|
var ImagePreviewContainer = styled11__default.default.div`
|
|
8219
8305
|
margin-bottom: ${tokens.spacing.sm};
|
|
8220
|
-
border-radius: ${tokens.borderRadius.
|
|
8306
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8221
8307
|
overflow: hidden;
|
|
8222
8308
|
border: 1px solid ${tokens.colors.border.default};
|
|
8223
8309
|
`;
|
|
@@ -8239,7 +8325,7 @@ var ImagePlaceholder = styled11__default.default.div`
|
|
|
8239
8325
|
#cc2366 75%,
|
|
8240
8326
|
#bc1888 100%
|
|
8241
8327
|
);
|
|
8242
|
-
border-radius: ${tokens.borderRadius.
|
|
8328
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8243
8329
|
display: flex;
|
|
8244
8330
|
flex-direction: column;
|
|
8245
8331
|
align-items: center;
|
|
@@ -8254,7 +8340,7 @@ var PlaceholderIcon = styled11__default.default.div`
|
|
|
8254
8340
|
width: 48px;
|
|
8255
8341
|
height: 48px;
|
|
8256
8342
|
border: 2px solid white;
|
|
8257
|
-
border-radius: ${tokens.borderRadius.
|
|
8343
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8258
8344
|
display: flex;
|
|
8259
8345
|
align-items: center;
|
|
8260
8346
|
justify-content: center;
|
|
@@ -8841,7 +8927,7 @@ var Card2 = styled11__default.default.div`
|
|
|
8841
8927
|
display: flex;
|
|
8842
8928
|
flex-direction: column;
|
|
8843
8929
|
gap: ${tokens.spacing.md};
|
|
8844
|
-
padding: ${tokens.spacing.
|
|
8930
|
+
padding: ${tokens.spacing.md};
|
|
8845
8931
|
background: ${tokens.colors.background.dark};
|
|
8846
8932
|
border-radius: ${tokens.borderRadius.xl};
|
|
8847
8933
|
border: 1px solid ${tokens.colors.border.default};
|
|
@@ -8933,7 +9019,7 @@ var TransactionItem = styled11__default.default.div`
|
|
|
8933
9019
|
gap: ${tokens.spacing.sm};
|
|
8934
9020
|
padding: ${tokens.spacing.sm};
|
|
8935
9021
|
background: ${tokens.colors.background.darker};
|
|
8936
|
-
border-radius: ${tokens.borderRadius.
|
|
9022
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
8937
9023
|
`;
|
|
8938
9024
|
var TransactionIcon = styled11__default.default.span`
|
|
8939
9025
|
width: 24px;
|
|
@@ -9099,12 +9185,22 @@ var WorkflowName2 = styled11__default.default.h3`
|
|
|
9099
9185
|
font-weight: ${tokens.typography.fontWeight.semibold};
|
|
9100
9186
|
color: ${tokens.colors.text.primary};
|
|
9101
9187
|
line-height: ${tokens.typography.lineHeight.tight};
|
|
9188
|
+
overflow: hidden;
|
|
9189
|
+
text-overflow: ellipsis;
|
|
9190
|
+
white-space: nowrap;
|
|
9191
|
+
min-width: 0;
|
|
9102
9192
|
`;
|
|
9103
9193
|
var Description2 = styled11__default.default.p`
|
|
9104
9194
|
margin: 0;
|
|
9105
9195
|
font-size: ${tokens.typography.fontSize.sm};
|
|
9106
9196
|
color: ${tokens.colors.text.tertiary};
|
|
9107
9197
|
line-height: ${tokens.typography.lineHeight.normal};
|
|
9198
|
+
overflow: hidden;
|
|
9199
|
+
display: -webkit-box;
|
|
9200
|
+
-webkit-line-clamp: 2;
|
|
9201
|
+
-webkit-box-orient: vertical;
|
|
9202
|
+
word-break: break-word;
|
|
9203
|
+
min-width: 0;
|
|
9108
9204
|
`;
|
|
9109
9205
|
var CardFooter = styled11__default.default.div`
|
|
9110
9206
|
display: flex;
|
|
@@ -9113,11 +9209,13 @@ var CardFooter = styled11__default.default.div`
|
|
|
9113
9209
|
gap: ${tokens.spacing.sm};
|
|
9114
9210
|
padding-top: ${tokens.spacing.sm};
|
|
9115
9211
|
border-top: 1px solid ${tokens.colors.border.subtle};
|
|
9212
|
+
width: 100%;
|
|
9116
9213
|
`;
|
|
9117
9214
|
var IntegrationList = styled11__default.default.div`
|
|
9118
9215
|
display: flex;
|
|
9119
9216
|
align-items: center;
|
|
9120
9217
|
gap: ${tokens.spacing.xs};
|
|
9218
|
+
flex-shrink: 0;
|
|
9121
9219
|
`;
|
|
9122
9220
|
var IntegrationIconWrapper = styled11__default.default.span`
|
|
9123
9221
|
display: flex;
|
|
@@ -9129,6 +9227,7 @@ var IntegrationIconWrapper = styled11__default.default.span`
|
|
|
9129
9227
|
background: ${tokens.colors.background.light};
|
|
9130
9228
|
opacity: ${({ $connected }) => $connected ? 1 : 0.4};
|
|
9131
9229
|
position: relative;
|
|
9230
|
+
flex-shrink: 0;
|
|
9132
9231
|
|
|
9133
9232
|
${({ $connected }) => !$connected && `
|
|
9134
9233
|
&::after {
|
|
@@ -9148,8 +9247,10 @@ var IntegrationIcon = styled11__default.default.img`
|
|
|
9148
9247
|
var Indicators = styled11__default.default.div`
|
|
9149
9248
|
display: flex;
|
|
9150
9249
|
align-items: center;
|
|
9151
|
-
|
|
9250
|
+
flex-wrap: wrap;
|
|
9251
|
+
gap: ${tokens.spacing.xs};
|
|
9152
9252
|
margin-left: auto;
|
|
9253
|
+
min-width: 0;
|
|
9153
9254
|
`;
|
|
9154
9255
|
var IndicatorPill = styled11__default.default.span`
|
|
9155
9256
|
display: inline-flex;
|