@clasing/ui 0.0.55 → 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
@@ -13,7 +13,7 @@ declare const badgeStyles: (props?: ({
13
13
  rounded?: "rectangle" | "full" | null | undefined;
14
14
  } & ClassProp) | undefined) => string;
15
15
 
16
- export declare const Button: ({ className, intent, size, children, iconLeft, iconRight, isLoading, disabled, ...props }: IButtonProps) => JSX_2.Element;
16
+ export declare const Button: ({ className, intent, size, weight, children, iconLeft, iconRight, isLoading, disabled, ...props }: IButtonProps) => JSX_2.Element;
17
17
 
18
18
  export declare const ButtonIcon: ({ iconName, className, intent, size, rounded, disabled, isLoading, notification, ...props }: IButtonIconProps) => JSX_2.Element;
19
19
 
@@ -23,8 +23,16 @@ 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
- intent?: "outline" | "link" | "primary" | "secondary" | "tertiary" | "ghost" | "destructive" | null | undefined;
29
+ intent?: "outline" | "primary" | "secondary" | "tertiary" | "ghost" | "destructive" | null | undefined;
30
+ size?: "small" | "medium" | "large" | null | undefined;
31
+ weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
32
+ } & ClassProp) | undefined) => string;
33
+
34
+ declare const buttonStyles_2: (props?: ({
35
+ intent?: "primary" | null | undefined;
28
36
  size?: "small" | "medium" | "large" | null | undefined;
29
37
  weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
30
38
  } & ClassProp) | undefined) => string;
@@ -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;
@@ -71,7 +91,7 @@ declare interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElem
71
91
  declare interface ICardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardStyles> {
72
92
  }
73
93
 
74
- export declare const IconComponent: ({ iconName, ...props }: IIconComponentProps) => JSX_2.Element | null;
94
+ export declare const IconComponent: ({ iconName, stroke, ...props }: IIconComponentProps) => JSX_2.Element | null;
75
95
 
76
96
  declare interface IIconComponentProps {
77
97
  iconName: TablerIconName;