@eqtylab/equality 1.5.1 → 1.6.0
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/generated/color-vars.css +40 -25
- package/dist/generated/dark-tokens.css +16 -10
- package/dist/generated/global-dark-tokens.css +16 -10
- package/dist/generated/global-light-tokens.css +24 -15
- package/dist/generated/light-tokens.css +24 -15
- package/dist/generated/tailwind-tokens.css +18 -9
- package/dist/index.cjs +29 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +29 -22
- package/dist/index.js.map +1 -1
- package/dist/resource-badge.module.module.css.module.css +21 -13
- package/dist/theme.module.module.css.module.css +58 -34
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -51,14 +51,14 @@ declare const AlertDialogFooter: {
|
|
|
51
51
|
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
52
52
|
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
53
53
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
54
|
-
variant?: "
|
|
54
|
+
variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
55
55
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
56
56
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
57
57
|
prefix?: React$1.ReactNode;
|
|
58
58
|
suffix?: React$1.ReactNode;
|
|
59
59
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
60
60
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
61
|
-
variant?: "
|
|
61
|
+
variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
62
62
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
63
63
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
64
64
|
prefix?: React$1.ReactNode;
|
|
@@ -166,7 +166,7 @@ declare const BgGradient: ({ theme, placement, }: {
|
|
|
166
166
|
}) => react_jsx_runtime.JSX.Element;
|
|
167
167
|
|
|
168
168
|
declare const buttonVariants: (props?: ({
|
|
169
|
-
variant?: "
|
|
169
|
+
variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
170
170
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
171
171
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
172
172
|
type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
|
|
@@ -187,7 +187,7 @@ type ButtonProps = VariantProps<typeof buttonVariants> & ((ButtonBaseProps & {
|
|
|
187
187
|
}));
|
|
188
188
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
189
189
|
|
|
190
|
-
type ResourceType = 'agent' | 'benchmark' | 'code' | 'compute' | 'database' | 'dataset' | 'document' | '
|
|
190
|
+
type ResourceType = 'agent' | 'benchmark' | 'benchmark-result' | 'binary' | 'code' | 'compute' | 'database' | 'dataset' | 'document' | 'media' | 'skill' | 'guardrail' | 'model' | 'prompt' | 'system-prompt' | 'reasoning' | 'config' | 'token' | 'tool' | 'unknown';
|
|
191
191
|
type ResourceDisplayMode = BadgeDisplayMode;
|
|
192
192
|
interface ResourceBadgeProps {
|
|
193
193
|
type: ResourceType;
|
package/dist/index.d.ts
CHANGED
|
@@ -51,14 +51,14 @@ declare const AlertDialogFooter: {
|
|
|
51
51
|
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
52
52
|
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
53
53
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
54
|
-
variant?: "
|
|
54
|
+
variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
55
55
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
56
56
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
57
57
|
prefix?: React$1.ReactNode;
|
|
58
58
|
suffix?: React$1.ReactNode;
|
|
59
59
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
60
60
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
61
|
-
variant?: "
|
|
61
|
+
variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
62
62
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
63
63
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
64
64
|
prefix?: React$1.ReactNode;
|
|
@@ -166,7 +166,7 @@ declare const BgGradient: ({ theme, placement, }: {
|
|
|
166
166
|
}) => react_jsx_runtime.JSX.Element;
|
|
167
167
|
|
|
168
168
|
declare const buttonVariants: (props?: ({
|
|
169
|
-
variant?: "
|
|
169
|
+
variant?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
170
170
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
171
171
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
172
172
|
type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
|
|
@@ -187,7 +187,7 @@ type ButtonProps = VariantProps<typeof buttonVariants> & ((ButtonBaseProps & {
|
|
|
187
187
|
}));
|
|
188
188
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
189
189
|
|
|
190
|
-
type ResourceType = 'agent' | 'benchmark' | 'code' | 'compute' | 'database' | 'dataset' | 'document' | '
|
|
190
|
+
type ResourceType = 'agent' | 'benchmark' | 'benchmark-result' | 'binary' | 'code' | 'compute' | 'database' | 'dataset' | 'document' | 'media' | 'skill' | 'guardrail' | 'model' | 'prompt' | 'system-prompt' | 'reasoning' | 'config' | 'token' | 'tool' | 'unknown';
|
|
191
191
|
type ResourceDisplayMode = BadgeDisplayMode;
|
|
192
192
|
interface ResourceBadgeProps {
|
|
193
193
|
type: ResourceType;
|
package/dist/index.js
CHANGED
|
@@ -650,12 +650,24 @@ var getTypeConfig = (type) => {
|
|
|
650
650
|
className: styles9["badge--benchmark"],
|
|
651
651
|
label: "Benchmark"
|
|
652
652
|
};
|
|
653
|
+
case "benchmark-result":
|
|
654
|
+
return {
|
|
655
|
+
icon: "FileChartLine",
|
|
656
|
+
className: styles9["badge--benchmark-result"],
|
|
657
|
+
label: "Benchmark Result"
|
|
658
|
+
};
|
|
653
659
|
case "code":
|
|
654
660
|
return {
|
|
655
661
|
icon: "Code",
|
|
656
662
|
className: styles9["badge--code"],
|
|
657
663
|
label: "Code"
|
|
658
664
|
};
|
|
665
|
+
case "binary":
|
|
666
|
+
return {
|
|
667
|
+
icon: "Binary",
|
|
668
|
+
className: styles9["badge--binary"],
|
|
669
|
+
label: "Binary"
|
|
670
|
+
};
|
|
659
671
|
case "compute":
|
|
660
672
|
return {
|
|
661
673
|
icon: "Cpu",
|
|
@@ -680,11 +692,17 @@ var getTypeConfig = (type) => {
|
|
|
680
692
|
className: styles9["badge--document"],
|
|
681
693
|
label: "Document"
|
|
682
694
|
};
|
|
683
|
-
case "
|
|
695
|
+
case "skill":
|
|
696
|
+
return {
|
|
697
|
+
icon: "FileCog",
|
|
698
|
+
className: styles9["badge--skill"],
|
|
699
|
+
label: "Skill"
|
|
700
|
+
};
|
|
701
|
+
case "media":
|
|
684
702
|
return {
|
|
685
|
-
icon: "
|
|
686
|
-
className: styles9["badge--
|
|
687
|
-
label: "
|
|
703
|
+
icon: "FileImage",
|
|
704
|
+
className: styles9["badge--media"],
|
|
705
|
+
label: "Media"
|
|
688
706
|
};
|
|
689
707
|
case "guardrail":
|
|
690
708
|
return {
|
|
@@ -692,12 +710,6 @@ var getTypeConfig = (type) => {
|
|
|
692
710
|
className: styles9["badge--guardrail"],
|
|
693
711
|
label: "Guardrail"
|
|
694
712
|
};
|
|
695
|
-
case "inference":
|
|
696
|
-
return {
|
|
697
|
-
icon: "Zap",
|
|
698
|
-
className: styles9["badge--inference"],
|
|
699
|
-
label: "Inference"
|
|
700
|
-
};
|
|
701
713
|
case "model":
|
|
702
714
|
return {
|
|
703
715
|
icon: "Brain",
|
|
@@ -716,12 +728,6 @@ var getTypeConfig = (type) => {
|
|
|
716
728
|
className: styles9["badge--system-prompt"],
|
|
717
729
|
label: "System Prompt"
|
|
718
730
|
};
|
|
719
|
-
case "context":
|
|
720
|
-
return {
|
|
721
|
-
icon: "MessageSquareQuote",
|
|
722
|
-
className: styles9["badge--context"],
|
|
723
|
-
label: "Context"
|
|
724
|
-
};
|
|
725
731
|
case "reasoning":
|
|
726
732
|
return {
|
|
727
733
|
icon: "MessageSquareMore",
|
|
@@ -734,19 +740,20 @@ var getTypeConfig = (type) => {
|
|
|
734
740
|
className: styles9["badge--token"],
|
|
735
741
|
label: "Token"
|
|
736
742
|
};
|
|
737
|
-
case "
|
|
743
|
+
case "tool":
|
|
738
744
|
return {
|
|
739
745
|
icon: "Wrench",
|
|
740
|
-
className: styles9["badge--
|
|
741
|
-
label: "
|
|
746
|
+
className: styles9["badge--tool"],
|
|
747
|
+
label: "Tool"
|
|
742
748
|
};
|
|
743
|
-
case "
|
|
749
|
+
case "config":
|
|
744
750
|
return {
|
|
745
751
|
icon: "Settings2",
|
|
746
|
-
className: styles9["badge--
|
|
747
|
-
label: "
|
|
752
|
+
className: styles9["badge--config"],
|
|
753
|
+
label: "Configuration"
|
|
748
754
|
};
|
|
749
755
|
case "unknown":
|
|
756
|
+
default:
|
|
750
757
|
return {
|
|
751
758
|
icon: "Box",
|
|
752
759
|
className: styles9["badge--unknown"],
|