@takecasper/acuity-design-system 1.24.2 → 1.26.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/assets/index.css +1 -1
- package/dist/index.cjs.js +11 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +22 -0
- package/dist/index.es.js +1036 -930
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,18 @@ export declare interface DropdownProps extends React.InputHTMLAttributes<HTMLSel
|
|
|
91
91
|
hasMarginBottom?: boolean;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
export declare const FormValidation: ({ children, className, onClick, successTitle, successDescription, errorTitle, buttonText, ...props }: FormValidationProps) => JSX_2.Element;
|
|
95
|
+
|
|
96
|
+
export declare interface FormValidationProps {
|
|
97
|
+
children: React_2.ReactNode;
|
|
98
|
+
className?: string;
|
|
99
|
+
onClick: React_2.MouseEventHandler<HTMLButtonElement | HTMLInputElement>;
|
|
100
|
+
successTitle: string;
|
|
101
|
+
successDescription: string;
|
|
102
|
+
errorTitle?: string;
|
|
103
|
+
buttonText: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
94
106
|
export declare const Heading: ({ size, className, text, descriptionTop, descriptionBottom, hasHorizontalRule, hasMarginBottom, headingTag, ...props }: HeadingProps) => JSX_2.Element;
|
|
95
107
|
|
|
96
108
|
export declare interface HeadingProps extends VariantProps<typeof headingVariants> {
|
|
@@ -204,6 +216,16 @@ export declare interface RadioProps extends React.InputHTMLAttributes<HTMLInputE
|
|
|
204
216
|
onClick?: (e: React.MouseEvent<HTMLInputElement | HTMLButtonElement, MouseEvent>) => void;
|
|
205
217
|
}
|
|
206
218
|
|
|
219
|
+
export declare const Spinner: ({ size, focusable, label, ariaLive, className }: SpinnerProps) => JSX_2.Element;
|
|
220
|
+
|
|
221
|
+
export declare interface SpinnerProps {
|
|
222
|
+
size: 'small' | 'medium' | 'large' | 'extra-large';
|
|
223
|
+
focusable: boolean;
|
|
224
|
+
label: string;
|
|
225
|
+
ariaLive?: 'polite' | 'assertive' | 'off';
|
|
226
|
+
className?: string;
|
|
227
|
+
}
|
|
228
|
+
|
|
207
229
|
export declare const Tab: ({ children }: TabProps) => ReactNode;
|
|
208
230
|
|
|
209
231
|
export declare interface TabProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|