@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
@@ -284,185 +284,86 @@ function GmailIcon({
284
284
  );
285
285
  }
286
286
  GmailIcon.displayName = "GmailIcon";
287
- var StyledInstagramIcon = styled__default.default.button`
288
- display: inline-flex;
289
- align-items: center;
290
- justify-content: center;
291
- padding: 0;
292
- margin: 0;
293
- background: transparent;
294
- border: none;
295
- cursor: pointer;
296
- width: ${(props) => props.$size}px;
297
- height: ${(props) => props.$size}px;
298
- border-radius: ${(props) => props.theme.radii?.sm || "4px"};
299
- transition: all 0.2s ease;
300
-
301
- /* Focus visible state for accessibility */
302
- &:focus-visible {
303
- outline: 2px solid ${(props) => props.theme.colors?.primary || "#007bff"};
304
- outline-offset: 2px;
305
- }
306
-
307
- /* Hover state */
308
- &:hover:not(:disabled) {
309
- opacity: 0.8;
310
- transform: scale(1.05);
311
- }
312
-
313
- /* Active/pressed state */
314
- &:active:not(:disabled) {
315
- transform: scale(0.95);
316
- }
317
-
318
- /* Disabled state */
319
- &:disabled {
320
- opacity: 0.5;
321
- cursor: not-allowed;
322
- }
323
-
324
- /* Remove default button styles */
325
- -webkit-appearance: none;
326
- -moz-appearance: none;
327
- appearance: none;
328
-
329
- /* Ensure SVG is properly displayed */
330
- svg {
331
- display: block;
332
- pointer-events: none;
333
- }
334
- `;
335
287
  function InstagramIcon({
336
288
  variant = "colored",
337
289
  size = 24,
338
290
  className,
339
- "aria-label": ariaLabel = "Instagram",
340
- onPress,
341
- ...ariaProps
291
+ "aria-label": ariaLabel,
292
+ "aria-hidden": ariaHidden,
293
+ onClick,
294
+ ...svgProps
342
295
  }) {
343
- const ref = react.useRef(null);
344
296
  const gradientId = react.useId();
345
- const isInteractive = Boolean(onPress || ariaProps.onPressStart || ariaProps.onPressEnd);
346
- const { buttonProps } = button.useButton(
347
- {
348
- ...ariaProps,
349
- onPress,
350
- "aria-label": ariaLabel,
351
- // If not interactive, mark as presentation
352
- ...isInteractive ? {} : { "aria-hidden": true }
353
- },
354
- ref
355
- );
356
- const renderSvgContent = () => {
357
- const paths = {
358
- path1: "M12.0053 7.37695C9.45144 7.37695 7.37952 9.44766 7.37952 12C7.37952 14.5523 9.45144 16.623 12.0053 16.623C14.5591 16.623 16.631 14.5523 16.631 12C16.631 9.44766 14.5591 7.37695 12.0053 7.37695ZM12.0053 14.9988C10.3484 14.9988 9.00469 13.6559 9.00469 12C9.00469 10.3441 10.3484 9.00117 12.0053 9.00117C13.6621 9.00117 15.0059 10.3441 15.0059 12C15.0059 13.6559 13.6621 14.9988 12.0053 14.9988Z",
359
- path2: "M16.814 8.27345C17.4084 8.27345 17.8939 7.79181 17.8939 7.19415C17.8939 6.60001 17.4084 6.11485 16.814 6.11485C16.2195 6.11485 15.734 6.59649 15.734 7.19415C15.734 7.78829 16.2159 8.27345 16.814 8.27345Z",
360
- path3: "M12.0053 3C9.56048 3 9.25445 3.01055 8.29412 3.05273C7.33731 3.09492 6.6795 3.24961 6.10963 3.47109C5.51515 3.70312 5.01212 4.00898 4.51261 4.51172C4.00958 5.01094 3.70354 5.51367 3.47137 6.1043C3.24976 6.67734 3.09498 7.33125 3.05277 8.2875C3.01055 9.25078 3 9.55664 3 12C3 14.4434 3.01055 14.7492 3.05277 15.709C3.09498 16.6652 3.24976 17.3227 3.47137 17.8922C3.70354 18.4863 4.00958 18.9891 4.51261 19.4883C5.01212 19.9875 5.51515 20.2969 6.10612 20.5254C6.6795 20.7469 7.33379 20.9016 8.2906 20.9437C9.25093 20.9859 9.55697 20.9965 12.0018 20.9965C14.4465 20.9965 14.7526 20.9859 15.7129 20.9437C16.6697 20.9016 17.3275 20.7469 17.8974 20.5254C18.4884 20.2969 18.9914 19.9875 19.4909 19.4883C19.9904 18.9891 20.3 18.4863 20.5286 17.8957C20.7502 17.3227 20.905 16.6687 20.9472 15.7125C20.9894 14.7527 21 14.4469 21 12.0035C21 9.56016 20.9894 9.2543 20.9472 8.29453C20.905 7.33828 20.7502 6.68086 20.5286 6.11133C20.307 5.51367 20.001 5.01094 19.4979 4.51172C18.9984 4.0125 18.4954 3.70312 17.9044 3.47461C17.3311 3.25312 16.6768 3.09844 15.72 3.05625C14.7561 3.01055 14.4501 3 12.0053 3ZM12.0053 4.6207C14.4114 4.6207 14.6963 4.63125 15.6426 4.67344C16.522 4.71211 16.9969 4.85977 17.3135 4.98281C17.7321 5.14453 18.0346 5.34141 18.3477 5.6543C18.6643 5.9707 18.8577 6.26953 19.0195 6.68789C19.1427 7.0043 19.2904 7.48242 19.3291 8.35781C19.3713 9.30703 19.3819 9.5918 19.3819 11.993C19.3819 14.3977 19.3713 14.6824 19.3291 15.6281C19.2904 16.507 19.1427 16.9816 19.0195 17.298C18.8577 17.7164 18.6607 18.0188 18.3477 18.3316C18.0311 18.648 17.7321 18.8414 17.3135 19.0031C16.9969 19.1262 16.5185 19.2738 15.6426 19.3125C14.6928 19.3547 14.4079 19.3652 12.0053 19.3652C9.59918 19.3652 9.31425 19.3547 8.36799 19.3125C7.48857 19.2738 7.01368 19.1262 6.69709 19.0031C6.27848 18.8414 5.97596 18.6445 5.66289 18.3316C5.3463 18.0152 5.15282 17.7164 4.99101 17.298C4.86789 16.9816 4.72015 16.5035 4.68145 15.6281C4.63924 14.6789 4.62869 14.3941 4.62869 11.993C4.62869 9.58828 4.63924 9.30351 4.68145 8.35781C4.72015 7.47891 4.86789 7.0043 4.99101 6.68789C5.15282 6.26953 5.34981 5.96719 5.66289 5.6543C5.97948 5.33789 6.27848 5.14453 6.69709 4.98281C7.01368 4.85977 7.49209 4.71211 8.36799 4.67344C9.31425 4.63125 9.59918 4.6207 12.0053 4.6207Z"
361
- };
362
- switch (variant) {
363
- case "colored":
364
- return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
365
- /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs(
366
- "linearGradient",
367
- {
368
- id: gradientId,
369
- x1: "16",
370
- y1: "3",
371
- x2: "6.5",
372
- y2: "21",
373
- gradientUnits: "userSpaceOnUse",
374
- children: [
375
- /* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#6E3BF1" }),
376
- /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.241314", stopColor: "#C128BF" }),
377
- /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.475694", stopColor: "#EA336B" }),
378
- /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.715281", stopColor: "#EE8131" }),
379
- /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.913202", stopColor: "#F8D849" })
380
- ]
381
- }
382
- ) }),
383
- /* @__PURE__ */ jsxRuntime.jsx(
384
- "path",
385
- {
386
- fillRule: "evenodd",
387
- clipRule: "evenodd",
388
- d: paths.path1,
389
- fill: `url(#${gradientId})`
390
- }
391
- ),
392
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: paths.path2, fill: `url(#${gradientId})` }),
393
- /* @__PURE__ */ jsxRuntime.jsx(
394
- "path",
395
- {
396
- fillRule: "evenodd",
397
- clipRule: "evenodd",
398
- d: paths.path3,
399
- fill: `url(#${gradientId})`
400
- }
401
- )
402
- ] });
403
- case "black":
404
- return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
405
- /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: paths.path1, fill: "black" }),
406
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: paths.path2, fill: "black" }),
407
- /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: paths.path3, fill: "black" })
408
- ] });
409
- case "white":
410
- return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
411
- /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: paths.path1, fill: "white" }),
412
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: paths.path2, fill: "white" }),
413
- /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: paths.path3, fill: "white" })
414
- ] });
415
- default:
416
- return null;
297
+ const isInteractive = !!onClick;
298
+ const ariaAttributes = {
299
+ "aria-label": ariaLabel,
300
+ "aria-hidden": ariaHidden !== void 0 ? ariaHidden : !ariaLabel && !isInteractive,
301
+ role: isInteractive ? "button" : void 0,
302
+ tabIndex: isInteractive ? 0 : void 0
303
+ };
304
+ const handleKeyDown = (event) => {
305
+ if (isInteractive && (event.key === "Enter" || event.key === " ")) {
306
+ event.preventDefault();
307
+ onClick?.();
417
308
  }
418
309
  };
419
- if (!isInteractive) {
420
- return /* @__PURE__ */ jsxRuntime.jsx("span", { className, "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsxs(
421
- "svg",
422
- {
423
- width: size,
424
- height: size,
425
- viewBox: "0 0 24 24",
426
- fill: "none",
427
- xmlns: "http://www.w3.org/2000/svg",
428
- style: { display: "block" },
429
- role: "img",
430
- "aria-label": ariaLabel,
431
- children: [
432
- /* @__PURE__ */ jsxRuntime.jsx("title", { children: ariaLabel }),
433
- renderSvgContent()
434
- ]
435
- }
436
- ) });
437
- }
438
- return /* @__PURE__ */ jsxRuntime.jsx(
439
- StyledInstagramIcon,
440
- {
441
- ...buttonProps,
442
- ref,
443
- className,
444
- $size: size,
445
- role: "button",
446
- tabIndex: 0,
447
- children: /* @__PURE__ */ jsxRuntime.jsxs(
448
- "svg",
310
+ const commonProps = {
311
+ width: size,
312
+ height: size,
313
+ viewBox: "0 0 24 24",
314
+ fill: "none",
315
+ xmlns: "http://www.w3.org/2000/svg",
316
+ className,
317
+ onClick,
318
+ onKeyDown: isInteractive ? handleKeyDown : void 0,
319
+ ...ariaAttributes,
320
+ ...svgProps
321
+ };
322
+ const paths = {
323
+ // Camera lens circle
324
+ path1: "M12.0053 7.37695C9.45144 7.37695 7.37952 9.44766 7.37952 12C7.37952 14.5523 9.45144 16.623 12.0053 16.623C14.5591 16.623 16.631 14.5523 16.631 12C16.631 9.44766 14.5591 7.37695 12.0053 7.37695ZM12.0053 14.9988C10.3484 14.9988 9.00469 13.6559 9.00469 12C9.00469 10.3441 10.3484 9.00117 12.0053 9.00117C13.6621 9.00117 15.0059 10.3441 15.0059 12C15.0059 13.6559 13.6621 14.9988 12.0053 14.9988Z",
325
+ // Flash dot
326
+ path2: "M16.814 8.27345C17.4084 8.27345 17.8939 7.79181 17.8939 7.19415C17.8939 6.60001 17.4084 6.11485 16.814 6.11485C16.2195 6.11485 15.734 6.59649 15.734 7.19415C15.734 7.78829 16.2159 8.27345 16.814 8.27345Z",
327
+ // Outer rounded square
328
+ path3: "M12.0053 3C9.56048 3 9.25445 3.01055 8.29412 3.05273C7.33731 3.09492 6.6795 3.24961 6.10963 3.47109C5.51515 3.70312 5.01212 4.00898 4.51261 4.51172C4.00958 5.01094 3.70354 5.51367 3.47137 6.1043C3.24976 6.67734 3.09498 7.33125 3.05277 8.2875C3.01055 9.25078 3 9.55664 3 12C3 14.4434 3.01055 14.7492 3.05277 15.709C3.09498 16.6652 3.24976 17.3227 3.47137 17.8922C3.70354 18.4863 4.00958 18.9891 4.51261 19.4883C5.01212 19.9875 5.51515 20.2969 6.10612 20.5254C6.6795 20.7469 7.33379 20.9016 8.2906 20.9437C9.25093 20.9859 9.55697 20.9965 12.0018 20.9965C14.4465 20.9965 14.7526 20.9859 15.7129 20.9437C16.6697 20.9016 17.3275 20.7469 17.8974 20.5254C18.4884 20.2969 18.9914 19.9875 19.4909 19.4883C19.9904 18.9891 20.3 18.4863 20.5286 17.8957C20.7502 17.3227 20.905 16.6687 20.9472 15.7125C20.9894 14.7527 21 14.4469 21 12.0035C21 9.56016 20.9894 9.2543 20.9472 8.29453C20.905 7.33828 20.7502 6.68086 20.5286 6.11133C20.307 5.51367 20.001 5.01094 19.4979 4.51172C18.9984 4.0125 18.4954 3.70312 17.9044 3.47461C17.3311 3.25312 16.6768 3.09844 15.72 3.05625C14.7561 3.01055 14.4501 3 12.0053 3ZM12.0053 4.6207C14.4114 4.6207 14.6963 4.63125 15.6426 4.67344C16.522 4.71211 16.9969 4.85977 17.3135 4.98281C17.7321 5.14453 18.0346 5.34141 18.3477 5.6543C18.6643 5.9707 18.8577 6.26953 19.0195 6.68789C19.1427 7.0043 19.2904 7.48242 19.3291 8.35781C19.3713 9.30703 19.3819 9.5918 19.3819 11.993C19.3819 14.3977 19.3713 14.6824 19.3291 15.6281C19.2904 16.507 19.1427 16.9816 19.0195 17.298C18.8577 17.7164 18.6607 18.0188 18.3477 18.3316C18.0311 18.648 17.7321 18.8414 17.3135 19.0031C16.9969 19.1262 16.5185 19.2738 15.6426 19.3125C14.6928 19.3547 14.4079 19.3652 12.0053 19.3652C9.59918 19.3652 9.31425 19.3547 8.36799 19.3125C7.48857 19.2738 7.01368 19.1262 6.69709 19.0031C6.27848 18.8414 5.97596 18.6445 5.66289 18.3316C5.3463 18.0152 5.15282 17.7164 4.99101 17.298C4.86789 16.9816 4.72015 16.5035 4.68145 15.6281C4.63924 14.6789 4.62869 14.3941 4.62869 11.993C4.62869 9.58828 4.63924 9.30351 4.68145 8.35781C4.72015 7.47891 4.86789 7.0043 4.99101 6.68789C5.15282 6.26953 5.34981 5.96719 5.66289 5.6543C5.97948 5.33789 6.27848 5.14453 6.69709 4.98281C7.01368 4.85977 7.49209 4.71211 8.36799 4.67344C9.31425 4.63125 9.59918 4.6207 12.0053 4.6207Z"
329
+ };
330
+ if (variant === "colored") {
331
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { ...commonProps, children: [
332
+ /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs(
333
+ "linearGradient",
449
334
  {
450
- width: size,
451
- height: size,
452
- viewBox: "0 0 24 24",
453
- fill: "none",
454
- xmlns: "http://www.w3.org/2000/svg",
455
- style: { display: "block" },
456
- role: "img",
457
- "aria-label": ariaLabel,
335
+ id: gradientId,
336
+ x1: "16",
337
+ y1: "3",
338
+ x2: "6.5",
339
+ y2: "21",
340
+ gradientUnits: "userSpaceOnUse",
458
341
  children: [
459
- /* @__PURE__ */ jsxRuntime.jsx("title", { children: ariaLabel }),
460
- renderSvgContent()
342
+ /* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#6E3BF1" }),
343
+ /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.241314", stopColor: "#C128BF" }),
344
+ /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.475694", stopColor: "#EA336B" }),
345
+ /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.715281", stopColor: "#EE8131" }),
346
+ /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0.913202", stopColor: "#F8D849" })
461
347
  ]
462
348
  }
463
- )
464
- }
465
- );
349
+ ) }),
350
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: paths.path1, fill: `url(#${gradientId})` }),
351
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: paths.path2, fill: `url(#${gradientId})` }),
352
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: paths.path3, fill: `url(#${gradientId})` })
353
+ ] });
354
+ }
355
+ if (variant === "black") {
356
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { ...commonProps, children: [
357
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: paths.path1, fill: "black" }),
358
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: paths.path2, fill: "black" }),
359
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: paths.path3, fill: "black" })
360
+ ] });
361
+ }
362
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { ...commonProps, children: [
363
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: paths.path1, fill: "white" }),
364
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: paths.path2, fill: "white" }),
365
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: paths.path3, fill: "white" })
366
+ ] });
466
367
  }
467
368
  InstagramIcon.displayName = "InstagramIcon";
468
369
  var StyledIconWrapper2 = styled__default.default.button`