@agentiffai/design 0.1.10 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Window-CF5y1_Og.d.cts → Window-BcTRumpc.d.cts} +3 -26
- package/dist/{Window-CF5y1_Og.d.ts → Window-BcTRumpc.d.ts} +3 -26
- package/dist/copilotkit/index.cjs +147 -125
- package/dist/copilotkit/index.cjs.map +1 -1
- package/dist/copilotkit/index.d.cts +4 -27
- package/dist/copilotkit/index.d.ts +4 -27
- package/dist/copilotkit/index.js +149 -127
- package/dist/copilotkit/index.js.map +1 -1
- package/dist/icons/index.cjs +164 -1
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.d.cts +19 -1
- package/dist/icons/index.d.ts +19 -1
- package/dist/icons/index.js +164 -2
- package/dist/icons/index.js.map +1 -1
- package/dist/index.cjs +382 -163
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -10
- package/dist/index.d.ts +18 -10
- package/dist/index.js +382 -164
- package/dist/index.js.map +1 -1
- package/dist/layout/index.cjs +28 -25
- package/dist/layout/index.cjs.map +1 -1
- package/dist/layout/index.d.cts +2 -1
- package/dist/layout/index.d.ts +2 -1
- package/dist/layout/index.js +28 -25
- package/dist/layout/index.js.map +1 -1
- package/dist/workflow/index.cjs +5 -3
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.js +5 -3
- package/dist/workflow/index.js.map +1 -1
- package/package.json +1 -1
package/dist/icons/index.cjs
CHANGED
|
@@ -502,6 +502,161 @@ function LinkedInIcon({
|
|
|
502
502
|
return /* @__PURE__ */ jsxRuntime.jsx("span", { className, style: { display: "inline-flex", width: size, height: size }, children: svgElement });
|
|
503
503
|
}
|
|
504
504
|
LinkedInIcon.displayName = "LinkedInIcon";
|
|
505
|
+
var StyledIconWrapper3 = styled__default.default.button`
|
|
506
|
+
display: inline-flex;
|
|
507
|
+
align-items: center;
|
|
508
|
+
justify-content: center;
|
|
509
|
+
background: transparent;
|
|
510
|
+
border: none;
|
|
511
|
+
padding: 0;
|
|
512
|
+
cursor: pointer;
|
|
513
|
+
transition: all 0.2s ease-in-out;
|
|
514
|
+
width: ${({ $size }) => `${$size}px`};
|
|
515
|
+
height: ${({ $size }) => `${$size}px`};
|
|
516
|
+
border-radius: ${({ theme }) => theme?.radii?.sm ?? "4px"};
|
|
517
|
+
|
|
518
|
+
&:hover:not(:disabled) {
|
|
519
|
+
opacity: 0.8;
|
|
520
|
+
transform: scale(1.05);
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
&:active:not(:disabled) {
|
|
524
|
+
opacity: 0.6;
|
|
525
|
+
transform: scale(0.95);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
&:focus-visible {
|
|
529
|
+
outline: 2px solid ${({ theme }) => (theme?.colors?.primary && typeof theme.colors.primary === "object" ? theme.colors.primary.light : theme?.colors?.primary) ?? "#0066FF"};
|
|
530
|
+
outline-offset: 2px;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
&:disabled {
|
|
534
|
+
cursor: not-allowed;
|
|
535
|
+
opacity: 0.5;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/* Remove default focus outline, using focus-visible instead */
|
|
539
|
+
&:focus {
|
|
540
|
+
outline: none;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
svg {
|
|
544
|
+
display: block;
|
|
545
|
+
width: 100%;
|
|
546
|
+
height: 100%;
|
|
547
|
+
}
|
|
548
|
+
`;
|
|
549
|
+
function PostizIcon({
|
|
550
|
+
variant = "colored",
|
|
551
|
+
size = 24,
|
|
552
|
+
className,
|
|
553
|
+
style,
|
|
554
|
+
"aria-label": ariaLabel = "Postiz",
|
|
555
|
+
onPress,
|
|
556
|
+
...ariaProps
|
|
557
|
+
}) {
|
|
558
|
+
const ref = react.useRef(null);
|
|
559
|
+
const isInteractive = Boolean(onPress);
|
|
560
|
+
const { buttonProps } = button.useButton(
|
|
561
|
+
{
|
|
562
|
+
...ariaProps,
|
|
563
|
+
onPress,
|
|
564
|
+
"aria-label": ariaLabel,
|
|
565
|
+
isDisabled: !isInteractive
|
|
566
|
+
},
|
|
567
|
+
ref
|
|
568
|
+
);
|
|
569
|
+
const role = isInteractive ? "button" : "img";
|
|
570
|
+
const ariaHidden = !isInteractive && !ariaLabel;
|
|
571
|
+
const colors = {
|
|
572
|
+
colored: {
|
|
573
|
+
purple: "#612bd3",
|
|
574
|
+
dark: "#131019",
|
|
575
|
+
white: "#fff",
|
|
576
|
+
stroke: "#131019"
|
|
577
|
+
},
|
|
578
|
+
black: {
|
|
579
|
+
purple: "black",
|
|
580
|
+
dark: "black",
|
|
581
|
+
white: "black",
|
|
582
|
+
stroke: "black"
|
|
583
|
+
},
|
|
584
|
+
white: {
|
|
585
|
+
purple: "white",
|
|
586
|
+
dark: "white",
|
|
587
|
+
white: "white",
|
|
588
|
+
stroke: "white"
|
|
589
|
+
}
|
|
590
|
+
};
|
|
591
|
+
const c = colors[variant];
|
|
592
|
+
const svgElement = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
593
|
+
"svg",
|
|
594
|
+
{
|
|
595
|
+
width: size,
|
|
596
|
+
height: size,
|
|
597
|
+
viewBox: "26.74 0.02 460.94 509.34",
|
|
598
|
+
fill: "none",
|
|
599
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
600
|
+
role,
|
|
601
|
+
"aria-label": ariaLabel,
|
|
602
|
+
"aria-hidden": ariaHidden,
|
|
603
|
+
children: [
|
|
604
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
605
|
+
"path",
|
|
606
|
+
{
|
|
607
|
+
d: "M103.4 82.6c.4 5.6.8 12 1.4 19.1L125 362.4c2.3 29.1 3.4 43.8 9.9 54.4 5.7 9.4 14.4 16.7 24.5 21 11.6 4.9 26.1 3.7 55.2 1.4l199.8-15.4c18.9-1.5 31.7-2.5 41.2-4.8-3.2 7.5-8.1 14.3-14.5 19.5-9.6 8-23.9 11.4-52.4 17.9l-195 45c-28.5 6.5-42.8 9.9-54.8 6.8-10.7-2.7-20.3-8.6-27.3-17.1-8-9.6-11.4-23.9-17.9-52.4L34.7 184c-6.5-28.5-9.9-42.8-6.8-54.8 2.7-10.7 8.6-20.3 17.1-27.3 9.6-8 23.9-11.4 52.4-17.9z",
|
|
608
|
+
fill: c.purple
|
|
609
|
+
}
|
|
610
|
+
),
|
|
611
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
612
|
+
"path",
|
|
613
|
+
{
|
|
614
|
+
d: "M112.8 101.1c-1.1-14.8-2-25.2-1.9-33.6 0-8.2.9-13.6 2.8-18 3.6-8.6 9.8-15.8 17.7-20.8 4.1-2.5 9.2-4.2 17.4-5.4 8.2-1.3 18.8-2.2 33.5-3.3L382 4.4c14.8-1.1 25.2-2 33.6-1.9 8.2 0 13.6.9 18 2.8 8.6 3.6 15.8 9.8 20.8 17.7 2.5 4.1 4.2 9.2 5.4 17.4s2.2 18.8 3.3 33.5l20.2 260.8c1.1 14.8 2 25.2 1.9 33.6 0 8.2-.9 13.6-2.8 18-3.6 8.6-9.8 15.8-17.7 20.8-4.1 2.5-9.2 4.2-17.4 5.4-8.2 1.3-18.8 2.2-33.5 3.3l-199.7 15.4c-14.8 1.1-25.2 2-33.6 1.9-8.2 0-13.6-.9-18-2.8-8.6-3.6-15.8-9.8-20.8-17.7-2.5-4.1-4.2-9.2-5.4-17.4-1.3-8.2-2.2-18.8-3.3-33.5z",
|
|
615
|
+
fill: "none",
|
|
616
|
+
stroke: c.stroke,
|
|
617
|
+
strokeWidth: "4.9373"
|
|
618
|
+
}
|
|
619
|
+
),
|
|
620
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
621
|
+
"path",
|
|
622
|
+
{
|
|
623
|
+
d: "m182.9 27.9 199.7-15.4c14.9-1.2 25-1.9 33-1.9 7.7 0 11.9.9 14.9 2.2 7 3 13 8 17 14.6 1.7 2.9 3.2 6.8 4.5 14.5 1.3 7.8 2.1 18 3.2 32.9l20.2 260.8c1.2 14.9 1.9 25 1.9 33 0 7.7-.9 11.9-2.2 14.9-3 7-8 13-14.6 17-2.9 1.7-6.8 3.2-14.5 4.5-7.8 1.3-18 2.1-32.9 3.2l-199.7 15.3c-14.8 1.2-25 1.9-33 1.9-7.7 0-11.9-.9-14.9-2.2-7-3-13-8-17-14.6-1.7-2.9-3.2-6.8-4.5-14.5-1.3-7.8-2.1-18-3.2-32.9l-20.2-260.8c-1.2-14.8-1.9-25-1.9-33 0-7.7.9-11.9 2.2-14.9 3-7 8-13 14.6-17 2.9-1.7 6.8-3.2 14.5-4.5 7.9-1.1 18.1-1.9 32.9-3.1",
|
|
624
|
+
fill: c.white
|
|
625
|
+
}
|
|
626
|
+
),
|
|
627
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
628
|
+
"path",
|
|
629
|
+
{
|
|
630
|
+
d: "m269.4 88.3 1.9 24.8c3.5-4.3 7.9-7.9 13.4-11 5.4-3.3 12.3-5.2 20.4-5.8 7.4-.6 14.7.3 21.4 2.7 7 2.4 13.3 6.4 18.8 12.5 5.7 5.7 10.6 13.7 14.5 23.8s6.3 22.5 7.5 37.2c.8 10.5.7 21.2-.5 31.9-1 10.7-3.4 20.4-7.3 29.1-4 8.7-9.7 16-17.2 21.9-7.3 5.6-16.7 8.9-28.4 9.8-8.3.7-15 .1-20-1.8-5-2.1-8.8-4.6-11.5-7.4l6.2 80-46.5 15.5L221.8 92zm26.4 149c5.7-.4 10.4-2.7 14.1-6.7 3.7-4.3 6.3-9.5 8-15.8 2-6.3 3.1-13.3 3.4-20.8.5-7.7.5-15.3-.1-22.9-.9-12.1-2.8-21.6-5.5-28.4-2.5-6.8-5.3-11.9-8.4-14.9-3.2-3.3-6.1-5.2-9.1-5.9-2.7-.7-4.9-1-6.3-.8-4 .3-7.7 2.1-11.2 5.1-3.6 3-5.9 7.2-7.3 12.9l7.1 91.9c1.2 1.7 3.2 3.3 5.6 4.9 2.5 1.2 5.7 1.7 9.7 1.4",
|
|
631
|
+
fill: c.dark
|
|
632
|
+
}
|
|
633
|
+
)
|
|
634
|
+
]
|
|
635
|
+
}
|
|
636
|
+
);
|
|
637
|
+
if (isInteractive) {
|
|
638
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
639
|
+
StyledIconWrapper3,
|
|
640
|
+
{
|
|
641
|
+
...buttonProps,
|
|
642
|
+
ref,
|
|
643
|
+
className,
|
|
644
|
+
style,
|
|
645
|
+
$size: size,
|
|
646
|
+
children: svgElement
|
|
647
|
+
}
|
|
648
|
+
);
|
|
649
|
+
}
|
|
650
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
651
|
+
"span",
|
|
652
|
+
{
|
|
653
|
+
className,
|
|
654
|
+
style: { display: "inline-flex", width: size, height: size, ...style },
|
|
655
|
+
children: svgElement
|
|
656
|
+
}
|
|
657
|
+
);
|
|
658
|
+
}
|
|
659
|
+
PostizIcon.displayName = "PostizIcon";
|
|
505
660
|
var ColoredVariant = () => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
506
661
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
507
662
|
"path",
|
|
@@ -984,6 +1139,13 @@ function WhatsAppIcon({
|
|
|
984
1139
|
);
|
|
985
1140
|
}
|
|
986
1141
|
WhatsAppIcon.displayName = "WhatsAppIcon";
|
|
1142
|
+
|
|
1143
|
+
// src/theme/tokens.ts
|
|
1144
|
+
var tokens = {
|
|
1145
|
+
borderRadius: {
|
|
1146
|
+
sm: "0.25rem"}};
|
|
1147
|
+
|
|
1148
|
+
// src/components/icons/XIcon/XIcon.styles.ts
|
|
987
1149
|
var StyledXIcon = styled__default.default.svg`
|
|
988
1150
|
display: inline-block;
|
|
989
1151
|
vertical-align: middle;
|
|
@@ -1004,7 +1166,7 @@ var StyledXIcon = styled__default.default.svg`
|
|
|
1004
1166
|
&:focus-visible {
|
|
1005
1167
|
outline: 2px solid ${theme?.colors?.primary ?? "#007bff"};
|
|
1006
1168
|
outline-offset: 2px;
|
|
1007
|
-
border-radius:
|
|
1169
|
+
border-radius: ${tokens.borderRadius.sm};
|
|
1008
1170
|
}
|
|
1009
1171
|
`}
|
|
1010
1172
|
`;
|
|
@@ -1159,6 +1321,7 @@ exports.FacebookIcon = FacebookIcon;
|
|
|
1159
1321
|
exports.GmailIcon = GmailIcon;
|
|
1160
1322
|
exports.InstagramIcon = InstagramIcon;
|
|
1161
1323
|
exports.LinkedInIcon = LinkedInIcon;
|
|
1324
|
+
exports.PostizIcon = PostizIcon;
|
|
1162
1325
|
exports.RedditIcon = RedditIcon;
|
|
1163
1326
|
exports.SlackIcon = SlackIcon;
|
|
1164
1327
|
exports.TelegramIcon = TelegramIcon;
|