@takecasper/acuity-design-system 1.14.3 → 1.16.0

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
@@ -21,6 +21,18 @@ declare type AlertProps = {
21
21
  handleClose?: () => void;
22
22
  };
23
23
 
24
+ export declare const Badge: ({ label, type, color, dismissible, dismissLabel, className, onDismiss, ...props }: BadgeProps) => JSX_2.Element;
25
+
26
+ declare interface BadgeProps extends React.HTMLAttributes<HTMLDivElement> {
27
+ label: string;
28
+ color?: 'default' | 'gray' | 'blue' | 'green' | 'yellow' | 'red';
29
+ type?: 'regular' | 'small';
30
+ dismissible?: boolean;
31
+ dismissLabel?: string;
32
+ className?: string;
33
+ onDismiss?: () => void;
34
+ }
35
+
24
36
  export declare const Button: React_2.FC<ButtonProps>;
25
37
 
26
38
  declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
@@ -36,18 +48,20 @@ declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonEle
36
48
  iconIndicator?: boolean;
37
49
  }
38
50
 
39
- export declare const Card: ({ bodyContent, iconName, title, footerContent, className }: CardProps) => JSX_2.Element;
51
+ export declare const Card: ({ content, iconName, title, footer, className }: CardProps) => JSX_2.Element;
40
52
 
41
- declare interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
53
+ declare interface CardProps {
42
54
  iconName?: IconNames;
43
55
  title?: string;
44
- bodyContent?: React.ReactNode;
45
- footerContent?: React.ReactNode;
56
+ content?: React.ReactNode;
57
+ footer?: React.ReactNode;
58
+ className?: string;
46
59
  }
47
60
 
48
61
  export declare const Checkbox: ({ id, label, name, checked, disabled, indeterminate, ...props }: CheckboxProps) => JSX_2.Element;
49
62
 
50
63
  declare interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
64
+ id: string;
51
65
  label?: string;
52
66
  indeterminate?: boolean;
53
67
  }