@algorithm-shift/design-system 1.2.202 → 1.2.952
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/chunk-27YZ2WSP.mjs +30 -0
- package/dist/chunk-27YZ2WSP.mjs.map +1 -0
- package/dist/client.d.mts +43 -0
- package/dist/client.d.ts +43 -0
- package/dist/client.js +408 -0
- package/dist/client.js.map +1 -0
- package/dist/client.mjs +362 -0
- package/dist/client.mjs.map +1 -0
- package/dist/index.css +1034 -25
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +299 -54
- package/dist/index.d.ts +299 -54
- package/dist/index.js +31353 -920
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +31329 -904
- package/dist/index.mjs.map +1 -1
- package/package.json +41 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
3
2
|
import * as React$1 from 'react';
|
|
4
3
|
import React__default from 'react';
|
|
5
|
-
import
|
|
4
|
+
import axios from 'axios';
|
|
5
|
+
import { ToasterProps } from 'sonner';
|
|
6
6
|
import { ClassValue } from 'clsx';
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
interface ModalProps {
|
|
9
|
+
isOpen: boolean | string;
|
|
10
|
+
onModalClose?: () => void;
|
|
11
|
+
title: string;
|
|
12
|
+
children: React__default.ReactNode;
|
|
13
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
14
|
+
showCloseButton?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: React__default.CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
declare function Modal({ isOpen, onModalClose, title, children, size, showCloseButton, className, style }: ModalProps): react_jsx_runtime.JSX.Element | null;
|
|
15
19
|
|
|
16
20
|
interface ElementProps {
|
|
17
21
|
children?: React.ReactNode;
|
|
@@ -31,19 +35,28 @@ interface ImageProps extends ElementProps {
|
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
type InputProperties = {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
isAutocomplete?: boolean;
|
|
38
|
+
name?: string;
|
|
39
|
+
value?: string | undefined | any;
|
|
40
|
+
placeholder?: string | undefined;
|
|
41
|
+
errorMessage?: string | undefined;
|
|
42
|
+
isEditable?: boolean | undefined;
|
|
43
|
+
isDisabled?: boolean | undefined;
|
|
44
|
+
isReadonly?: boolean | undefined;
|
|
45
|
+
isAutocomplete?: boolean | undefined;
|
|
43
46
|
label?: string;
|
|
44
47
|
text?: string;
|
|
48
|
+
hasFormContainer?: boolean;
|
|
49
|
+
defaultValue?: string | boolean;
|
|
50
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>, name: string) => void;
|
|
45
51
|
};
|
|
46
52
|
|
|
53
|
+
type InputSourceProperties = {
|
|
54
|
+
dataLoading?: boolean;
|
|
55
|
+
data?: Record<string, any>[] | any[];
|
|
56
|
+
dataKey?: string;
|
|
57
|
+
dataLabel?: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
47
60
|
interface TextInputProps extends ElementProps, InputProperties { }
|
|
48
61
|
interface EmailInputProps extends ElementProps, InputProperties { }
|
|
49
62
|
interface PasswordInputProps extends ElementProps, InputProperties { }
|
|
@@ -51,15 +64,48 @@ interface NumberInputProps extends ElementProps, InputProperties { }
|
|
|
51
64
|
interface TextAreaProps extends ElementProps, InputProperties { }
|
|
52
65
|
interface UrlInputProps extends ElementProps, InputProperties { }
|
|
53
66
|
interface SearchInputProps extends ElementProps, InputProperties { }
|
|
54
|
-
interface FileInputProps extends ElementProps,
|
|
55
|
-
interface
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
interface
|
|
60
|
-
|
|
67
|
+
interface FileInputProps extends ElementProps, InputProperties { }
|
|
68
|
+
interface TextInputGroupProps extends ElementProps, InputProperties {
|
|
69
|
+
prepend?: string | React.ReactNode;
|
|
70
|
+
append?: string | React.ReactNode;
|
|
71
|
+
}
|
|
72
|
+
interface CheckboxInputProps extends ElementProps, InputProperties {
|
|
73
|
+
value?: boolean | any;
|
|
74
|
+
onChange?: (value: boolean, name: string) => void;
|
|
75
|
+
}
|
|
76
|
+
interface RadioInputProps extends ElementProps, InputSourceProperties, InputProperties {
|
|
77
|
+
value?: string | any;
|
|
78
|
+
onChange?: (value: string, name: string) => void;
|
|
79
|
+
}
|
|
80
|
+
interface MultiCheckboxInputProps extends ElementProps, InputSourceProperties, InputProperties {
|
|
81
|
+
value?: Record<string, boolean> | any;
|
|
82
|
+
onChange?: (value: Record<string, boolean>, name: string) => void;
|
|
83
|
+
}
|
|
84
|
+
interface RichTextInputProps extends ElementProps, InputProperties {
|
|
85
|
+
value?: string | any;
|
|
86
|
+
onChange?: (value: string, name: string) => void;
|
|
87
|
+
}
|
|
88
|
+
interface SelectDropdownInputProps extends ElementProps, InputProperties, InputSourceProperties {
|
|
89
|
+
source?: string;
|
|
90
|
+
lazyLoad?: boolean;
|
|
91
|
+
apiUrl?: string;
|
|
92
|
+
pageSize?: number;
|
|
93
|
+
value?: string | any;
|
|
94
|
+
onChange?: (value: string, name: string) => void;
|
|
95
|
+
axiosInstance?: typeof axios;
|
|
96
|
+
}
|
|
97
|
+
interface SwitchToggleInputProps extends ElementProps, InputProperties {
|
|
98
|
+
value?: boolean | any;
|
|
99
|
+
onChange?: (value: boolean, name: string) => void;
|
|
100
|
+
}
|
|
61
101
|
interface PhoneInputProps extends ElementProps, InputProperties { }
|
|
62
|
-
interface DateRangeInputProps extends ElementProps {
|
|
102
|
+
interface DateRangeInputProps extends ElementProps {
|
|
103
|
+
name?: string;
|
|
104
|
+
value?: { from?: Date; to?: Date } | undefined;
|
|
105
|
+
onChange?: (value: { from?: Date; to?: Date } | undefined, name: string) => void;
|
|
106
|
+
errorMessage?: string;
|
|
107
|
+
validateOnMount?: boolean;
|
|
108
|
+
}
|
|
63
109
|
interface DatePickerInputProps extends ElementProps, InputProperties {
|
|
64
110
|
minimumDate?: string;
|
|
65
111
|
customMinimumDate?: string;
|
|
@@ -68,52 +114,176 @@ interface DatePickerInputProps extends ElementProps, InputProperties {
|
|
|
68
114
|
}
|
|
69
115
|
|
|
70
116
|
interface TableProps extends ElementProps {
|
|
71
|
-
columns?:
|
|
72
|
-
rowActions?:
|
|
73
|
-
data?:
|
|
117
|
+
columns?: Array<any>;
|
|
118
|
+
rowActions?: Array<any>;
|
|
119
|
+
data?: Array<any>;
|
|
120
|
+
pagination?: boolean;
|
|
121
|
+
itemsPerPage?: number;
|
|
122
|
+
loading?: boolean;
|
|
123
|
+
cellClickEnabled?: (cellData: Record<string, any>, columnId: string) => boolean;
|
|
124
|
+
onCellClick?: (cellData: Record<string, any>, columnId: string) => void;
|
|
125
|
+
getRowSelection?: (rowSelection: Record<string, boolean>) => void;
|
|
126
|
+
totalRecords?: number;
|
|
127
|
+
globalSearch?: boolean;
|
|
74
128
|
}
|
|
75
129
|
|
|
76
130
|
interface TabsProps extends ElementProps {
|
|
77
131
|
tabs?: Record<string, any>;
|
|
78
132
|
pathname?: string;
|
|
79
|
-
|
|
133
|
+
verticalMenu?: boolean;
|
|
134
|
+
canvasMode?: 'desktop' | 'tablet' | 'mobile';
|
|
135
|
+
isBuilder?: boolean;
|
|
136
|
+
source?: string;
|
|
137
|
+
parentKey?: string;
|
|
138
|
+
menuNameKey?: string;
|
|
139
|
+
menuUrlKey?: string;
|
|
140
|
+
loading?: boolean;
|
|
80
141
|
}
|
|
81
142
|
|
|
82
143
|
interface StagesProps extends ElementProps {
|
|
83
144
|
stages?: Record<string, any>;
|
|
84
145
|
isShowBtn?: boolean;
|
|
85
146
|
buttonText?: string;
|
|
147
|
+
onStageChange?: (stageId: string) => void;
|
|
148
|
+
currentStage?: string;
|
|
149
|
+
dataKey?: string;
|
|
150
|
+
dataLabel?: string;
|
|
151
|
+
loading?: boolean;
|
|
86
152
|
}
|
|
87
153
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
154
|
+
type ButtonProps = ElementProps & React.ComponentProps<"button"> & {
|
|
155
|
+
textContent?: string;
|
|
156
|
+
loading?: boolean;
|
|
157
|
+
loadingText?: string;
|
|
158
|
+
type?: 'button' | 'submit' | 'reset';
|
|
92
159
|
}
|
|
93
160
|
|
|
94
|
-
interface
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
161
|
+
interface PieChartProps extends ElementProps {
|
|
162
|
+
data?: Record<string, any>;
|
|
163
|
+
showPercentage?: boolean;
|
|
164
|
+
showLegends?: boolean;
|
|
165
|
+
labelType?: string;
|
|
166
|
+
canvasMode?: 'desktop' | 'tablet' | 'mobile';
|
|
167
|
+
loading?: boolean;
|
|
98
168
|
}
|
|
99
169
|
|
|
100
|
-
interface
|
|
170
|
+
interface BarChartProps extends ElementProps {
|
|
171
|
+
data?: Record<string, any>;
|
|
172
|
+
chartType?: string;
|
|
173
|
+
legendsPosition?: string;
|
|
174
|
+
canvasMode?: 'desktop' | 'tablet' | 'mobile';
|
|
175
|
+
loading?: boolean;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
interface EmailComposerProps extends ElementProps {
|
|
179
|
+
to?: string;
|
|
180
|
+
setTo?: (to: string) => void;
|
|
181
|
+
showCc?: boolean;
|
|
182
|
+
setShowCc?: (showCc: boolean) => void;
|
|
183
|
+
showBcc?: boolean;
|
|
184
|
+
setShowBcc?: (showBcc: boolean) => void;
|
|
185
|
+
cc?: string;
|
|
186
|
+
setCc?: (cc: string) => void;
|
|
187
|
+
bcc?: string;
|
|
188
|
+
setBcc?: (bcc: string) => void;
|
|
189
|
+
subject?: string;
|
|
190
|
+
setSubject?: (subject: string) => void;
|
|
191
|
+
body?: string;
|
|
192
|
+
setBody?: (body: string) => void;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
interface NavbarProps extends ElementProps {
|
|
196
|
+
style?: React.CSSProperties;
|
|
197
|
+
badgeType?: string;
|
|
198
|
+
badgeCount?: number | string;
|
|
199
|
+
hideBadgeWhenZero?: boolean;
|
|
200
|
+
profileType?: string;
|
|
201
|
+
showName?: boolean;
|
|
101
202
|
imageUrl?: string;
|
|
102
203
|
altText?: string;
|
|
204
|
+
canvasMode?: 'desktop' | 'tablet' | 'mobile' | string;
|
|
205
|
+
list?: Record<string, any>;
|
|
206
|
+
profileMenu?: Record<string, any>;
|
|
207
|
+
userName?: string;
|
|
208
|
+
isBuilder?: boolean;
|
|
209
|
+
source?: string;
|
|
210
|
+
navList?: Record<string, any>;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
interface BreadcrumbProps extends ElementProps {
|
|
214
|
+
list?: Record<string, any>;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
interface ButtonGroupProps extends ElementProps {
|
|
218
|
+
textContent?: string;
|
|
219
|
+
list?: Record<string, any>;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
interface IconProps extends ElementProps {
|
|
223
|
+
iconType?: string;
|
|
224
|
+
name?: string;
|
|
225
|
+
fontSize?: number | string;
|
|
226
|
+
}
|
|
227
|
+
interface AccordionProps extends ElementProps {
|
|
228
|
+
name?: string;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
interface TabListProps extends ElementProps {
|
|
232
|
+
activeTab?: string;
|
|
233
|
+
tabId?: string;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
interface TabGroupProps extends ElementProps {
|
|
237
|
+
list?: Record<string, any>;
|
|
238
|
+
activeTab?: string;
|
|
239
|
+
onTabChange?: (tabId: string) => void;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
declare const Flex: ({ children, className, style, ...props }: ElementProps) => react_jsx_runtime.JSX.Element;
|
|
243
|
+
|
|
244
|
+
declare const Grid: ({ children, className, style, ...props }: ElementProps) => react_jsx_runtime.JSX.Element;
|
|
245
|
+
|
|
246
|
+
declare const Container: ({ children, className, style, ...props }: ElementProps) => react_jsx_runtime.JSX.Element;
|
|
247
|
+
|
|
248
|
+
declare const Accordion: ({ children, name, style, className }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
249
|
+
|
|
250
|
+
declare const Slot: ({ children }: ElementProps) => react_jsx_runtime.JSX.Element;
|
|
251
|
+
|
|
252
|
+
declare const AccordionGroup: ({ children, style, className }: ElementProps) => react_jsx_runtime.JSX.Element;
|
|
253
|
+
|
|
254
|
+
declare function TabList({ children, style, className, activeTab, tabId }: TabListProps): react_jsx_runtime.JSX.Element;
|
|
255
|
+
|
|
256
|
+
declare function TabGroupComponent({ children, style, className, list, activeTab, onTabChange, }: TabGroupProps): react_jsx_runtime.JSX.Element;
|
|
257
|
+
|
|
258
|
+
interface RepeaterProps<T> {
|
|
259
|
+
items: T[];
|
|
260
|
+
count?: number;
|
|
261
|
+
render: (item: T, index: number, array: T[]) => React__default.ReactNode;
|
|
262
|
+
emptyFallback?: React__default.ReactNode;
|
|
263
|
+
wrapper?: (children: React__default.ReactNode) => React__default.ReactNode;
|
|
264
|
+
className?: string;
|
|
265
|
+
loading?: boolean;
|
|
266
|
+
loadingText?: string;
|
|
103
267
|
}
|
|
268
|
+
declare function Repeater<T>({ items, count, render, emptyFallback, wrapper, className, loading, loadingText, }: RepeaterProps<T>): react_jsx_runtime.JSX.Element;
|
|
269
|
+
declare const _default$2: typeof Repeater;
|
|
104
270
|
|
|
105
|
-
declare const
|
|
271
|
+
declare const ButtonWrapper: ({ className, style, textContent, loadingText, loading, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
106
272
|
|
|
107
|
-
declare const
|
|
273
|
+
declare const ImageControl: ({ className, style, imageUrl, imageUrlExternal, altText, }: ImageProps) => react_jsx_runtime.JSX.Element;
|
|
274
|
+
|
|
275
|
+
declare const Shape: ({ children, className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
|
|
108
276
|
|
|
109
277
|
declare const Typography: ({ className, style, tagName, textContent, }: TypographyProps) => React__default.DetailedReactHTMLElement<{
|
|
110
278
|
style: React__default.CSSProperties | undefined;
|
|
111
279
|
className: string;
|
|
112
280
|
}, HTMLElement>;
|
|
113
281
|
|
|
114
|
-
declare const
|
|
282
|
+
declare const Breadcrumb: ({ list, className, style }: BreadcrumbProps) => react_jsx_runtime.JSX.Element;
|
|
115
283
|
|
|
116
|
-
declare
|
|
284
|
+
declare function SplitButton({ style, textContent, className, list }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
285
|
+
|
|
286
|
+
declare const Icon: ({ iconType, name, className, fontSize, style }: IconProps) => react_jsx_runtime.JSX.Element | null;
|
|
117
287
|
|
|
118
288
|
declare const TextInput: ({ className, style, ...props }: TextInputProps) => react_jsx_runtime.JSX.Element;
|
|
119
289
|
|
|
@@ -129,11 +299,11 @@ declare const UrlInput: ({ className, style, ...props }: UrlInputProps) => react
|
|
|
129
299
|
|
|
130
300
|
declare const CheckboxInput: ({ className, style, ...props }: CheckboxInputProps) => react_jsx_runtime.JSX.Element;
|
|
131
301
|
|
|
132
|
-
declare const RadioInput: ({ className, style, ...props }: RadioInputProps) => react_jsx_runtime.JSX.Element;
|
|
302
|
+
declare const RadioInput: ({ className, style, defaultValue, onChange, data, dataKey, dataLabel, ...props }: RadioInputProps) => react_jsx_runtime.JSX.Element;
|
|
133
303
|
|
|
134
|
-
declare const MultiCheckbox: ({ className, style, ...props }: MultiCheckboxInputProps) => react_jsx_runtime.JSX.Element;
|
|
304
|
+
declare const MultiCheckbox: ({ className, style, data, dataKey, dataLabel, value: propValue, onChange, isEditable, isDisabled, ...props }: MultiCheckboxInputProps) => react_jsx_runtime.JSX.Element;
|
|
135
305
|
|
|
136
|
-
declare function RichText({ className, style }: RichTextInputProps): react_jsx_runtime.JSX.Element;
|
|
306
|
+
declare function RichText({ className, style, ...props }: RichTextInputProps): react_jsx_runtime.JSX.Element;
|
|
137
307
|
|
|
138
308
|
declare const Dropdown: ({ className, style, ...props }: SelectDropdownInputProps) => react_jsx_runtime.JSX.Element;
|
|
139
309
|
|
|
@@ -147,22 +317,97 @@ declare const FileInput: ({ className, style, ...props }: FileInputProps) => rea
|
|
|
147
317
|
|
|
148
318
|
declare function DatePicker({ className, style, ...props }: DatePickerInputProps): react_jsx_runtime.JSX.Element;
|
|
149
319
|
|
|
150
|
-
declare const DateRange: ({ className, style }: DateRangeInputProps) => react_jsx_runtime.JSX.Element;
|
|
320
|
+
declare const DateRange: ({ className, style, ...props }: DateRangeInputProps) => react_jsx_runtime.JSX.Element;
|
|
321
|
+
|
|
322
|
+
declare const TextInputGroup: ({ className, style, prepend, append, ...props }: TextInputGroupProps) => react_jsx_runtime.JSX.Element;
|
|
323
|
+
|
|
324
|
+
interface Option {
|
|
325
|
+
label: string;
|
|
326
|
+
value: string;
|
|
327
|
+
}
|
|
328
|
+
interface MultiSelectProps {
|
|
329
|
+
value: string[];
|
|
330
|
+
onChange: (value: string[], name: string) => void;
|
|
331
|
+
data: Option[];
|
|
332
|
+
placeholder?: string;
|
|
333
|
+
disabled?: boolean;
|
|
334
|
+
searchable?: boolean;
|
|
335
|
+
className?: string;
|
|
336
|
+
errorMessage?: string;
|
|
337
|
+
dataKey?: string;
|
|
338
|
+
dataLabel?: string;
|
|
339
|
+
name: string;
|
|
340
|
+
}
|
|
341
|
+
declare const MultiSelect: React$1.FC<MultiSelectProps>;
|
|
342
|
+
|
|
343
|
+
interface PageChangeProps {
|
|
344
|
+
page: number;
|
|
345
|
+
itemsPerPage: number;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
interface CustomPaginationProps {
|
|
349
|
+
totalPages: number;
|
|
350
|
+
currentPage: number;
|
|
351
|
+
onPageChange: (props: PageChangeProps) => void;
|
|
352
|
+
maxVisiblePages?: number;
|
|
353
|
+
perPage: number;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
type PaginationMode = 'client' | 'server';
|
|
357
|
+
|
|
358
|
+
interface CellClickProps {
|
|
359
|
+
id: string;
|
|
360
|
+
column: any;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
interface ExtendedTableProps extends TableProps {
|
|
364
|
+
paginationMode?: PaginationMode;
|
|
365
|
+
page?: number;
|
|
366
|
+
itemsPerPage?: number;
|
|
367
|
+
onPageChange?: (props: PageChangeProps) => void;
|
|
368
|
+
onSortChange?: (props: SortChangeProps) => void;
|
|
369
|
+
onFilterChange?: (props: FilterChangeProps) => void;
|
|
370
|
+
onGlobalSearch?: (props: SearchChangeProps) => void;
|
|
371
|
+
onCellClick?: (props: CellClickProps) => void;
|
|
372
|
+
sort_by?: string;
|
|
373
|
+
sort_order?: string;
|
|
374
|
+
onCellClick?: (props: CellClickProps) => void;
|
|
375
|
+
onDeleteRow?: (props: CellClickProps) => void;
|
|
376
|
+
enableDelete?: boolean;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
declare const Table: ({ columns, data, rowActions, className, style, pagination, paginationMode, itemsPerPage, onPageChange, onSortChange, onFilterChange, onGlobalSearch, page, loading, totalRecords, globalSearch, onCellClick, onDeleteRow, ...props }: ExtendedTableProps) => react_jsx_runtime.JSX.Element;
|
|
151
380
|
|
|
152
|
-
declare const
|
|
381
|
+
declare const CustomPagination: ({ totalPages, currentPage, onPageChange, maxVisiblePages, perPage, }: CustomPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
153
382
|
|
|
154
|
-
declare const Tabs: ({
|
|
383
|
+
declare const Tabs: ({ className, style, tabs, verticalMenu, pathname, canvasMode, isBuilder, source, parentKey, menuNameKey, menuUrlKey, loading }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
155
384
|
|
|
156
|
-
declare const StagesComponent: ({ stages, isShowBtn, buttonText, className, style }: StagesProps) => react_jsx_runtime.JSX.Element;
|
|
385
|
+
declare const StagesComponent: ({ stages, isShowBtn, buttonText, className, style, onStageChange, currentStage, dataKey, dataLabel, loading }: StagesProps) => react_jsx_runtime.JSX.Element;
|
|
157
386
|
|
|
158
387
|
declare const Spacer: ({ className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
|
|
159
388
|
|
|
160
|
-
declare
|
|
389
|
+
declare function Navbar({ style, badgeType, badgeCount, hideBadgeWhenZero, profileType, showName, imageUrl, altText, canvasMode, list, profileMenu, userName, isBuilder, source, navList }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
390
|
+
|
|
391
|
+
declare const _default$1: React__default.MemoExoticComponent<({ className, style, loading, ...props }: BarChartProps) => react_jsx_runtime.JSX.Element>;
|
|
392
|
+
|
|
393
|
+
declare const _default: React__default.MemoExoticComponent<({ className, style, loading, ...props }: PieChartProps) => react_jsx_runtime.JSX.Element | null>;
|
|
394
|
+
|
|
395
|
+
declare function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }: EmailComposerProps): react_jsx_runtime.JSX.Element;
|
|
161
396
|
|
|
162
|
-
|
|
397
|
+
type ToastVariant = 'default' | 'success' | 'error' | 'info' | 'warning';
|
|
398
|
+
type SonnerToastProps = {
|
|
399
|
+
title: string;
|
|
400
|
+
description?: string;
|
|
401
|
+
variant?: ToastVariant;
|
|
402
|
+
duration?: number;
|
|
403
|
+
actionLabel?: string;
|
|
404
|
+
onAction?: () => void;
|
|
405
|
+
};
|
|
406
|
+
declare function showSonnerToast({ title, description, variant, duration, actionLabel, onAction, }: SonnerToastProps): void;
|
|
163
407
|
|
|
164
|
-
declare const
|
|
408
|
+
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
165
409
|
|
|
166
410
|
declare function cn(...inputs: ClassValue[]): string;
|
|
411
|
+
declare function getInitials(name: string): string;
|
|
167
412
|
|
|
168
|
-
export { Button, CheckboxInput, DatePicker, DateRange, Dropdown, EmailInput, FileInput, Flex as FlexLayout, Grid as GridLayout, ImageControl as Image,
|
|
413
|
+
export { Accordion, AccordionGroup, _default$1 as BarChart, Breadcrumb, ButtonWrapper as Button, SplitButton as ButtonGroup, CheckboxInput as Checkbox, Container, DatePicker, DateRange, Dropdown, EmailInput as Email, EmailComposer, FileInput, Flex as FlexLayout, Grid as GridLayout, Icon, ImageControl as Image, Modal, MultiCheckbox, MultiSelect, Navbar, NumberInput, CustomPagination as Pagination, PasswordInput as Password, PhoneInput as Phone, _default as PieChart, RadioInput as RadioGroup, _default$2 as Repeater, RichText, SearchInput as Search, Shape, Slot, Spacer, StagesComponent as Stages, SwitchToggle, TabGroupComponent as TabGroup, TabList, Table, Tabs, TextInput as Text, TextInputGroup, Textarea, Toaster, Typography, UrlInput as URL, cn, getInitials, showSonnerToast };
|