@agentiffai/design 0.1.7 → 0.1.8

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.
Files changed (47) hide show
  1. package/dist/{StreamStatusIndicator-DM5n4MI1.d.cts → Window-CF5y1_Og.d.cts} +111 -106
  2. package/dist/{StreamStatusIndicator-DM5n4MI1.d.ts → Window-CF5y1_Og.d.ts} +111 -106
  3. package/dist/copilotkit/index.cjs +2465 -2276
  4. package/dist/copilotkit/index.cjs.map +1 -1
  5. package/dist/copilotkit/index.d.cts +63 -46
  6. package/dist/copilotkit/index.d.ts +63 -46
  7. package/dist/copilotkit/index.js +2463 -2275
  8. package/dist/copilotkit/index.js.map +1 -1
  9. package/dist/icons/index.cjs +68 -167
  10. package/dist/icons/index.cjs.map +1 -1
  11. package/dist/icons/index.d.cts +25 -20
  12. package/dist/icons/index.d.ts +25 -20
  13. package/dist/icons/index.js +68 -167
  14. package/dist/icons/index.js.map +1 -1
  15. package/dist/index.cjs +5837 -3633
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +332 -4
  18. package/dist/index.d.ts +332 -4
  19. package/dist/index.js +5786 -3603
  20. package/dist/index.js.map +1 -1
  21. package/dist/layout/index.cjs +1000 -525
  22. package/dist/layout/index.cjs.map +1 -1
  23. package/dist/layout/index.d.cts +70 -8
  24. package/dist/layout/index.d.ts +70 -8
  25. package/dist/layout/index.js +997 -523
  26. package/dist/layout/index.js.map +1 -1
  27. package/dist/theme/index.cjs +345 -24
  28. package/dist/theme/index.cjs.map +1 -1
  29. package/dist/theme/index.d.cts +524 -65
  30. package/dist/theme/index.d.ts +524 -65
  31. package/dist/theme/index.js +345 -24
  32. package/dist/theme/index.js.map +1 -1
  33. package/dist/workflow/index.cjs +870 -575
  34. package/dist/workflow/index.cjs.map +1 -1
  35. package/dist/workflow/index.d.cts +93 -57
  36. package/dist/workflow/index.d.ts +93 -57
  37. package/dist/workflow/index.js +866 -572
  38. package/dist/workflow/index.js.map +1 -1
  39. package/package.json +1 -1
  40. package/public/assets/icon-set/Icon-contacts-fill.svg +3 -0
  41. package/public/assets/icon-set/Icon-mail-open-fill.svg +3 -0
  42. package/public/assets/icon-set/Icon-p2p-fill.svg +3 -0
  43. package/public/assets/icon-set/Icon-robot-2-fill.svg +3 -0
  44. package/public/assets/icon-set/Icon-send-plane-fill.svg +3 -0
  45. package/public/assets/icon-set/Notion.svg +41 -0
  46. package/public/assets/icon-set/Postiz.svg +1 -0
  47. package/public/assets/avatar-transparent-bg.png +0 -0
@@ -1,15 +1,402 @@
1
- import styled8, { css } from 'styled-components';
1
+ import { useState, useCallback, useRef } from 'react';
2
+ import styled9, { keyframes, css } from 'styled-components';
2
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
4
  import { useButton } from '@react-aria/button';
4
- import { useRef, useState } from 'react';
5
5
  import { useMeter } from '@react-aria/meter';
6
6
  import { useTabList, useTabPanel, useTab } from '@react-aria/tabs';
7
7
  import { Item } from '@react-stately/collections';
8
8
  import { useTabListState } from '@react-stately/tabs';
9
9
  import { DisclosureGroup, Disclosure, Button, DisclosurePanel, Heading } from 'react-aria-components';
10
10
 
11
- // src/components/layout/Icon/Icon.styles.ts
12
- var IconWrapper = styled8.span`
11
+ // src/components/layout/CategoryNav/CategoryNav.tsx
12
+
13
+ // src/theme/tokens.ts
14
+ var tokens = {
15
+ colors: {
16
+ // Brand colors
17
+ primary: "#2CB0AB",
18
+ // Teal (main brand color)
19
+ secondary: "#264E68",
20
+ // Deep Blue
21
+ accent: "#459FB9",
22
+ // Sea Green (additional brand color)
23
+ // Backgrounds - dark theme optimized
24
+ background: {
25
+ darkest: "#0a1b2a",
26
+ // Darkest Blue (brand color)
27
+ darker: "#151a26",
28
+ // Discord gray (preserved)
29
+ dark: "#1b2230",
30
+ // Discord surface gray (preserved)
31
+ light: "#252d3d"
32
+ // Discord border gray (preserved)
33
+ },
34
+ // Text hierarchy
35
+ text: {
36
+ primary: "#FFFFFF",
37
+ secondary: "#B4B8C5",
38
+ tertiary: "#6B7280"},
39
+ // Teal (brand aligned)
40
+ error: "#EF4444",
41
+ // Sky Blue (brand aligned)
42
+ // Status colors (for workflow/SSE events)
43
+ status: {
44
+ idle: "#6B7280",
45
+ // Badge status (online/offline pattern)
46
+ online: "#2CB0AB",
47
+ offline: "#EF4444",
48
+ busy: "#459FB9"
49
+ },
50
+ // Surface variants (for overlays, cards, panels)
51
+ surface: {
52
+ base: "#1b2230",
53
+ overlay: "rgba(255, 255, 255, 0.05)",
54
+ overlayHover: "rgba(255, 255, 255, 0.1)",
55
+ overlayActive: "rgba(255, 255, 255, 0.15)",
56
+ subtle: "rgba(255, 255, 255, 0.02)",
57
+ glass: "rgba(255, 255, 255, 0.26)"},
58
+ // UI Element colors
59
+ border: {
60
+ default: "rgba(255, 255, 255, 0.1)",
61
+ subtle: "rgba(255, 255, 255, 0.05)",
62
+ focus: "#2CB0AB"},
63
+ // Scrollbar colors
64
+ scrollbar: {
65
+ track: "transparent",
66
+ thumb: "rgba(255, 255, 255, 0.2)",
67
+ thumbHover: "rgba(255, 255, 255, 0.3)"
68
+ },
69
+ // Overlays and backdrops
70
+ overlay: "rgba(0, 0, 0, 0.5)",
71
+ backdrop: "rgba(27, 34, 48, 0.95)",
72
+ // Platform brand colors (for social media icons)
73
+ platform: {
74
+ facebook: "#1877F2",
75
+ whatsapp: "#25D366"}
76
+ },
77
+ typography: {
78
+ fontFamily: {
79
+ primary: "'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif"},
80
+ fontSize: {
81
+ xs: "0.75rem",
82
+ // 12px
83
+ sm: "0.875rem",
84
+ // 14px
85
+ base: "1rem",
86
+ // 18px
87
+ xl: "1.25rem"},
88
+ fontWeight: {
89
+ regular: 400,
90
+ medium: 500,
91
+ semibold: 600,
92
+ bold: 700
93
+ },
94
+ lineHeight: {
95
+ tight: 1.25,
96
+ relaxed: 1.75
97
+ }
98
+ },
99
+ spacing: {
100
+ xs: "0.25rem",
101
+ // 4px
102
+ sm: "0.5rem",
103
+ // 8px
104
+ md: "1rem",
105
+ // 16px
106
+ lg: "1.5rem"},
107
+ borderRadius: {
108
+ sm: "0.25rem",
109
+ // 4px
110
+ md: "0.5rem",
111
+ // 8px
112
+ lg: "0.75rem",
113
+ // 12px
114
+ xl: "1rem",
115
+ // 24px
116
+ full: "9999px"
117
+ // Fully rounded
118
+ },
119
+ shadows: {
120
+ lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"},
121
+ transitions: {
122
+ fast: "150ms ease-in-out",
123
+ normal: "250ms ease-in-out",
124
+ slow: "350ms ease-in-out"
125
+ },
126
+ zIndex: {
127
+ base: 0,
128
+ sticky: 1020},
129
+ breakpoints: {
130
+ mobile: 640,
131
+ tablet: 1024,
132
+ desktop: 1280
133
+ }
134
+ };
135
+
136
+ // src/components/layout/CategoryNav/CategoryNav.styles.ts
137
+ var NavigationContainer = styled9.div`
138
+ display: flex;
139
+ flex-direction: column;
140
+ align-items: center;
141
+ padding-top: 6px;
142
+ gap: ${tokens.spacing.xs};
143
+ width: 100%;
144
+ height: 100%;
145
+ overflow-y: auto;
146
+ overflow-x: hidden;
147
+
148
+ &:hover {
149
+ background: transparent !important;
150
+ border-radius: 0 !important;
151
+ box-shadow: none !important;
152
+ }
153
+ `;
154
+ var CategoryGroup = styled9.div`
155
+ display: flex;
156
+ flex-direction: column;
157
+ align-items: center;
158
+ width: 100%;
159
+ padding-bottom: ${tokens.spacing.md};
160
+
161
+ &:hover {
162
+ background: transparent !important;
163
+ border-radius: 0 !important;
164
+ }
165
+ `;
166
+ var CategoryButton = styled9.button`
167
+ width: 48px;
168
+ height: 48px;
169
+ border: none;
170
+ padding: 0;
171
+ border-radius: ${({ $active }) => $active ? tokens.borderRadius.xl : tokens.borderRadius.full};
172
+ background-color: ${({ $active }) => $active ? tokens.colors.primary : tokens.colors.background.light};
173
+ color: ${tokens.colors.text.primary};
174
+ display: flex;
175
+ align-items: center;
176
+ justify-content: center;
177
+ cursor: pointer;
178
+ transition: all ${tokens.transitions.fast};
179
+ position: relative;
180
+
181
+ &:hover {
182
+ border-radius: ${tokens.borderRadius.xl};
183
+ background-color: ${({ $active }) => $active ? tokens.colors.primary : tokens.colors.surface.overlayHover};
184
+ }
185
+
186
+ &:focus-visible {
187
+ outline: 2px solid ${tokens.colors.border.focus};
188
+ outline-offset: 2px;
189
+ }
190
+ `;
191
+ var CategoryLabel = styled9.span`
192
+ font-size: 9px;
193
+ color: ${tokens.colors.text.tertiary};
194
+ margin-top: 2px;
195
+ text-align: center;
196
+ max-width: 56px;
197
+ overflow: hidden;
198
+ text-overflow: ellipsis;
199
+ white-space: nowrap;
200
+ `;
201
+ var SubItemList = styled9.div`
202
+ display: ${({ $expanded }) => $expanded ? "flex" : "none"};
203
+ flex-direction: column;
204
+ align-items: center;
205
+ gap: ${tokens.spacing.xs};
206
+ margin-top: ${tokens.spacing.xs};
207
+ width: 100%;
208
+ `;
209
+ var SubItemButton = styled9.button`
210
+ width: 32px;
211
+ height: 32px;
212
+ border: none;
213
+ padding: 0;
214
+ border-radius: ${({ $active }) => $active ? tokens.borderRadius.md : tokens.borderRadius.full};
215
+ background-color: ${({ $active }) => $active ? tokens.colors.surface.overlayActive : tokens.colors.surface.overlay};
216
+ color: ${tokens.colors.text.primary};
217
+ display: flex;
218
+ align-items: center;
219
+ justify-content: center;
220
+ cursor: pointer;
221
+ transition: all ${tokens.transitions.fast};
222
+
223
+ &:hover {
224
+ border-radius: ${tokens.borderRadius.md};
225
+ background-color: ${({ $active }) => $active ? tokens.colors.surface.overlayActive : tokens.colors.surface.overlayHover};
226
+ }
227
+
228
+ &:focus-visible {
229
+ outline: 2px solid ${tokens.colors.border.focus};
230
+ outline-offset: 2px;
231
+ }
232
+ `;
233
+ var CountBadge = styled9.span`
234
+ position: absolute;
235
+ top: -2px;
236
+ right: -2px;
237
+ background: ${tokens.colors.accent};
238
+ color: ${tokens.colors.text.primary};
239
+ font-size: 10px;
240
+ font-weight: ${tokens.typography.fontWeight.semibold};
241
+ min-width: 16px;
242
+ height: 16px;
243
+ border-radius: ${tokens.borderRadius.md};
244
+ display: flex;
245
+ align-items: center;
246
+ justify-content: center;
247
+ padding: 0 ${tokens.spacing.xs};
248
+ `;
249
+ var filterBadgeIn = keyframes`
250
+ from {
251
+ opacity: 0;
252
+ transform: scale(0.5);
253
+ }
254
+ to {
255
+ opacity: 1;
256
+ transform: scale(1);
257
+ }
258
+ `;
259
+ var FilterBadge = styled9.div`
260
+ position: absolute;
261
+ bottom: -${tokens.spacing.xs};
262
+ right: -${tokens.spacing.xs};
263
+ width: 18px;
264
+ height: 18px;
265
+ background: ${tokens.colors.background.darker};
266
+ border-radius: ${tokens.borderRadius.full};
267
+ display: flex;
268
+ align-items: center;
269
+ justify-content: center;
270
+ animation: ${filterBadgeIn} ${tokens.transitions.normal};
271
+
272
+ svg {
273
+ width: 10px;
274
+ height: 10px;
275
+ fill: ${tokens.colors.text.primary};
276
+ }
277
+ `;
278
+ var CategoryIconImg = styled9.img`
279
+ width: ${({ $size }) => $size || 24}px;
280
+ height: ${({ $size }) => $size || 24}px;
281
+ object-fit: contain;
282
+ filter: ${({ $active }) => $active ? "brightness(0) invert(1)" : "none"};
283
+ `;
284
+ var SubItemIconImg = styled9.img`
285
+ width: ${({ $size }) => $size}px;
286
+ height: ${({ $size }) => $size}px;
287
+ object-fit: contain;
288
+ filter: ${({ $active }) => $active ? "brightness(0) invert(1)" : "none"};
289
+ `;
290
+ var FilterIcon = () => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-label": "Filter active", children: [
291
+ /* @__PURE__ */ jsx("title", { children: "Filter active" }),
292
+ /* @__PURE__ */ jsx("path", { d: "M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z" })
293
+ ] });
294
+ function CategoryNav({
295
+ categories,
296
+ selectedCategory,
297
+ selectedSubItem,
298
+ onCategorySelect,
299
+ onSubItemSelect,
300
+ categoryCounts,
301
+ enabledCategories,
302
+ testIdPrefix = "category"
303
+ }) {
304
+ const [expandedCategory, setExpandedCategory] = useState(selectedCategory);
305
+ const hasSubItemFilterForCategory = useCallback(
306
+ (categoryId) => {
307
+ if (!selectedSubItem) return false;
308
+ const category = categories.find((c) => c.id === categoryId);
309
+ return category?.subItems?.some((s) => s.id === selectedSubItem) ?? false;
310
+ },
311
+ [selectedSubItem, categories]
312
+ );
313
+ const handleCategoryClick = useCallback(
314
+ (categoryId) => {
315
+ if (selectedCategory === categoryId && hasSubItemFilterForCategory(categoryId)) {
316
+ onSubItemSelect(null);
317
+ return;
318
+ }
319
+ if (selectedCategory === categoryId) {
320
+ setExpandedCategory((prev) => prev === categoryId ? null : categoryId);
321
+ } else {
322
+ onCategorySelect(categoryId);
323
+ onSubItemSelect(null);
324
+ setExpandedCategory(categoryId);
325
+ }
326
+ },
327
+ [selectedCategory, onCategorySelect, onSubItemSelect, hasSubItemFilterForCategory]
328
+ );
329
+ const handleSubItemClick = useCallback(
330
+ (subItemId) => {
331
+ if (selectedSubItem === subItemId) {
332
+ onSubItemSelect(null);
333
+ } else {
334
+ onSubItemSelect(subItemId);
335
+ }
336
+ },
337
+ [selectedSubItem, onSubItemSelect]
338
+ );
339
+ const visibleCategories = enabledCategories && enabledCategories.size > 0 ? categories.filter((cat) => enabledCategories.has(cat.id)) : categories;
340
+ const renderSubItemIcon = (subItem, isActive) => {
341
+ if (typeof subItem.icon === "string") {
342
+ return /* @__PURE__ */ jsx(SubItemIconImg, { src: subItem.icon, alt: subItem.name, $size: 16, $active: isActive });
343
+ }
344
+ return subItem.icon;
345
+ };
346
+ return /* @__PURE__ */ jsx(NavigationContainer, { "data-testid": `${testIdPrefix}-navigation`, children: visibleCategories.map((category) => {
347
+ const isSelected = selectedCategory === category.id;
348
+ const isExpanded = expandedCategory === category.id;
349
+ const count = categoryCounts?.[category.id];
350
+ const hasSubItemFilter = hasSubItemFilterForCategory(category.id);
351
+ return /* @__PURE__ */ jsxs(CategoryGroup, { children: [
352
+ /* @__PURE__ */ jsxs(
353
+ CategoryButton,
354
+ {
355
+ $active: isSelected,
356
+ $expanded: isExpanded,
357
+ onClick: () => handleCategoryClick(category.id),
358
+ "aria-label": hasSubItemFilter ? `${category.label} (filtered - click to clear)` : category.label,
359
+ "aria-expanded": isExpanded,
360
+ "aria-pressed": isSelected,
361
+ title: hasSubItemFilter ? `${category.label} - Click to clear filter` : category.label,
362
+ "data-testid": `${testIdPrefix}-${category.id}`,
363
+ "data-active": isSelected,
364
+ children: [
365
+ /* @__PURE__ */ jsx(
366
+ CategoryIconImg,
367
+ {
368
+ src: category.iconPath,
369
+ alt: category.label,
370
+ $size: 24,
371
+ $active: isSelected
372
+ }
373
+ ),
374
+ count !== void 0 && count > 0 && /* @__PURE__ */ jsx(CountBadge, { children: count }),
375
+ hasSubItemFilter && /* @__PURE__ */ jsx(FilterBadge, { children: /* @__PURE__ */ jsx(FilterIcon, {}) })
376
+ ]
377
+ }
378
+ ),
379
+ /* @__PURE__ */ jsx(CategoryLabel, { children: category.label }),
380
+ category.subItems && category.subItems.length > 0 && /* @__PURE__ */ jsx(SubItemList, { $expanded: isExpanded, children: category.subItems.map((subItem) => {
381
+ const isSubItemActive = selectedSubItem === subItem.id;
382
+ return /* @__PURE__ */ jsx(
383
+ SubItemButton,
384
+ {
385
+ $active: isSubItemActive,
386
+ onClick: () => handleSubItemClick(subItem.id),
387
+ "aria-label": subItem.name,
388
+ title: subItem.name,
389
+ "data-testid": `${testIdPrefix}-subitem-${subItem.id}`,
390
+ children: renderSubItemIcon(subItem, isSubItemActive)
391
+ },
392
+ subItem.id
393
+ );
394
+ }) })
395
+ ] }, category.id);
396
+ }) });
397
+ }
398
+ CategoryNav.displayName = "CategoryNav";
399
+ var IconWrapper = styled9.span`
13
400
  display: inline-flex;
14
401
  align-items: center;
15
402
  justify-content: center;
@@ -23,13 +410,13 @@ var IconWrapper = styled8.span`
23
410
  height: 100%;
24
411
  filter: ${({ $color }) => {
25
412
  if ($color === "currentColor" || !$color) return "inherit";
26
- if ($color === "white" || $color === "#ffffff" || $color === "#fff") {
413
+ if ($color === "white" || $color === tokens.colors.text.primary || $color === "#fff") {
27
414
  return "brightness(0) saturate(100%) invert(100%)";
28
415
  }
29
- if ($color === "#b9bbbe") {
416
+ if ($color === tokens.colors.text.secondary || $color === "#b9bbbe") {
30
417
  return "brightness(0) saturate(100%) invert(75%) sepia(8%) saturate(223%) hue-rotate(180deg) brightness(94%) contrast(86%)";
31
418
  }
32
- if ($color === "#ed4245" || $color === "#f04747") {
419
+ if ($color === tokens.colors.error || $color === "#ed4245" || $color === "#f04747") {
33
420
  return "brightness(0) saturate(100%) invert(38%) sepia(97%) saturate(1459%) hue-rotate(334deg) brightness(95%) contrast(93%)";
34
421
  }
35
422
  return "none";
@@ -85,39 +472,37 @@ function Icon({
85
472
  return /* @__PURE__ */ jsx(IconWrapper, { $size: size, $color: color, className, "aria-hidden": "true", children: /* @__PURE__ */ jsx("img", { src: iconPath, alt: "", width: size, height: size, ...imgProps }) });
86
473
  }
87
474
  Icon.displayName = "Icon";
88
- var NAV_BG = "#232428";
89
- var NAV_BORDER = "#1E1F22";
90
- var Container = styled8.nav`
475
+ var Container = styled9.nav`
91
476
  position: absolute;
92
477
  bottom: 0;
93
478
  left: 0;
94
479
  right: 0;
95
- background-color: ${NAV_BG};
96
- border-top: 1px solid ${NAV_BORDER};
480
+ background-color: ${tokens.colors.background.darker};
481
+ border-top: 1px solid ${tokens.colors.border.subtle};
97
482
  /* Reserve space for Android nav buttons (80px) below the actual navbar */
98
483
  padding-bottom: max(80px, env(safe-area-inset-bottom, 80px));
99
- z-index: 10;
484
+ z-index: ${tokens.zIndex.sticky};
100
485
 
101
486
  /* Dark theme support */
102
487
  @media (prefers-color-scheme: dark) {
103
- background-color: #1a1b1e;
488
+ background-color: ${tokens.colors.background.darkest};
104
489
  }
105
490
  `;
106
- var ContentWrapper = styled8.div`
491
+ var ContentWrapper = styled9.div`
107
492
  display: flex;
108
493
  justify-content: space-between;
109
494
  align-items: center;
110
495
  /* Fixed height for actual navbar content - keeps vertical centering */
111
496
  height: 52px;
112
- padding: 0 8px;
497
+ padding: 0 ${tokens.spacing.sm};
113
498
  max-width: 100%;
114
499
 
115
500
  /* Responsive padding */
116
- @media (min-width: 768px) {
117
- padding: 0 16px;
501
+ @media (min-width: ${tokens.breakpoints.tablet}px) {
502
+ padding: 0 ${tokens.spacing.md};
118
503
  }
119
504
  `;
120
- var UserStatusSlot = styled8.div`
505
+ var UserStatusSlot = styled9.div`
121
506
  display: flex;
122
507
  align-items: center;
123
508
  min-width: 0; /* Allow flex item to shrink */
@@ -130,15 +515,15 @@ var UserStatusSlot = styled8.div`
130
515
  white-space: nowrap;
131
516
  }
132
517
  `;
133
- var ActionButtonsSlot = styled8.div`
518
+ var ActionButtonsSlot = styled9.div`
134
519
  display: flex;
135
520
  align-items: center;
136
- gap: 4px;
521
+ gap: ${tokens.spacing.xs};
137
522
  flex-shrink: 0;
138
523
 
139
524
  /* Ensure buttons stay visible */
140
525
  @media (min-width: 480px) {
141
- gap: 8px;
526
+ gap: ${tokens.spacing.sm};
142
527
  }
143
528
  `;
144
529
  function NavHorizontal({
@@ -153,18 +538,16 @@ function NavHorizontal({
153
538
  ] }) });
154
539
  }
155
540
  NavHorizontal.displayName = "NavHorizontal";
156
- var NAV_BG2 = "#202225";
157
- var NAV_SEPARATOR = "#36393F";
158
- var Container2 = styled8.nav`
541
+ var Container2 = styled9.nav`
159
542
  position: absolute;
160
543
  top: 0;
161
544
  left: 0;
162
545
  bottom: 52px; /* Account for horizontal nav height */
163
546
  width: 72px;
164
- background-color: ${NAV_BG2};
547
+ background-color: ${tokens.colors.background.darker};
165
548
  display: flex;
166
549
  flex-direction: column;
167
- z-index: 9; /* Below horizontal nav and chat sidebar */
550
+ z-index: ${tokens.zIndex.base + 9}; /* Below horizontal nav and chat sidebar */
168
551
  overflow-y: auto;
169
552
  overflow-x: hidden;
170
553
  scrollbar-width: none; /* Firefox */
@@ -176,15 +559,15 @@ var Container2 = styled8.nav`
176
559
 
177
560
  /* Dark theme support */
178
561
  @media (prefers-color-scheme: dark) {
179
- background-color: #1a1b1e;
562
+ background-color: ${tokens.colors.background.darkest};
180
563
  }
181
564
 
182
565
  /* Responsive adjustments */
183
- @media (max-width: 768px) {
566
+ @media (max-width: ${tokens.breakpoints.tablet}px) {
184
567
  width: 60px; /* Match MainPane left offset on mobile */
185
568
  }
186
569
  `;
187
- var TopSection = styled8.div`
570
+ var TopSection = styled9.div`
188
571
  display: flex;
189
572
  flex-direction: column;
190
573
  align-items: center;
@@ -193,29 +576,29 @@ var TopSection = styled8.div`
193
576
  flex-shrink: 0;
194
577
  position: relative;
195
578
 
196
- @media (min-width: 768px) {
579
+ @media (min-width: ${tokens.breakpoints.tablet}px) {
197
580
  height: 64px; /* Same as PaneSectionHeader on desktop */
198
581
  }
199
582
  `;
200
- var BackButton = styled8.button`
583
+ var BackButton = styled9.button`
201
584
  position: absolute;
202
585
  top: 50%;
203
586
  left: 50%;
204
587
  transform: translate(-50%, -50%);
205
588
  width: 40px;
206
589
  height: 40px;
207
- border-radius: 50%;
590
+ border-radius: ${tokens.borderRadius.full};
208
591
  border: none;
209
- background-color: ${NAV_SEPARATOR};
210
- color: #ffffff;
592
+ background-color: ${tokens.colors.background.light};
593
+ color: ${tokens.colors.text.primary};
211
594
  cursor: pointer;
212
595
  display: flex;
213
596
  align-items: center;
214
597
  justify-content: center;
215
- transition: all 0.2s ease-in-out;
598
+ transition: all ${tokens.transitions.normal};
216
599
 
217
600
  &:hover {
218
- background-color: #5865F2;
601
+ background-color: ${tokens.colors.primary};
219
602
  }
220
603
 
221
604
  &:active {
@@ -227,47 +610,47 @@ var BackButton = styled8.button`
227
610
  }
228
611
 
229
612
  &:focus-visible {
230
- outline: 2px solid #5865F2;
613
+ outline: 2px solid ${tokens.colors.border.focus};
231
614
  outline-offset: 2px;
232
615
  }
233
616
  `;
234
- styled8.span`
235
- font-size: 20px;
236
- line-height: 1;
237
- font-weight: bold;
617
+ styled9.span`
618
+ font-size: ${tokens.typography.fontSize.xl};
619
+ line-height: ${tokens.typography.lineHeight.tight};
620
+ font-weight: ${tokens.typography.fontWeight.bold};
238
621
  `;
239
- var Separator = styled8.div`
622
+ var Separator = styled9.div`
240
623
  width: 32px;
241
624
  height: 2px;
242
- background-color: ${NAV_SEPARATOR};
625
+ background-color: ${tokens.colors.background.light};
243
626
  align-self: center;
244
- margin: 8px auto 12px;
627
+ margin: ${tokens.spacing.sm} auto ${tokens.spacing.md};
245
628
  border-radius: 1px;
246
629
  `;
247
- var FolderGroupsSlot = styled8.div`
630
+ var FolderGroupsSlot = styled9.div`
248
631
  display: flex;
249
632
  flex-direction: column;
250
633
  align-items: center;
251
- gap: 8px;
252
- padding: 0 12px 12px;
634
+ gap: ${tokens.spacing.sm};
635
+ padding: 0 ${tokens.spacing.md} ${tokens.spacing.md};
253
636
  flex: 1;
254
637
 
255
638
  /* Server/workspace icons styling */
256
639
  > * {
257
640
  width: 48px;
258
641
  height: 48px;
259
- border-radius: 50%;
260
- transition: border-radius 0.15s ease-out;
642
+ border-radius: ${tokens.borderRadius.full};
643
+ transition: border-radius ${tokens.transitions.fast};
261
644
  cursor: pointer;
262
645
 
263
646
  &:hover {
264
- border-radius: 16px;
647
+ border-radius: ${tokens.borderRadius.xl};
265
648
  }
266
649
  }
267
650
 
268
651
  /* Responsive adjustments */
269
- @media (max-width: 768px) {
270
- padding: 0 6px 12px; /* Reduce horizontal padding on mobile */
652
+ @media (max-width: ${tokens.breakpoints.tablet}px) {
653
+ padding: 0 6px ${tokens.spacing.md}; /* Reduce horizontal padding on mobile */
271
654
  }
272
655
  `;
273
656
  function NavVertical({
@@ -300,27 +683,28 @@ function NavVertical({
300
683
  ] });
301
684
  }
302
685
  NavVertical.displayName = "NavVertical";
303
- var Container3 = styled8.div`
686
+ var Container3 = styled9.div`
304
687
  position: relative;
305
688
  width: 100%;
306
689
  height: 100vh;
307
- background-color: rgba(255, 255, 255, 0.03);
690
+ background-color: ${tokens.colors.surface.subtle};
308
691
  overflow: hidden;
309
692
 
310
693
  /* Ensure content is clipped on mobile */
311
- @media (max-width: 768px) {
694
+ @media (max-width: ${tokens.breakpoints.tablet}px) {
312
695
  overflow: hidden;
313
696
  position: relative;
314
697
  }
315
698
  `;
316
- var MainPane = styled8.main`
699
+ var BackgroundPane = styled9.div`
317
700
  position: absolute;
318
701
  top: 0;
319
702
  left: 72px; /* Width of vertical nav */
320
703
  right: 0;
321
704
  bottom: 52px; /* Height of horizontal nav */
322
- background-color: rgba(255, 255, 255, 0.05);
705
+ background-color: transparent;
323
706
  overflow: auto;
707
+ z-index: ${tokens.zIndex.base}; /* Lower than MainPane */
324
708
 
325
709
  /* Custom scrollbar styling */
326
710
  &::-webkit-scrollbar {
@@ -329,29 +713,68 @@ var MainPane = styled8.main`
329
713
  }
330
714
 
331
715
  &::-webkit-scrollbar-track {
332
- background: transparent;
716
+ background: ${tokens.colors.scrollbar.track};
333
717
  }
334
718
 
335
719
  &::-webkit-scrollbar-thumb {
336
- background-color: #202225;
337
- border-radius: 4px;
720
+ background-color: ${tokens.colors.scrollbar.thumb};
721
+ border-radius: ${tokens.borderRadius.sm};
338
722
  }
339
723
 
340
724
  &::-webkit-scrollbar-thumb:hover {
341
- background-color: #18191c;
725
+ background-color: ${tokens.colors.scrollbar.thumbHover};
342
726
  }
343
727
 
344
728
  /* Firefox scrollbar */
345
729
  scrollbar-width: thin;
346
- scrollbar-color: #202225 transparent;
730
+ scrollbar-color: ${tokens.colors.scrollbar.thumb} transparent;
347
731
 
348
732
  /* Responsive adjustments */
349
- @media (max-width: 768px) {
733
+ @media (max-width: ${tokens.breakpoints.tablet}px) {
734
+ left: 60px; /* Smaller nav on mobile */
735
+ }
736
+ `;
737
+ var MainPane = styled9.main`
738
+ position: absolute;
739
+ top: 0;
740
+ left: 72px; /* Width of vertical nav */
741
+ right: 0;
742
+ bottom: 52px; /* Height of horizontal nav */
743
+ background-color: ${tokens.colors.surface.overlay};
744
+ overflow: auto;
745
+ z-index: ${tokens.zIndex.base + 1}; /* Higher than BackgroundPane */
746
+
747
+ /* Custom scrollbar styling */
748
+ &::-webkit-scrollbar {
749
+ width: 8px;
750
+ height: 8px;
751
+ }
752
+
753
+ &::-webkit-scrollbar-track {
754
+ background: ${tokens.colors.scrollbar.track};
755
+ }
756
+
757
+ &::-webkit-scrollbar-thumb {
758
+ background-color: ${tokens.colors.scrollbar.thumb};
759
+ border-radius: ${tokens.borderRadius.sm};
760
+ }
761
+
762
+ &::-webkit-scrollbar-thumb:hover {
763
+ background-color: ${tokens.colors.scrollbar.thumbHover};
764
+ }
765
+
766
+ /* Firefox scrollbar */
767
+ scrollbar-width: thin;
768
+ scrollbar-color: ${tokens.colors.scrollbar.thumb} transparent;
769
+
770
+ /* Responsive adjustments */
771
+ @media (max-width: ${tokens.breakpoints.tablet}px) {
350
772
  left: 60px; /* Smaller nav on mobile */
351
773
  }
352
774
  `;
353
775
  function Layout({
354
776
  mainPaneSlot,
777
+ backgroundSlot,
355
778
  navVerticalSlot,
356
779
  navHorizontalUserSlot,
357
780
  navHorizontalActionsSlot,
@@ -360,6 +783,7 @@ function Layout({
360
783
  }) {
361
784
  return /* @__PURE__ */ jsxs(Container3, { className, children: [
362
785
  /* @__PURE__ */ jsx(NavVertical, { folderGroupsSlot: navVerticalSlot, onBackClick: onNavBackClick }),
786
+ backgroundSlot && /* @__PURE__ */ jsx(BackgroundPane, { children: backgroundSlot }),
363
787
  /* @__PURE__ */ jsx(MainPane, { children: mainPaneSlot }),
364
788
  /* @__PURE__ */ jsx(
365
789
  NavHorizontal,
@@ -371,31 +795,31 @@ function Layout({
371
795
  ] });
372
796
  }
373
797
  Layout.displayName = "Layout";
374
- var Container4 = styled8.div`
798
+ var Container4 = styled9.div`
375
799
  display: flex;
376
800
  align-items: center;
377
801
  justify-content: flex-end;
378
- gap: 4px;
802
+ gap: ${tokens.spacing.xs};
379
803
  `;
380
- var ActionButton = styled8.button`
804
+ var ActionButton = styled9.button`
381
805
  width: ${({ $size = 32 }) => $size}px;
382
806
  height: ${({ $size = 32 }) => $size}px;
383
807
  min-width: ${({ $size = 32 }) => $size}px;
384
808
  min-height: ${({ $size = 32 }) => $size}px;
385
- border-radius: ${({ $isPrimary }) => $isPrimary ? "50%" : "4px"};
809
+ border-radius: ${({ $isPrimary }) => $isPrimary ? tokens.borderRadius.full : tokens.borderRadius.sm};
386
810
  border: none;
387
- background-color: ${({ $isPrimary }) => $isPrimary ? "#5865F2" : "transparent"};
388
- color: ${({ $isPrimary }) => $isPrimary ? "#FFFFFF" : "#b9bbbe"};
811
+ background-color: ${({ $isPrimary }) => $isPrimary ? tokens.colors.primary : "transparent"};
812
+ color: ${({ $isPrimary }) => $isPrimary ? tokens.colors.text.primary : tokens.colors.text.secondary};
389
813
  cursor: pointer;
390
814
  display: flex;
391
815
  align-items: center;
392
816
  justify-content: center;
393
- transition: all 0.15s ease;
394
- font-size: 16px;
817
+ transition: all ${tokens.transitions.fast};
818
+ font-size: ${tokens.typography.fontSize.base};
395
819
 
396
820
  &:hover {
397
- background-color: ${({ $isPrimary }) => $isPrimary ? "#4752C4" : "rgba(255, 255, 255, 0.1)"};
398
- color: ${({ $isPrimary }) => $isPrimary ? "#FFFFFF" : "#dcddde"};
821
+ background-color: ${({ $isPrimary }) => $isPrimary ? tokens.colors.secondary : tokens.colors.surface.overlayHover};
822
+ color: ${({ $isPrimary }) => $isPrimary ? tokens.colors.text.primary : tokens.colors.text.primary};
399
823
  }
400
824
 
401
825
  &:active {
@@ -403,13 +827,13 @@ var ActionButton = styled8.button`
403
827
  }
404
828
 
405
829
  ${({ $isActive, $isPrimary }) => $isActive && !$isPrimary && css`
406
- background-color: rgba(255, 255, 255, 0.08);
407
- color: #ffffff;
830
+ background-color: ${tokens.colors.surface.overlay};
831
+ color: ${tokens.colors.text.primary};
408
832
  `}
409
833
 
410
834
  ${({ $isActive, $isPrimary }) => $isActive && $isPrimary && css`
411
- background-color: #4752C4;
412
- color: #ffffff;
835
+ background-color: ${tokens.colors.secondary};
836
+ color: ${tokens.colors.text.primary};
413
837
  `}
414
838
 
415
839
  &:focus {
@@ -417,7 +841,7 @@ var ActionButton = styled8.button`
417
841
  }
418
842
 
419
843
  &:focus-visible {
420
- outline: 2px solid #5865f2;
844
+ outline: 2px solid ${tokens.colors.border.focus};
421
845
  outline-offset: 2px;
422
846
  }
423
847
  `;
@@ -456,7 +880,7 @@ function ActionButtons({
456
880
  /* @__PURE__ */ jsx(
457
881
  ActionButtonItem,
458
882
  {
459
- icon: /* @__PURE__ */ jsx(Icon, { name: "calendar-fill", size: 16, color: "#b9bbbe" }),
883
+ icon: /* @__PURE__ */ jsx(Icon, { name: "calendar-fill", size: 16, color: tokens.colors.text.secondary }),
460
884
  label: "Calendar",
461
885
  onClick: onCalendarClick,
462
886
  isActive: isCalendarActive,
@@ -466,7 +890,7 @@ function ActionButtons({
466
890
  /* @__PURE__ */ jsx(
467
891
  ActionButtonItem,
468
892
  {
469
- icon: /* @__PURE__ */ jsx(Icon, { name: "settings-3-fill", size: 16, color: "#b9bbbe" }),
893
+ icon: /* @__PURE__ */ jsx(Icon, { name: "settings-3-fill", size: 16, color: tokens.colors.text.secondary }),
470
894
  label: "Settings",
471
895
  onClick: onSettingsClick,
472
896
  isActive: isSettingsActive,
@@ -476,7 +900,7 @@ function ActionButtons({
476
900
  /* @__PURE__ */ jsx(
477
901
  ActionButtonItem,
478
902
  {
479
- icon: /* @__PURE__ */ jsx(Icon, { name: "chat-1-fill", size: 16, color: "#b9bbbe" }),
903
+ icon: /* @__PURE__ */ jsx(Icon, { name: "chat-1-fill", size: 16, color: tokens.colors.text.secondary }),
480
904
  label: "Chat",
481
905
  onClick: onChatClick,
482
906
  isActive: isChatActive,
@@ -487,93 +911,91 @@ function ActionButtons({
487
911
  }
488
912
  ActionButtons.displayName = "ActionButtons";
489
913
  var statusColors = {
490
- online: "#43B581",
491
- idle: "#FAA61A",
492
- busy: "#F04747",
493
- offline: "#747F8D"
914
+ online: tokens.colors.status.online,
915
+ idle: tokens.colors.status.idle,
916
+ busy: tokens.colors.status.busy,
917
+ offline: tokens.colors.status.offline
494
918
  };
495
- var Container5 = styled8.button`
496
- display: flex;
919
+ var Container5 = styled9.button`
920
+ display: grid;
921
+ grid-template-columns: auto 1fr;
497
922
  align-items: center;
498
- gap: 8px;
499
- padding: 4px 6px;
500
- border-radius: 4px;
923
+ gap: ${tokens.spacing.sm};
924
+ padding: ${tokens.spacing.sm};
925
+ border-radius: ${tokens.borderRadius.md};
501
926
  border: none;
502
- background: transparent;
927
+ background: ${tokens.colors.surface.subtle};
503
928
  color: inherit;
504
- font: inherit;
505
- transition: background-color 0.2s ease, opacity 0.2s ease;
929
+ font-family: ${tokens.typography.fontFamily.primary};
930
+ transition: background-color ${tokens.transitions.fast}, opacity ${tokens.transitions.fast};
506
931
  cursor: ${(props) => props.$isDisabled ? "not-allowed" : "pointer"};
507
932
  opacity: ${(props) => props.$isDisabled ? 0.5 : 1};
508
933
  text-align: left;
509
934
  width: 100%;
510
935
 
511
936
  &:hover:not(:disabled) {
512
- background-color: rgba(255, 255, 255, 0.05);
937
+ background-color: ${tokens.colors.surface.overlay};
513
938
  }
514
939
 
515
940
  &:focus-visible {
516
- outline: 2px solid #5865F2;
941
+ outline: 2px solid ${tokens.colors.border.focus};
517
942
  outline-offset: 2px;
518
943
  }
519
944
 
520
945
  &:active:not(:disabled) {
521
- background-color: rgba(255, 255, 255, 0.08);
946
+ background-color: ${tokens.colors.surface.overlayActive};
522
947
  }
523
948
  `;
524
- var IconWrapper2 = styled8.div`
949
+ var IconWrapper2 = styled9.div`
525
950
  position: relative;
526
- width: 32px;
527
- height: 32px;
528
- border-radius: 8px;
529
- background-color: #36393f;
951
+ width: 36px;
952
+ height: 36px;
953
+ border-radius: ${tokens.borderRadius.md};
954
+ background-color: ${tokens.colors.background.light};
530
955
  display: flex;
531
956
  align-items: center;
532
957
  justify-content: center;
533
958
  flex-shrink: 0;
534
- overflow: hidden;
535
959
  `;
536
- var WorkflowInfo = styled8.div`
960
+ var WorkflowInfo = styled9.div`
537
961
  display: flex;
538
962
  flex-direction: column;
963
+ gap: ${tokens.spacing.xs};
539
964
  min-width: 0;
540
965
  `;
541
- var WorkflowName = styled8.span`
542
- color: #ffffff;
543
- font-size: 13px;
544
- font-weight: 600;
545
- line-height: 1.2;
966
+ var WorkflowName = styled9.span`
967
+ color: ${tokens.colors.text.primary};
968
+ font-size: ${tokens.typography.fontSize.sm};
969
+ font-weight: ${tokens.typography.fontWeight.semibold};
970
+ line-height: ${tokens.typography.lineHeight.tight};
546
971
  overflow: hidden;
547
972
  text-overflow: ellipsis;
548
973
  white-space: nowrap;
549
974
  `;
550
- var WorkflowStatus = styled8.div`
551
- display: flex;
552
- align-items: center;
553
- gap: 4px;
554
- color: #b9bbbe;
555
- font-size: 11px;
556
- line-height: 1.2;
975
+ var WorkflowStatus = styled9.span`
976
+ color: ${tokens.colors.text.tertiary};
977
+ font-size: ${tokens.typography.fontSize.xs};
978
+ font-weight: ${tokens.typography.fontWeight.regular};
979
+ line-height: ${tokens.typography.lineHeight.tight};
980
+ text-transform: capitalize;
557
981
  `;
558
- var StatusIndicatorOuter = styled8.span`
982
+ var StatusIndicatorOuter = styled9.span`
559
983
  position: absolute;
560
984
  bottom: -2px;
561
985
  right: -2px;
562
- width: 10px;
563
- height: 10px;
564
- border-radius: 50%;
565
- background-color: #232428;
986
+ width: 12px;
987
+ height: 12px;
988
+ border-radius: ${tokens.borderRadius.full};
989
+ background-color: ${tokens.colors.background.darker};
566
990
  display: flex;
567
991
  align-items: center;
568
992
  justify-content: center;
569
- flex-shrink: 0;
570
993
  `;
571
- var StatusIndicatorInner = styled8.span`
572
- width: 6px;
573
- height: 6px;
574
- border-radius: 50%;
994
+ var StatusIndicatorInner = styled9.span`
995
+ width: 8px;
996
+ height: 8px;
997
+ border-radius: ${tokens.borderRadius.full};
575
998
  background-color: ${({ $status }) => statusColors[$status]};
576
- flex-shrink: 0;
577
999
  `;
578
1000
  function WorkflowStatusCard({
579
1001
  icon,
@@ -613,55 +1035,49 @@ function WorkflowStatusCard({
613
1035
  ] });
614
1036
  }
615
1037
  WorkflowStatusCard.displayName = "WorkflowStatusCard";
616
- var BG_TERTIARY = "#36393F";
617
- var TEXT_PRIMARY = "#FFFFFF";
618
- var TEXT_SECONDARY = "#B9BBBE";
619
- var TEXT_MUTED = "#72767D";
620
- var ACCENT_COLOR = "#5865F2";
621
- var HOVER_BG = "rgba(255, 255, 255, 0.05)";
622
- var DarkNotificationCardContainer = styled8.div`
1038
+ var DarkNotificationCardContainer = styled9.div`
623
1039
  display: flex;
624
1040
  flex-direction: column;
625
1041
  padding: 6px;
626
- background: ${BG_TERTIARY};
627
- border-radius: 8px;
628
- gap: 4px;
1042
+ background: ${tokens.colors.surface.base};
1043
+ border-radius: ${tokens.borderRadius.md};
1044
+ gap: ${tokens.spacing.xs};
629
1045
  flex: 1;
630
1046
  min-width: 0;
631
1047
  overflow: hidden;
632
1048
  `;
633
- var DarkSectionHeader = styled8.button`
1049
+ var DarkSectionHeader = styled9.button`
634
1050
  display: flex;
635
1051
  align-items: center;
636
1052
  justify-content: space-between;
637
1053
  width: 100%;
638
- padding: 4px 2px;
1054
+ padding: ${tokens.spacing.xs} 2px;
639
1055
  border: none;
640
1056
  background: transparent;
641
- font-family: ${(props) => props.theme?.fonts?.body || "system-ui, sans-serif"};
1057
+ font-family: ${tokens.typography.fontFamily.primary};
642
1058
  font-size: 11px;
643
- font-weight: 600;
644
- color: ${TEXT_SECONDARY};
1059
+ font-weight: ${tokens.typography.fontWeight.semibold};
1060
+ color: ${tokens.colors.text.secondary};
645
1061
  text-align: left;
646
1062
  cursor: pointer;
647
- transition: all 0.2s ease;
1063
+ transition: all ${tokens.transitions.normal};
648
1064
 
649
1065
  &:hover {
650
- color: ${TEXT_PRIMARY};
1066
+ color: ${tokens.colors.text.primary};
651
1067
  }
652
1068
 
653
1069
  &:focus-visible {
654
- outline: 2px solid ${ACCENT_COLOR};
1070
+ outline: 2px solid ${tokens.colors.primary};
655
1071
  outline-offset: 2px;
656
- border-radius: 4px;
1072
+ border-radius: ${tokens.borderRadius.sm};
657
1073
  }
658
1074
  `;
659
- var DarkChevronIcon = styled8.span`
1075
+ var DarkChevronIcon = styled9.span`
660
1076
  display: inline-flex;
661
1077
  align-items: center;
662
1078
  justify-content: center;
663
- transition: transform 0.2s ease;
664
- color: ${TEXT_MUTED};
1079
+ transition: transform ${tokens.transitions.normal};
1080
+ color: ${tokens.colors.text.tertiary};
665
1081
 
666
1082
  ${(props) => props.$isExpanded ? `
667
1083
  transform: rotate(0deg);
@@ -674,35 +1090,35 @@ var DarkChevronIcon = styled8.span`
674
1090
  height: 12px;
675
1091
  }
676
1092
  `;
677
- var DarkSectionContent = styled8.div`
1093
+ var DarkSectionContent = styled9.div`
678
1094
  display: flex;
679
1095
  flex-direction: column;
680
1096
  gap: 2px;
681
- padding-left: 4px;
1097
+ padding-left: ${tokens.spacing.xs};
682
1098
  margin-top: 2px;
683
1099
  min-width: 0;
684
1100
  overflow: hidden;
685
1101
  `;
686
- var DarkNotificationItemWrapper = styled8.button`
1102
+ var DarkNotificationItemWrapper = styled9.button`
687
1103
  display: flex;
688
1104
  align-items: center;
689
1105
  gap: 6px;
690
1106
  width: 100%;
691
- padding: 4px 6px;
1107
+ padding: ${tokens.spacing.xs} 6px;
692
1108
  border: none;
693
1109
  cursor: pointer;
694
1110
  text-align: left;
695
- transition: all 0.2s ease;
696
- border-radius: 4px;
1111
+ transition: all ${tokens.transitions.normal};
1112
+ border-radius: ${tokens.borderRadius.sm};
697
1113
  min-width: 0;
698
1114
  overflow: hidden;
699
1115
 
700
1116
  /* Default state - transparent background */
701
- background-color: ${(props) => props.$isSelected ? ACCENT_COLOR : "transparent"};
1117
+ background-color: ${(props) => props.$isSelected ? tokens.colors.primary : "transparent"};
702
1118
 
703
1119
  /* Hover state */
704
1120
  &:hover:not(:disabled) {
705
- background-color: ${(props) => props.$isSelected ? "#4752C4" : HOVER_BG};
1121
+ background-color: ${(props) => props.$isSelected ? tokens.colors.accent : tokens.colors.surface.overlay};
706
1122
  }
707
1123
 
708
1124
  /* Active state */
@@ -712,7 +1128,7 @@ var DarkNotificationItemWrapper = styled8.button`
712
1128
 
713
1129
  /* Focus state */
714
1130
  &:focus-visible {
715
- outline: 2px solid ${ACCENT_COLOR};
1131
+ outline: 2px solid ${tokens.colors.primary};
716
1132
  outline-offset: 2px;
717
1133
  }
718
1134
 
@@ -722,17 +1138,17 @@ var DarkNotificationItemWrapper = styled8.button`
722
1138
  opacity: 0.5;
723
1139
  }
724
1140
  `;
725
- var DarkItemIcon = styled8.span`
1141
+ var DarkItemIcon = styled9.span`
726
1142
  display: inline-flex;
727
1143
  align-items: center;
728
1144
  justify-content: center;
729
1145
  width: 16px;
730
1146
  height: 16px;
731
1147
  flex-shrink: 0;
732
- border-radius: ${(props) => props.$hasCustomIcon ? "4px" : "50%"};
1148
+ border-radius: ${(props) => props.$hasCustomIcon ? tokens.borderRadius.sm : tokens.borderRadius.full};
733
1149
  background-color: ${(props) => props.$iconColor || "transparent"};
734
- color: ${(props) => props.$hasCustomIcon ? TEXT_PRIMARY : TEXT_MUTED};
735
- font-size: 12px;
1150
+ color: ${(props) => props.$hasCustomIcon ? tokens.colors.text.primary : tokens.colors.text.tertiary};
1151
+ font-size: ${tokens.typography.fontSize.xs};
736
1152
 
737
1153
  /* Default circle icon styling */
738
1154
  ${(props) => !props.$hasCustomIcon && `
@@ -747,19 +1163,19 @@ var DarkItemIcon = styled8.span`
747
1163
  padding: 2px;
748
1164
  `}
749
1165
  `;
750
- var DarkItemText = styled8.span`
1166
+ var DarkItemText = styled9.span`
751
1167
  flex: 1;
752
- font-family: ${(props) => props.theme?.fonts?.body || "system-ui, sans-serif"};
1168
+ font-family: ${tokens.typography.fontFamily.primary};
753
1169
  font-size: 11px;
754
- font-weight: ${(props) => props.$isSelected ? "500" : "400"};
755
- color: ${(props) => props.$isSelected ? TEXT_PRIMARY : TEXT_SECONDARY};
756
- line-height: 1.3;
1170
+ font-weight: ${(props) => props.$isSelected ? tokens.typography.fontWeight.medium : tokens.typography.fontWeight.regular};
1171
+ color: ${(props) => props.$isSelected ? tokens.colors.text.primary : tokens.colors.text.secondary};
1172
+ line-height: ${tokens.typography.lineHeight.tight};
757
1173
  word-wrap: break-word;
758
1174
  min-width: 0;
759
1175
  overflow: hidden;
760
1176
  text-overflow: ellipsis;
761
1177
  `;
762
- var DarkMenuButton = styled8.button`
1178
+ var DarkMenuButton = styled9.button`
763
1179
  display: inline-flex;
764
1180
  align-items: center;
765
1181
  justify-content: center;
@@ -767,24 +1183,24 @@ var DarkMenuButton = styled8.button`
767
1183
  height: 20px;
768
1184
  padding: 0;
769
1185
  border: none;
770
- border-radius: 4px;
1186
+ border-radius: ${tokens.borderRadius.sm};
771
1187
  background-color: transparent;
772
- color: ${TEXT_PRIMARY};
1188
+ color: ${tokens.colors.text.primary};
773
1189
  cursor: pointer;
774
- transition: all 0.2s ease;
1190
+ transition: all ${tokens.transitions.normal};
775
1191
  flex-shrink: 0;
776
1192
 
777
1193
  &:hover:not(:disabled) {
778
- background-color: rgba(255, 255, 255, 0.1);
1194
+ background-color: ${tokens.colors.surface.overlayHover};
779
1195
  }
780
1196
 
781
1197
  &:active:not(:disabled) {
782
- background-color: rgba(255, 255, 255, 0.15);
1198
+ background-color: ${tokens.colors.surface.overlayActive};
783
1199
  transform: scale(0.95);
784
1200
  }
785
1201
 
786
1202
  &:focus-visible {
787
- outline: 2px solid ${ACCENT_COLOR};
1203
+ outline: 2px solid ${tokens.colors.primary};
788
1204
  outline-offset: 2px;
789
1205
  }
790
1206
 
@@ -793,9 +1209,9 @@ var DarkMenuButton = styled8.button`
793
1209
  height: 14px;
794
1210
  }
795
1211
  `;
796
- var DarkTimestamp = styled8.span`
1212
+ var DarkTimestamp = styled9.span`
797
1213
  font-size: 10px;
798
- color: ${TEXT_MUTED};
1214
+ color: ${tokens.colors.text.tertiary};
799
1215
  white-space: normal;
800
1216
  word-wrap: break-word;
801
1217
  text-align: right;
@@ -978,30 +1394,22 @@ var DarkNotificationItemComponent = ({
978
1394
  );
979
1395
  };
980
1396
  DarkNotificationCard.displayName = "DarkNotificationCard";
981
- var BG_PRIMARY = "#2F3136";
982
- var BG_SECONDARY = "#202225";
983
- var BG_TERTIARY2 = "#36393F";
984
- var TEXT_PRIMARY2 = "#FFFFFF";
985
- var TEXT_SECONDARY2 = "#B9BBBE";
986
- var TEXT_MUTED2 = "#72767D";
987
- var ACCENT_COLOR2 = "#5865F2";
988
- var HOVER_BG2 = "rgba(255, 255, 255, 0.05)";
989
- var Container6 = styled8.div`
1397
+ var Container6 = styled9.div`
990
1398
  width: 100%;
991
1399
  height: 100%;
992
1400
  background-color: transparent;
993
- color: ${TEXT_PRIMARY2};
1401
+ color: ${tokens.colors.text.primary};
994
1402
  display: flex;
995
1403
  flex-direction: column;
996
- font-family: ${(props) => props.theme?.fonts?.body || "system-ui, sans-serif"};
1404
+ font-family: ${tokens.typography.fontFamily.primary};
997
1405
  overflow: hidden; // Prevent content from escaping container bounds
998
1406
  `;
999
- var TabListWrapper = styled8.div`
1407
+ var TabListWrapper = styled9.div`
1000
1408
  display: flex;
1001
- border-bottom: 2px solid rgba(255, 255, 255, 0.1);
1002
- background-color: rgba(255, 255, 255, 0.03);
1003
- padding: 0 16px;
1004
- gap: 8px;
1409
+ border-bottom: 2px solid ${tokens.colors.border.default};
1410
+ background-color: ${tokens.colors.surface.subtle};
1411
+ padding: 0 ${tokens.spacing.md};
1412
+ gap: ${tokens.spacing.sm};
1005
1413
  overflow-x: auto;
1006
1414
  scrollbar-width: none;
1007
1415
  -ms-overflow-style: none;
@@ -1011,31 +1419,31 @@ var TabListWrapper = styled8.div`
1011
1419
  display: none;
1012
1420
  }
1013
1421
 
1014
- @media (max-width: 640px) {
1015
- padding: 0 8px;
1016
- gap: 4px;
1422
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1423
+ padding: 0 ${tokens.spacing.sm};
1424
+ gap: ${tokens.spacing.xs};
1017
1425
  }
1018
1426
  `;
1019
- var TabButton = styled8.button`
1020
- padding: 12px 20px;
1427
+ var TabButton = styled9.button`
1428
+ padding: ${tokens.spacing.md} ${tokens.spacing.lg};
1021
1429
  background: none;
1022
1430
  border: none;
1023
- color: ${(props) => props.$isSelected ? TEXT_PRIMARY2 : TEXT_SECONDARY2};
1024
- font-size: 14px;
1025
- font-weight: 600;
1431
+ color: ${(props) => props.$isSelected ? tokens.colors.text.primary : tokens.colors.text.secondary};
1432
+ font-size: ${tokens.typography.fontSize.sm};
1433
+ font-weight: ${tokens.typography.fontWeight.semibold};
1026
1434
  cursor: pointer;
1027
1435
  position: relative;
1028
- transition: color 0.2s ease;
1436
+ transition: color ${tokens.transitions.normal};
1029
1437
  white-space: nowrap;
1030
1438
  flex-shrink: 0;
1031
1439
 
1032
- @media (max-width: 640px) {
1033
- padding: 10px 12px;
1034
- font-size: 12px;
1440
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1441
+ padding: 10px ${tokens.spacing.md};
1442
+ font-size: ${tokens.typography.fontSize.xs};
1035
1443
  }
1036
1444
 
1037
1445
  &:hover {
1038
- color: ${TEXT_PRIMARY2};
1446
+ color: ${tokens.colors.text.primary};
1039
1447
  }
1040
1448
 
1041
1449
  &:focus {
@@ -1043,9 +1451,9 @@ var TabButton = styled8.button`
1043
1451
  }
1044
1452
 
1045
1453
  &:focus-visible {
1046
- outline: 2px solid ${ACCENT_COLOR2};
1454
+ outline: 2px solid ${tokens.colors.border.focus};
1047
1455
  outline-offset: -2px;
1048
- border-radius: 4px;
1456
+ border-radius: ${tokens.borderRadius.sm};
1049
1457
  }
1050
1458
 
1051
1459
  ${(props) => props.$isSelected && `
@@ -1056,86 +1464,86 @@ var TabButton = styled8.button`
1056
1464
  left: 0;
1057
1465
  right: 0;
1058
1466
  height: 2px;
1059
- background-color: ${ACCENT_COLOR2};
1467
+ background-color: ${tokens.colors.primary};
1060
1468
  }
1061
1469
  `}
1062
1470
  `;
1063
- var TabPanelWrapper = styled8.div`
1471
+ var TabPanelWrapper = styled9.div`
1064
1472
  flex: 1;
1065
- padding: 24px;
1473
+ padding: ${tokens.spacing.lg};
1066
1474
  overflow-y: auto;
1067
1475
  overflow-x: hidden; // Prevent horizontal overflow
1068
- background-color: rgba(255, 255, 255, 0.05);
1476
+ background-color: ${tokens.colors.surface.overlay};
1069
1477
  min-height: 0; // Enable proper flex shrinking and scrolling
1070
1478
 
1071
- @media (max-width: 640px) {
1072
- padding: 16px;
1479
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1480
+ padding: ${tokens.spacing.md};
1073
1481
  }
1074
1482
 
1075
1483
  @media (max-width: 480px) {
1076
- padding: 12px;
1484
+ padding: ${tokens.spacing.md};
1077
1485
  }
1078
1486
 
1079
1487
  /* Custom scrollbar */
1080
1488
  scrollbar-width: thin;
1081
- scrollbar-color: ${BG_TERTIARY2} ${BG_PRIMARY};
1489
+ scrollbar-color: ${tokens.colors.scrollbar.thumb} ${tokens.colors.scrollbar.track};
1082
1490
 
1083
1491
  &::-webkit-scrollbar {
1084
1492
  width: 8px;
1085
1493
  }
1086
1494
 
1087
1495
  &::-webkit-scrollbar-track {
1088
- background: ${BG_PRIMARY};
1496
+ background: ${tokens.colors.background.dark};
1089
1497
  }
1090
1498
 
1091
1499
  &::-webkit-scrollbar-thumb {
1092
- background: ${BG_TERTIARY2};
1093
- border-radius: 4px;
1500
+ background: ${tokens.colors.background.light};
1501
+ border-radius: ${tokens.borderRadius.sm};
1094
1502
  }
1095
1503
 
1096
1504
  &::-webkit-scrollbar-thumb:hover {
1097
- background: #4a4d52;
1505
+ background: ${tokens.colors.scrollbar.thumbHover};
1098
1506
  }
1099
1507
  `;
1100
- var RunsContainer = styled8.div`
1508
+ var RunsContainer = styled9.div`
1101
1509
  display: flex;
1102
1510
  flex-direction: column;
1103
- gap: 20px;
1511
+ gap: ${tokens.spacing.lg};
1104
1512
  width: 100%;
1105
1513
  flex: 1;
1106
1514
  min-width: 0;
1107
1515
  overflow: hidden;
1108
1516
 
1109
- @media (max-width: 640px) {
1110
- gap: 16px;
1517
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1518
+ gap: ${tokens.spacing.md};
1111
1519
  }
1112
1520
  `;
1113
- var BrowseButton = styled8.button`
1521
+ styled9.button`
1114
1522
  display: flex;
1115
1523
  align-items: center;
1116
- gap: 12px;
1524
+ gap: ${tokens.spacing.md};
1117
1525
  width: 100%;
1118
- padding: 12px 16px;
1119
- background-color: rgba(255, 255, 255, 0.05);
1120
- border: 1px solid rgba(255, 255, 255, 0.1);
1121
- border-radius: 8px;
1122
- color: ${TEXT_SECONDARY2};
1123
- font-size: 14px;
1124
- font-weight: 500;
1526
+ padding: ${tokens.spacing.md} ${tokens.spacing.md};
1527
+ background-color: ${tokens.colors.surface.overlay};
1528
+ border: 1px solid ${tokens.colors.border.default};
1529
+ border-radius: ${tokens.borderRadius.md};
1530
+ color: ${tokens.colors.text.secondary};
1531
+ font-size: ${tokens.typography.fontSize.sm};
1532
+ font-weight: ${tokens.typography.fontWeight.medium};
1125
1533
  cursor: pointer;
1126
- transition: all 0.2s ease;
1534
+ transition: all ${tokens.transitions.normal};
1127
1535
  white-space: nowrap;
1128
1536
  overflow: hidden;
1129
1537
 
1130
- @media (max-width: 640px) {
1131
- padding: 10px 12px;
1538
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1539
+ padding: 10px ${tokens.spacing.md};
1132
1540
  font-size: 13px;
1133
- gap: 8px;
1541
+ gap: ${tokens.spacing.sm};
1134
1542
  }
1135
1543
 
1136
1544
  &:hover {
1137
- background-color: ${HOVER_BG2};
1138
- color: ${TEXT_PRIMARY2};
1545
+ background-color: ${tokens.colors.surface.overlayHover};
1546
+ color: ${tokens.colors.text.primary};
1139
1547
  }
1140
1548
 
1141
1549
  &:focus {
@@ -1143,20 +1551,20 @@ var BrowseButton = styled8.button`
1143
1551
  }
1144
1552
 
1145
1553
  &:focus-visible {
1146
- outline: 2px solid ${ACCENT_COLOR2};
1554
+ outline: 2px solid ${tokens.colors.border.focus};
1147
1555
  outline-offset: 2px;
1148
1556
  }
1149
1557
  `;
1150
- var StyledDisclosureGroup = styled8(DisclosureGroup)`
1558
+ var StyledDisclosureGroup = styled9(DisclosureGroup)`
1151
1559
  display: flex;
1152
1560
  flex-direction: column;
1153
- gap: 8px;
1561
+ gap: ${tokens.spacing.sm};
1154
1562
  width: 100%;
1155
1563
  flex: 1;
1156
1564
  min-width: 0;
1157
1565
  overflow: hidden;
1158
1566
  `;
1159
- var CategoryDisclosure = styled8(Disclosure)`
1567
+ var CategoryDisclosure = styled9(Disclosure)`
1160
1568
  background-color: transparent;
1161
1569
  display: flex;
1162
1570
  flex-direction: column;
@@ -1174,24 +1582,24 @@ var CategoryDisclosure = styled8(Disclosure)`
1174
1582
  cursor: not-allowed;
1175
1583
  }
1176
1584
  `;
1177
- var CategoryHeader = styled8(Button)`
1585
+ var CategoryHeader = styled9(Button)`
1178
1586
  width: 100%;
1179
- padding: 4px 0;
1587
+ padding: ${tokens.spacing.xs} 0;
1180
1588
  background: none;
1181
1589
  border: none;
1182
- color: ${TEXT_SECONDARY2};
1590
+ color: ${tokens.colors.text.secondary};
1183
1591
  display: flex;
1184
1592
  justify-content: space-between;
1185
1593
  align-items: center;
1186
1594
  cursor: pointer;
1187
- transition: color 0.2s ease;
1188
- font-size: 12px;
1189
- font-weight: 600;
1595
+ transition: color ${tokens.transitions.normal};
1596
+ font-size: ${tokens.typography.fontSize.xs};
1597
+ font-weight: ${tokens.typography.fontWeight.semibold};
1190
1598
  text-transform: uppercase;
1191
1599
  letter-spacing: 0.5px;
1192
1600
 
1193
1601
  &:hover {
1194
- color: ${TEXT_PRIMARY2};
1602
+ color: ${tokens.colors.text.primary};
1195
1603
  }
1196
1604
 
1197
1605
  &:focus {
@@ -1199,49 +1607,49 @@ var CategoryHeader = styled8(Button)`
1199
1607
  }
1200
1608
 
1201
1609
  &[data-focus-visible] {
1202
- outline: 2px solid ${ACCENT_COLOR2};
1610
+ outline: 2px solid ${tokens.colors.border.focus};
1203
1611
  outline-offset: 2px;
1204
- border-radius: 4px;
1612
+ border-radius: ${tokens.borderRadius.sm};
1205
1613
  }
1206
1614
  `;
1207
- var CategoryTitle = styled8.div`
1615
+ var CategoryTitle = styled9.div`
1208
1616
  display: flex;
1209
1617
  align-items: center;
1210
- gap: 8px;
1618
+ gap: ${tokens.spacing.sm};
1211
1619
 
1212
- @media (max-width: 640px) {
1620
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1213
1621
  gap: 6px;
1214
1622
  }
1215
1623
  `;
1216
- styled8.img`
1624
+ styled9.img`
1217
1625
  width: 16px;
1218
1626
  height: 16px;
1219
1627
  opacity: 0.6;
1220
1628
  flex-shrink: 0;
1221
1629
 
1222
- @media (max-width: 640px) {
1630
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1223
1631
  width: 14px;
1224
1632
  height: 14px;
1225
1633
  }
1226
1634
  `;
1227
- var HashtagIcon = styled8.img`
1635
+ var HashtagIcon = styled9.img`
1228
1636
  width: 14px;
1229
1637
  height: 14px;
1230
1638
  opacity: 0.6;
1231
1639
  flex-shrink: 0;
1232
1640
 
1233
- @media (max-width: 640px) {
1641
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1234
1642
  width: 12px;
1235
1643
  height: 12px;
1236
1644
  }
1237
1645
  `;
1238
- var ChevronIcon = styled8.div`
1646
+ var ChevronIcon = styled9.div`
1239
1647
  display: flex;
1240
1648
  align-items: center;
1241
- transition: transform 0.2s ease;
1649
+ transition: transform ${tokens.transitions.normal};
1242
1650
  transform: ${(props) => props.$isExpanded ? "rotate(0deg)" : "rotate(-90deg)"};
1243
1651
  flex-shrink: 0;
1244
- margin-left: 4px;
1652
+ margin-left: ${tokens.spacing.xs};
1245
1653
 
1246
1654
  img {
1247
1655
  width: 16px;
@@ -1249,35 +1657,35 @@ var ChevronIcon = styled8.div`
1249
1657
  opacity: 0.6;
1250
1658
  }
1251
1659
 
1252
- @media (max-width: 640px) {
1660
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1253
1661
  img {
1254
1662
  width: 14px;
1255
1663
  height: 14px;
1256
1664
  }
1257
1665
  }
1258
1666
  `;
1259
- var CategoryDisclosurePanel = styled8(DisclosurePanel)`
1667
+ var CategoryDisclosurePanel = styled9(DisclosurePanel)`
1260
1668
  display: flex;
1261
1669
  flex-direction: column;
1262
1670
  gap: 2px;
1263
- padding-left: 4px;
1671
+ padding-left: ${tokens.spacing.xs};
1264
1672
  width: 100%;
1265
1673
  flex: 1;
1266
1674
  min-width: 0;
1267
1675
  overflow: hidden;
1268
1676
 
1269
- @media (max-width: 640px) {
1677
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1270
1678
  padding-left: 2px;
1271
1679
  }
1272
1680
 
1273
1681
  &[data-entering] {
1274
- animation: slideDown 0.2s ease;
1682
+ animation: slideDown ${tokens.transitions.normal};
1275
1683
  }
1276
1684
 
1277
1685
  @keyframes slideDown {
1278
1686
  from {
1279
1687
  opacity: 0;
1280
- transform: translateY(-8px);
1688
+ transform: translateY(-${tokens.spacing.sm});
1281
1689
  }
1282
1690
  to {
1283
1691
  opacity: 1;
@@ -1285,29 +1693,29 @@ var CategoryDisclosurePanel = styled8(DisclosurePanel)`
1285
1693
  }
1286
1694
  }
1287
1695
  `;
1288
- var ItemContainer = styled8.div`
1696
+ var ItemContainer = styled9.div`
1289
1697
  display: flex;
1290
1698
  align-items: center;
1291
- gap: 8px;
1292
- padding: 10px 8px; // Increased vertical padding from 4px to 10px for better breathing room
1293
- border-radius: 4px;
1699
+ gap: ${tokens.spacing.sm};
1700
+ padding: 10px ${tokens.spacing.sm}; // Increased vertical padding from 4px to 10px for better breathing room
1701
+ border-radius: ${tokens.borderRadius.sm};
1294
1702
  cursor: pointer;
1295
- transition: background-color 0.1s ease;
1703
+ transition: background-color ${tokens.transitions.fast};
1296
1704
  min-width: 0;
1297
1705
  overflow: hidden;
1298
1706
 
1299
- @media (max-width: 640px) {
1707
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1300
1708
  gap: 6px;
1301
- padding: 8px 6px; // Increased vertical padding from 4px to 8px for mobile
1709
+ padding: ${tokens.spacing.sm} 6px; // Increased vertical padding from 4px to 8px for mobile
1302
1710
  }
1303
1711
 
1304
1712
  &:hover {
1305
- background-color: ${HOVER_BG2};
1713
+ background-color: ${tokens.colors.surface.overlayHover};
1306
1714
  }
1307
1715
  `;
1308
- var ItemDisclosure = styled8(Disclosure)`
1716
+ var ItemDisclosure = styled9(Disclosure)`
1309
1717
  background-color: transparent;
1310
- margin-bottom: 4px;
1718
+ margin-bottom: ${tokens.spacing.xs};
1311
1719
  display: flex;
1312
1720
  flex-direction: column;
1313
1721
  width: 100%;
@@ -1316,51 +1724,51 @@ var ItemDisclosure = styled8(Disclosure)`
1316
1724
  overflow: hidden;
1317
1725
 
1318
1726
  &[data-expanded] {
1319
- background-color: rgba(255, 255, 255, 0.05);
1320
- border-radius: 8px;
1727
+ background-color: ${tokens.colors.surface.overlay};
1728
+ border-radius: ${tokens.borderRadius.md};
1321
1729
  }
1322
1730
  `;
1323
- var ItemHeader = styled8(Button)`
1731
+ var ItemHeader = styled9(Button)`
1324
1732
  width: 100%;
1325
1733
  padding: 0;
1326
1734
  background: none;
1327
1735
  border: none;
1328
1736
  cursor: pointer;
1329
- transition: all 0.1s ease;
1737
+ transition: all ${tokens.transitions.fast};
1330
1738
 
1331
1739
  &:focus {
1332
1740
  outline: none;
1333
1741
  }
1334
1742
 
1335
1743
  &[data-focus-visible] {
1336
- outline: 2px solid ${ACCENT_COLOR2};
1744
+ outline: 2px solid ${tokens.colors.border.focus};
1337
1745
  outline-offset: 2px;
1338
- border-radius: 4px;
1746
+ border-radius: ${tokens.borderRadius.sm};
1339
1747
  }
1340
1748
  `;
1341
- var ItemDisclosurePanel = styled8(DisclosurePanel)`
1749
+ var ItemDisclosurePanel = styled9(DisclosurePanel)`
1342
1750
  padding: 6px;
1343
- background-color: rgba(0, 0, 0, 0.2);
1344
- border-radius: 0 0 8px 8px;
1345
- margin-top: -4px;
1751
+ background-color: ${tokens.colors.overlay};
1752
+ border-radius: 0 0 ${tokens.borderRadius.md} ${tokens.borderRadius.md};
1753
+ margin-top: -${tokens.spacing.xs};
1346
1754
  display: flex;
1347
1755
  flex-direction: column;
1348
1756
  flex: 1;
1349
1757
  min-width: 0;
1350
1758
  overflow: hidden;
1351
1759
 
1352
- @media (max-width: 640px) {
1760
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1353
1761
  padding: 6px;
1354
1762
  }
1355
1763
 
1356
1764
  &[data-entering] {
1357
- animation: slideDown 0.2s ease;
1765
+ animation: slideDown ${tokens.transitions.normal};
1358
1766
  }
1359
1767
 
1360
1768
  @keyframes slideDown {
1361
1769
  from {
1362
1770
  opacity: 0;
1363
- transform: translateY(-8px);
1771
+ transform: translateY(-${tokens.spacing.sm});
1364
1772
  }
1365
1773
  to {
1366
1774
  opacity: 1;
@@ -1368,88 +1776,88 @@ var ItemDisclosurePanel = styled8(DisclosurePanel)`
1368
1776
  }
1369
1777
  }
1370
1778
  `;
1371
- var ItemIcon = styled8.img`
1779
+ var ItemIcon = styled9.img`
1372
1780
  width: 20px;
1373
1781
  height: 20px;
1374
1782
  opacity: 0.6;
1375
1783
  flex-shrink: 0;
1376
1784
 
1377
- @media (max-width: 640px) {
1785
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1378
1786
  width: 18px;
1379
1787
  height: 18px;
1380
1788
  }
1381
1789
  `;
1382
- var ItemName = styled8.span`
1790
+ var ItemName = styled9.span`
1383
1791
  flex: 1;
1384
- font-size: 14px;
1385
- color: ${(props) => props.$dimmed ? TEXT_MUTED2 : TEXT_SECONDARY2};
1386
- font-weight: ${(props) => props.$dimmed ? "normal" : "500"};
1792
+ font-size: ${tokens.typography.fontSize.sm};
1793
+ color: ${(props) => props.$dimmed ? tokens.colors.text.tertiary : tokens.colors.text.secondary};
1794
+ font-weight: ${(props) => props.$dimmed ? tokens.typography.fontWeight.regular : tokens.typography.fontWeight.medium};
1387
1795
  overflow: hidden;
1388
1796
  text-overflow: ellipsis;
1389
1797
  white-space: nowrap;
1390
1798
  min-width: 0;
1391
1799
 
1392
- @media (max-width: 640px) {
1800
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1393
1801
  font-size: 13px;
1394
1802
  }
1395
1803
 
1396
1804
  ${ItemContainer}:hover & {
1397
- color: ${(props) => props.$dimmed ? TEXT_SECONDARY2 : TEXT_PRIMARY2};
1805
+ color: ${(props) => props.$dimmed ? tokens.colors.text.secondary : tokens.colors.text.primary};
1398
1806
  }
1399
1807
  `;
1400
- var RunStatus = styled8.span`
1808
+ var RunStatus = styled9.span`
1401
1809
  display: flex;
1402
1810
  align-items: center;
1403
1811
  justify-content: center;
1404
- font-size: 14px;
1405
- font-weight: 500;
1812
+ font-size: ${tokens.typography.fontSize.sm};
1813
+ font-weight: ${tokens.typography.fontWeight.medium};
1406
1814
  flex-shrink: 0;
1407
1815
  margin-left: auto;
1408
1816
 
1409
- /* Color for SVG icons */
1817
+ /* Color for SVG icons - using token colors for status */
1410
1818
  img {
1411
1819
  filter: ${(props) => {
1412
1820
  switch (props.$status) {
1413
1821
  case "completed":
1414
1822
  return "brightness(0) saturate(100%) invert(73%) sepia(34%) saturate(547%) hue-rotate(99deg) brightness(91%) contrast(89%)";
1415
- // green #10b981
1823
+ // success green
1416
1824
  case "running":
1417
1825
  return "brightness(0) saturate(100%) invert(78%) sepia(60%) saturate(1839%) hue-rotate(360deg) brightness(100%) contrast(94%)";
1418
- // yellow #f59e0b
1826
+ // warning yellow
1419
1827
  case "failed":
1420
1828
  return "brightness(0) saturate(100%) invert(34%) sepia(94%) saturate(3446%) hue-rotate(343deg) brightness(94%) contrast(94%)";
1421
- // red #ef4444
1829
+ // error red
1422
1830
  default:
1423
1831
  return "none";
1424
1832
  }
1425
1833
  }};
1426
1834
  }
1427
1835
 
1428
- @media (max-width: 640px) {
1429
- font-size: 12px;
1836
+ @media (max-width: ${tokens.breakpoints.mobile}px) {
1837
+ font-size: ${tokens.typography.fontSize.xs};
1430
1838
  }
1431
1839
  `;
1432
- styled8.div`
1433
- margin-bottom: 12px;
1434
- border-radius: 12px;
1435
- background-color: rgba(255, 255, 255, 0.05);
1840
+ styled9.div`
1841
+ margin-bottom: ${tokens.spacing.md};
1842
+ border-radius: ${tokens.borderRadius.lg};
1843
+ background-color: ${tokens.colors.surface.overlay};
1436
1844
  overflow: hidden;
1437
1845
  `;
1438
- styled8.button`
1846
+ styled9.button`
1439
1847
  width: 100%;
1440
- padding: 16px;
1441
- background: rgba(255, 255, 255, 0.05);
1848
+ padding: ${tokens.spacing.md};
1849
+ background: ${tokens.colors.surface.overlay};
1442
1850
  border: none;
1443
- color: ${TEXT_PRIMARY2};
1851
+ color: ${tokens.colors.text.primary};
1444
1852
  display: flex;
1445
1853
  justify-content: space-between;
1446
1854
  align-items: center;
1447
1855
  cursor: pointer;
1448
- transition: background-color 0.2s ease;
1856
+ transition: background-color ${tokens.transitions.normal};
1449
1857
  text-align: left;
1450
1858
 
1451
1859
  &:hover {
1452
- background-color: ${HOVER_BG2};
1860
+ background-color: ${tokens.colors.surface.overlayHover};
1453
1861
  }
1454
1862
 
1455
1863
  &:focus {
@@ -1457,7 +1865,7 @@ styled8.button`
1457
1865
  }
1458
1866
 
1459
1867
  &:focus-visible {
1460
- outline: 2px solid ${ACCENT_COLOR2};
1868
+ outline: 2px solid ${tokens.colors.border.focus};
1461
1869
  outline-offset: -2px;
1462
1870
  }
1463
1871
 
@@ -1467,29 +1875,29 @@ styled8.button`
1467
1875
 
1468
1876
  strong {
1469
1877
  display: block;
1470
- font-size: 14px;
1471
- margin-bottom: 4px;
1878
+ font-size: ${tokens.typography.fontSize.sm};
1879
+ margin-bottom: ${tokens.spacing.xs};
1472
1880
  }
1473
1881
  `;
1474
- styled8.span`
1475
- font-size: 12px;
1476
- color: ${TEXT_SECONDARY2};
1477
- transition: transform 0.2s ease;
1882
+ styled9.span`
1883
+ font-size: ${tokens.typography.fontSize.xs};
1884
+ color: ${tokens.colors.text.secondary};
1885
+ transition: transform ${tokens.transitions.normal};
1478
1886
  transform: ${(props) => props.$isExpanded ? "rotate(180deg)" : "rotate(0deg)"};
1479
1887
  `;
1480
- styled8.div`
1481
- padding: 16px;
1888
+ styled9.div`
1889
+ padding: ${tokens.spacing.md};
1482
1890
  padding-top: 0;
1483
- background-color: rgba(0, 0, 0, 0.2);
1484
- color: ${TEXT_SECONDARY2};
1891
+ background-color: ${tokens.colors.overlay};
1892
+ color: ${tokens.colors.text.secondary};
1485
1893
  font-size: 13px;
1486
- line-height: 1.6;
1487
- animation: slideDown 0.2s ease;
1894
+ line-height: ${tokens.typography.lineHeight.relaxed};
1895
+ animation: slideDown ${tokens.transitions.normal};
1488
1896
 
1489
1897
  @keyframes slideDown {
1490
1898
  from {
1491
1899
  opacity: 0;
1492
- transform: translateY(-8px);
1900
+ transform: translateY(-${tokens.spacing.sm});
1493
1901
  }
1494
1902
  to {
1495
1903
  opacity: 1;
@@ -1497,31 +1905,31 @@ styled8.div`
1497
1905
  }
1498
1906
  }
1499
1907
  `;
1500
- var MeterContainer = styled8.div`
1908
+ var MeterContainer = styled9.div`
1501
1909
  max-width: 600px;
1502
1910
  margin: 0 auto;
1503
1911
  `;
1504
- var MeterLabel = styled8.div`
1505
- font-size: 16px;
1506
- font-weight: 600;
1507
- margin-bottom: 16px;
1508
- color: ${TEXT_PRIMARY2};
1912
+ var MeterLabel = styled9.div`
1913
+ font-size: ${tokens.typography.fontSize.base};
1914
+ font-weight: ${tokens.typography.fontWeight.semibold};
1915
+ margin-bottom: ${tokens.spacing.md};
1916
+ color: ${tokens.colors.text.primary};
1509
1917
  `;
1510
- var MeterBar = styled8.div`
1918
+ var MeterBar = styled9.div`
1511
1919
  width: 100%;
1512
1920
  height: 24px;
1513
- background-color: ${BG_SECONDARY};
1514
- border-radius: 12px;
1921
+ background-color: ${tokens.colors.background.darker};
1922
+ border-radius: ${tokens.borderRadius.lg};
1515
1923
  overflow: hidden;
1516
1924
  position: relative;
1517
- margin-bottom: 12px;
1925
+ margin-bottom: ${tokens.spacing.md};
1518
1926
  `;
1519
- var MeterFill = styled8.div`
1927
+ var MeterFill = styled9.div`
1520
1928
  height: 100%;
1521
1929
  width: ${(props) => props.$percentage}%;
1522
1930
  background: linear-gradient(90deg, ${(props) => props.$color}dd, ${(props) => props.$color});
1523
- border-radius: 12px;
1524
- transition: width 0.3s ease, background 0.3s ease;
1931
+ border-radius: ${tokens.borderRadius.lg};
1932
+ transition: width ${tokens.transitions.slow}, background ${tokens.transitions.slow};
1525
1933
  position: relative;
1526
1934
 
1527
1935
  &::after {
@@ -1531,7 +1939,7 @@ var MeterFill = styled8.div`
1531
1939
  left: 0;
1532
1940
  right: 0;
1533
1941
  bottom: 0;
1534
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
1942
+ background: linear-gradient(90deg, transparent, ${tokens.colors.surface.overlay}, transparent);
1535
1943
  animation: shimmer 2s infinite;
1536
1944
  }
1537
1945
 
@@ -1544,47 +1952,47 @@ var MeterFill = styled8.div`
1544
1952
  }
1545
1953
  }
1546
1954
  `;
1547
- var MeterStats = styled8.div`
1548
- font-size: 14px;
1549
- color: ${TEXT_SECONDARY2};
1955
+ var MeterStats = styled9.div`
1956
+ font-size: ${tokens.typography.fontSize.sm};
1957
+ color: ${tokens.colors.text.secondary};
1550
1958
  text-align: center;
1551
1959
 
1552
1960
  small {
1553
- font-size: 12px;
1554
- color: ${TEXT_SECONDARY2};
1961
+ font-size: ${tokens.typography.fontSize.xs};
1962
+ color: ${tokens.colors.text.secondary};
1555
1963
  opacity: 0.8;
1556
1964
  }
1557
1965
  `;
1558
- var ConnectionsContainer = styled8.div`
1966
+ var ConnectionsContainer = styled9.div`
1559
1967
  max-width: 500px;
1560
1968
  margin: 0 auto;
1561
1969
  text-align: center;
1562
1970
  `;
1563
- var ConnectionDescription = styled8.p`
1564
- font-size: 14px;
1565
- color: ${TEXT_SECONDARY2};
1566
- line-height: 1.6;
1567
- margin-bottom: 24px;
1971
+ var ConnectionDescription = styled9.p`
1972
+ font-size: ${tokens.typography.fontSize.sm};
1973
+ color: ${tokens.colors.text.secondary};
1974
+ line-height: ${tokens.typography.lineHeight.relaxed};
1975
+ margin-bottom: ${tokens.spacing.lg};
1568
1976
  `;
1569
- var GoogleButton = styled8.button`
1977
+ var GoogleButton = styled9.button`
1570
1978
  width: 100%;
1571
- padding: 16px 24px;
1979
+ padding: ${tokens.spacing.md} ${tokens.spacing.lg};
1572
1980
  font-size: 15px;
1573
- font-weight: 600;
1574
- color: ${(props) => props.$isConnected ? TEXT_PRIMARY2 : "#FFFFFF"};
1575
- background: ${(props) => props.$isConnected ? BG_TERTIARY2 : "linear-gradient(135deg, #4285F4, #34A853)"};
1981
+ font-weight: ${tokens.typography.fontWeight.semibold};
1982
+ color: ${(props) => props.$isConnected ? tokens.colors.text.primary : tokens.colors.text.primary};
1983
+ background: ${(props) => props.$isConnected ? tokens.colors.background.light : `linear-gradient(135deg, ${tokens.colors.platform.facebook}, ${tokens.colors.platform.whatsapp})`};
1576
1984
  border: none;
1577
- border-radius: 8px;
1985
+ border-radius: ${tokens.borderRadius.md};
1578
1986
  cursor: pointer;
1579
- transition: all 0.2s ease;
1987
+ transition: all ${tokens.transitions.normal};
1580
1988
  display: flex;
1581
1989
  align-items: center;
1582
1990
  justify-content: center;
1583
- gap: 8px;
1991
+ gap: ${tokens.spacing.sm};
1584
1992
 
1585
1993
  &:hover {
1586
1994
  transform: translateY(-2px);
1587
- box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
1995
+ box-shadow: ${tokens.shadows.lg};
1588
1996
  }
1589
1997
 
1590
1998
  &:active {
@@ -1596,14 +2004,14 @@ var GoogleButton = styled8.button`
1596
2004
  }
1597
2005
 
1598
2006
  &:focus-visible {
1599
- outline: 2px solid ${ACCENT_COLOR2};
2007
+ outline: 2px solid ${tokens.colors.border.focus};
1600
2008
  outline-offset: 2px;
1601
2009
  }
1602
2010
 
1603
2011
  ${(props) => props.$isConnected && `
1604
2012
  &:hover {
1605
- background-color: #ef4444;
1606
- box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
2013
+ background-color: ${tokens.colors.error};
2014
+ box-shadow: ${tokens.shadows.lg};
1607
2015
  }
1608
2016
  `}
1609
2017
  `;
@@ -1636,7 +2044,10 @@ var ICONS = {
1636
2044
  chevronDown: "/assets/icon-set/Icon-arrow-down-s-fill.svg",
1637
2045
  warning: "/assets/icon-set/Icon-error-warning-fill.svg"
1638
2046
  };
1639
- function ItemWithLogs({ run, onRunSelect }) {
2047
+ function ItemWithLogs({
2048
+ run,
2049
+ onRunSelect
2050
+ }) {
1640
2051
  const [isExpanded, setIsExpanded] = useState(false);
1641
2052
  const logSections = run.logs ? [
1642
2053
  {
@@ -1655,96 +2066,184 @@ function ItemWithLogs({ run, onRunSelect }) {
1655
2066
  onRunSelect?.(run.id);
1656
2067
  };
1657
2068
  return /* @__PURE__ */ jsxs(ItemDisclosure, { id: run.id, children: [
1658
- /* @__PURE__ */ jsx(
1659
- ItemHeader,
1660
- {
1661
- slot: "trigger",
1662
- onClick: handleClick,
1663
- $isExpanded: isExpanded,
1664
- children: /* @__PURE__ */ jsxs(ItemContainer, { as: "div", children: [
1665
- /* @__PURE__ */ jsx(ItemIcon, { src: ICONS[run.icon || "loader"], alt: "" }),
1666
- /* @__PURE__ */ jsx(ItemName, { children: run.name }),
1667
- /* @__PURE__ */ jsxs(RunStatus, { $status: run.status, children: [
1668
- run.status === "completed" && /* @__PURE__ */ jsx("img", { src: ICONS.checkFill, alt: "", style: { width: "16px", height: "16px" } }),
1669
- run.status === "running" && /* @__PURE__ */ jsx("img", { src: ICONS.hourglass, alt: "", style: { width: "16px", height: "16px" } }),
1670
- run.status === "failed" && /* @__PURE__ */ jsx("img", { src: ICONS.closeFill, alt: "", style: { width: "16px", height: "16px" } })
1671
- ] }),
1672
- /* @__PURE__ */ jsx(ChevronIcon, { $isExpanded: isExpanded, children: /* @__PURE__ */ jsx("img", { src: ICONS.chevronDown, alt: "" }) })
1673
- ] })
1674
- }
1675
- ),
2069
+ /* @__PURE__ */ jsx(ItemHeader, { slot: "trigger", onClick: handleClick, $isExpanded: isExpanded, children: /* @__PURE__ */ jsxs(ItemContainer, { as: "div", children: [
2070
+ /* @__PURE__ */ jsx(ItemIcon, { src: ICONS[run.icon || "loader"], alt: "" }),
2071
+ /* @__PURE__ */ jsx(ItemName, { children: run.name }),
2072
+ /* @__PURE__ */ jsxs(RunStatus, { $status: run.status, children: [
2073
+ run.status === "completed" && /* @__PURE__ */ jsx("img", { src: ICONS.checkFill, alt: "", style: { width: "16px", height: "16px" } }),
2074
+ run.status === "running" && /* @__PURE__ */ jsx("img", { src: ICONS.hourglass, alt: "", style: { width: "16px", height: "16px" } }),
2075
+ run.status === "failed" && /* @__PURE__ */ jsx("img", { src: ICONS.closeFill, alt: "", style: { width: "16px", height: "16px" } })
2076
+ ] }),
2077
+ /* @__PURE__ */ jsx(ChevronIcon, { $isExpanded: isExpanded, children: /* @__PURE__ */ jsx("img", { src: ICONS.chevronDown, alt: "" }) })
2078
+ ] }) }),
1676
2079
  isExpanded && /* @__PURE__ */ jsx(ItemDisclosurePanel, { children: run.customContent ? (
1677
2080
  // Render custom content directly
1678
2081
  /* @__PURE__ */ jsx("div", { style: { padding: "16px" }, children: run.customContent })
1679
2082
  ) : run.logs && run.logs.length > 0 ? /* @__PURE__ */ jsx(DarkNotificationCard, { sections: logSections }) : /* @__PURE__ */ jsx("div", { style: { color: "#72767D", fontSize: "13px", padding: "8px" }, children: "No action logs available" }) })
1680
2083
  ] });
1681
2084
  }
2085
+ function normalizeCategory(category) {
2086
+ if (category === "scheduled") return "executing";
2087
+ if (category === "issues") return "failed";
2088
+ return category;
2089
+ }
2090
+ function groupRunsByWorkflow(runs) {
2091
+ const groups = /* @__PURE__ */ new Map();
2092
+ for (const run of runs) {
2093
+ const workflowId = run.workflowId || "unknown";
2094
+ const workflowName = run.workflowName || run.name;
2095
+ if (!groups.has(workflowId)) {
2096
+ groups.set(workflowId, {
2097
+ workflowId,
2098
+ workflowName,
2099
+ runs: []
2100
+ });
2101
+ }
2102
+ groups.get(workflowId).runs.push(run);
2103
+ }
2104
+ return Array.from(groups.values());
2105
+ }
2106
+ function WorkflowGroupItem({
2107
+ group,
2108
+ onRunSelect,
2109
+ expandedKeys
2110
+ }) {
2111
+ const groupId = `workflow-${group.workflowId}`;
2112
+ const isExpanded = expandedKeys.has(groupId);
2113
+ return /* @__PURE__ */ jsxs(CategoryDisclosure, { id: groupId, children: [
2114
+ /* @__PURE__ */ jsx(Heading, { level: 4, children: /* @__PURE__ */ jsxs(CategoryHeader, { slot: "trigger", style: { paddingLeft: "8px" }, children: [
2115
+ /* @__PURE__ */ jsxs(CategoryTitle, { children: [
2116
+ /* @__PURE__ */ jsx("span", { style: { fontSize: "13px", fontWeight: 500 }, children: group.workflowName }),
2117
+ /* @__PURE__ */ jsxs("span", { style: { fontSize: "11px", color: "#72767D", marginLeft: "8px" }, children: [
2118
+ "(",
2119
+ group.runs.length,
2120
+ ")"
2121
+ ] })
2122
+ ] }),
2123
+ /* @__PURE__ */ jsx(ChevronIcon, { $isExpanded: isExpanded, children: /* @__PURE__ */ jsx("img", { src: ICONS.chevronDown, alt: "" }) })
2124
+ ] }) }),
2125
+ /* @__PURE__ */ jsx(CategoryDisclosurePanel, { children: group.runs.map((run) => /* @__PURE__ */ jsx(ItemWithLogs, { run, onRunSelect }, run.id)) })
2126
+ ] });
2127
+ }
2128
+ function GroupedRunsRenderer({
2129
+ groups,
2130
+ onRunSelect,
2131
+ expandedKeys,
2132
+ setExpandedKeys,
2133
+ ariaLabel,
2134
+ emptyMessage
2135
+ }) {
2136
+ if (groups.length === 0) {
2137
+ return /* @__PURE__ */ jsx(ItemContainer, { children: /* @__PURE__ */ jsx(ItemName, { $dimmed: true, children: emptyMessage }) });
2138
+ }
2139
+ const firstGroup = groups[0];
2140
+ if (groups.length === 1 && firstGroup && firstGroup.runs.length === 1) {
2141
+ return /* @__PURE__ */ jsx(Fragment, { children: firstGroup.runs.map((run) => /* @__PURE__ */ jsx(ItemWithLogs, { run, onRunSelect }, run.id)) });
2142
+ }
2143
+ return /* @__PURE__ */ jsx(
2144
+ StyledDisclosureGroup,
2145
+ {
2146
+ expandedKeys,
2147
+ onExpandedChange: setExpandedKeys,
2148
+ allowsMultipleExpanded: true,
2149
+ "aria-label": ariaLabel,
2150
+ children: groups.map((group) => /* @__PURE__ */ jsx(
2151
+ WorkflowGroupItem,
2152
+ {
2153
+ group,
2154
+ onRunSelect,
2155
+ expandedKeys
2156
+ },
2157
+ group.workflowId
2158
+ ))
2159
+ }
2160
+ );
2161
+ }
1682
2162
  function RunsTabContent({
1683
2163
  runs,
1684
- onBrowseAutomations,
1685
2164
  onRunSelect
1686
2165
  }) {
1687
2166
  const [expandedKeys, setExpandedKeys] = useState(
1688
- /* @__PURE__ */ new Set(["scheduled", "completed", "issues"])
1689
- // All sections open by default
2167
+ /* @__PURE__ */ new Set(["executing", "completed", "failed"])
2168
+ // All status sections open by default
1690
2169
  );
1691
- const scheduledRuns = runs.filter((r) => r.category === "scheduled");
1692
- const completedRuns = runs.filter((r) => r.category === "completed");
1693
- const issuesRuns = runs.filter((r) => r.category === "issues");
1694
- const buttonRef = useRef(null);
1695
- const { buttonProps } = useButton(
2170
+ const executingRuns = runs.filter((r) => normalizeCategory(r.category) === "executing");
2171
+ const completedRuns = runs.filter((r) => normalizeCategory(r.category) === "completed");
2172
+ const failedRuns = runs.filter((r) => normalizeCategory(r.category) === "failed");
2173
+ const executingGroups = groupRunsByWorkflow(executingRuns);
2174
+ const completedGroups = groupRunsByWorkflow(completedRuns);
2175
+ const failedGroups = groupRunsByWorkflow(failedRuns);
2176
+ return /* @__PURE__ */ jsx(RunsContainer, { children: /* @__PURE__ */ jsxs(
2177
+ StyledDisclosureGroup,
1696
2178
  {
1697
- onPress: onBrowseAutomations
1698
- },
1699
- buttonRef
1700
- );
1701
- return /* @__PURE__ */ jsxs(RunsContainer, { children: [
1702
- /* @__PURE__ */ jsxs(BrowseButton, { ...buttonProps, ref: buttonRef, children: [
1703
- /* @__PURE__ */ jsx(ItemIcon, { src: ICONS.cpu, alt: "" }),
1704
- /* @__PURE__ */ jsx("span", { children: "Browse Automations" })
1705
- ] }),
1706
- /* @__PURE__ */ jsxs(
1707
- StyledDisclosureGroup,
1708
- {
1709
- expandedKeys,
1710
- onExpandedChange: setExpandedKeys,
1711
- allowsMultipleExpanded: true,
1712
- "aria-label": "Run sections",
1713
- children: [
1714
- /* @__PURE__ */ jsxs(CategoryDisclosure, { id: "scheduled", children: [
1715
- /* @__PURE__ */ jsx(Heading, { level: 3, children: /* @__PURE__ */ jsxs(CategoryHeader, { slot: "trigger", children: [
1716
- /* @__PURE__ */ jsxs(CategoryTitle, { children: [
1717
- /* @__PURE__ */ jsx(HashtagIcon, { src: ICONS.hashtag, alt: "" }),
1718
- /* @__PURE__ */ jsx("span", { children: "SCHEDULED" })
1719
- ] }),
1720
- /* @__PURE__ */ jsx(ChevronIcon, { $isExpanded: expandedKeys.has("scheduled"), children: /* @__PURE__ */ jsx("img", { src: ICONS.chevronDown, alt: "" }) })
1721
- ] }) }),
1722
- /* @__PURE__ */ jsx(CategoryDisclosurePanel, { children: scheduledRuns.length > 0 ? scheduledRuns.map((run) => /* @__PURE__ */ jsx(ItemWithLogs, { run, onRunSelect }, run.id)) : /* @__PURE__ */ jsx(ItemContainer, { children: /* @__PURE__ */ jsx(ItemName, { $dimmed: true, children: "No scheduled items" }) }) })
1723
- ] }),
1724
- /* @__PURE__ */ jsxs(CategoryDisclosure, { id: "completed", children: [
1725
- /* @__PURE__ */ jsx(Heading, { level: 3, children: /* @__PURE__ */ jsxs(CategoryHeader, { slot: "trigger", children: [
1726
- /* @__PURE__ */ jsxs(CategoryTitle, { children: [
1727
- /* @__PURE__ */ jsx(HashtagIcon, { src: ICONS.hashtag, alt: "" }),
1728
- /* @__PURE__ */ jsx("span", { children: "COMPLETED" })
1729
- ] }),
1730
- /* @__PURE__ */ jsx(ChevronIcon, { $isExpanded: expandedKeys.has("completed"), children: /* @__PURE__ */ jsx("img", { src: ICONS.chevronDown, alt: "" }) })
1731
- ] }) }),
1732
- /* @__PURE__ */ jsx(CategoryDisclosurePanel, { children: completedRuns.length > 0 ? completedRuns.map((run) => /* @__PURE__ */ jsx(ItemWithLogs, { run, onRunSelect }, run.id)) : /* @__PURE__ */ jsx(ItemContainer, { children: /* @__PURE__ */ jsx(ItemName, { $dimmed: true, children: "No completed items" }) }) })
1733
- ] }),
1734
- /* @__PURE__ */ jsxs(CategoryDisclosure, { id: "issues", children: [
1735
- /* @__PURE__ */ jsx(Heading, { level: 3, children: /* @__PURE__ */ jsxs(CategoryHeader, { slot: "trigger", children: [
1736
- /* @__PURE__ */ jsxs(CategoryTitle, { children: [
1737
- /* @__PURE__ */ jsx(HashtagIcon, { src: ICONS.hashtag, alt: "" }),
1738
- /* @__PURE__ */ jsx("span", { children: "ISSUES" })
1739
- ] }),
1740
- /* @__PURE__ */ jsx(ChevronIcon, { $isExpanded: expandedKeys.has("issues"), children: /* @__PURE__ */ jsx("img", { src: ICONS.chevronDown, alt: "" }) })
1741
- ] }) }),
1742
- /* @__PURE__ */ jsx(CategoryDisclosurePanel, { children: issuesRuns.length > 0 ? issuesRuns.map((run) => /* @__PURE__ */ jsx(ItemWithLogs, { run, onRunSelect }, run.id)) : /* @__PURE__ */ jsx(ItemContainer, { children: /* @__PURE__ */ jsx(ItemName, { $dimmed: true, children: "No issues" }) }) })
1743
- ] })
1744
- ]
1745
- }
1746
- )
1747
- ] });
2179
+ expandedKeys,
2180
+ onExpandedChange: setExpandedKeys,
2181
+ allowsMultipleExpanded: true,
2182
+ "aria-label": "Run sections",
2183
+ children: [
2184
+ /* @__PURE__ */ jsxs(CategoryDisclosure, { id: "executing", children: [
2185
+ /* @__PURE__ */ jsx(Heading, { level: 3, children: /* @__PURE__ */ jsxs(CategoryHeader, { slot: "trigger", children: [
2186
+ /* @__PURE__ */ jsxs(CategoryTitle, { children: [
2187
+ /* @__PURE__ */ jsx(HashtagIcon, { src: ICONS.hashtag, alt: "" }),
2188
+ /* @__PURE__ */ jsx("span", { children: "EXECUTING" })
2189
+ ] }),
2190
+ /* @__PURE__ */ jsx(ChevronIcon, { $isExpanded: expandedKeys.has("executing"), children: /* @__PURE__ */ jsx("img", { src: ICONS.chevronDown, alt: "" }) })
2191
+ ] }) }),
2192
+ /* @__PURE__ */ jsx(CategoryDisclosurePanel, { children: /* @__PURE__ */ jsx(
2193
+ GroupedRunsRenderer,
2194
+ {
2195
+ groups: executingGroups,
2196
+ onRunSelect,
2197
+ expandedKeys,
2198
+ setExpandedKeys,
2199
+ ariaLabel: "Executing workflows",
2200
+ emptyMessage: "No executing items"
2201
+ }
2202
+ ) })
2203
+ ] }),
2204
+ /* @__PURE__ */ jsxs(CategoryDisclosure, { id: "completed", children: [
2205
+ /* @__PURE__ */ jsx(Heading, { level: 3, children: /* @__PURE__ */ jsxs(CategoryHeader, { slot: "trigger", children: [
2206
+ /* @__PURE__ */ jsxs(CategoryTitle, { children: [
2207
+ /* @__PURE__ */ jsx(HashtagIcon, { src: ICONS.hashtag, alt: "" }),
2208
+ /* @__PURE__ */ jsx("span", { children: "COMPLETED" })
2209
+ ] }),
2210
+ /* @__PURE__ */ jsx(ChevronIcon, { $isExpanded: expandedKeys.has("completed"), children: /* @__PURE__ */ jsx("img", { src: ICONS.chevronDown, alt: "" }) })
2211
+ ] }) }),
2212
+ /* @__PURE__ */ jsx(CategoryDisclosurePanel, { children: /* @__PURE__ */ jsx(
2213
+ GroupedRunsRenderer,
2214
+ {
2215
+ groups: completedGroups,
2216
+ onRunSelect,
2217
+ expandedKeys,
2218
+ setExpandedKeys,
2219
+ ariaLabel: "Completed workflows",
2220
+ emptyMessage: "No completed items"
2221
+ }
2222
+ ) })
2223
+ ] }),
2224
+ /* @__PURE__ */ jsxs(CategoryDisclosure, { id: "failed", children: [
2225
+ /* @__PURE__ */ jsx(Heading, { level: 3, children: /* @__PURE__ */ jsxs(CategoryHeader, { slot: "trigger", children: [
2226
+ /* @__PURE__ */ jsxs(CategoryTitle, { children: [
2227
+ /* @__PURE__ */ jsx(HashtagIcon, { src: ICONS.hashtag, alt: "" }),
2228
+ /* @__PURE__ */ jsx("span", { children: "FAILED" })
2229
+ ] }),
2230
+ /* @__PURE__ */ jsx(ChevronIcon, { $isExpanded: expandedKeys.has("failed"), children: /* @__PURE__ */ jsx("img", { src: ICONS.chevronDown, alt: "" }) })
2231
+ ] }) }),
2232
+ /* @__PURE__ */ jsx(CategoryDisclosurePanel, { children: /* @__PURE__ */ jsx(
2233
+ GroupedRunsRenderer,
2234
+ {
2235
+ groups: failedGroups,
2236
+ onRunSelect,
2237
+ expandedKeys,
2238
+ setExpandedKeys,
2239
+ ariaLabel: "Failed workflows",
2240
+ emptyMessage: "No failed items"
2241
+ }
2242
+ ) })
2243
+ ] })
2244
+ ]
2245
+ }
2246
+ ) });
1748
2247
  }
1749
2248
  function UsageTabContent({
1750
2249
  currentUsage = 0,
@@ -1824,15 +2323,7 @@ function ConnectionsTabContent({
1824
2323
  const descriptionText = isConnected ? googleConnection?.displayName ? `Connected as ${googleConnection.displayName}. You can access Google services and data.` : "Your Google account is connected. You can access Google services and data." : "Connect your Google account to access Google services and integrate with your workflows.";
1825
2324
  return /* @__PURE__ */ jsxs(ConnectionsContainer, { children: [
1826
2325
  /* @__PURE__ */ jsx(ConnectionDescription, { children: descriptionText }),
1827
- /* @__PURE__ */ jsx(
1828
- GoogleButton,
1829
- {
1830
- ...buttonProps,
1831
- ref,
1832
- $isConnected: isConnected,
1833
- children: buttonText
1834
- }
1835
- ),
2326
+ /* @__PURE__ */ jsx(GoogleButton, { ...buttonProps, ref, $isConnected: isConnected, children: buttonText }),
1836
2327
  isConnected && googleConnection?.scopes && googleConnection.scopes.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "16px", fontSize: "13px", color: "#B9BBBE" }, children: [
1837
2328
  "Connected services: ",
1838
2329
  googleConnection.scopes.join(", ")
@@ -1875,19 +2366,21 @@ function PaneMenus({
1875
2366
  onOAuthDisconnect,
1876
2367
  isOAuthConnecting = false,
1877
2368
  isOAuthLoading = false,
1878
- onBrowseAutomations
2369
+ connectionsSlot,
2370
+ workflowsSlot
1879
2371
  }) {
1880
2372
  const state = useTabListState({
1881
- defaultSelectedKey: activeTab,
2373
+ selectedKey: activeTab,
1882
2374
  onSelectionChange: (key) => {
1883
2375
  if (onTabChange) {
1884
2376
  onTabChange(key);
1885
2377
  }
1886
2378
  },
1887
2379
  children: /* @__PURE__ */ jsxs(Fragment, { children: [
1888
- /* @__PURE__ */ jsx(Item, { title: "Runs", children: /* @__PURE__ */ jsx(RunsTabContent, { runs, onBrowseAutomations, onRunSelect }) }, "runs"),
2380
+ workflowsSlot && /* @__PURE__ */ jsx(Item, { title: "Workflows", children: workflowsSlot }, "workflows"),
2381
+ /* @__PURE__ */ jsx(Item, { title: "Runs", children: /* @__PURE__ */ jsx(RunsTabContent, { runs, onRunSelect }) }, "runs"),
1889
2382
  /* @__PURE__ */ jsx(Item, { title: "Usage", children: /* @__PURE__ */ jsx(UsageTabContent, { currentUsage, maxUsage }) }, "usage"),
1890
- /* @__PURE__ */ jsx(Item, { title: "Connections", children: /* @__PURE__ */ jsx(
2383
+ /* @__PURE__ */ jsx(Item, { title: "Connections", children: connectionsSlot || /* @__PURE__ */ jsx(
1891
2384
  ConnectionsTabContent,
1892
2385
  {
1893
2386
  isGoogleConnected,
@@ -1907,21 +2400,11 @@ function PaneMenus({
1907
2400
  /* @__PURE__ */ jsx(TabPanel, { state }, state.selectedItem?.key)
1908
2401
  ] });
1909
2402
  }
1910
- var HEADER_BG = "rgba(32, 34, 37, 0.1)";
1911
- var HEADER_BG_DARK = "rgba(24, 25, 28, 0.7)";
1912
- var BUTTON_BG = "rgba(54, 57, 63, 0.6)";
1913
- var BUTTON_BG_HOVER = "rgba(64, 68, 75, 0.8)";
1914
- var breakpoints = {
1915
- xs: "640px",
1916
- sm: "768px",
1917
- md: "1024px",
1918
- lg: "1280px"
1919
- };
1920
- var Container7 = styled8.header`
2403
+ var Container7 = styled9.header`
1921
2404
  position: relative;
1922
2405
  width: 100%;
1923
2406
  height: 56px;
1924
- background-color: ${HEADER_BG};
2407
+ background-color: ${tokens.colors.surface.subtle};
1925
2408
  backdrop-filter: blur(10px);
1926
2409
  -webkit-backdrop-filter: blur(10px);
1927
2410
  overflow: hidden;
@@ -1946,14 +2429,14 @@ var Container7 = styled8.header`
1946
2429
  }
1947
2430
 
1948
2431
  /* Small screens */
1949
- @media (min-width: ${breakpoints.xs}) {
2432
+ @media (min-width: ${tokens.breakpoints.mobile}px) {
1950
2433
  &::before {
1951
2434
  background-image: url('/assets/bg-set/pattern/Size=sm, Type=Waves Rays2.svg');
1952
2435
  }
1953
2436
  }
1954
2437
 
1955
2438
  /* Medium screens */
1956
- @media (min-width: ${breakpoints.sm}) {
2439
+ @media (min-width: ${tokens.breakpoints.tablet}px) {
1957
2440
  height: 64px;
1958
2441
 
1959
2442
  &::before {
@@ -1962,14 +2445,14 @@ var Container7 = styled8.header`
1962
2445
  }
1963
2446
 
1964
2447
  /* Large screens */
1965
- @media (min-width: ${breakpoints.md}) {
2448
+ @media (min-width: ${tokens.breakpoints.desktop}px) {
1966
2449
  &::before {
1967
2450
  background-image: url('/assets/bg-set/pattern/Size=lg, Type=Waves Rays2.svg');
1968
2451
  }
1969
2452
  }
1970
2453
 
1971
2454
  /* Extra large screens */
1972
- @media (min-width: ${breakpoints.lg}) {
2455
+ @media (min-width: 1440px) {
1973
2456
  &::before {
1974
2457
  background-image: url('/assets/bg-set/pattern/Size=xl, Type=Waves Rays2.svg');
1975
2458
  }
@@ -1977,10 +2460,10 @@ var Container7 = styled8.header`
1977
2460
 
1978
2461
  /* Dark theme support */
1979
2462
  @media (prefers-color-scheme: dark) {
1980
- background-color: ${HEADER_BG_DARK};
2463
+ background-color: ${tokens.colors.backdrop};
1981
2464
  }
1982
2465
  `;
1983
- var BrandLogo = styled8.img`
2466
+ var BrandLogo = styled9.img`
1984
2467
  position: relative;
1985
2468
  z-index: 1;
1986
2469
  max-height: 28px;
@@ -1991,23 +2474,23 @@ var BrandLogo = styled8.img`
1991
2474
  user-select: none;
1992
2475
 
1993
2476
  /* Slightly larger on desktop */
1994
- @media (min-width: ${breakpoints.sm}) {
2477
+ @media (min-width: ${tokens.breakpoints.tablet}px) {
1995
2478
  max-height: 32px;
1996
2479
  }
1997
2480
  `;
1998
- var SettingsButton = styled8.button`
2481
+ var SettingsButton = styled9.button`
1999
2482
  position: absolute;
2000
2483
  top: 50%;
2001
- right: 12px;
2484
+ right: ${tokens.spacing.md};
2002
2485
  transform: translateY(-50%);
2003
2486
  z-index: 2;
2004
2487
 
2005
2488
  /* Button appearance */
2006
2489
  width: 40px;
2007
2490
  height: 40px;
2008
- border-radius: 50%;
2491
+ border-radius: ${tokens.borderRadius.full};
2009
2492
  border: none;
2010
- background-color: ${BUTTON_BG};
2493
+ background-color: ${tokens.colors.surface.glass};
2011
2494
  cursor: pointer;
2012
2495
 
2013
2496
  /* Center the icon */
@@ -2016,11 +2499,11 @@ var SettingsButton = styled8.button`
2016
2499
  justify-content: center;
2017
2500
 
2018
2501
  /* Smooth transitions */
2019
- transition: background-color 0.2s ease, transform 0.1s ease;
2502
+ transition: background-color ${tokens.transitions.normal}, transform ${tokens.transitions.fast};
2020
2503
 
2021
2504
  /* Hover state */
2022
2505
  &:hover {
2023
- background-color: ${BUTTON_BG_HOVER};
2506
+ background-color: ${tokens.colors.surface.overlayHover};
2024
2507
  }
2025
2508
 
2026
2509
  /* Active state */
@@ -2030,7 +2513,7 @@ var SettingsButton = styled8.button`
2030
2513
 
2031
2514
  /* Focus visible state for accessibility */
2032
2515
  &:focus-visible {
2033
- outline: 2px solid #5865f2;
2516
+ outline: 2px solid ${tokens.colors.border.focus};
2034
2517
  outline-offset: 2px;
2035
2518
  }
2036
2519
 
@@ -2041,27 +2524,27 @@ var SettingsButton = styled8.button`
2041
2524
  }
2042
2525
 
2043
2526
  /* Responsive positioning */
2044
- @media (min-width: ${breakpoints.sm}) {
2045
- right: 16px;
2527
+ @media (min-width: ${tokens.breakpoints.tablet}px) {
2528
+ right: ${tokens.spacing.md};
2046
2529
  }
2047
2530
 
2048
- @media (min-width: ${breakpoints.md}) {
2049
- right: 24px;
2531
+ @media (min-width: ${tokens.breakpoints.desktop}px) {
2532
+ right: ${tokens.spacing.lg};
2050
2533
  }
2051
2534
  `;
2052
- var BackButton2 = styled8.button`
2535
+ var BackButton2 = styled9.button`
2053
2536
  position: absolute;
2054
2537
  top: 50%;
2055
- left: 12px;
2538
+ left: ${tokens.spacing.md};
2056
2539
  transform: translateY(-50%);
2057
2540
  z-index: 2;
2058
2541
 
2059
2542
  /* Button appearance */
2060
2543
  width: 40px;
2061
2544
  height: 40px;
2062
- border-radius: 50%;
2545
+ border-radius: ${tokens.borderRadius.full};
2063
2546
  border: none;
2064
- background-color: ${BUTTON_BG};
2547
+ background-color: ${tokens.colors.surface.glass};
2065
2548
  cursor: pointer;
2066
2549
 
2067
2550
  /* Center the icon */
@@ -2070,11 +2553,11 @@ var BackButton2 = styled8.button`
2070
2553
  justify-content: center;
2071
2554
 
2072
2555
  /* Smooth transitions */
2073
- transition: background-color 0.2s ease, transform 0.1s ease;
2556
+ transition: background-color ${tokens.transitions.normal}, transform ${tokens.transitions.fast};
2074
2557
 
2075
2558
  /* Hover state */
2076
2559
  &:hover {
2077
- background-color: ${BUTTON_BG_HOVER};
2560
+ background-color: ${tokens.colors.surface.overlayHover};
2078
2561
  }
2079
2562
 
2080
2563
  /* Active state */
@@ -2084,7 +2567,7 @@ var BackButton2 = styled8.button`
2084
2567
 
2085
2568
  /* Focus visible state for accessibility */
2086
2569
  &:focus-visible {
2087
- outline: 2px solid #5865f2;
2570
+ outline: 2px solid ${tokens.colors.border.focus};
2088
2571
  outline-offset: 2px;
2089
2572
  }
2090
2573
 
@@ -2095,12 +2578,12 @@ var BackButton2 = styled8.button`
2095
2578
  }
2096
2579
 
2097
2580
  /* Responsive positioning */
2098
- @media (min-width: ${breakpoints.sm}) {
2099
- left: 16px;
2581
+ @media (min-width: ${tokens.breakpoints.tablet}px) {
2582
+ left: ${tokens.spacing.md};
2100
2583
  }
2101
2584
 
2102
- @media (min-width: ${breakpoints.md}) {
2103
- left: 24px;
2585
+ @media (min-width: ${tokens.breakpoints.desktop}px) {
2586
+ left: ${tokens.spacing.lg};
2104
2587
  }
2105
2588
  `;
2106
2589
  function PaneSectionHeader({
@@ -2138,7 +2621,7 @@ function PaneSectionHeader({
2138
2621
  onMouseEnter: () => setIsBackHovered(true),
2139
2622
  onMouseLeave: () => setIsBackHovered(false),
2140
2623
  $isHovered: isBackHovered,
2141
- children: /* @__PURE__ */ jsx(Icon, { name: "arrow-left-fill", size: 20, color: "#b9bbbe" })
2624
+ children: /* @__PURE__ */ jsx(Icon, { name: "arrow-left-fill", size: 20, color: tokens.colors.text.secondary })
2142
2625
  }
2143
2626
  ),
2144
2627
  /* @__PURE__ */ jsx(BrandLogo, { src: `/assets/bg-set/brand-logos/${brand}2.svg`, alt: brand }),
@@ -2150,46 +2633,37 @@ function PaneSectionHeader({
2150
2633
  onMouseEnter: () => setIsSettingsHovered(true),
2151
2634
  onMouseLeave: () => setIsSettingsHovered(false),
2152
2635
  $isHovered: isSettingsHovered,
2153
- children: /* @__PURE__ */ jsx(
2154
- Icon,
2155
- {
2156
- name: settingsIcon,
2157
- size: 20,
2158
- color: "#b9bbbe"
2159
- }
2160
- )
2636
+ children: /* @__PURE__ */ jsx(Icon, { name: settingsIcon, size: 20, color: tokens.colors.text.secondary })
2161
2637
  }
2162
2638
  )
2163
2639
  ] });
2164
2640
  }
2165
2641
  PaneSectionHeader.displayName = "PaneSectionHeader";
2166
- var NAV_BG3 = "#36393F";
2167
- var NAV_BG_HOVER = "#40444b";
2168
- var Container8 = styled8.button`
2642
+ var Container8 = styled9.button`
2169
2643
  /* Base button styling */
2170
2644
  width: 48px;
2171
2645
  height: 48px;
2172
2646
  border: none;
2173
- padding: 4px;
2174
- border-radius: ${({ $active }) => $active ? "16px" : "50%"};
2175
- background-color: ${NAV_BG3};
2647
+ padding: ${tokens.spacing.xs};
2648
+ border-radius: ${({ $active }) => $active ? tokens.borderRadius.xl : tokens.borderRadius.full};
2649
+ background-color: ${tokens.colors.background.light};
2176
2650
  display: flex;
2177
2651
  align-items: center;
2178
2652
  justify-content: center;
2179
2653
  cursor: pointer;
2180
- transition: all 0.15s ease-out;
2654
+ transition: all ${tokens.transitions.fast};
2181
2655
  position: relative;
2182
2656
  overflow: hidden;
2183
2657
 
2184
2658
  /* Hover state */
2185
2659
  &:hover {
2186
- border-radius: 16px;
2187
- background-color: ${NAV_BG_HOVER};
2660
+ border-radius: ${tokens.borderRadius.xl};
2661
+ background-color: ${tokens.colors.surface.overlayHover};
2188
2662
  }
2189
2663
 
2190
2664
  /* Focus visible state for accessibility */
2191
2665
  &:focus-visible {
2192
- outline: 2px solid #5865f2;
2666
+ outline: 2px solid ${tokens.colors.border.focus};
2193
2667
  outline-offset: 2px;
2194
2668
  }
2195
2669
 
@@ -2203,8 +2677,8 @@ var Container8 = styled8.button`
2203
2677
  transform: translateY(-50%);
2204
2678
  width: 4px;
2205
2679
  height: 40px;
2206
- background-color: #ffffff;
2207
- border-radius: 0 4px 4px 0;
2680
+ background-color: ${tokens.colors.text.primary};
2681
+ border-radius: 0 ${tokens.borderRadius.sm} ${tokens.borderRadius.sm} 0;
2208
2682
  }
2209
2683
  `}
2210
2684
 
@@ -2214,7 +2688,7 @@ var Container8 = styled8.button`
2214
2688
  cursor: not-allowed;
2215
2689
  }
2216
2690
  `;
2217
- var LogoImage = styled8.img`
2691
+ var LogoImage = styled9.img`
2218
2692
  width: 100%;
2219
2693
  height: 100%;
2220
2694
  object-fit: contain;
@@ -2234,6 +2708,6 @@ function ServiceIcon({ brand, active = false, className, ...ariaProps }) {
2234
2708
  }
2235
2709
  ServiceIcon.displayName = "ServiceIcon";
2236
2710
 
2237
- export { ActionButtons, Icon, IconNames, Layout, NavHorizontal, NavVertical, PaneMenus, PaneSectionHeader, ServiceIcon, WorkflowStatusCard };
2711
+ export { ActionButtons, CategoryNav, Icon, IconNames, Layout, NavHorizontal, NavVertical, PaneMenus, PaneSectionHeader, ServiceIcon, WorkflowStatusCard };
2238
2712
  //# sourceMappingURL=index.js.map
2239
2713
  //# sourceMappingURL=index.js.map