ui-mathilde-web 0.3.9 → 0.4.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/style.css +1 -1
- package/dist/ui-mathilde-web.d.ts +31 -0
- package/dist/ui-mathilde-web.js +4295 -4215
- package/dist/ui-mathilde-web.umd.cjs +43 -43
- package/package.json +1 -1
|
@@ -6,6 +6,37 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
|
6
6
|
import * as React_2 from 'react';
|
|
7
7
|
import { RefAttributes } from 'react';
|
|
8
8
|
|
|
9
|
+
export declare const Accordion: default_2.FC<AccordionProps>;
|
|
10
|
+
|
|
11
|
+
export declare const AccordionGroup: default_2.FC<AccordionGroupProps>;
|
|
12
|
+
|
|
13
|
+
declare interface AccordionGroupProps {
|
|
14
|
+
items: AccordionItem[];
|
|
15
|
+
mode?: "multi" | "single";
|
|
16
|
+
defaultOpen?: string[];
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare interface AccordionItem {
|
|
21
|
+
id: string;
|
|
22
|
+
title: default_2.ReactNode;
|
|
23
|
+
content: default_2.ReactNode;
|
|
24
|
+
icon?: default_2.ReactNode;
|
|
25
|
+
iconPosition?: "left" | "right";
|
|
26
|
+
variant?: "minimal" | "bordered" | "shadow" | "ghost";
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare interface AccordionProps {
|
|
30
|
+
id: string;
|
|
31
|
+
title: default_2.ReactNode;
|
|
32
|
+
children: default_2.ReactNode;
|
|
33
|
+
isOpen: boolean;
|
|
34
|
+
onToggle?: () => void;
|
|
35
|
+
variant?: "minimal" | "bordered" | "shadow" | "ghost";
|
|
36
|
+
icon?: default_2.ReactNode;
|
|
37
|
+
iconPosition?: "left" | "right";
|
|
38
|
+
}
|
|
39
|
+
|
|
9
40
|
export declare const ButtonFormat: default_2.FC<ButtonFormatProps>;
|
|
10
41
|
|
|
11
42
|
declare interface ButtonFormatProps {
|