@takecasper/acuity-design-system 1.24.1 → 1.24.2
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.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +9 -3
- package/dist/index.es.js +190 -166
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export declare interface CheckboxProps extends React.InputHTMLAttributes<HTMLInp
|
|
|
71
71
|
onClick?: (e: React.MouseEvent<HTMLInputElement | HTMLButtonElement, MouseEvent>) => void;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
export declare const Dropdown: ({ id, state, disabled, label, optionalityLabel, helpText, message, ...props }: DropdownProps) => JSX_2.Element;
|
|
74
|
+
export declare const Dropdown: ({ id, state, disabled, label, optionalityLabel, helpText, message, className, hasMarginBottom, ...props }: DropdownProps) => JSX_2.Element;
|
|
75
75
|
|
|
76
76
|
export declare const DropdownAtom: ({ state, disabled, className, ...props }: DropdownAtomProps) => JSX_2.Element;
|
|
77
77
|
|
|
@@ -87,6 +87,8 @@ export declare interface DropdownProps extends React.InputHTMLAttributes<HTMLSel
|
|
|
87
87
|
helpText?: string[];
|
|
88
88
|
onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
89
89
|
message?: string;
|
|
90
|
+
className?: string;
|
|
91
|
+
hasMarginBottom?: boolean;
|
|
90
92
|
}
|
|
91
93
|
|
|
92
94
|
export declare const Heading: ({ size, className, text, descriptionTop, descriptionBottom, hasHorizontalRule, hasMarginBottom, headingTag, ...props }: HeadingProps) => JSX_2.Element;
|
|
@@ -221,7 +223,7 @@ export declare interface TabsProps extends React_2.HTMLAttributes<HTMLDivElement
|
|
|
221
223
|
className?: string;
|
|
222
224
|
}
|
|
223
225
|
|
|
224
|
-
export declare const Textarea: ({ id, state, label, rows, cols, isResizable, optionalityLabel, helpText, message, disabled, ...props }: TextareaProps) => JSX_2.Element;
|
|
226
|
+
export declare const Textarea: ({ id, state, label, rows, cols, isResizable, optionalityLabel, helpText, message, disabled, className, hasMarginBottom, ...props }: TextareaProps) => JSX_2.Element;
|
|
225
227
|
|
|
226
228
|
export declare const TextareaAtom: ({ state, rows, cols, isResizable, disabled, ...props }: TextareaAtomProps) => JSX_2.Element;
|
|
227
229
|
|
|
@@ -243,9 +245,11 @@ export declare interface TextareaProps extends React.TextareaHTMLAttributes<HTML
|
|
|
243
245
|
optionalityLabel?: string;
|
|
244
246
|
helpText?: string[];
|
|
245
247
|
message?: string;
|
|
248
|
+
className?: string;
|
|
249
|
+
hasMarginBottom?: boolean;
|
|
246
250
|
}
|
|
247
251
|
|
|
248
|
-
export declare const TextInput: ({ id, state, disabled, type, label, optionalityLabel, helpText, message, ...props }: TextInputProps) => JSX_2.Element;
|
|
252
|
+
export declare const TextInput: ({ id, state, disabled, type, label, optionalityLabel, helpText, message, className, hasMarginBottom, ...props }: TextInputProps) => JSX_2.Element;
|
|
249
253
|
|
|
250
254
|
export declare const TextInputAtom: ({ state, disabled, type, ...props }: TextInputAtomProps) => JSX_2.Element;
|
|
251
255
|
|
|
@@ -263,6 +267,8 @@ export declare interface TextInputProps extends React.InputHTMLAttributes<HTMLIn
|
|
|
263
267
|
helpText?: string[];
|
|
264
268
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
265
269
|
message?: string;
|
|
270
|
+
className?: string;
|
|
271
|
+
hasMarginBottom?: boolean;
|
|
266
272
|
}
|
|
267
273
|
|
|
268
274
|
export declare type TextInputTypes = 'text' | 'password' | 'email' | 'number' | 'tel' | 'url';
|