@clasing/ui 0.0.54 → 0.0.56
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 +3 -3
- package/dist/index.es.js +356 -493
- package/dist/index.umd.js +9 -9
- package/dist/style.css +1 -1
- package/package.json +1 -1
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
|
|
|
@@ -24,7 +24,7 @@ declare const buttonIconStyles: (props?: ({
|
|
|
24
24
|
} & ClassProp) | undefined) => string;
|
|
25
25
|
|
|
26
26
|
declare const buttonStyles: (props?: ({
|
|
27
|
-
intent?: "outline" | "
|
|
27
|
+
intent?: "outline" | "primary" | "secondary" | "tertiary" | "ghost" | "destructive" | null | undefined;
|
|
28
28
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
29
29
|
weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
|
|
30
30
|
} & ClassProp) | undefined) => string;
|
|
@@ -71,7 +71,7 @@ declare interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElem
|
|
|
71
71
|
declare interface ICardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardStyles> {
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
export declare const IconComponent: ({ iconName, ...props }: IIconComponentProps) => JSX_2.Element | null;
|
|
74
|
+
export declare const IconComponent: ({ iconName, stroke, ...props }: IIconComponentProps) => JSX_2.Element | null;
|
|
75
75
|
|
|
76
76
|
declare interface IIconComponentProps {
|
|
77
77
|
iconName: TablerIconName;
|