@mahatisystems/mahati-ui-components 4.0.3 → 4.2.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/calendar-3-SFJ52KIR.png +0 -0
- package/dist/down_4-X52SETBJ.png +0 -0
- package/dist/index.d.mts +198 -65
- package/dist/index.d.ts +198 -65
- package/dist/index.js +11459 -4122
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11454 -4125
- package/dist/index.mjs.map +1 -1
- package/dist/performance-peak-icon-QXFZTZUB.png +0 -0
- package/package.json +15 -13
|
Binary file
|
|
Binary file
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import React__default
|
|
3
|
+
import React__default from 'react';
|
|
4
|
+
import { ChartData } from 'chart.js';
|
|
4
5
|
|
|
5
6
|
interface AccordionProps {
|
|
6
7
|
title: string;
|
|
7
|
-
children?: ReactNode;
|
|
8
|
+
children?: React__default.ReactNode;
|
|
8
9
|
defaultOpen?: boolean;
|
|
9
10
|
}
|
|
10
11
|
declare function Accordion({ title, children, defaultOpen, }: AccordionProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -12,19 +13,6 @@ declare namespace Accordion {
|
|
|
12
13
|
var displayName: string;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
16
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "danger" | "dotted" | "pill";
|
|
17
|
-
size?: "default" | "sm" | "md" | "lg" | "icon";
|
|
18
|
-
name?: string;
|
|
19
|
-
iconButton?: boolean;
|
|
20
|
-
iconButtonHeightClass?: string;
|
|
21
|
-
iconButtonWidthClass?: string;
|
|
22
|
-
iconButtonBgClass?: string;
|
|
23
|
-
iconButtonRadiusClass?: string;
|
|
24
|
-
iconButtonBgPaddingClass?: string;
|
|
25
|
-
iconButtonHoverBgClass?: string;
|
|
26
|
-
iconButtonHoverIntensity?: number;
|
|
27
|
-
}
|
|
28
16
|
interface IconButtonGroupProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
29
17
|
direction?: "row" | "col";
|
|
30
18
|
gapClass?: string;
|
|
@@ -36,30 +24,13 @@ declare const IconButtonGroup: React__default.ForwardRefExoticComponent<IconButt
|
|
|
36
24
|
/**
|
|
37
25
|
* ButtonBase - Main button component
|
|
38
26
|
*/
|
|
39
|
-
declare const ButtonBase:
|
|
27
|
+
declare const ButtonBase: any;
|
|
40
28
|
type ButtonWithGroup = typeof ButtonBase & {
|
|
41
29
|
IconButtonGroup: typeof IconButtonGroup;
|
|
42
30
|
};
|
|
43
31
|
declare const Button: ButtonWithGroup;
|
|
44
32
|
|
|
45
|
-
|
|
46
|
-
type CardSize = 'default' | 'sm' | 'lg' | 'figma';
|
|
47
|
-
interface CardProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'content'> {
|
|
48
|
-
title?: string;
|
|
49
|
-
cardContent?: React__default.ReactNode;
|
|
50
|
-
cardBackContent?: React__default.ReactNode;
|
|
51
|
-
collapsible?: boolean;
|
|
52
|
-
flippable?: boolean;
|
|
53
|
-
backgroundColor?: string;
|
|
54
|
-
borderRadius?: string;
|
|
55
|
-
defaultOpen?: boolean;
|
|
56
|
-
onFlip?: (isFlipped: boolean) => void;
|
|
57
|
-
variant?: CardVariant;
|
|
58
|
-
size?: CardSize;
|
|
59
|
-
className?: string;
|
|
60
|
-
children?: React__default.ReactNode;
|
|
61
|
-
}
|
|
62
|
-
declare const Card: React__default.ForwardRefExoticComponent<CardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
declare const Card: any;
|
|
63
34
|
|
|
64
35
|
type MahatiModalSize = "default" | "sm" | "md" | "lg" | "xl";
|
|
65
36
|
type MahatiModalProps = {
|
|
@@ -98,14 +69,12 @@ interface FormContainerProps {
|
|
|
98
69
|
className?: string;
|
|
99
70
|
style?: React__default.CSSProperties;
|
|
100
71
|
}
|
|
101
|
-
declare const FormContainer:
|
|
72
|
+
declare const FormContainer: {
|
|
73
|
+
({ children, onSubmit, style, className }: FormContainerProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
74
|
+
displayName: string;
|
|
75
|
+
};
|
|
102
76
|
|
|
103
|
-
|
|
104
|
-
hasError?: boolean;
|
|
105
|
-
errorMessage?: string;
|
|
106
|
-
className?: string;
|
|
107
|
-
}
|
|
108
|
-
declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
77
|
+
declare const Input: any;
|
|
109
78
|
|
|
110
79
|
interface CalendarDate {
|
|
111
80
|
year: number;
|
|
@@ -159,7 +128,10 @@ interface CalendarProps {
|
|
|
159
128
|
days: number;
|
|
160
129
|
};
|
|
161
130
|
}
|
|
162
|
-
declare const Calendar:
|
|
131
|
+
declare const Calendar: {
|
|
132
|
+
({ value, onChange, enableRangeSelection, rangeValue, onRangeChange, enableTimeSelection, timeValue, onTimeChange, showTimeFormatToggle, timeFormat, onTimeFormatChange, autoHide, showTodayButton, showClearButton, placeholder, className, disabled, onShow, onHide, icon, showIcon, size, enableYearDropdown, showDateFormatSelector, dateFormat, onDateFormatChange, showTimeZoneSelector, timeZoneFormat, onTimeZoneFormatChange, blockDateConfig, previewTextStyles, globalTypography }: CalendarProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
133
|
+
displayName: string;
|
|
134
|
+
};
|
|
163
135
|
|
|
164
136
|
type FilterValues = {
|
|
165
137
|
date: CalendarDateRange;
|
|
@@ -200,16 +172,25 @@ interface FilterProps {
|
|
|
200
172
|
searchPlaceholder?: string;
|
|
201
173
|
size?: any;
|
|
202
174
|
}
|
|
203
|
-
declare const Filter: {
|
|
175
|
+
declare const Filter$1: {
|
|
204
176
|
({ onApply, onReset, activityOptions, statusOptions, searchPlaceholder, size }: FilterProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
205
177
|
displayName: string;
|
|
206
178
|
};
|
|
207
179
|
/** ✅ MAHATI ACTIVITY */
|
|
208
|
-
declare const MahatiActivity:
|
|
180
|
+
declare const MahatiActivity: {
|
|
181
|
+
({ value, onChange, options, size, }: MahatiActivityProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
182
|
+
displayName: string;
|
|
183
|
+
};
|
|
209
184
|
/** ✅ MAHATI STATUS */
|
|
210
|
-
declare const MahatiStatus:
|
|
185
|
+
declare const MahatiStatus: {
|
|
186
|
+
({ value, onChange, options, size, }: MahatiStatusProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
187
|
+
displayName: string;
|
|
188
|
+
};
|
|
211
189
|
/** ✅ MAHATI SEARCH */
|
|
212
|
-
declare const MahatiSearch:
|
|
190
|
+
declare const MahatiSearch: {
|
|
191
|
+
({ value, onChange, placeholder, size, }: MahatiSearchProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
192
|
+
displayName: string;
|
|
193
|
+
};
|
|
213
194
|
|
|
214
195
|
interface Tab {
|
|
215
196
|
label: string;
|
|
@@ -234,7 +215,10 @@ interface TabbedInterfaceProps {
|
|
|
234
215
|
sectionTitleFont?: string;
|
|
235
216
|
sectionDescriptionFont?: string;
|
|
236
217
|
}
|
|
237
|
-
declare const TabbedInterface:
|
|
218
|
+
declare const TabbedInterface: {
|
|
219
|
+
({ tabs, variant, defaultActiveTab, onTabChange, draggableTabs, onReorderTabs, orientation, verticalPosition, showTabCloseIconInHeader, tabCloseIconPosition, tabCloseIconContent, onCloseTab, tabHeaderFont, tabContentFont, sectionTitleFont, sectionDescriptionFont, }: TabbedInterfaceProps): any;
|
|
220
|
+
displayName: string;
|
|
221
|
+
};
|
|
238
222
|
|
|
239
223
|
interface DropdownOption {
|
|
240
224
|
key: string;
|
|
@@ -249,7 +233,10 @@ interface DropdownProps {
|
|
|
249
233
|
placeholder?: string;
|
|
250
234
|
disabled?: boolean;
|
|
251
235
|
}
|
|
252
|
-
declare const Dropdown:
|
|
236
|
+
declare const Dropdown: {
|
|
237
|
+
({ options, value, onSelect, variant, className, placeholder, disabled }: DropdownProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
238
|
+
displayName: string;
|
|
239
|
+
};
|
|
253
240
|
|
|
254
241
|
interface TableProps {
|
|
255
242
|
headers: {
|
|
@@ -285,7 +272,10 @@ interface TableProps {
|
|
|
285
272
|
textWrapMaxLength?: number;
|
|
286
273
|
textWrapColumnMaxLengths?: Record<string, number>;
|
|
287
274
|
}
|
|
288
|
-
declare const Table:
|
|
275
|
+
declare const Table: {
|
|
276
|
+
({ headers, data, page, setPage, limit, setLimit, totalCount, highlightRowColor, actions, paginationRequired, paginationPosition, onDownloadPDF, onDownloadExcel, searchable, searchTerm, onResetSearch, onSearch, searchModeOptions, summary, summaryKey, summaryTitleField, summaryColumn, summaryColumnKey, summaryColumnMaxLength, textWrapColumns, textWrapMaxLength, textWrapColumnMaxLengths, }: TableProps): any;
|
|
277
|
+
displayName: string;
|
|
278
|
+
};
|
|
289
279
|
|
|
290
280
|
type BaseTableProps = React__default.ComponentProps<typeof Table>;
|
|
291
281
|
type BaseTabProps = React__default.ComponentProps<typeof TabbedInterface>;
|
|
@@ -342,8 +332,145 @@ declare namespace TableWithTab {
|
|
|
342
332
|
var displayName: string;
|
|
343
333
|
}
|
|
344
334
|
|
|
335
|
+
interface BulletItem {
|
|
336
|
+
name: string;
|
|
337
|
+
achieved: number;
|
|
338
|
+
target: number;
|
|
339
|
+
marker: number;
|
|
340
|
+
}
|
|
341
|
+
interface BulletData {
|
|
342
|
+
title: string;
|
|
343
|
+
bullets: BulletItem[];
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
interface GaugeItem {
|
|
347
|
+
name: string;
|
|
348
|
+
value: number;
|
|
349
|
+
max: number;
|
|
350
|
+
}
|
|
351
|
+
interface GaugeData {
|
|
352
|
+
title: string;
|
|
353
|
+
gauges: GaugeItem[];
|
|
354
|
+
[year: string]: any;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
interface HorizontalBarData {
|
|
358
|
+
title: string;
|
|
359
|
+
xAxis?: Record<string, {
|
|
360
|
+
min: number;
|
|
361
|
+
max: number;
|
|
362
|
+
step: number;
|
|
363
|
+
labels: number[];
|
|
364
|
+
}>;
|
|
365
|
+
[year: string]: string | Record<string, any> | undefined;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
declare const GANTT_COLORS: {
|
|
369
|
+
readonly green: "rgba(44, 160, 44, 1)";
|
|
370
|
+
readonly blue: "rgba(37, 99, 235, 1)";
|
|
371
|
+
readonly orange: "rgba(255, 127, 14, 1)";
|
|
372
|
+
readonly red: "rgba(239, 68, 68, 1)";
|
|
373
|
+
readonly purple: "rgba(147, 51, 234, 1)";
|
|
374
|
+
readonly teal: "rgba(20, 184, 166, 1)";
|
|
375
|
+
readonly pink: "rgba(236, 72, 153, 1)";
|
|
376
|
+
readonly yellow: "rgba(234, 179, 8, 1)";
|
|
377
|
+
readonly indigo: "rgba(99, 102, 241, 1)";
|
|
378
|
+
readonly emerald: "rgba(16, 185, 129, 1)";
|
|
379
|
+
};
|
|
380
|
+
interface GanttTask {
|
|
381
|
+
id: string;
|
|
382
|
+
name: string;
|
|
383
|
+
startDate: string;
|
|
384
|
+
endDate: string;
|
|
385
|
+
progress: number;
|
|
386
|
+
status: "In Progress" | "On Target" | "Overdue" | "Completed";
|
|
387
|
+
color: keyof typeof GANTT_COLORS;
|
|
388
|
+
}
|
|
389
|
+
interface GanttData {
|
|
390
|
+
title: string;
|
|
391
|
+
projectName: string;
|
|
392
|
+
tasks: GanttTask[];
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
interface HeatmapDayData {
|
|
396
|
+
date: string;
|
|
397
|
+
value: number;
|
|
398
|
+
label?: string;
|
|
399
|
+
}
|
|
400
|
+
interface HeatmapData {
|
|
401
|
+
year: number;
|
|
402
|
+
month: string;
|
|
403
|
+
data: HeatmapDayData[];
|
|
404
|
+
project?: string;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
type ChartType = "pie" | "doughnut" | "line" | "area" | "bar" | "bullet" | "gauge" | "gantt" | "calendarheatmap" | "horizontalbar";
|
|
408
|
+
interface Filter {
|
|
409
|
+
id: string;
|
|
410
|
+
label: string;
|
|
411
|
+
options: string[];
|
|
412
|
+
}
|
|
413
|
+
interface ChartFiltersConfig {
|
|
414
|
+
pie?: Filter[];
|
|
415
|
+
doughnut?: Filter[];
|
|
416
|
+
line?: Filter[];
|
|
417
|
+
area?: Filter[];
|
|
418
|
+
bar?: Filter[];
|
|
419
|
+
bullet?: Filter[];
|
|
420
|
+
gauge?: Filter[];
|
|
421
|
+
gantt?: Filter[];
|
|
422
|
+
calendarheatmap?: Filter[];
|
|
423
|
+
horizontalbar?: Filter[];
|
|
424
|
+
}
|
|
425
|
+
interface DetailItem {
|
|
426
|
+
label: string;
|
|
427
|
+
value: string;
|
|
428
|
+
color: string;
|
|
429
|
+
description: string;
|
|
430
|
+
status?: "In Progress" | "Overdue" | "On Target";
|
|
431
|
+
}
|
|
432
|
+
interface MahatiChartAnalyticsWidgetProps {
|
|
433
|
+
title: string;
|
|
434
|
+
chartTypes: ChartType[];
|
|
435
|
+
initialChartType: ChartType;
|
|
436
|
+
filters: Filter[];
|
|
437
|
+
chartFilters?: ChartFiltersConfig;
|
|
438
|
+
selectedFilters: Record<string, string>;
|
|
439
|
+
chartDataMap: Record<ChartType, ChartData<any>>;
|
|
440
|
+
bulletData?: BulletData;
|
|
441
|
+
gaugeData?: GaugeData;
|
|
442
|
+
horizontalBarData?: HorizontalBarData;
|
|
443
|
+
ganttData?: Record<string, Record<string, GanttData>>;
|
|
444
|
+
heatmapData?: Record<string, HeatmapData>;
|
|
445
|
+
calendarheatmapData?: Record<string, any>;
|
|
446
|
+
onApplyFilters?: (filters: Record<string, string>) => void;
|
|
447
|
+
onChartTypeChange?: (chartType: ChartType) => void;
|
|
448
|
+
onFiltersChange: (filters: Record<string, string>) => void;
|
|
449
|
+
details: DetailItem[];
|
|
450
|
+
quickStats: {
|
|
451
|
+
totalVolume: {
|
|
452
|
+
value: string;
|
|
453
|
+
change: string;
|
|
454
|
+
description: string;
|
|
455
|
+
};
|
|
456
|
+
transactions: {
|
|
457
|
+
value: string;
|
|
458
|
+
description: string;
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
actionButtons: {
|
|
462
|
+
label: string;
|
|
463
|
+
style: "danger" | "primary" | "success" | "mahati";
|
|
464
|
+
onClick: () => void;
|
|
465
|
+
}[];
|
|
466
|
+
}
|
|
467
|
+
declare const MahatiChartAnalyticsWidget: {
|
|
468
|
+
({ title, chartTypes, initialChartType, filters, chartFilters, selectedFilters, chartDataMap, bulletData, gaugeData, horizontalBarData, ganttData, heatmapData, calendarheatmapData, onApplyFilters, quickStats, actionButtons, onChartTypeChange, onFiltersChange, details, }: MahatiChartAnalyticsWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
469
|
+
displayName: string;
|
|
470
|
+
};
|
|
471
|
+
|
|
345
472
|
interface TooltipProps {
|
|
346
|
-
text?: string;
|
|
473
|
+
text?: string | React__default.ReactNode;
|
|
347
474
|
position?: "top" | "right" | "bottom" | "left";
|
|
348
475
|
children: React__default.ReactNode;
|
|
349
476
|
variant?: "default" | "transparent";
|
|
@@ -362,7 +489,10 @@ interface TooltipProps {
|
|
|
362
489
|
triggerDelay?: number;
|
|
363
490
|
};
|
|
364
491
|
}
|
|
365
|
-
declare const Tooltip:
|
|
492
|
+
declare const Tooltip: {
|
|
493
|
+
({ text, position, children, variant, className, textColor, backgroundColor, image, animation }: TooltipProps): any;
|
|
494
|
+
displayName: string;
|
|
495
|
+
};
|
|
366
496
|
|
|
367
497
|
type ClassValue = string | false | null | undefined;
|
|
368
498
|
declare const cn: (...values: ClassValue[]) => string;
|
|
@@ -399,7 +529,10 @@ interface ToastContainerProps {
|
|
|
399
529
|
onClose: (id: string) => void;
|
|
400
530
|
}
|
|
401
531
|
declare const titleForType: (type: ToastType) => "Success" | "Error" | "Warning" | "Notification" | "Liquid UI" | "Confirmation";
|
|
402
|
-
declare const ToastMessageBase:
|
|
532
|
+
declare const ToastMessageBase: {
|
|
533
|
+
({ toasts, position, onClose }: ToastContainerProps): any;
|
|
534
|
+
displayName: string;
|
|
535
|
+
};
|
|
403
536
|
type ToastMessageWithUtils = typeof ToastMessageBase & {
|
|
404
537
|
cn: typeof cn;
|
|
405
538
|
titleForType: typeof titleForType;
|
|
@@ -435,14 +568,14 @@ interface SpinnerProps {
|
|
|
435
568
|
backgroundColor?: string;
|
|
436
569
|
speed?: number;
|
|
437
570
|
}
|
|
438
|
-
declare const Spinner:
|
|
571
|
+
declare const Spinner: ({ size, borderWidth, borderRadius, primaryColor, backgroundColor, speed }: SpinnerProps) => any;
|
|
439
572
|
interface CircularSpinnerProps {
|
|
440
573
|
size?: number;
|
|
441
574
|
color?: string;
|
|
442
575
|
speed?: number;
|
|
443
576
|
ringCount?: number;
|
|
444
577
|
}
|
|
445
|
-
declare const CircularSpinner:
|
|
578
|
+
declare const CircularSpinner: ({ size, color, speed, ringCount, }: CircularSpinnerProps) => any;
|
|
446
579
|
interface CardOverlayLoaderProps {
|
|
447
580
|
show?: boolean;
|
|
448
581
|
spinnerSize?: number;
|
|
@@ -452,7 +585,7 @@ interface CardOverlayLoaderProps {
|
|
|
452
585
|
backdrop?: string;
|
|
453
586
|
label?: string;
|
|
454
587
|
}
|
|
455
|
-
declare const CardOverlayLoader:
|
|
588
|
+
declare const CardOverlayLoader: ({ show, spinnerSize, spinnerBorderWidth, spinnerPrimary, spinnerTrack, backdrop, label }: CardOverlayLoaderProps) => any;
|
|
456
589
|
interface LoadingDotsProps {
|
|
457
590
|
size?: number;
|
|
458
591
|
color?: string;
|
|
@@ -460,7 +593,7 @@ interface LoadingDotsProps {
|
|
|
460
593
|
speed?: number;
|
|
461
594
|
count?: number;
|
|
462
595
|
}
|
|
463
|
-
declare const LoadingDots:
|
|
596
|
+
declare const LoadingDots: ({ size, color, gap, speed, count, }: LoadingDotsProps) => any;
|
|
464
597
|
interface LoadingDotsLinearProps {
|
|
465
598
|
size?: number;
|
|
466
599
|
color?: string;
|
|
@@ -468,14 +601,14 @@ interface LoadingDotsLinearProps {
|
|
|
468
601
|
speed?: number;
|
|
469
602
|
count?: number;
|
|
470
603
|
}
|
|
471
|
-
declare const LoadingDotsLinear:
|
|
604
|
+
declare const LoadingDotsLinear: ({ size, color, gap, speed, count, }: LoadingDotsLinearProps) => any;
|
|
472
605
|
interface CardWithLoadingProps {
|
|
473
606
|
loading?: boolean;
|
|
474
607
|
imageUrl?: string;
|
|
475
608
|
title?: string;
|
|
476
609
|
content?: string;
|
|
477
610
|
}
|
|
478
|
-
declare const CardWithLoading:
|
|
611
|
+
declare const CardWithLoading: ({ loading, imageUrl, title, content, }: CardWithLoadingProps) => any;
|
|
479
612
|
|
|
480
613
|
declare function SearchableDropdown({ label, options, value, onChange, placeholder, }: any): _emotion_react_jsx_runtime.JSX.Element;
|
|
481
614
|
|
|
@@ -493,7 +626,7 @@ declare const TexttoAudio: ({ icons }: {
|
|
|
493
626
|
icons?: IconSet;
|
|
494
627
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
495
628
|
|
|
496
|
-
declare const MahatiLocationAccessModal: ({ isOpen, onClose, title, description, image, allowText, denyText, onAllow, onDeny, }: any) =>
|
|
629
|
+
declare const MahatiLocationAccessModal: ({ isOpen, onClose, title, description, image, allowText, denyText, onAllow, onDeny, }: any) => any;
|
|
497
630
|
interface MahatiCameraAccessModalProps {
|
|
498
631
|
isOpen: boolean;
|
|
499
632
|
onClose: () => void;
|
|
@@ -505,8 +638,8 @@ interface MahatiCameraAccessModalProps {
|
|
|
505
638
|
onAllow?: (stream?: MediaStream) => void;
|
|
506
639
|
onDeny?: () => void;
|
|
507
640
|
}
|
|
508
|
-
declare const MahatiCameraAccessModal: ({ isOpen, onClose, title, description, image, allowText, denyText, onAllow, onDeny, }: MahatiCameraAccessModalProps) =>
|
|
509
|
-
declare const MahatiMicrophoneAccessModal: ({ isOpen, onClose, title, description, image, allowText, denyText, onAllow, onDeny, }: any) =>
|
|
641
|
+
declare const MahatiCameraAccessModal: ({ isOpen, onClose, title, description, image, allowText, denyText, onAllow, onDeny, }: MahatiCameraAccessModalProps) => any;
|
|
642
|
+
declare const MahatiMicrophoneAccessModal: ({ isOpen, onClose, title, description, image, allowText, denyText, onAllow, onDeny, }: any) => any;
|
|
510
643
|
interface MahatiPromotionModalProps {
|
|
511
644
|
isOpen: boolean;
|
|
512
645
|
onClose: () => void;
|
|
@@ -520,7 +653,7 @@ interface MahatiPromotionModalProps {
|
|
|
520
653
|
showInput?: boolean;
|
|
521
654
|
inputPlaceholder?: string;
|
|
522
655
|
}
|
|
523
|
-
declare const MahatiPromotionModal: ({ isOpen, onClose, ctaLink, openInNewTab, onCtaClick, ...cardProps }: MahatiPromotionModalProps) =>
|
|
656
|
+
declare const MahatiPromotionModal: ({ isOpen, onClose, ctaLink, openInNewTab, onCtaClick, ...cardProps }: MahatiPromotionModalProps) => any;
|
|
524
657
|
interface MahatiPromotionModalV2Props {
|
|
525
658
|
isOpen: boolean;
|
|
526
659
|
onClose: () => void;
|
|
@@ -534,7 +667,7 @@ interface MahatiPromotionModalV2Props {
|
|
|
534
667
|
showBadgeImage?: boolean;
|
|
535
668
|
badgeImageSrc?: string;
|
|
536
669
|
}
|
|
537
|
-
declare const MahatiPromotionModalV2Modal: ({ isOpen, onClose, headerTitle, title, description, ctaText, onCtaClick, ctaLink, openInNewTab, showBadgeImage, badgeImageSrc, }: MahatiPromotionModalV2Props) =>
|
|
670
|
+
declare const MahatiPromotionModalV2Modal: ({ isOpen, onClose, headerTitle, title, description, ctaText, onCtaClick, ctaLink, openInNewTab, showBadgeImage, badgeImageSrc, }: MahatiPromotionModalV2Props) => any;
|
|
538
671
|
interface MahatiPromotionModalV3Props {
|
|
539
672
|
isOpen: boolean;
|
|
540
673
|
onClose: () => void;
|
|
@@ -548,7 +681,7 @@ interface MahatiPromotionModalV3Props {
|
|
|
548
681
|
ctaLink?: string;
|
|
549
682
|
openInNewTab?: boolean;
|
|
550
683
|
}
|
|
551
|
-
declare const MahatiPromotionModalV3Modal: ({ isOpen, onClose, title, description, ctaText, onCtaClick, secondaryText, onSecondaryClick, imageSrc, ctaLink, openInNewTab, }: MahatiPromotionModalV3Props) =>
|
|
684
|
+
declare const MahatiPromotionModalV3Modal: ({ isOpen, onClose, title, description, ctaText, onCtaClick, secondaryText, onSecondaryClick, imageSrc, ctaLink, openInNewTab, }: MahatiPromotionModalV3Props) => any;
|
|
552
685
|
type BadgeType = "like" | "mention" | "follow" | "comment" | "add";
|
|
553
686
|
interface MahatiNotificationCardProps {
|
|
554
687
|
title: string;
|
|
@@ -566,4 +699,4 @@ interface MahatiNotificationCardProps {
|
|
|
566
699
|
}
|
|
567
700
|
declare const MahatiNotificationCard: ({ title, description, time, iconSrc, avatarSrc, badgeIconSrc, badgeType, primaryActionText, onPrimaryAction, secondaryActionText, onSecondaryAction, onClose, }: MahatiNotificationCardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
568
701
|
|
|
569
|
-
export { Accordion, type AccordionProps, type AlertArgs, type CalendarDate, type CalendarDateRange, type CalendarProps, type CalendarTime, CardOverlayLoader, CardWithLoading, CircularSpinner, DEFAULT_ACTIVITY_OPTIONS, DEFAULT_STATUS_OPTIONS, type FieldSize, Filter, type FilterValues, LoadingDots, LoadingDotsLinear, MahatiActivity, type MahatiActivityProps, Button as MahatiButton, Calendar as MahatiCalendar, MahatiCameraAccessModal, Card as MahatiCard, ConfettiExplosion as MahatiConfettiExplosion, Dropdown as MahatiDropdown, FormContainer as MahatiFormContainer, Input as MahatiInput, MahatiLocationAccessModal, MahatiMicrophoneAccessModal, Modal as MahatiModal, MahatiNotificationCard, MahatiPromotionModal as MahatiPromotionModal_V1, MahatiPromotionModalV2Modal as MahatiPromotionModal_V2, MahatiPromotionModalV3Modal as MahatiPromotionModal_V3, RealisticConfetti as MahatiRealisticConfetti, MahatiSearch, type MahatiSearchProps, SearchableDropdown as MahatiSearchableDropdown, MahatiStatus, type MahatiStatusProps, TabbedInterface as MahatiTabbedInterface, Table as MahatiTable, TableWithTab as MahatiTableWithTab, TexttoAudio as MahatiTexttoAudio, ToastMessage as MahatiToastMessage, Tooltip as MahatiTooltip, type SelectOption, Spinner, type Toast, type ToastAction, type ToastBackground, type ToastClassNames, type ToastContainerProps, type ToastPosition, type ToastSlots, type ToastType };
|
|
702
|
+
export { Accordion, type AccordionProps, type AlertArgs, type CalendarDate, type CalendarDateRange, type CalendarProps, type CalendarTime, CardOverlayLoader, CardWithLoading, CircularSpinner, DEFAULT_ACTIVITY_OPTIONS, DEFAULT_STATUS_OPTIONS, type FieldSize, Filter$1 as Filter, type FilterValues, LoadingDots, LoadingDotsLinear, MahatiActivity, type MahatiActivityProps, Button as MahatiButton, Calendar as MahatiCalendar, MahatiCameraAccessModal, Card as MahatiCard, MahatiChartAnalyticsWidget, ConfettiExplosion as MahatiConfettiExplosion, Dropdown as MahatiDropdown, FormContainer as MahatiFormContainer, Input as MahatiInput, MahatiLocationAccessModal, MahatiMicrophoneAccessModal, Modal as MahatiModal, MahatiNotificationCard, MahatiPromotionModal as MahatiPromotionModal_V1, MahatiPromotionModalV2Modal as MahatiPromotionModal_V2, MahatiPromotionModalV3Modal as MahatiPromotionModal_V3, RealisticConfetti as MahatiRealisticConfetti, MahatiSearch, type MahatiSearchProps, SearchableDropdown as MahatiSearchableDropdown, MahatiStatus, type MahatiStatusProps, TabbedInterface as MahatiTabbedInterface, Table as MahatiTable, TableWithTab as MahatiTableWithTab, TexttoAudio as MahatiTexttoAudio, ToastMessage as MahatiToastMessage, Tooltip as MahatiTooltip, type SelectOption, Spinner, type Toast, type ToastAction, type ToastBackground, type ToastClassNames, type ToastContainerProps, type ToastPosition, type ToastSlots, type ToastType };
|