@clasing/ui 0.0.56 → 0.0.57

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
@@ -23,12 +23,20 @@ declare const buttonIconStyles: (props?: ({
23
23
  rounded?: "full" | "sm" | null | undefined;
24
24
  } & ClassProp) | undefined) => string;
25
25
 
26
+ export declare const ButtonLink: ({ className, intent, size, weight, children, iconLeft, iconRight, isLoading, disabled, ...props }: IButtonLinkProps) => JSX_2.Element;
27
+
26
28
  declare const buttonStyles: (props?: ({
27
29
  intent?: "outline" | "primary" | "secondary" | "tertiary" | "ghost" | "destructive" | null | undefined;
28
30
  size?: "small" | "medium" | "large" | null | undefined;
29
31
  weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
30
32
  } & ClassProp) | undefined) => string;
31
33
 
34
+ declare const buttonStyles_2: (props?: ({
35
+ intent?: "primary" | null | undefined;
36
+ size?: "small" | "medium" | "large" | null | undefined;
37
+ weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
38
+ } & ClassProp) | undefined) => string;
39
+
32
40
  export declare const Card: ({ className, intent, shadow, children, ...props }: ICardProps) => JSX_2.Element;
33
41
 
34
42
  declare const cardStyles: (props?: ({
@@ -56,6 +64,18 @@ declare interface IButtonIconProps extends Omit<React.ButtonHTMLAttributes<HTMLB
56
64
  notification?: boolean;
57
65
  }
58
66
 
67
+ declare interface IButtonLinkProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonStyles_2> {
68
+ iconLeft?: {
69
+ name: TablerIconName;
70
+ stroke?: number;
71
+ } | TablerIconName;
72
+ iconRight?: {
73
+ name: TablerIconName;
74
+ stroke?: number;
75
+ } | TablerIconName;
76
+ isLoading?: boolean;
77
+ }
78
+
59
79
  declare interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonStyles> {
60
80
  iconLeft?: {
61
81
  name: TablerIconName;