@takecasper/acuity-design-system 1.27.3 → 1.27.5
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 +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.es.js +324 -318
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import { AnchorHTMLAttributes } from 'react';
|
|
4
4
|
import { ClassProp } from 'class-variance-authority/types';
|
|
5
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
5
6
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
6
7
|
import { default as React_2 } from 'react';
|
|
7
8
|
import { ReactNode } from 'react';
|
|
9
|
+
import { RefAttributes } from 'react';
|
|
8
10
|
import { VariantProps } from 'class-variance-authority';
|
|
9
11
|
|
|
10
12
|
export declare const Alert: ({ variant, isDismissible, showIcon, titleSize, title, description, content, closeAriaLabel, id, handleClose, className, ...props }: AlertProps) => JSX_2.Element;
|
|
@@ -274,14 +276,13 @@ export declare interface TextareaProps extends React.TextareaHTMLAttributes<HTML
|
|
|
274
276
|
hasMarginBottom?: boolean;
|
|
275
277
|
}
|
|
276
278
|
|
|
277
|
-
export declare const TextInput:
|
|
279
|
+
export declare const TextInput: ForwardRefExoticComponent<TextInputProps & RefAttributes<HTMLInputElement>>;
|
|
278
280
|
|
|
279
|
-
export declare const TextInputAtom:
|
|
281
|
+
export declare const TextInputAtom: ForwardRefExoticComponent<TextInputAtomProps & RefAttributes<HTMLInputElement>>;
|
|
280
282
|
|
|
281
283
|
export declare interface TextInputAtomProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
282
284
|
state?: InputState;
|
|
283
285
|
type?: TextInputTypes;
|
|
284
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
285
286
|
}
|
|
286
287
|
|
|
287
288
|
export declare interface TextInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
@@ -295,7 +296,6 @@ export declare interface TextInputProps extends React.InputHTMLAttributes<HTMLIn
|
|
|
295
296
|
message?: string;
|
|
296
297
|
className?: string;
|
|
297
298
|
hasMarginBottom?: boolean;
|
|
298
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
export declare type TextInputTypes = 'text' | 'password' | 'email' | 'number' | 'tel' | 'url';
|