@qodo/design-system 0.20.14 → 0.20.16

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.ts CHANGED
@@ -99,7 +99,7 @@ declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, Var
99
99
  }
100
100
 
101
101
  declare const badgeVariants: (props?: ({
102
- variant?: "default" | "secondary" | "outline" | "text" | "success" | "warning" | "destructive" | "error" | "primary" | "pending" | null | undefined;
102
+ variant?: "text" | "default" | "secondary" | "outline" | "success" | "warning" | "destructive" | "error" | "primary" | "pending" | null | undefined;
103
103
  size?: "xs" | "sm" | "lg" | "md" | null | undefined;
104
104
  } & ClassProp) | undefined) => string;
105
105
 
@@ -161,10 +161,14 @@ export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLBu
161
161
  loading?: boolean;
162
162
  icon?: LucideIcon | IconType;
163
163
  iconPosition?: "left" | "right";
164
+ tooltip?: React_2.ReactNode;
165
+ tooltipProps?: TooltipContentProps & {
166
+ disableArrow?: boolean;
167
+ };
164
168
  }
165
169
 
166
170
  declare const buttonVariants: (props?: ({
167
- variant?: "default" | "secondary" | "outline" | "ghost" | "link" | "danger" | null | undefined;
171
+ variant?: "link" | "default" | "secondary" | "outline" | "ghost" | "danger" | null | undefined;
168
172
  size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-sm" | "icon-md" | "icon-lg" | null | undefined;
169
173
  } & ClassProp) | undefined) => string;
170
174
 
@@ -951,7 +955,7 @@ export declare interface TypographyProps extends React_2.HTMLAttributes<HTMLElem
951
955
  }
952
956
 
953
957
  export declare const typographyVariants: (props?: ({
954
- variant?: "small" | "list" | "blockquote" | "body" | "caption" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "muted" | "large" | "lead" | "code-inline" | "code-block" | "list-ordered" | null | undefined;
958
+ variant?: "blockquote" | "body" | "caption" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "small" | "list" | "muted" | "large" | "lead" | "code-inline" | "code-block" | "list-ordered" | null | undefined;
955
959
  } & ClassProp) | undefined) => string;
956
960
 
957
961
  declare type UseCarouselParameters = Parameters<typeof default_2>;