@takecasper/acuity-design-system 1.20.0 → 1.22.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
@@ -52,7 +52,7 @@ export declare type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'inline
52
52
 
53
53
  export declare const Card: ({ content, iconName, title, footer, className, ...props }: CardProps) => JSX_2.Element;
54
54
 
55
- declare interface CardProps {
55
+ export declare interface CardProps {
56
56
  iconName?: IconNames;
57
57
  title?: string;
58
58
  content?: React.ReactNode;
@@ -70,6 +70,24 @@ export declare interface CheckboxProps extends React.InputHTMLAttributes<HTMLInp
70
70
  onClick?: (e: React.MouseEvent<HTMLInputElement | HTMLButtonElement, MouseEvent>) => void;
71
71
  }
72
72
 
73
+ export declare const Dropdown: ({ id, state, disabled, label, optionalityLabel, helpText, message, ...props }: DropdownProps) => JSX_2.Element;
74
+
75
+ export declare const DropdownAtom: ({ state, disabled, className, ...props }: DropdownAtomProps) => JSX_2.Element;
76
+
77
+ export declare interface DropdownAtomProps extends React_2.SelectHTMLAttributes<HTMLSelectElement> {
78
+ state?: InputState;
79
+ }
80
+
81
+ export declare interface DropdownProps extends React.InputHTMLAttributes<HTMLSelectElement> {
82
+ id: string;
83
+ state?: InputState;
84
+ label: string;
85
+ optionalityLabel?: string;
86
+ helpText?: string[];
87
+ onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
88
+ message?: string;
89
+ }
90
+
73
91
  export declare const Heading: ({ size, className, text, descriptionTop, descriptionBottom, hasHorizontalRule, hasMarginBottom, headingTag, ...props }: HeadingProps) => JSX_2.Element;
74
92
 
75
93
  export declare interface HeadingProps extends VariantProps<typeof headingVariants> {