@eqtylab/equality 1.7.0 → 1.7.2

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/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?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
54
+ variant?: "danger" | "link" | "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?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
61
+ variant?: "danger" | "link" | "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?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
169
+ variant?: "danger" | "link" | "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' | 'benchmark-result' | 'binary' | 'code' | 'compute' | 'database' | 'dataset' | 'document' | 'media' | 'skill' | 'guardrail' | 'model' | 'prompt' | 'system-prompt' | 'reasoning' | 'config' | 'token' | 'tool' | 'unknown';
190
+ type ResourceType = 'agent' | 'benchmark' | 'benchmark-result' | 'binary' | 'certificate' | 'code' | 'compute' | 'credential' | '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?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
54
+ variant?: "danger" | "link" | "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?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
61
+ variant?: "danger" | "link" | "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?: "link" | "danger" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
169
+ variant?: "danger" | "link" | "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' | 'benchmark-result' | 'binary' | 'code' | 'compute' | 'database' | 'dataset' | 'document' | 'media' | 'skill' | 'guardrail' | 'model' | 'prompt' | 'system-prompt' | 'reasoning' | 'config' | 'token' | 'tool' | 'unknown';
190
+ type ResourceType = 'agent' | 'benchmark' | 'benchmark-result' | 'binary' | 'certificate' | 'code' | 'compute' | 'credential' | '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
@@ -667,12 +667,24 @@ var getTypeConfig = (type) => {
667
667
  className: styles9["badge--binary"],
668
668
  label: "Binary"
669
669
  };
670
+ case "certificate":
671
+ return {
672
+ icon: "Award",
673
+ className: styles9["badge--certificate"],
674
+ label: "Certificate"
675
+ };
670
676
  case "compute":
671
677
  return {
672
678
  icon: "Cpu",
673
679
  className: styles9["badge--compute"],
674
680
  label: "Compute"
675
681
  };
682
+ case "credential":
683
+ return {
684
+ icon: "IdCardLanyard",
685
+ className: styles9["badge--credential"],
686
+ label: "Credential"
687
+ };
676
688
  case "database":
677
689
  return {
678
690
  icon: "Database",