@takecasper/acuity-design-system 1.25.0 → 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/index.cjs.js +11 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.es.js +933 -868
- 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> {
|