@medway-ui/core 1.10.0 → 1.10.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.mts CHANGED
@@ -54,7 +54,7 @@ declare function AvatarImage({ className, ...props }: React.ComponentProps<typeo
54
54
  declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime.JSX.Element;
55
55
 
56
56
  declare const badgeVariants: (props?: ({
57
- variant?: "regular" | "freemium" | null | undefined;
57
+ variant?: "regular" | "warning" | "error" | "freemium" | null | undefined;
58
58
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
59
59
  } & class_variance_authority_types.ClassProp) | undefined) => string;
60
60
  interface BadgeProps extends React.ComponentProps<"span">, VariantProps<typeof badgeVariants> {
@@ -360,11 +360,12 @@ declare function SegmentControlList({ className, containerClassName, ...props }:
360
360
  interface SegmentControlTriggerProps extends React.ComponentProps<typeof Tabs$1.Trigger> {
361
361
  icon?: React.ReactNode;
362
362
  badge?: number | string;
363
+ badgeVariant?: BadgeProps["variant"];
363
364
  }
364
365
  declare const segmentControlTriggerVariants: (props?: ({
365
366
  size?: "sm" | "md" | "lg" | null | undefined;
366
367
  } & class_variance_authority_types.ClassProp) | undefined) => string;
367
- declare function SegmentControlTrigger({ className, icon, badge, children, ...props }: SegmentControlTriggerProps): react_jsx_runtime.JSX.Element;
368
+ declare function SegmentControlTrigger({ className, icon, badge, badgeVariant, children, ...props }: SegmentControlTriggerProps): react_jsx_runtime.JSX.Element;
368
369
  declare function SegmentControlContent({ className, ...props }: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
369
370
 
370
371
  declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -54,7 +54,7 @@ declare function AvatarImage({ className, ...props }: React.ComponentProps<typeo
54
54
  declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime.JSX.Element;
55
55
 
56
56
  declare const badgeVariants: (props?: ({
57
- variant?: "regular" | "freemium" | null | undefined;
57
+ variant?: "regular" | "warning" | "error" | "freemium" | null | undefined;
58
58
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
59
59
  } & class_variance_authority_types.ClassProp) | undefined) => string;
60
60
  interface BadgeProps extends React.ComponentProps<"span">, VariantProps<typeof badgeVariants> {
@@ -360,11 +360,12 @@ declare function SegmentControlList({ className, containerClassName, ...props }:
360
360
  interface SegmentControlTriggerProps extends React.ComponentProps<typeof Tabs$1.Trigger> {
361
361
  icon?: React.ReactNode;
362
362
  badge?: number | string;
363
+ badgeVariant?: BadgeProps["variant"];
363
364
  }
364
365
  declare const segmentControlTriggerVariants: (props?: ({
365
366
  size?: "sm" | "md" | "lg" | null | undefined;
366
367
  } & class_variance_authority_types.ClassProp) | undefined) => string;
367
- declare function SegmentControlTrigger({ className, icon, badge, children, ...props }: SegmentControlTriggerProps): react_jsx_runtime.JSX.Element;
368
+ declare function SegmentControlTrigger({ className, icon, badge, badgeVariant, children, ...props }: SegmentControlTriggerProps): react_jsx_runtime.JSX.Element;
368
369
  declare function SegmentControlContent({ className, ...props }: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
369
370
 
370
371
  declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;