@takecasper/acuity-design-system 1.14.0 → 1.14.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/assets/index.css +1 -1
- package/dist/index.cjs.js +13 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/index.es.js +2872 -1581
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,22 @@ declare interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
93
93
|
iconName?: IconNames;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
export declare const Modal: ({ open, onClose, title, backdrop, content, footer, icon, iconComponent, iconName, dismissible, horizontalRule }: ModalProps) => JSX_2.Element;
|
|
97
|
+
|
|
98
|
+
declare interface ModalProps {
|
|
99
|
+
open: boolean;
|
|
100
|
+
onClose: () => void;
|
|
101
|
+
title: string;
|
|
102
|
+
backdrop: 'static' | 'dismissible' | 'none';
|
|
103
|
+
content: React_2.ReactNode;
|
|
104
|
+
footer?: React_2.ReactNode;
|
|
105
|
+
icon?: boolean;
|
|
106
|
+
iconName?: IconNames;
|
|
107
|
+
iconComponent?: React_2.ReactNode;
|
|
108
|
+
dismissible?: boolean;
|
|
109
|
+
horizontalRule?: boolean;
|
|
110
|
+
}
|
|
111
|
+
|
|
96
112
|
export declare const Radio: ({ label, name, id, disabled, ...props }: RadioProps) => JSX_2.Element;
|
|
97
113
|
|
|
98
114
|
declare interface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {
|