@ballistix.digital/react-components 0.4.111 → 0.4.113

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { FC, ReactNode, RefObject, ReactElement, HTMLInputTypeAttribute, Dispatch, SetStateAction, ElementType, ChangeEvent } from 'react';
2
- import { DeepPartial as DeepPartial$1 } from 'types/DeepPartial';
2
+ import { DeepPartialType as DeepPartialType$1 } from 'types/DeepPartialType';
3
3
  import { Menu } from '@headlessui/react';
4
4
  import { IconName } from '@fortawesome/fontawesome-svg-core';
5
5
  import { ColumnDef, SortingState, ColumnOrderState, Table } from '@tanstack/react-table';
@@ -7,919 +7,919 @@ import { TButtonElementStyles as TButtonElementStyles$1 } from 'components/Eleme
7
7
  import { TDropdownElementStyles as TDropdownElementStyles$1 } from 'components/Element/Dropdown';
8
8
  import { TPagePaginationNavigationStyles as TPagePaginationNavigationStyles$1 } from 'components/Navigation/PagePagination';
9
9
  export { createColumnHelper } from 'helpers/table';
10
+ import * as react_jsx_runtime from 'react/jsx-runtime';
10
11
  import { Option, SelectValue } from 'react-tailwindcss-select/dist/components/type';
11
12
  export { fromSelectMenuOptionToStringValue } from 'helpers/format';
12
13
  import { FormikProps, FormikValues } from 'formik';
13
14
 
14
- declare const base$l: {
15
- loading: string;
16
- spinner: string;
17
- empty: string;
18
- placeholder: string;
19
- container: string;
20
- indicator: string;
21
- };
22
- type TAvatarElementStyles = DeepPartial$1<typeof base$l>;
23
-
24
- type TProps$f = {
25
- src?: string | undefined;
26
- placeholder?: string | undefined;
27
- children?: ReactNode | ReactNode[] | string;
28
- url?: string;
29
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
30
- figure?: 'block' | 'rounded';
31
- status?: 'offline' | 'online' | 'blocked';
32
- isDisabled?: boolean;
33
- isLoading?: boolean;
34
- styles?: TAvatarElementStyles;
35
- };
15
+ declare const base$l: {
16
+ loading: string;
17
+ spinner: string;
18
+ empty: string;
19
+ placeholder: string;
20
+ container: string;
21
+ indicator: string;
22
+ };
23
+ type TAvatarElementStyles = DeepPartialType$1<typeof base$l>;
24
+
25
+ type TProps$f = {
26
+ src?: string | undefined;
27
+ placeholder?: string | undefined;
28
+ children?: ReactNode | ReactNode[] | string;
29
+ url?: string;
30
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
31
+ figure?: 'block' | 'rounded';
32
+ status?: 'offline' | 'online' | 'blocked';
33
+ isDisabled?: boolean;
34
+ isLoading?: boolean;
35
+ styles?: TAvatarElementStyles;
36
+ };
36
37
  declare const AvatarElement: FC<TProps$f>;
37
38
 
38
- declare const base$k: {
39
- container: string;
40
- indicator: string;
41
- button: string;
42
- };
43
- type TBadgeElementStyles = DeepPartial$1<typeof base$k>;
44
-
45
- type TProps$e = {
46
- children: string | ReactNode;
47
- color?: 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink';
48
- type?: 'normal' | 'indicator' | 'close';
49
- size?: 'sm' | 'lg';
50
- figure?: 'block' | 'rounded';
51
- isDisabled?: boolean;
52
- isLoading?: boolean;
53
- onClose?: () => void;
54
- styles?: TBadgeElementStyles;
55
- };
39
+ declare const base$k: {
40
+ container: string;
41
+ indicator: string;
42
+ button: string;
43
+ };
44
+ type TBadgeElementStyles = DeepPartialType$1<typeof base$k>;
45
+
46
+ type TProps$e = {
47
+ children: string | ReactNode;
48
+ color?: 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink';
49
+ type?: 'normal' | 'indicator' | 'close';
50
+ size?: 'sm' | 'lg';
51
+ figure?: 'block' | 'rounded';
52
+ isDisabled?: boolean;
53
+ isLoading?: boolean;
54
+ onClose?: () => void;
55
+ styles?: TBadgeElementStyles;
56
+ };
56
57
  declare const BadgeElement: FC<TProps$e>;
57
58
 
58
- type TButtonElementProps = {
59
- children: string | ReactNode;
60
- innerRef?: RefObject<HTMLButtonElement>;
61
- htmlType?: 'button' | 'submit';
62
- type?: 'primary' | 'secondary' | 'outline';
63
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
64
- figure?: 'block' | 'rounded';
65
- status?: 'idle' | 'loading' | 'success' | 'error';
66
- isDisabled?: boolean;
67
- styles?: TButtonElementStyles;
68
- onClick?: () => void;
69
- };
59
+ type TButtonElementProps = {
60
+ children: string | ReactNode;
61
+ innerRef?: RefObject<HTMLButtonElement>;
62
+ htmlType?: 'button' | 'submit';
63
+ type?: 'primary' | 'secondary' | 'outline';
64
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
65
+ figure?: 'block' | 'rounded';
66
+ status?: 'idle' | 'loading' | 'success' | 'error';
67
+ isDisabled?: boolean;
68
+ styles?: TButtonElementStyles;
69
+ onClick?: () => void;
70
+ };
70
71
  declare const ButtonElement: FC<TButtonElementProps>;
71
72
 
72
- declare const base$j: {
73
- container: string;
74
- content: string;
75
- icon: string;
76
- spinner: string;
77
- };
78
- type TButtonElementStyles = DeepPartial$1<typeof base$j>;
79
-
80
- declare const base$i: {
81
- container: string;
82
- firstButton: string;
83
- button: string;
84
- lastButton: string;
85
- };
86
- type TButtonGroupElementStyles = DeepPartial$1<typeof base$i>;
87
-
88
- type TProps$d = {
89
- children: ReactElement[];
90
- styles?: TButtonGroupElementStyles;
91
- };
73
+ declare const base$j: {
74
+ container: string;
75
+ content: string;
76
+ icon: string;
77
+ spinner: string;
78
+ };
79
+ type TButtonElementStyles = DeepPartialType$1<typeof base$j>;
80
+
81
+ declare const base$i: {
82
+ container: string;
83
+ firstButton: string;
84
+ button: string;
85
+ lastButton: string;
86
+ };
87
+ type TButtonGroupElementStyles = DeepPartialType$1<typeof base$i>;
88
+
89
+ type TProps$d = {
90
+ children: ReactElement[];
91
+ styles?: TButtonGroupElementStyles;
92
+ };
92
93
  declare const ButtonGroupElement: FC<TProps$d>;
93
94
 
94
- declare const base$h: {
95
- container: string;
96
- button: string;
97
- compact: string;
98
- dots: string;
99
- items: string;
100
- };
101
- type TDropdownElementStyles = DeepPartial$1<typeof base$h>;
102
-
103
- type TProps$c = {
104
- children: ReactElement | ReactElement[];
105
- label?: string | ReactElement;
106
- trigger?: ReactNode;
107
- type?: 'button' | 'compact';
108
- direction?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
109
- isEscapingOverflow?: boolean;
110
- styles?: TDropdownElementStyles;
111
- };
112
- declare const DropdownElement: {
113
- Container: FC<TProps$c>;
114
- Item: typeof Menu.Item;
115
- };
116
-
117
- type TProps$b = {
118
- accessor: IconName;
119
- type?: 'brands' | 'light' | 'regular' | 'solid';
120
- className?: string;
121
- };
95
+ declare const base$h: {
96
+ container: string;
97
+ button: string;
98
+ compact: string;
99
+ dots: string;
100
+ items: string;
101
+ };
102
+ type TDropdownElementStyles = DeepPartialType$1<typeof base$h>;
103
+
104
+ type TProps$c = {
105
+ children: ReactElement | ReactElement[];
106
+ label?: string | ReactElement;
107
+ trigger?: ReactNode;
108
+ type?: 'button' | 'compact';
109
+ direction?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
110
+ isEscapingOverflow?: boolean;
111
+ styles?: TDropdownElementStyles;
112
+ };
113
+ declare const DropdownElement: {
114
+ Container: FC<TProps$c>;
115
+ Item: typeof Menu.Item;
116
+ };
117
+
118
+ type TProps$b = {
119
+ accessor: IconName;
120
+ type?: 'brands' | 'light' | 'regular' | 'solid';
121
+ className?: string;
122
+ };
122
123
  declare const IconElement: FC<TProps$b>;
123
124
 
124
- type TInputGroupFormProps = {
125
- name: string;
126
- htmlType: HTMLInputTypeAttribute | 'area';
127
- label?: string | ReactNode;
128
- description?: string;
129
- placeholder?: string;
130
- leading?: string | ReactNode;
131
- trailing?: string | ReactNode;
132
- required?: ({ isRequired }: {
133
- isRequired: boolean;
134
- }) => string | ReactNode;
135
- value: string;
136
- error?: string;
137
- mask?: {
138
- mask: string;
139
- replacementCharacter?: string;
140
- };
141
- min?: number;
142
- max?: number;
143
- maxLength?: number;
144
- rows?: number;
145
- type: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
146
- isValid?: boolean;
147
- isDisabled?: boolean;
148
- isRequired?: boolean;
149
- isTouched?: boolean;
150
- isSolo?: boolean;
151
- onChange: any;
152
- onBlur: any;
153
- styles?: TInputGroupStyles;
154
- };
125
+ type TInputGroupFormProps = {
126
+ name: string;
127
+ htmlType: HTMLInputTypeAttribute | 'area';
128
+ label?: string | ReactNode;
129
+ description?: string;
130
+ placeholder?: string;
131
+ leading?: string | ReactNode;
132
+ trailing?: string | ReactNode;
133
+ required?: ({ isRequired }: {
134
+ isRequired: boolean;
135
+ }) => string | ReactNode;
136
+ value: string;
137
+ error?: string;
138
+ mask?: {
139
+ mask: string;
140
+ replacementCharacter?: string;
141
+ };
142
+ min?: number;
143
+ max?: number;
144
+ maxLength?: number;
145
+ rows?: number;
146
+ type: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
147
+ isValid?: boolean;
148
+ isDisabled?: boolean;
149
+ isRequired?: boolean;
150
+ isTouched?: boolean;
151
+ isSolo?: boolean;
152
+ onChange: any;
153
+ onBlur: any;
154
+ styles?: TInputGroupStyles;
155
+ };
155
156
  declare const InputGroupForm: FC<TInputGroupFormProps>;
156
157
 
157
- declare const base$g: {
158
- container: string;
159
- head: string;
160
- body: string;
161
- foot: string;
162
- label: string;
163
- hint: string;
164
- leading: string;
165
- input: string;
166
- trailing: string;
167
- description: string;
168
- error: string;
169
- };
170
- type TInputGroupStyles = DeepPartial$1<typeof base$g>;
171
-
172
- declare const base$f: {
173
- container: string;
174
- content: string;
175
- };
176
- type TContainerLayoutStyles = DeepPartial$1<typeof base$f>;
177
-
178
- type TProps$a = {
179
- children: ReactNode;
180
- type?: 'break' | 'center' | 'fill';
181
- styles?: TContainerLayoutStyles;
182
- };
158
+ declare const base$g: {
159
+ container: string;
160
+ head: string;
161
+ body: string;
162
+ foot: string;
163
+ label: string;
164
+ hint: string;
165
+ leading: string;
166
+ input: string;
167
+ trailing: string;
168
+ description: string;
169
+ error: string;
170
+ };
171
+ type TInputGroupStyles = DeepPartialType$1<typeof base$g>;
172
+
173
+ declare const base$f: {
174
+ container: string;
175
+ content: string;
176
+ };
177
+ type TContainerLayoutStyles = DeepPartialType$1<typeof base$f>;
178
+
179
+ type TProps$a = {
180
+ children: ReactNode;
181
+ type?: 'break' | 'center' | 'fill';
182
+ styles?: TContainerLayoutStyles;
183
+ };
183
184
  declare const ContainerLayout: FC<TProps$a>;
184
185
 
185
- declare const base$e: {
186
- container: string;
187
- head: string;
188
- line: string;
189
- body: string;
190
- content: string;
191
- };
192
- type TDividerLayoutStyles = DeepPartial$1<typeof base$e>;
193
-
194
- type TProps$9 = {
195
- children?: ReactNode;
196
- type?: 'left' | 'center' | 'right';
197
- styles?: TDividerLayoutStyles;
198
- };
186
+ declare const base$e: {
187
+ container: string;
188
+ head: string;
189
+ line: string;
190
+ body: string;
191
+ content: string;
192
+ };
193
+ type TDividerLayoutStyles = DeepPartialType$1<typeof base$e>;
194
+
195
+ type TProps$9 = {
196
+ children?: ReactNode;
197
+ type?: 'left' | 'center' | 'right';
198
+ styles?: TDividerLayoutStyles;
199
+ };
199
200
  declare const DividerLayout: FC<TProps$9>;
200
201
 
201
- declare const base$d: {
202
- container: string;
203
- list: string;
204
- item: string;
205
- };
206
- type TListContainerLayoutStyles = DeepPartial$1<typeof base$d>;
207
-
208
- type TProps$8 = {
209
- children: ReactElement | ReactElement[];
210
- type?: 'fill' | 'fill-sticky' | 'center' | 'center-sticky' | 'card' | 'card-sticky';
211
- styles?: TListContainerLayoutStyles;
212
- };
202
+ declare const base$d: {
203
+ container: string;
204
+ list: string;
205
+ item: string;
206
+ };
207
+ type TListContainerLayoutStyles = DeepPartialType$1<typeof base$d>;
208
+
209
+ type TProps$8 = {
210
+ children: ReactElement | ReactElement[];
211
+ type?: 'fill' | 'fill-sticky' | 'center' | 'center-sticky' | 'card' | 'card-sticky';
212
+ styles?: TListContainerLayoutStyles;
213
+ };
213
214
  declare const ListContainerLayout: FC<TProps$8>;
214
215
 
215
- declare const base$c: {
216
- container: string;
217
- figure: string;
218
- svg: string;
219
- title: string;
220
- paragraph: string;
221
- };
222
- type TMediaObjectLayoutStyles = DeepPartial$1<typeof base$c>;
223
-
224
- type TProps$7 = {
225
- title: string;
226
- paragraph: string;
227
- figure?: ReactNode;
228
- type?: 'top' | 'top-reversed' | 'center' | 'center-reversed' | 'bottom' | 'bottom-reversed' | 'stretch' | 'stretch-reversed' | 'responsive' | 'responsive-reversed' | 'wide' | 'wide-reversed';
229
- styles?: TMediaObjectLayoutStyles;
230
- };
216
+ declare const base$c: {
217
+ container: string;
218
+ figure: string;
219
+ svg: string;
220
+ title: string;
221
+ paragraph: string;
222
+ };
223
+ type TMediaObjectLayoutStyles = DeepPartialType$1<typeof base$c>;
224
+
225
+ type TProps$7 = {
226
+ title: string;
227
+ paragraph: string;
228
+ figure?: ReactNode;
229
+ type?: 'top' | 'top-reversed' | 'center' | 'center-reversed' | 'bottom' | 'bottom-reversed' | 'stretch' | 'stretch-reversed' | 'responsive' | 'responsive-reversed' | 'wide' | 'wide-reversed';
230
+ styles?: TMediaObjectLayoutStyles;
231
+ };
231
232
  declare const MediaObjectLayout: FC<TProps$7>;
232
233
 
233
- declare const base$b: {
234
- container: string;
235
- section: string;
236
- };
237
- type TPanelLayoutStyles = DeepPartial$1<typeof base$b>;
238
-
239
- type TContainerProps$2 = {
240
- children: ReactNode;
241
- type?: 'normal' | 'sticky';
242
- styles?: TPanelLayoutStyles;
243
- };
244
- type TSectionProps = {
245
- children: ReactNode;
246
- styles?: {
247
- section: string;
248
- };
249
- };
250
- declare const LayoutPanel: {
251
- Container: React.FC<TContainerProps$2>;
252
- Section: React.FC<TSectionProps>;
253
- };
254
-
255
- type TData$1 = any;
256
- type VisibilityState$1 = {
257
- [key: string]: boolean;
258
- };
259
- type TTableListProps$1<TData> = {
260
- id: string;
261
- columns: ColumnDef<TData>[];
262
- data: TData[];
263
- page: {
264
- current?: number;
265
- total: number;
266
- };
267
- defaultOrder?: string[];
268
- defaultVisibility?: string[];
269
- customControls?: ReactNode | ReactNode[];
270
- children: ({ min, max, current, }: {
271
- min: number;
272
- max: number;
273
- current: number;
274
- }) => ReactNode;
275
- type?: 'normal' | 'panel' | 'full';
276
- exportFileName?: string;
277
- isLoading?: boolean;
278
- isStriped?: boolean;
279
- hasStickyHeader?: boolean;
280
- hasVerticalSeparators?: boolean;
281
- areControlsVisible?: boolean;
282
- styles?: TTableListStyles & {
283
- components: {
284
- buttonElement: TButtonElementStyles$1;
285
- dropdownElement: TDropdownElementStyles$1;
286
- panelPaginationNavigation: TPagePaginationNavigationStyles$1;
287
- };
288
- };
289
- onChange?: ({ sorting, visibility, order, }: {
290
- sorting: SortingState;
291
- visibility: VisibilityState$1;
292
- order: ColumnOrderState;
293
- }) => void;
294
- onPaginate?: (current: number) => void;
295
- };
234
+ declare const base$b: {
235
+ container: string;
236
+ section: string;
237
+ };
238
+ type TPanelLayoutStyles = DeepPartialType$1<typeof base$b>;
239
+
240
+ type TContainerProps$2 = {
241
+ children: ReactNode;
242
+ type?: 'normal' | 'sticky';
243
+ styles?: TPanelLayoutStyles;
244
+ };
245
+ type TSectionProps = {
246
+ children: ReactNode;
247
+ styles?: {
248
+ section: string;
249
+ };
250
+ };
251
+ declare const LayoutPanel: {
252
+ Container: React.FC<TContainerProps$2>;
253
+ Section: React.FC<TSectionProps>;
254
+ };
255
+
256
+ type TData$1 = any;
257
+ type VisibilityState$1 = {
258
+ [key: string]: boolean;
259
+ };
260
+ type TTableListProps$1<TData> = {
261
+ id: string;
262
+ columns: ColumnDef<TData>[];
263
+ data: TData[];
264
+ page: {
265
+ current?: number;
266
+ total: number;
267
+ };
268
+ defaultOrder?: string[];
269
+ defaultVisibility?: string[];
270
+ customControls?: ReactNode | ReactNode[];
271
+ children: ({ min, max, current, }: {
272
+ min: number;
273
+ max: number;
274
+ current: number;
275
+ }) => ReactNode;
276
+ type?: 'normal' | 'panel' | 'full';
277
+ exportFileName?: string;
278
+ isLoading?: boolean;
279
+ isStriped?: boolean;
280
+ hasStickyHeader?: boolean;
281
+ hasVerticalSeparators?: boolean;
282
+ areControlsVisible?: boolean;
283
+ styles?: TTableListStyles & {
284
+ components: {
285
+ buttonElement: TButtonElementStyles$1;
286
+ dropdownElement: TDropdownElementStyles$1;
287
+ panelPaginationNavigation: TPagePaginationNavigationStyles$1;
288
+ };
289
+ };
290
+ onChange?: ({ sorting, visibility, order, }: {
291
+ sorting: SortingState;
292
+ visibility: VisibilityState$1;
293
+ order: ColumnOrderState;
294
+ }) => void;
295
+ onPaginate?: (current: number) => void;
296
+ };
296
297
  declare const TableList: FC<TTableListProps$1<TData$1>>;
297
298
 
298
- declare const base$a: {
299
- container: string;
300
- head: {
301
- container: string;
302
- head: string;
303
- body: string;
304
- heading: string;
305
- paragraph: string;
306
- };
307
- body: {
308
- container: string;
309
- wrapper: string;
310
- content: string;
311
- styleWrapper: string;
312
- table: {
313
- container: string;
314
- head: {
315
- container: string;
316
- row: string;
317
- cell: string;
318
- checkbox: string;
319
- };
320
- body: {
321
- container: string;
322
- row: string;
323
- cell: string;
324
- checkbox: string;
325
- indicator: string;
326
- };
327
- };
328
- };
329
- sortIndicator: {
330
- container: string;
331
- isSorted: string;
332
- isNotSorted: string;
333
- icon: {
334
- container: string;
335
- };
336
- };
337
- controls: {
338
- container: string;
339
- content: string;
340
- head: string;
341
- body: string;
342
- dropdown: {
343
- container: string;
344
- input: string;
345
- label: string;
346
- actions: string;
347
- upIcon: string;
348
- downIcon: string;
349
- };
350
- };
351
- };
352
- type TTableListStyles = DeepPartial$1<typeof base$a>;
353
-
354
- type TData = any;
355
- type VisibilityState = {
356
- [key: string]: boolean;
357
- };
358
- type Params = {
359
- table: Table<any>;
360
- sorting: SortingState;
361
- columnVisibility: VisibilityState;
362
- columnOrder: ColumnOrderState;
363
- setSorting: Dispatch<SetStateAction<SortingState>>;
364
- setColumnVisibility: Dispatch<SetStateAction<VisibilityState>>;
365
- setColumnOrder: Dispatch<SetStateAction<ColumnOrderState>>;
366
- };
367
- type TTableListProps<TData> = {
368
- id: string;
369
- table: {
370
- columns: ColumnDef<TData>[];
371
- data: TData[];
372
- pages: {
373
- current: number;
374
- total: number;
375
- };
376
- options?: {
377
- defaultOrder?: string[];
378
- defaultVisibility?: string[];
379
- isStriped?: boolean;
380
- hasStickyHeader?: boolean;
381
- hasVerticalSeparators?: boolean;
382
- };
383
- };
384
- isLoading?: boolean;
385
- head?: (params: Params) => ReactNode;
386
- foot?: (params: Params) => ReactNode;
387
- onChange?: (params: Params) => void;
388
- };
299
+ declare const base$a: {
300
+ container: string;
301
+ head: {
302
+ container: string;
303
+ head: string;
304
+ body: string;
305
+ heading: string;
306
+ paragraph: string;
307
+ };
308
+ body: {
309
+ container: string;
310
+ wrapper: string;
311
+ content: string;
312
+ styleWrapper: string;
313
+ table: {
314
+ container: string;
315
+ head: {
316
+ container: string;
317
+ row: string;
318
+ cell: string;
319
+ checkbox: string;
320
+ };
321
+ body: {
322
+ container: string;
323
+ row: string;
324
+ cell: string;
325
+ checkbox: string;
326
+ indicator: string;
327
+ };
328
+ };
329
+ };
330
+ sortIndicator: {
331
+ container: string;
332
+ isSorted: string;
333
+ isNotSorted: string;
334
+ icon: {
335
+ container: string;
336
+ };
337
+ };
338
+ controls: {
339
+ container: string;
340
+ content: string;
341
+ head: string;
342
+ body: string;
343
+ dropdown: {
344
+ container: string;
345
+ input: string;
346
+ label: string;
347
+ actions: string;
348
+ upIcon: string;
349
+ downIcon: string;
350
+ };
351
+ };
352
+ };
353
+ type TTableListStyles = DeepPartialType$1<typeof base$a>;
354
+
355
+ type TData = any;
356
+ type VisibilityState = {
357
+ [key: string]: boolean;
358
+ };
359
+ type Params = {
360
+ table: Table<any>;
361
+ sorting: SortingState;
362
+ columnVisibility: VisibilityState;
363
+ columnOrder: ColumnOrderState;
364
+ setSorting: Dispatch<SetStateAction<SortingState>>;
365
+ setColumnVisibility: Dispatch<SetStateAction<VisibilityState>>;
366
+ setColumnOrder: Dispatch<SetStateAction<ColumnOrderState>>;
367
+ };
368
+ type TTableListProps<TData> = {
369
+ id: string;
370
+ table: {
371
+ columns: ColumnDef<TData>[];
372
+ data: TData[];
373
+ pages: {
374
+ current: number;
375
+ total: number;
376
+ };
377
+ options?: {
378
+ defaultOrder?: string[];
379
+ defaultVisibility?: string[];
380
+ isStriped?: boolean;
381
+ hasStickyHeader?: boolean;
382
+ hasVerticalSeparators?: boolean;
383
+ };
384
+ };
385
+ isLoading?: boolean;
386
+ head?: (params: Params) => ReactNode;
387
+ foot?: (params: Params) => ReactNode;
388
+ onChange?: (params: Params) => void;
389
+ };
389
390
  declare const TableList2: FC<TTableListProps<TData>>;
390
391
 
391
- declare const base$9: {
392
- container: string;
393
- list: string;
394
- separator: string;
395
- home: {
396
- container: string;
397
- content: string;
398
- link: string;
399
- icon: string;
400
- span: string;
401
- };
402
- page: {
403
- container: string;
404
- content: string;
405
- link: string;
406
- };
407
- };
408
- type TBreadcrumbsNavigationStyles = DeepPartial$1<typeof base$9>;
409
-
410
- type TProps$6 = {
411
- href: string;
412
- pages: {
413
- name: string;
414
- href: string;
415
- isCurrent: boolean;
416
- }[];
417
- type?: 'slashes' | 'chevrons' | 'panel' | 'bar';
418
- separator?: ReactNode;
419
- styles?: TBreadcrumbsNavigationStyles;
420
- };
392
+ declare const base$9: {
393
+ container: string;
394
+ list: string;
395
+ separator: string;
396
+ home: {
397
+ container: string;
398
+ content: string;
399
+ link: string;
400
+ icon: string;
401
+ span: string;
402
+ };
403
+ page: {
404
+ container: string;
405
+ content: string;
406
+ link: string;
407
+ };
408
+ };
409
+ type TBreadcrumbsNavigationStyles = DeepPartialType$1<typeof base$9>;
410
+
411
+ type TProps$6 = {
412
+ href: string;
413
+ pages: {
414
+ name: string;
415
+ href: string;
416
+ isCurrent: boolean;
417
+ }[];
418
+ type?: 'slashes' | 'chevrons' | 'panel' | 'bar';
419
+ separator?: ReactNode;
420
+ styles?: TBreadcrumbsNavigationStyles;
421
+ };
421
422
  declare const BreadcrumbsNavigation: FC<TProps$6>;
422
423
 
423
- declare const base$8: {
424
- container: string;
425
- mobile: {
426
- container: string;
427
- button: string;
428
- };
429
- desktop: {
430
- container: string;
431
- leftButton: string;
432
- rightButton: string;
433
- navigation: string;
434
- };
435
- button: {
436
- default: string;
437
- active: string;
438
- disabled: string;
439
- };
440
- divider: string;
441
- label: string;
442
- icon: string;
443
- };
444
- type TPanelPaginationNavigationStyles = DeepPartial$1<typeof base$8>;
445
-
446
- type TProps$5 = {
447
- current?: number;
448
- min?: number;
449
- max: number;
450
- children: ({ min, max, current, }: {
451
- min: number;
452
- max: number;
453
- current: number;
454
- }) => ReactNode;
455
- styles?: TPanelPaginationNavigationStyles;
456
- onChange?: (current: number) => void;
457
- };
424
+ declare const base$8: {
425
+ container: string;
426
+ mobile: {
427
+ container: string;
428
+ button: string;
429
+ };
430
+ desktop: {
431
+ container: string;
432
+ leftButton: string;
433
+ rightButton: string;
434
+ navigation: string;
435
+ };
436
+ button: {
437
+ default: string;
438
+ active: string;
439
+ disabled: string;
440
+ };
441
+ divider: string;
442
+ label: string;
443
+ icon: string;
444
+ };
445
+ type TPanelPaginationNavigationStyles = DeepPartialType$1<typeof base$8>;
446
+
447
+ type TProps$5 = {
448
+ current?: number;
449
+ min?: number;
450
+ max: number;
451
+ children: ({ min, max, current, }: {
452
+ min: number;
453
+ max: number;
454
+ current: number;
455
+ }) => ReactNode;
456
+ styles?: TPanelPaginationNavigationStyles;
457
+ onChange?: (current: number) => void;
458
+ };
458
459
  declare const PanelPaginationNavigation: React.FC<TProps$5>;
459
460
 
460
- declare const base$7: {
461
- container: string;
462
- left: {
463
- container: string;
464
- button: string;
465
- icon: string;
466
- };
467
- center: {
468
- container: string;
469
- };
470
- right: {
471
- container: string;
472
- button: string;
473
- icon: string;
474
- };
475
- button: {
476
- default: string;
477
- active: string;
478
- disabled: string;
479
- };
480
- divider: string;
481
- };
482
- type TPagePaginationNavigationStyles = DeepPartial$1<typeof base$7>;
483
-
484
- type TProps$4 = {
485
- min?: number;
486
- max: number;
487
- styles?: TPagePaginationNavigationStyles;
488
- onChange?: (current: number) => void;
489
- };
461
+ declare const base$7: {
462
+ container: string;
463
+ left: {
464
+ container: string;
465
+ button: string;
466
+ icon: string;
467
+ };
468
+ center: {
469
+ container: string;
470
+ };
471
+ right: {
472
+ container: string;
473
+ button: string;
474
+ icon: string;
475
+ };
476
+ button: {
477
+ default: string;
478
+ active: string;
479
+ disabled: string;
480
+ };
481
+ divider: string;
482
+ };
483
+ type TPagePaginationNavigationStyles = DeepPartialType$1<typeof base$7>;
484
+
485
+ type TProps$4 = {
486
+ min?: number;
487
+ max: number;
488
+ styles?: TPagePaginationNavigationStyles;
489
+ onChange?: (current: number) => void;
490
+ };
490
491
  declare const PagePaginationNavigation: React.FC<TProps$4>;
491
492
 
492
- declare const base$6: {
493
- container: string;
494
- list: {
495
- container: string;
496
- head: string;
497
- body: string;
498
- label: string;
499
- select: string;
500
- navigation: string;
501
- };
502
- tab: {
503
- base: string;
504
- active: string;
505
- inactive: string;
506
- };
507
- };
508
- type TTabNavigationStyles = DeepPartial$1<typeof base$6>;
509
-
510
- type TContainerProps$1 = {
511
- children: ({ active, setActive, }: {
512
- active: string;
513
- setActive: any;
514
- }) => ReactNode | ReactNode[];
515
- styles?: Pick<TTabNavigationStyles, 'container'>;
516
- };
517
- type TListProps = {
518
- name: string;
519
- children: ReactNode | ReactNode[];
520
- active: string;
521
- setActive: any;
522
- styles?: Pick<TTabNavigationStyles, 'list'>;
523
- };
524
- type TNavigationItemProps$1 = {
525
- accessor: string;
526
- href?: string;
527
- type?: 'underline' | 'pills' | 'buttons';
528
- children: ReactNode;
529
- as?: ElementType;
530
- isCurrent?: boolean;
531
- isInitial?: boolean;
532
- onClick?: ((accessor: MouseEvent) => void) | any;
533
- styles?: Pick<TTabNavigationStyles, 'tab'>;
534
- isLoading?: boolean;
535
- };
536
- type TViewProps$1 = {
537
- children: ReactNode;
538
- };
539
- declare const TabNavigation: {
540
- Container: React.FC<TContainerProps$1>;
541
- List: React.FC<TListProps>;
542
- Item: React.FC<TNavigationItemProps$1>;
543
- View: React.FC<TViewProps$1>;
544
- };
545
-
546
- type ContainerStylesType = {
547
- container: string;
548
- };
549
- type NavigationStylesType = {
550
- list?: string;
551
- };
552
-
553
- type TContainerProps = {
554
- children: ({ active, setActive, }: {
555
- active: string;
556
- setActive: Dispatch<SetStateAction<string>>;
557
- }) => ReactNode | ReactNode[];
558
- styles?: ContainerStylesType;
559
- };
560
- type TNavigationProps = {
561
- children: ReactNode | ReactNode[];
562
- active: string;
563
- setActive: Dispatch<SetStateAction<string>>;
564
- styles?: NavigationStylesType;
565
- };
566
- type TNavigationItemProps = {
567
- accessor: string;
568
- href?: string;
569
- type?: string;
570
- children: ReactNode | ReactNode[];
571
- linkComponent?: ElementType;
572
- isCurrent?: boolean;
573
- isInitial?: boolean;
574
- onClick?: (accessor: MouseEvent) => void;
575
- };
576
- type TViewProps = {
577
- children: ReactNode;
578
- };
579
- declare const VerticalNavigation: {
580
- Container: React.FC<TContainerProps>;
581
- List: React.FC<TNavigationProps>;
582
- Item: React.FC<TNavigationItemProps>;
583
- View: React.FC<TViewProps>;
584
- };
585
-
586
- type TModalOverlayProps = {
587
- trigger?: ({ handleOpen, handleClose, }: {
588
- handleOpen: () => void;
589
- handleClose: () => void;
590
- }) => ReactNode;
591
- children: ({ handleOpen, handleClose, }: {
592
- handleOpen: () => void;
593
- handleClose: () => void;
594
- }) => ReactNode;
595
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
596
- styles?: TModalOverlayStyles;
597
- onOpen?: () => void;
598
- onClose?: () => void;
599
- };
493
+ declare const base$6: {
494
+ container: string;
495
+ list: {
496
+ container: string;
497
+ head: string;
498
+ body: string;
499
+ label: string;
500
+ select: string;
501
+ navigation: string;
502
+ };
503
+ tab: {
504
+ base: string;
505
+ active: string;
506
+ inactive: string;
507
+ };
508
+ };
509
+ type TTabNavigationStyles = DeepPartialType$1<typeof base$6>;
510
+
511
+ type TContainerProps$1 = {
512
+ children: ({ active, setActive, }: {
513
+ active: string;
514
+ setActive: any;
515
+ }) => ReactNode | ReactNode[];
516
+ styles?: Pick<TTabNavigationStyles, 'container'>;
517
+ };
518
+ type TListProps = {
519
+ name: string;
520
+ children: ReactNode | ReactNode[];
521
+ active: string;
522
+ setActive: any;
523
+ styles?: Pick<TTabNavigationStyles, 'list'>;
524
+ };
525
+ type TNavigationItemProps$1 = {
526
+ accessor: string;
527
+ href?: string;
528
+ type?: 'underline' | 'pills' | 'buttons';
529
+ children: ReactNode;
530
+ as?: ElementType;
531
+ isCurrent?: boolean;
532
+ isInitial?: boolean;
533
+ onClick?: ((accessor: MouseEvent) => void) | any;
534
+ styles?: Pick<TTabNavigationStyles, 'tab'>;
535
+ isLoading?: boolean;
536
+ };
537
+ type TViewProps$1 = {
538
+ children: ReactNode;
539
+ };
540
+ declare const TabNavigation: {
541
+ Container: React.FC<TContainerProps$1>;
542
+ List: React.FC<TListProps>;
543
+ Item: React.FC<TNavigationItemProps$1>;
544
+ View: React.FC<TViewProps$1>;
545
+ };
546
+
547
+ type ContainerStylesType = {
548
+ container: string;
549
+ };
550
+ type NavigationStylesType = {
551
+ list?: string;
552
+ };
553
+
554
+ type TContainerProps = {
555
+ children: ({ active, setActive, }: {
556
+ active: string;
557
+ setActive: Dispatch<SetStateAction<string>>;
558
+ }) => ReactNode | ReactNode[];
559
+ styles?: ContainerStylesType;
560
+ };
561
+ type TNavigationProps = {
562
+ children: ReactNode | ReactNode[];
563
+ active: string;
564
+ setActive: Dispatch<SetStateAction<string>>;
565
+ styles?: NavigationStylesType;
566
+ };
567
+ type TNavigationItemProps = {
568
+ accessor: string;
569
+ href?: string;
570
+ type?: string;
571
+ children: ReactNode | ReactNode[];
572
+ linkComponent?: ElementType;
573
+ isCurrent?: boolean;
574
+ isInitial?: boolean;
575
+ onClick?: (accessor: MouseEvent) => void;
576
+ };
577
+ type TViewProps = {
578
+ children: ReactNode;
579
+ };
580
+ declare const VerticalNavigation: {
581
+ Container: React.FC<TContainerProps>;
582
+ List: React.FC<TNavigationProps>;
583
+ Item: React.FC<TNavigationItemProps>;
584
+ View: React.FC<TViewProps>;
585
+ };
586
+
587
+ type TModalOverlayProps = {
588
+ trigger?: ({ handleOpen, handleClose, }: {
589
+ handleOpen: () => void;
590
+ handleClose: () => void;
591
+ }) => ReactNode;
592
+ children: ({ handleOpen, handleClose, }: {
593
+ handleOpen: () => void;
594
+ handleClose: () => void;
595
+ }) => ReactNode;
596
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
597
+ styles?: TModalOverlayStyles;
598
+ onOpen?: () => void;
599
+ onClose?: () => void;
600
+ };
600
601
  declare const ModalOverlay: FC<TModalOverlayProps>;
601
602
 
602
- declare const base$5: {
603
- container: string;
604
- background: {
605
- container: string;
606
- transition: {
607
- enter: string;
608
- enterFrom: string;
609
- enterTo: string;
610
- leave: string;
611
- leaveFrom: string;
612
- leaveTo: string;
613
- };
614
- };
615
- layout: {
616
- container: string;
617
- content: string;
618
- };
619
- panel: {
620
- container: string;
621
- transition: {
622
- enter: string;
623
- enterFrom: string;
624
- enterTo: string;
625
- leave: string;
626
- leaveFrom: string;
627
- leaveTo: string;
628
- };
629
- };
630
- };
631
- type TModalOverlayStyles = DeepPartial$1<typeof base$5>;
632
-
633
- declare const base$4: {
634
- container: {
635
- outer: string;
636
- inner: string;
637
- };
638
- item: {
639
- container: string;
640
- layout: {
641
- container: string;
642
- content: string;
643
- inner: string;
644
- };
645
- panel: {
646
- container: string;
647
- transition: {
648
- enter: string;
649
- enterFrom: string;
650
- enterTo: string;
651
- leave: string;
652
- leaveFrom: string;
653
- leaveTo: string;
654
- };
655
- };
656
- };
657
- };
658
- type TNotificationOverlayStyles = DeepPartial$1<typeof base$4>;
659
-
660
- type DeepPartial<T> = {
661
- [P in keyof T]?: DeepPartial<T[P]>;
662
- };
663
-
664
- type TProps$3 = {
665
- trigger?: ({ onOpen, onClose, }: {
666
- onOpen: () => void;
667
- onClose: () => void;
668
- }) => ReactNode;
669
- children: ({ onOpen, onClose, }: {
670
- onOpen: () => void;
671
- onClose: () => void;
672
- }) => ReactNode;
673
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
674
- styles?: TNotificationOverlayStyles;
675
- };
676
- declare const NotificationOverlay: {
677
- Container: ({ children, styles: stylesOverrides, }: {
678
- children: ReactNode;
679
- styles?: DeepPartial<{
680
- container: {
681
- outer: string;
682
- inner: string;
683
- };
684
- item: {
685
- container: string;
686
- layout: {
687
- container: string;
688
- content: string;
689
- inner: string;
690
- };
691
- panel: {
692
- container: string;
693
- transition: {
694
- enter: string;
695
- enterFrom: string;
696
- enterTo: string;
697
- leave: string;
698
- leaveFrom: string;
699
- leaveTo: string;
700
- };
701
- };
702
- };
703
- }> | undefined;
704
- }) => JSX.Element;
705
- Item: React.FC<TProps$3>;
706
- };
707
-
708
- declare const base$3: {
709
- container: string;
710
- background: {
711
- container: string;
712
- transition: {
713
- enter: string;
714
- enterFrom: string;
715
- enterTo: string;
716
- leave: string;
717
- leaveFrom: string;
718
- leaveTo: string;
719
- };
720
- };
721
- layout: {
722
- container: string;
723
- content: string;
724
- inner: string;
725
- };
726
- panel: {
727
- container: string;
728
- transition: {
729
- enter: string;
730
- enterFrom: string;
731
- enterTo: string;
732
- leave: string;
733
- leaveFrom: string;
734
- leaveTo: string;
735
- };
736
- };
737
- };
738
- type TSlideOverOverlayStyles = DeepPartial$1<typeof base$3>;
739
-
740
- type TProps$2 = {
741
- trigger?: ({ onOpen, onClose, }: {
742
- onOpen: () => void;
743
- onClose: () => void;
744
- }) => ReactNode;
745
- children: ({ onOpen, onClose, }: {
746
- onOpen: () => void;
747
- onClose: () => void;
748
- }) => ReactNode;
749
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
750
- styles?: TSlideOverOverlayStyles;
751
- };
603
+ declare const base$5: {
604
+ container: string;
605
+ background: {
606
+ container: string;
607
+ transition: {
608
+ enter: string;
609
+ enterFrom: string;
610
+ enterTo: string;
611
+ leave: string;
612
+ leaveFrom: string;
613
+ leaveTo: string;
614
+ };
615
+ };
616
+ layout: {
617
+ container: string;
618
+ content: string;
619
+ };
620
+ panel: {
621
+ container: string;
622
+ transition: {
623
+ enter: string;
624
+ enterFrom: string;
625
+ enterTo: string;
626
+ leave: string;
627
+ leaveFrom: string;
628
+ leaveTo: string;
629
+ };
630
+ };
631
+ };
632
+ type TModalOverlayStyles = DeepPartialType$1<typeof base$5>;
633
+
634
+ declare const base$4: {
635
+ container: {
636
+ outer: string;
637
+ inner: string;
638
+ };
639
+ item: {
640
+ container: string;
641
+ layout: {
642
+ container: string;
643
+ content: string;
644
+ inner: string;
645
+ };
646
+ panel: {
647
+ container: string;
648
+ transition: {
649
+ enter: string;
650
+ enterFrom: string;
651
+ enterTo: string;
652
+ leave: string;
653
+ leaveFrom: string;
654
+ leaveTo: string;
655
+ };
656
+ };
657
+ };
658
+ };
659
+ type TNotificationOverlayStyles = DeepPartialType$1<typeof base$4>;
660
+
661
+ type DeepPartialType<T> = {
662
+ [P in keyof T]?: DeepPartialType<T[P]>;
663
+ };
664
+
665
+ type TProps$3 = {
666
+ trigger?: ({ onOpen, onClose, }: {
667
+ onOpen: () => void;
668
+ onClose: () => void;
669
+ }) => ReactNode;
670
+ children: ({ onOpen, onClose, }: {
671
+ onOpen: () => void;
672
+ onClose: () => void;
673
+ }) => ReactNode;
674
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
675
+ styles?: TNotificationOverlayStyles;
676
+ };
677
+ declare const NotificationOverlay: {
678
+ Container: ({ children, styles: stylesOverrides, }: {
679
+ children: ReactNode;
680
+ styles?: DeepPartialType<{
681
+ container: {
682
+ outer: string;
683
+ inner: string;
684
+ };
685
+ item: {
686
+ container: string;
687
+ layout: {
688
+ container: string;
689
+ content: string;
690
+ inner: string;
691
+ };
692
+ panel: {
693
+ container: string;
694
+ transition: {
695
+ enter: string;
696
+ enterFrom: string;
697
+ enterTo: string;
698
+ leave: string;
699
+ leaveFrom: string;
700
+ leaveTo: string;
701
+ };
702
+ };
703
+ };
704
+ }> | undefined;
705
+ }) => react_jsx_runtime.JSX.Element;
706
+ Item: React.FC<TProps$3>;
707
+ };
708
+
709
+ declare const base$3: {
710
+ container: string;
711
+ background: {
712
+ container: string;
713
+ transition: {
714
+ enter: string;
715
+ enterFrom: string;
716
+ enterTo: string;
717
+ leave: string;
718
+ leaveFrom: string;
719
+ leaveTo: string;
720
+ };
721
+ };
722
+ layout: {
723
+ container: string;
724
+ content: string;
725
+ inner: string;
726
+ };
727
+ panel: {
728
+ container: string;
729
+ transition: {
730
+ enter: string;
731
+ enterFrom: string;
732
+ enterTo: string;
733
+ leave: string;
734
+ leaveFrom: string;
735
+ leaveTo: string;
736
+ };
737
+ };
738
+ };
739
+ type TSlideOverOverlayStyles = DeepPartialType$1<typeof base$3>;
740
+
741
+ type TProps$2 = {
742
+ trigger?: ({ handleOpen, handleClose, }: {
743
+ handleOpen: () => void;
744
+ handleClose: () => void;
745
+ }) => ReactNode;
746
+ children: ({ handleOpen, handleClose, }: {
747
+ handleOpen: () => void;
748
+ handleClose: () => void;
749
+ }) => ReactNode;
750
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
751
+ styles?: TSlideOverOverlayStyles;
752
+ };
752
753
  declare const SlideOverOverlay: FC<TProps$2>;
753
754
 
754
- type TProps$1 = {
755
- table: Table<any>;
756
- setColumnOrder: Dispatch<SetStateAction<ColumnOrderState>>;
757
- trigger: ReactNode;
758
- };
755
+ type TProps$1 = {
756
+ table: Table<any>;
757
+ setColumnOrder: Dispatch<SetStateAction<ColumnOrderState>>;
758
+ trigger: ReactNode;
759
+ };
759
760
  declare const TableColumnOptionsCustom: FC<TProps$1>;
760
761
 
761
- type TProps = {
762
- table: Table<any>;
763
- fileName: string;
764
- children: ({ handleExport }: {
765
- handleExport: () => void;
766
- }) => ReactNode;
767
- };
762
+ type TProps = {
763
+ table: Table<any>;
764
+ fileName: string;
765
+ children: ({ handleExport }: {
766
+ handleExport: () => void;
767
+ }) => ReactNode;
768
+ };
768
769
  declare const TableExcelExportCustom: FC<TProps>;
769
770
 
770
- type TSelectMenuFormProps = {
771
- name: string;
772
- type?: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
773
- label?: string;
774
- description?: string;
775
- placeholder?: {
776
- select?: string;
777
- searchInput?: string;
778
- emptyState?: string;
779
- };
780
- options: {
781
- value: string;
782
- label: string;
783
- }[];
784
- required?: ({ isRequired }: {
785
- isRequired: boolean;
786
- }) => string | ReactNode;
787
- value: {
788
- label: string;
789
- value: string;
790
- disabled?: boolean;
791
- };
792
- error?: string | Option | Option[];
793
- isLoading?: boolean;
794
- isRequired?: boolean;
795
- isTouched?: boolean;
796
- isDisabled?: boolean;
797
- isClearable?: boolean;
798
- isSearchable?: boolean;
799
- isMultiple?: boolean;
800
- isDarkMode?: boolean;
801
- isSolo?: boolean;
802
- onChange?: (value: SelectValue) => void;
803
- onSearchInputChange?: ((e: ChangeEvent<HTMLInputElement>) => void) | undefined;
804
- onClear: (name: string) => void;
805
- onBlur?: any;
806
- styles?: TSelectMenuFormStyles;
807
- };
771
+ type TSelectMenuFormProps = {
772
+ name: string;
773
+ label?: string;
774
+ description?: string;
775
+ placeholder?: {
776
+ select?: string;
777
+ searchInput?: string;
778
+ emptyState?: string;
779
+ };
780
+ options: {
781
+ value: string;
782
+ label: string;
783
+ }[];
784
+ required?: ({ isRequired }: {
785
+ isRequired: boolean;
786
+ }) => string | ReactNode;
787
+ value: {
788
+ label: string;
789
+ value: string;
790
+ disabled?: boolean;
791
+ };
792
+ error?: string | Option | Option[];
793
+ isLoading?: boolean;
794
+ isRequired?: boolean;
795
+ isTouched?: boolean;
796
+ isDisabled?: boolean;
797
+ isClearable?: boolean;
798
+ isSearchable?: boolean;
799
+ isMultiple?: boolean;
800
+ isDarkMode?: boolean;
801
+ isSolo?: boolean;
802
+ onChange?: (value: SelectValue) => void;
803
+ onSearchInputChange?: ((e: ChangeEvent<HTMLInputElement>) => void) | undefined;
804
+ onClear: (name: string) => void;
805
+ onBlur?: any;
806
+ styles?: TSelectMenuFormStyles;
807
+ };
808
808
  declare const SelectMenuForm: FC<TSelectMenuFormProps>;
809
809
 
810
- declare const base$2: {
811
- container: string;
812
- head: string;
813
- body: string;
814
- foot: string;
815
- label: string;
816
- hint: string;
817
- leading: string;
818
- input: string;
819
- menuButton: string;
820
- menu: string;
821
- tagItem: string;
822
- tagItemText: string;
823
- tagItemIconContainer: string;
824
- tagItemIcon: string;
825
- list: string;
826
- listGroupLabel: string;
827
- listItem: string;
828
- listDisabledItem: string;
829
- searchContainer: string;
830
- searchBox: string;
831
- searchIcon: string;
832
- closeIcon: string;
833
- emptyState: string;
834
- trailing: string;
835
- description: string;
836
- error: string;
837
- };
838
- type TSelectMenuFormStyles = DeepPartial$1<typeof base$2>;
839
-
840
- type TDateMenuFormProps = {
841
- name: string;
842
- type?: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
843
- size?: 'compact' | 'expanded';
844
- label?: string;
845
- i18n?: string;
846
- description?: string;
847
- placeholder?: string;
848
- separator?: string;
849
- startFrom?: Date;
850
- displayFormat?: string;
851
- direction?: 'up' | 'down';
852
- minDate?: Date;
853
- maxDate?: Date;
854
- startWeekOn?: 'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat';
855
- icon?: (isOpen: boolean) => ReactNode;
856
- required?: ({ isRequired }: {
857
- isRequired: boolean;
858
- }) => string | ReactNode;
859
- value: {
860
- label: string;
861
- value: string;
862
- disabled?: boolean;
863
- };
864
- error?: string;
865
- isRequired?: boolean;
866
- isTouched?: boolean;
867
- isDisabled?: boolean;
868
- isSolo?: boolean;
869
- isRanged?: boolean;
870
- onChange?: (value: {
871
- startDate: string;
872
- endDate: string;
873
- }) => void;
874
- onClear?: (name: string) => void;
875
- onBlur?: any;
876
- styles?: TDateMenuFormStyles;
877
- };
810
+ declare const base$2: {
811
+ container: string;
812
+ head: string;
813
+ body: string;
814
+ foot: string;
815
+ label: string;
816
+ hint: string;
817
+ leading: string;
818
+ input: string;
819
+ menuButton: string;
820
+ menu: string;
821
+ tagItem: string;
822
+ tagItemText: string;
823
+ tagItemIconContainer: string;
824
+ tagItemIcon: string;
825
+ list: string;
826
+ listGroupLabel: string;
827
+ listItem: string;
828
+ listDisabledItem: string;
829
+ searchContainer: string;
830
+ searchBox: string;
831
+ searchIcon: string;
832
+ closeIcon: string;
833
+ emptyState: string;
834
+ trailing: string;
835
+ description: string;
836
+ error: string;
837
+ };
838
+ type TSelectMenuFormStyles = DeepPartialType$1<typeof base$2>;
839
+
840
+ type TDateMenuFormProps = {
841
+ name: string;
842
+ type?: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
843
+ size?: 'compact' | 'expanded';
844
+ label?: string;
845
+ i18n?: string;
846
+ description?: string;
847
+ placeholder?: string;
848
+ separator?: string;
849
+ startFrom?: Date;
850
+ displayFormat?: string;
851
+ direction?: 'up' | 'down';
852
+ minDate?: Date;
853
+ maxDate?: Date;
854
+ startWeekOn?: 'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat';
855
+ icon?: (isOpen: boolean) => ReactNode;
856
+ required?: ({ isRequired }: {
857
+ isRequired: boolean;
858
+ }) => string | ReactNode;
859
+ value: {
860
+ label: string;
861
+ value: string;
862
+ disabled?: boolean;
863
+ };
864
+ error?: string;
865
+ isRequired?: boolean;
866
+ isTouched?: boolean;
867
+ isDisabled?: boolean;
868
+ isSolo?: boolean;
869
+ isRanged?: boolean;
870
+ onChange?: (value: {
871
+ startDate: string;
872
+ endDate: string;
873
+ }) => void;
874
+ onClear?: (name: string) => void;
875
+ onBlur?: any;
876
+ styles?: TDateMenuFormStyles;
877
+ };
878
878
  declare const DateMenuForm: FC<TDateMenuFormProps>;
879
879
 
880
- declare const base$1: {
881
- container: string;
882
- head: string;
883
- body: string;
884
- foot: string;
885
- label: string;
886
- hint: string;
887
- leading: string;
888
- input: string;
889
- trailing: string;
890
- description: string;
891
- error: string;
892
- };
893
- type TDateMenuFormStyles = DeepPartial$1<typeof base$1>;
894
-
895
- type TCheckboxInputGroupFormProps = {
896
- name: string;
897
- form: FormikProps<FormikValues>;
898
- options: {
899
- title: string;
900
- description: string;
901
- value: string;
902
- }[];
903
- values: string[];
904
- isDisabled?: boolean;
905
- onChange?: (value: string) => void;
906
- styles?: TCheckboxInputGroupFormStyles;
907
- };
880
+ declare const base$1: {
881
+ container: string;
882
+ head: string;
883
+ body: string;
884
+ foot: string;
885
+ label: string;
886
+ hint: string;
887
+ leading: string;
888
+ input: string;
889
+ trailing: string;
890
+ description: string;
891
+ error: string;
892
+ };
893
+ type TDateMenuFormStyles = DeepPartialType$1<typeof base$1>;
894
+
895
+ type TCheckboxInputGroupFormProps = {
896
+ name: string;
897
+ form: FormikProps<FormikValues>;
898
+ options: {
899
+ title: string;
900
+ description?: string;
901
+ value: string;
902
+ }[];
903
+ values: string[];
904
+ isDisabled?: boolean;
905
+ onChange?: (value: string) => void;
906
+ styles?: TCheckboxInputGroupFormStyles;
907
+ };
908
908
  declare const CheckboxInputGroupForm: FC<TCheckboxInputGroupFormProps>;
909
909
 
910
- declare const base: {
911
- container: string;
912
- sr: string;
913
- list: string;
914
- item: {
915
- container: string;
916
- head: string;
917
- body: string;
918
- input: string;
919
- label: string;
920
- description: string;
921
- };
922
- };
923
- type TCheckboxInputGroupFormStyles = DeepPartial$1<typeof base>;
924
-
925
- export { AvatarElement, BadgeElement, BreadcrumbsNavigation, ButtonElement, ButtonGroupElement, CheckboxInputGroupForm as CheckboxInputFormGroup, ContainerLayout, DateMenuForm, DividerLayout, DropdownElement, IconElement, InputGroupForm, ListContainerLayout, MediaObjectLayout, ModalOverlay, NotificationOverlay, PagePaginationNavigation, LayoutPanel as PanelLayout, PanelPaginationNavigation, SelectMenuForm, SlideOverOverlay, TButtonElementProps, TCheckboxInputGroupFormProps, TCheckboxInputGroupFormStyles, TDateMenuFormProps, TDateMenuFormStyles, TInputGroupFormProps, TInputGroupStyles, TModalOverlayProps, TSelectMenuFormProps, TSelectMenuFormStyles, TTableListProps as TTableList2Props, TTableListProps$1 as TTableListProps, TTableListStyles, TabNavigation, TableColumnOptionsCustom, TableExcelExportCustom as TableExportCustom, TableList, TableList2, VerticalNavigation };
910
+ declare const base: {
911
+ container: string;
912
+ sr: string;
913
+ list: string;
914
+ item: {
915
+ container: string;
916
+ head: string;
917
+ body: string;
918
+ input: string;
919
+ label: string;
920
+ description: string;
921
+ };
922
+ };
923
+ type TCheckboxInputGroupFormStyles = DeepPartialType$1<typeof base>;
924
+
925
+ export { AvatarElement, BadgeElement, BreadcrumbsNavigation, ButtonElement, ButtonGroupElement, CheckboxInputGroupForm as CheckboxInputFormGroup, ContainerLayout, DateMenuForm, DividerLayout, DropdownElement, IconElement, InputGroupForm, ListContainerLayout, MediaObjectLayout, ModalOverlay, NotificationOverlay, PagePaginationNavigation, LayoutPanel as PanelLayout, PanelPaginationNavigation, SelectMenuForm, SlideOverOverlay, type TButtonElementProps, type TCheckboxInputGroupFormProps, type TCheckboxInputGroupFormStyles, type TDateMenuFormProps, type TDateMenuFormStyles, type TInputGroupFormProps, type TInputGroupStyles, type TModalOverlayProps, type TSelectMenuFormProps, type TSelectMenuFormStyles, type TTableListProps as TTableList2Props, type TTableListProps$1 as TTableListProps, type TTableListStyles, TabNavigation, TableColumnOptionsCustom, TableExcelExportCustom as TableExportCustom, TableList, TableList2, VerticalNavigation };