ui-mathilde-web 0.1.22 → 0.1.24
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/README.md +1 -1
- package/dist/style.css +1 -1
- package/dist/ui-mathilde-web.d.ts +20 -2
- package/dist/ui-mathilde-web.js +4872 -4846
- package/dist/ui-mathilde-web.umd.cjs +42 -42
- package/package.json +1 -1
|
@@ -34,6 +34,7 @@ declare interface CardIndicatorProps {
|
|
|
34
34
|
end: number;
|
|
35
35
|
current: number;
|
|
36
36
|
type: string;
|
|
37
|
+
classIm?: string;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
declare interface CardItem {
|
|
@@ -67,7 +68,7 @@ declare interface CheckboxProps {
|
|
|
67
68
|
declare interface Column {
|
|
68
69
|
header: string;
|
|
69
70
|
relation: string;
|
|
70
|
-
cell?: (row: Record<string, unknown>) =>
|
|
71
|
+
cell?: (row: Record<string, unknown>) => React.ReactNode;
|
|
71
72
|
isToggle?: boolean;
|
|
72
73
|
sortable?: boolean;
|
|
73
74
|
toggleText?: {
|
|
@@ -259,6 +260,13 @@ declare interface SubMenuSection {
|
|
|
259
260
|
items: MenuItem[];
|
|
260
261
|
}
|
|
261
262
|
|
|
263
|
+
declare interface TabItem {
|
|
264
|
+
id: string;
|
|
265
|
+
title: string;
|
|
266
|
+
content: React.ReactNode;
|
|
267
|
+
icon?: React.ReactNode;
|
|
268
|
+
}
|
|
269
|
+
|
|
262
270
|
export declare const TableComponent: React_2.FC<TableComponentProps>;
|
|
263
271
|
|
|
264
272
|
declare interface TableComponentProps {
|
|
@@ -267,6 +275,7 @@ declare interface TableComponentProps {
|
|
|
267
275
|
showSearch?: boolean;
|
|
268
276
|
itemsPerPage?: number;
|
|
269
277
|
title?: string;
|
|
278
|
+
showPagination?: boolean;
|
|
270
279
|
onToggleChange?: (rowData: {
|
|
271
280
|
rowId: string | number;
|
|
272
281
|
checked: boolean;
|
|
@@ -286,7 +295,16 @@ declare interface TableOfContentsProps {
|
|
|
286
295
|
items: MenuItem_2[];
|
|
287
296
|
}
|
|
288
297
|
|
|
289
|
-
export declare function TabsComponent(): JSX_2.Element;
|
|
298
|
+
export declare function TabsComponent({ tabs, classes, tabItemClasses, contentClasses, defaultActiveTab, onTabChange }: TabsComponentProps): JSX_2.Element;
|
|
299
|
+
|
|
300
|
+
declare interface TabsComponentProps {
|
|
301
|
+
tabs: TabItem[];
|
|
302
|
+
classes?: string;
|
|
303
|
+
tabItemClasses?: string;
|
|
304
|
+
contentClasses?: string;
|
|
305
|
+
defaultActiveTab?: string;
|
|
306
|
+
onTabChange?: (tabId: string) => void;
|
|
307
|
+
}
|
|
290
308
|
|
|
291
309
|
export declare const TermsCheckbox: default_2.FC<TermsCheckboxProps>;
|
|
292
310
|
|