@ballistix.digital/react-components 4.5.1 → 4.5.3

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,9 +1,18 @@
1
+ import React, { FC, ReactNode, RefObject, MouseEvent, ReactElement, ChangeEventHandler, FocusEventHandler, HTMLInputTypeAttribute, KeyboardEventHandler, MouseEventHandler, MutableRefObject, ChangeEvent, Dispatch, SetStateAction, ElementType } from "react";
1
2
  import { IconName } from "@fortawesome/fontawesome-svg-core";
2
- import { FC, ReactNode, RefObject, MouseEvent, ChangeEventHandler, FocusEventHandler, HTMLInputTypeAttribute, KeyboardEventHandler, MouseEventHandler, MutableRefObject, ChangeEvent, Dispatch, SetStateAction } from "react";
3
+ import { Placement } from "@floating-ui/react";
4
+ import { Menu } from "@headlessui/react";
5
+ import { AnchorProps } from "@headlessui/react/dist/internal/floating";
3
6
  import { Option, SelectValue } from "react-tailwindcss-select/dist/components/type";
4
7
  import { Table, ColumnDef, ColumnOrderState, SortingState, Row } from "@tanstack/react-table";
5
8
  import { DragEndEvent } from "@dnd-kit/core";
6
9
  import { FormikProps, FormikValues, FormikContextType } from "formik";
10
+ type TSelectMenuOption = {
11
+ label: string;
12
+ value: string;
13
+ required?: boolean;
14
+ };
15
+ export const fromSelectMenuOptionToStringValue: (value: TSelectMenuOption | TSelectMenuOption[]) => string | string[] | null;
7
16
  type DeepPartialType<T> = {
8
17
  [P in keyof T]?: DeepPartialType<T[P]>;
9
18
  };
@@ -15,118 +24,26 @@ declare const base: {
15
24
  container: string;
16
25
  indicator: string;
17
26
  };
18
- export const AvatarElement: {
19
- base: {
20
- loading: string;
21
- spinner: string;
22
- empty: string;
23
- placeholder: string;
24
- container: string;
25
- indicator: string;
26
- };
27
- xs: DeepPartialType<{
28
- loading: string;
29
- spinner: string;
30
- empty: string;
31
- placeholder: string;
32
- container: string;
33
- indicator: string;
34
- }>;
35
- sm: DeepPartialType<{
36
- loading: string;
37
- spinner: string;
38
- empty: string;
39
- placeholder: string;
40
- container: string;
41
- indicator: string;
42
- }>;
43
- md: DeepPartialType<{
44
- loading: string;
45
- spinner: string;
46
- empty: string;
47
- placeholder: string;
48
- container: string;
49
- indicator: string;
50
- }>;
51
- lg: DeepPartialType<{
52
- loading: string;
53
- spinner: string;
54
- empty: string;
55
- placeholder: string;
56
- container: string;
57
- indicator: string;
58
- }>;
59
- xl: DeepPartialType<{
60
- loading: string;
61
- spinner: string;
62
- empty: string;
63
- placeholder: string;
64
- container: string;
65
- indicator: string;
66
- }>;
67
- block: DeepPartialType<{
68
- loading: string;
69
- spinner: string;
70
- empty: string;
71
- placeholder: string;
72
- container: string;
73
- indicator: string;
74
- }>;
75
- rounded: DeepPartialType<{
76
- loading: string;
77
- spinner: string;
78
- empty: string;
79
- placeholder: string;
80
- container: string;
81
- indicator: string;
82
- }>;
83
- offline: DeepPartialType<{
84
- loading: string;
85
- spinner: string;
86
- empty: string;
87
- placeholder: string;
88
- container: string;
89
- indicator: string;
90
- }>;
91
- online: DeepPartialType<{
92
- loading: string;
93
- spinner: string;
94
- empty: string;
95
- placeholder: string;
96
- container: string;
97
- indicator: string;
98
- }>;
99
- blocked: DeepPartialType<{
100
- loading: string;
101
- spinner: string;
102
- empty: string;
103
- placeholder: string;
104
- container: string;
105
- indicator: string;
106
- }>;
107
- disabled: DeepPartialType<{
108
- loading: string;
109
- spinner: string;
110
- empty: string;
111
- placeholder: string;
112
- container: string;
113
- indicator: string;
114
- }>;
115
- loading: DeepPartialType<{
116
- loading: string;
117
- spinner: string;
118
- empty: string;
119
- placeholder: string;
120
- container: string;
121
- indicator: string;
122
- }>;
27
+ type TAvatarElementStyles = DeepPartialType<typeof base>;
28
+ type TAvatarElementProps = {
29
+ src?: string | undefined;
30
+ placeholder?: string | undefined;
31
+ children?: ReactNode | ReactNode[] | string;
32
+ url?: string;
33
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
34
+ figure?: 'block' | 'rounded';
35
+ status?: 'offline' | 'online' | 'blocked';
36
+ isDisabled?: boolean;
37
+ isLoading?: boolean;
38
+ styles?: TAvatarElementStyles;
123
39
  };
124
- type TSelectMenuOption = {
125
- label: string;
126
- value: string;
127
- required?: boolean;
40
+ export const AvatarElement: FC<TAvatarElementProps>;
41
+ type TProps = {
42
+ accessor: IconName;
43
+ type?: 'brands' | 'light' | 'regular' | 'solid' | 'thin';
44
+ className?: string;
128
45
  };
129
- export const fromSelectMenuOptionToStringValue: (value: TSelectMenuOption | TSelectMenuOption[]) => string | string[] | null;
46
+ export const IconElement: FC<TProps>;
130
47
  declare const _base1: {
131
48
  container: string;
132
49
  icon: string;
@@ -140,204 +57,37 @@ declare const _base1: {
140
57
  inverted: string;
141
58
  };
142
59
  };
143
- export const AlertElement: {
144
- _base1: {
145
- container: string;
146
- icon: string;
147
- content: {
148
- container: string;
149
- iconContainer: string;
150
- title: string;
151
- message: string;
152
- actions: string;
153
- action: string;
154
- inverted: string;
155
- };
156
- };
157
- generic: DeepPartialType<{
158
- container: string;
159
- icon: string;
160
- content: {
161
- container: string;
162
- iconContainer: string;
163
- title: string;
164
- message: string;
165
- actions: string;
166
- action: string;
167
- inverted: string;
168
- };
169
- }>;
170
- error: DeepPartialType<{
171
- container: string;
172
- icon: string;
173
- content: {
174
- container: string;
175
- iconContainer: string;
176
- title: string;
177
- message: string;
178
- actions: string;
179
- action: string;
180
- inverted: string;
181
- };
182
- }>;
183
- warn: DeepPartialType<{
184
- container: string;
185
- icon: string;
186
- content: {
187
- container: string;
188
- iconContainer: string;
189
- title: string;
190
- message: string;
191
- actions: string;
192
- action: string;
193
- inverted: string;
194
- };
195
- }>;
196
- success: DeepPartialType<{
197
- container: string;
198
- icon: string;
199
- content: {
200
- container: string;
201
- iconContainer: string;
202
- title: string;
203
- message: string;
204
- actions: string;
205
- action: string;
206
- inverted: string;
207
- };
208
- }>;
209
- info: DeepPartialType<{
210
- container: string;
211
- icon: string;
212
- content: {
213
- container: string;
214
- iconContainer: string;
215
- title: string;
216
- message: string;
217
- actions: string;
218
- action: string;
219
- inverted: string;
220
- };
221
- }>;
222
- };
223
- type TProps = {
224
- accessor: IconName;
225
- type?: 'brands' | 'light' | 'regular' | 'solid' | 'thin';
226
- className?: string;
60
+ type TAlertElementStyles = DeepPartialType<typeof _base1>;
61
+ type TAlertElementProps = {
62
+ title: string;
63
+ message?: string;
64
+ iconAccessor?: IconName;
65
+ type?: 'error' | 'warn' | 'info' | 'success' | 'generic';
66
+ isCollapsible?: boolean;
67
+ onClose?: () => void;
68
+ onCollapse?: () => void;
69
+ styles?: TAlertElementStyles;
227
70
  };
228
- export const IconElement: FC<TProps>;
71
+ export const AlertElement: FC<TAlertElementProps>;
229
72
  declare const _base2: {
230
73
  container: string;
231
74
  indicator: string;
232
75
  button: string;
233
76
  };
234
- export const BadgeElement: {
235
- _base2: {
236
- container: string;
237
- indicator: string;
238
- button: string;
239
- };
240
- normal: DeepPartialType<{
241
- container: string;
242
- indicator: string;
243
- button: string;
244
- }>;
245
- indicator: DeepPartialType<{
246
- container: string;
247
- indicator: string;
248
- button: string;
249
- }>;
250
- close: DeepPartialType<{
251
- container: string;
252
- indicator: string;
253
- button: string;
254
- }>;
255
- primary: DeepPartialType<{
256
- container: string;
257
- indicator: string;
258
- button: string;
259
- }>;
260
- secondary: DeepPartialType<{
261
- container: string;
262
- indicator: string;
263
- button: string;
264
- }>;
265
- outline: DeepPartialType<{
266
- container: string;
267
- indicator: string;
268
- button: string;
269
- }>;
270
- sm: DeepPartialType<{
271
- container: string;
272
- indicator: string;
273
- button: string;
274
- }>;
275
- lg: DeepPartialType<{
276
- container: string;
277
- indicator: string;
278
- button: string;
279
- }>;
280
- block: DeepPartialType<{
281
- container: string;
282
- indicator: string;
283
- button: string;
284
- }>;
285
- rounded: DeepPartialType<{
286
- container: string;
287
- indicator: string;
288
- button: string;
289
- }>;
290
- gray: DeepPartialType<{
291
- container: string;
292
- indicator: string;
293
- button: string;
294
- }>;
295
- red: DeepPartialType<{
296
- container: string;
297
- indicator: string;
298
- button: string;
299
- }>;
300
- yellow: DeepPartialType<{
301
- container: string;
302
- indicator: string;
303
- button: string;
304
- }>;
305
- green: DeepPartialType<{
306
- container: string;
307
- indicator: string;
308
- button: string;
309
- }>;
310
- blue: DeepPartialType<{
311
- container: string;
312
- indicator: string;
313
- button: string;
314
- }>;
315
- indigo: DeepPartialType<{
316
- container: string;
317
- indicator: string;
318
- button: string;
319
- }>;
320
- purple: DeepPartialType<{
321
- container: string;
322
- indicator: string;
323
- button: string;
324
- }>;
325
- pink: DeepPartialType<{
326
- container: string;
327
- indicator: string;
328
- button: string;
329
- }>;
330
- disabled: DeepPartialType<{
331
- container: string;
332
- indicator: string;
333
- button: string;
334
- }>;
335
- loading: DeepPartialType<{
336
- container: string;
337
- indicator: string;
338
- button: string;
339
- }>;
77
+ type TBadgeElementStyles = DeepPartialType<typeof _base2>;
78
+ type TBadgeElementProps = {
79
+ children: string | ReactNode;
80
+ color?: 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink';
81
+ type?: 'normal' | 'indicator' | 'close';
82
+ size?: 'sm' | 'lg';
83
+ figure?: 'block' | 'rounded';
84
+ isDisabled?: boolean;
85
+ isLoading?: boolean;
86
+ onClose?: () => void;
87
+ styles?: TBadgeElementStyles;
88
+ dataCy?: string;
340
89
  };
90
+ export const BadgeElement: FC<TBadgeElementProps>;
341
91
  declare const _base3: {
342
92
  container: string;
343
93
  content: string;
@@ -347,17 +97,24 @@ declare const _base3: {
347
97
  strokeWidth: string;
348
98
  };
349
99
  };
350
- export const TooltipElement: {
351
- _base3: {
352
- container: string;
353
- content: string;
354
- arrow: {
355
- stroke: string;
356
- fill: string;
357
- strokeWidth: string;
358
- };
359
- };
100
+ type TTooltipElementStyles = DeepPartialType<typeof _base3>;
101
+ type _TProps1 = {
102
+ children: ReactNode;
103
+ content: ReactNode;
104
+ placement?: Placement;
105
+ isPointing?: boolean;
106
+ isHidden?: boolean;
107
+ styles?: TTooltipElementStyles;
108
+ dataCy?: string;
109
+ };
110
+ export const TooltipElement: FC<_TProps1>;
111
+ declare const _base4: {
112
+ container: string;
113
+ content: string;
114
+ icon: string;
115
+ spinner: string;
360
116
  };
117
+ type TButtonElementStyles = DeepPartialType<typeof _base4>;
361
118
  export type TButtonElementProps = {
362
119
  children: string | ReactNode;
363
120
  innerRef?: RefObject<HTMLButtonElement>;
@@ -372,27 +129,18 @@ export type TButtonElementProps = {
372
129
  onClick?: (e?: MouseEvent<HTMLButtonElement>) => void;
373
130
  };
374
131
  export const ButtonElement: FC<TButtonElementProps>;
375
- declare const _base4: {
376
- container: string;
377
- content: string;
378
- icon: string;
379
- spinner: string;
380
- };
381
- type TButtonElementStyles = DeepPartialType<typeof _base4>;
382
132
  declare const _base5: {
383
133
  container: string;
384
134
  firstButton: string;
385
135
  button: string;
386
136
  lastButton: string;
387
137
  };
388
- export const ButtonGroupElement: {
389
- _base5: {
390
- container: string;
391
- firstButton: string;
392
- button: string;
393
- lastButton: string;
394
- };
138
+ type TButtonGroupElementStyles = DeepPartialType<typeof _base5>;
139
+ type _TProps2 = {
140
+ children: ReactElement[];
141
+ styles?: TButtonGroupElementStyles;
395
142
  };
143
+ export const ButtonGroupElement: FC<_TProps2>;
396
144
  declare const _base6: {
397
145
  container: string;
398
146
  button: string;
@@ -400,58 +148,35 @@ declare const _base6: {
400
148
  dots: string;
401
149
  items: string;
402
150
  };
151
+ type TDropdownElementStyles = DeepPartialType<typeof _base6>;
152
+ type _TProps3 = {
153
+ children: ReactElement | ReactElement[];
154
+ label?: string | ReactElement;
155
+ trigger?: ReactNode;
156
+ dataCy?: string;
157
+ type?: 'button' | 'compact';
158
+ direction?: AnchorProps;
159
+ isEscapingOverflow?: boolean;
160
+ styles?: TDropdownElementStyles;
161
+ };
403
162
  export const DropdownElement: {
404
- _base6: {
405
- container: string;
406
- button: string;
407
- compact: string;
408
- dots: string;
409
- items: string;
410
- };
411
- button: DeepPartialType<{
412
- container: string;
413
- button: string;
414
- compact: string;
415
- dots: string;
416
- items: string;
417
- }>;
418
- compact: DeepPartialType<{
419
- container: string;
420
- button: string;
421
- compact: string;
422
- dots: string;
423
- items: string;
424
- }>;
425
- 'bottom-left': DeepPartialType<{
426
- container: string;
427
- button: string;
428
- compact: string;
429
- dots: string;
430
- items: string;
431
- }>;
432
- 'bottom-right': DeepPartialType<{
433
- container: string;
434
- button: string;
435
- compact: string;
436
- dots: string;
437
- items: string;
438
- }>;
439
- 'top-left': DeepPartialType<{
440
- container: string;
441
- button: string;
442
- compact: string;
443
- dots: string;
444
- items: string;
445
- }>;
446
- 'top-right': DeepPartialType<{
447
- container: string;
448
- button: string;
449
- compact: string;
450
- dots: string;
451
- items: string;
452
- }>;
163
+ Container: FC<_TProps3>;
164
+ Item: typeof Menu.Item;
453
165
  };
454
- type TDropdownElementStyles = DeepPartialType<typeof _base6>;
166
+ declare const _base7: {
167
+ container: string;
168
+ head: string;
169
+ body: string;
170
+ foot: string;
171
+ label: string;
172
+ hint: string;
173
+ leading: string;
174
+ input: string;
175
+ trailing: string;
176
+ description: string;
177
+ error: string;
178
+ };
179
+ export type TInputGroupStyles = DeepPartialType<typeof _base7>;
455
180
  export type TInputGroupFormProps = {
456
181
  name: string;
457
182
  label?: string | ReactNode;
@@ -506,42 +231,17 @@ export type TInputGroupFormProps = {
506
231
  trailing?: string | ReactNode;
507
232
  });
508
233
  export const InputGroupForm: FC<TInputGroupFormProps>;
509
- declare const _base7: {
510
- container: string;
511
- head: string;
512
- body: string;
513
- foot: string;
514
- label: string;
515
- hint: string;
516
- leading: string;
517
- input: string;
518
- trailing: string;
519
- description: string;
520
- error: string;
521
- };
522
- export type TInputGroupStyles = DeepPartialType<typeof _base7>;
523
234
  declare const _base8: {
524
235
  container: string;
525
236
  content: string;
526
237
  };
527
- export const ContainerLayout: {
528
- _base8: {
529
- container: string;
530
- content: string;
531
- };
532
- break: DeepPartialType<{
533
- container: string;
534
- content: string;
535
- }>;
536
- center: DeepPartialType<{
537
- container: string;
538
- content: string;
539
- }>;
540
- fill: DeepPartialType<{
541
- container: string;
542
- content: string;
543
- }>;
238
+ type TContainerLayoutStyles = DeepPartialType<typeof _base8>;
239
+ type _TProps4 = {
240
+ children: ReactNode;
241
+ type?: 'break' | 'center' | 'fill';
242
+ styles?: TContainerLayoutStyles;
544
243
  };
244
+ export const ContainerLayout: FC<_TProps4>;
545
245
  declare const _base9: {
546
246
  container: string;
547
247
  head: string;
@@ -549,78 +249,25 @@ declare const _base9: {
549
249
  body: string;
550
250
  content: string;
551
251
  };
552
- export const DividerLayout: {
553
- _base9: {
554
- container: string;
555
- head: string;
556
- line: string;
557
- body: string;
558
- content: string;
559
- };
560
- left: DeepPartialType<{
561
- container: string;
562
- head: string;
563
- line: string;
564
- body: string;
565
- content: string;
566
- }>;
567
- center: DeepPartialType<{
568
- container: string;
569
- head: string;
570
- line: string;
571
- body: string;
572
- content: string;
573
- }>;
574
- right: DeepPartialType<{
575
- container: string;
576
- head: string;
577
- line: string;
578
- body: string;
579
- content: string;
580
- }>;
252
+ type TDividerLayoutStyles = DeepPartialType<typeof _base9>;
253
+ type _TProps5 = {
254
+ children?: ReactNode;
255
+ type?: 'left' | 'center' | 'right';
256
+ styles?: TDividerLayoutStyles;
581
257
  };
258
+ export const DividerLayout: FC<_TProps5>;
582
259
  declare const _base10: {
583
260
  container: string;
584
261
  list: string;
585
262
  item: string;
586
263
  };
587
- export const ListContainerLayout: {
588
- _base10: {
589
- container: string;
590
- list: string;
591
- item: string;
592
- };
593
- fill: DeepPartialType<{
594
- container: string;
595
- list: string;
596
- item: string;
597
- }>;
598
- 'fill-sticky': DeepPartialType<{
599
- container: string;
600
- list: string;
601
- item: string;
602
- }>;
603
- center: DeepPartialType<{
604
- container: string;
605
- list: string;
606
- item: string;
607
- }>;
608
- 'center-sticky': DeepPartialType<{
609
- container: string;
610
- list: string;
611
- item: string;
612
- }>;
613
- card: DeepPartialType<{
614
- container: string;
615
- list: string;
616
- item: string;
617
- }>;
618
- 'card-sticky': DeepPartialType<{
619
- container: string;
620
- list: string;
621
- item: string;
622
- }>;
264
+ type TListContainerLayoutStyles = DeepPartialType<typeof _base10>;
265
+ type _TProps6 = {
266
+ children: ReactElement | ReactElement[];
267
+ type?: 'fill' | 'fill-sticky' | 'center' | 'center-sticky' | 'card' | 'card-sticky';
268
+ styles?: TListContainerLayoutStyles;
623
269
  };
270
+ export const ListContainerLayout: FC<_TProps6>;
624
271
  declare const _base11: {
625
272
  container: string;
626
273
  figure: string;
@@ -628,128 +275,46 @@ declare const _base11: {
628
275
  title: string;
629
276
  paragraph: string;
630
277
  };
631
- export const MediaObjectLayout: {
632
- _base11: {
633
- container: string;
634
- figure: string;
635
- svg: string;
636
- title: string;
637
- paragraph: string;
278
+ type TMediaObjectLayoutStyles = DeepPartialType<typeof _base11>;
279
+ type _TProps7 = {
280
+ title: string;
281
+ paragraph: string;
282
+ figure?: ReactNode;
283
+ type?: 'top' | 'top-reversed' | 'center' | 'center-reversed' | 'bottom' | 'bottom-reversed' | 'stretch' | 'stretch-reversed' | 'responsive' | 'responsive-reversed' | 'wide' | 'wide-reversed';
284
+ styles?: TMediaObjectLayoutStyles;
285
+ };
286
+ export const MediaObjectLayout: FC<_TProps7>;
287
+ declare const _base12: {
288
+ container: string;
289
+ section: string;
290
+ };
291
+ type TPanelLayoutStyles = DeepPartialType<typeof _base12>;
292
+ type TContainerProps = {
293
+ children: ReactNode;
294
+ type?: 'normal' | 'sticky';
295
+ styles?: TPanelLayoutStyles;
296
+ };
297
+ type TSectionProps = {
298
+ children: ReactNode;
299
+ styles?: {
300
+ section: string;
638
301
  };
639
- top: DeepPartialType<{
302
+ };
303
+ export const PanelLayout: {
304
+ Container: React.FC<TContainerProps>;
305
+ Section: React.FC<TSectionProps>;
306
+ };
307
+ declare const _base13: {
308
+ container: string;
309
+ left: {
640
310
  container: string;
641
- figure: string;
642
- svg: string;
643
- title: string;
644
- paragraph: string;
645
- }>;
646
- 'top-reversed': DeepPartialType<{
311
+ button: string;
312
+ icon: string;
313
+ };
314
+ center: {
647
315
  container: string;
648
- figure: string;
649
- svg: string;
650
- title: string;
651
- paragraph: string;
652
- }>;
653
- center: DeepPartialType<{
654
- container: string;
655
- figure: string;
656
- svg: string;
657
- title: string;
658
- paragraph: string;
659
- }>;
660
- 'center-reversed': DeepPartialType<{
661
- container: string;
662
- figure: string;
663
- svg: string;
664
- title: string;
665
- paragraph: string;
666
- }>;
667
- bottom: DeepPartialType<{
668
- container: string;
669
- figure: string;
670
- svg: string;
671
- title: string;
672
- paragraph: string;
673
- }>;
674
- 'bottom-reversed': DeepPartialType<{
675
- container: string;
676
- figure: string;
677
- svg: string;
678
- title: string;
679
- paragraph: string;
680
- }>;
681
- stretch: DeepPartialType<{
682
- container: string;
683
- figure: string;
684
- svg: string;
685
- title: string;
686
- paragraph: string;
687
- }>;
688
- 'stretch-reversed': DeepPartialType<{
689
- container: string;
690
- figure: string;
691
- svg: string;
692
- title: string;
693
- paragraph: string;
694
- }>;
695
- responsive: DeepPartialType<{
696
- container: string;
697
- figure: string;
698
- svg: string;
699
- title: string;
700
- paragraph: string;
701
- }>;
702
- 'responsive-reversed': DeepPartialType<{
703
- container: string;
704
- figure: string;
705
- svg: string;
706
- title: string;
707
- paragraph: string;
708
- }>;
709
- wide: DeepPartialType<{
710
- container: string;
711
- figure: string;
712
- svg: string;
713
- title: string;
714
- paragraph: string;
715
- }>;
716
- 'wide-reversed': DeepPartialType<{
717
- container: string;
718
- figure: string;
719
- svg: string;
720
- title: string;
721
- paragraph: string;
722
- }>;
723
- };
724
- declare const _base12: {
725
- container: string;
726
- section: string;
727
- };
728
- export const PanelLayout: {
729
- _base12: {
730
- container: string;
731
- section: string;
732
- };
733
- normal: DeepPartialType<{
734
- container: string;
735
- section: string;
736
- }>;
737
- sticky: DeepPartialType<{
738
- container: string;
739
- section: string;
740
- }>;
741
- };
742
- declare const _base13: {
743
- container: string;
744
- left: {
745
- container: string;
746
- button: string;
747
- icon: string;
748
- };
749
- center: {
750
- container: string;
751
- };
752
- right: {
316
+ };
317
+ right: {
753
318
  container: string;
754
319
  button: string;
755
320
  icon: string;
@@ -761,31 +326,14 @@ declare const _base13: {
761
326
  };
762
327
  divider: string;
763
328
  };
764
- export const PagePaginationNavigation: {
765
- _base13: {
766
- container: string;
767
- left: {
768
- container: string;
769
- button: string;
770
- icon: string;
771
- };
772
- center: {
773
- container: string;
774
- };
775
- right: {
776
- container: string;
777
- button: string;
778
- icon: string;
779
- };
780
- button: {
781
- default: string;
782
- active: string;
783
- disabled: string;
784
- };
785
- divider: string;
786
- };
787
- };
788
329
  type TPagePaginationNavigationStyles = DeepPartialType<typeof _base13>;
330
+ type _TProps8 = {
331
+ min?: number;
332
+ max: number;
333
+ styles?: TPagePaginationNavigationStyles;
334
+ onChange?: (current: number) => void;
335
+ };
336
+ export const PagePaginationNavigation: React.FC<_TProps8>;
789
337
  declare const _base14: {
790
338
  container: string;
791
339
  mobile: {
@@ -809,31 +357,7 @@ declare const _base14: {
809
357
  icon: string;
810
358
  pageSizeList: string;
811
359
  };
812
- export const PanelPaginationNavigation: {
813
- _base14: {
814
- container: string;
815
- mobile: {
816
- container: string;
817
- button: string;
818
- };
819
- desktop: {
820
- container: string;
821
- outerRightButton: string;
822
- outerLeftButton: string;
823
- innerButton: string;
824
- navigation: string;
825
- };
826
- button: {
827
- default: string;
828
- active: string;
829
- disabled: string;
830
- };
831
- divider: string;
832
- label: string;
833
- icon: string;
834
- pageSizeList: string;
835
- };
836
- };
360
+ type TPanelPaginationNavigationStyles = DeepPartialType<typeof _base14>;
837
361
  export type TSelectMenuFormProps = {
838
362
  name: string;
839
363
  label?: string;
@@ -901,6 +425,22 @@ declare const _base15: {
901
425
  error: string;
902
426
  };
903
427
  export type TSelectMenuFormStyles = DeepPartialType<typeof _base15>;
428
+ type _TProps9 = {
429
+ current?: number;
430
+ min?: number;
431
+ max: number;
432
+ children: ({ min, max, current }: {
433
+ min: number;
434
+ max: number;
435
+ current: number;
436
+ }) => ReactNode;
437
+ pageSizeOptions?: number[];
438
+ defaultPageSize?: number;
439
+ onChangePageSize?: (pageSize: number) => void;
440
+ styles?: TPanelPaginationNavigationStyles;
441
+ onChange?: (current: number) => void;
442
+ };
443
+ export const PanelPaginationNavigation: React.FC<_TProps9>;
904
444
  export type TExcelCell = {
905
445
  value: number | string;
906
446
  type?: 'boolean' | 'number' | 'error' | 'string' | 'date';
@@ -923,6 +463,61 @@ type TReturn<TData> = {
923
463
  write: (sheets: TExcelSheet[], options: TOptions) => void;
924
464
  };
925
465
  export const useExcel: <TData extends object>() => TReturn<TData>;
466
+ declare const _base16: {
467
+ container: string;
468
+ head: {
469
+ container: string;
470
+ head: string;
471
+ body: string;
472
+ heading: string;
473
+ paragraph: string;
474
+ };
475
+ body: {
476
+ container: string;
477
+ wrapper: string;
478
+ content: string;
479
+ styleWrapper: string;
480
+ table: {
481
+ container: string;
482
+ head: {
483
+ container: string;
484
+ row: string;
485
+ cell: string;
486
+ checkbox: string;
487
+ };
488
+ body: {
489
+ container: string;
490
+ row: string;
491
+ cell: string;
492
+ checkbox: string;
493
+ indicator: string;
494
+ };
495
+ };
496
+ };
497
+ sortIndicator: {
498
+ container: string;
499
+ isSorted: string;
500
+ isNotSorted: string;
501
+ icon: {
502
+ container: string;
503
+ };
504
+ };
505
+ controls: {
506
+ container: string;
507
+ content: string;
508
+ head: string;
509
+ body: string;
510
+ dropdown: {
511
+ container: string;
512
+ input: string;
513
+ label: string;
514
+ actions: string;
515
+ upIcon: string;
516
+ downIcon: string;
517
+ };
518
+ };
519
+ };
520
+ export type TTableListStyles = DeepPartialType<typeof _base16>;
926
521
  type TData = any;
927
522
  type VisibilityState = Record<string, boolean>;
928
523
  export type TTableListProps<TData> = {
@@ -963,61 +558,65 @@ export type TTableListProps<TData> = {
963
558
  onPaginate?: (current: number) => void;
964
559
  };
965
560
  export const TableList: FC<TTableListProps<TData>>;
966
- declare const _base16: {
561
+ declare const _base17: {
967
562
  container: string;
968
- head: {
969
- container: string;
970
- head: string;
971
- body: string;
972
- heading: string;
973
- paragraph: string;
974
- };
563
+ head: string;
975
564
  body: {
976
565
  container: string;
977
566
  wrapper: string;
978
567
  content: string;
979
568
  styleWrapper: string;
569
+ tableWrapper: string;
570
+ tableWrapperWithLeftSide: string;
980
571
  table: {
981
572
  container: string;
573
+ pinnedColumns: {
574
+ left: string;
575
+ right: string;
576
+ };
982
577
  head: {
983
578
  container: string;
984
579
  row: string;
985
- cell: string;
986
580
  checkbox: string;
581
+ column: {
582
+ pinned: {
583
+ cell: string;
584
+ };
585
+ };
586
+ cell: {
587
+ container: string;
588
+ wrapper: string;
589
+ text: string;
590
+ sortIndicator: {
591
+ container: string;
592
+ isSorted: string;
593
+ isNotSorted: string;
594
+ icon: {
595
+ container: string;
596
+ };
597
+ };
598
+ };
987
599
  };
988
600
  body: {
989
601
  container: string;
990
602
  row: string;
603
+ striped: string;
604
+ column: {
605
+ pinned: {
606
+ cell: string;
607
+ };
608
+ };
991
609
  cell: string;
610
+ sticky: string;
992
611
  checkbox: string;
993
612
  indicator: string;
994
613
  };
995
614
  };
996
615
  };
997
- sortIndicator: {
998
- container: string;
999
- isSorted: string;
1000
- isNotSorted: string;
1001
- icon: {
1002
- container: string;
1003
- };
1004
- };
1005
- controls: {
1006
- container: string;
1007
- content: string;
1008
- head: string;
1009
- body: string;
1010
- dropdown: {
1011
- container: string;
1012
- input: string;
1013
- label: string;
1014
- actions: string;
1015
- upIcon: string;
1016
- downIcon: string;
1017
- };
1018
- };
616
+ foot: string;
617
+ leftSide: string;
1019
618
  };
1020
- export type TTableListStyles = DeepPartialType<typeof _base16>;
619
+ type _TTableListStyles1 = DeepPartialType<typeof _base17>;
1021
620
  type _TData1 = any;
1022
621
  type _VisibilityState1 = Record<string, boolean>;
1023
622
  type Params = {
@@ -1076,71 +675,12 @@ export type TTableList2Props<_TData1> = {
1076
675
  };
1077
676
  };
1078
677
  export const TableList2: FC<TTableList2Props<_TData1>>;
1079
- declare const _base17: {
678
+ export const createColumnHelper: <TData>() => import("@tanstack/react-table").ColumnHelper<TData>;
679
+ declare const _base18: {
1080
680
  container: string;
1081
- head: string;
1082
- body: {
1083
- container: string;
1084
- wrapper: string;
1085
- content: string;
1086
- styleWrapper: string;
1087
- tableWrapper: string;
1088
- tableWrapperWithLeftSide: string;
1089
- table: {
1090
- container: string;
1091
- pinnedColumns: {
1092
- left: string;
1093
- right: string;
1094
- };
1095
- head: {
1096
- container: string;
1097
- row: string;
1098
- checkbox: string;
1099
- column: {
1100
- pinned: {
1101
- cell: string;
1102
- };
1103
- };
1104
- cell: {
1105
- container: string;
1106
- wrapper: string;
1107
- text: string;
1108
- sortIndicator: {
1109
- container: string;
1110
- isSorted: string;
1111
- isNotSorted: string;
1112
- icon: {
1113
- container: string;
1114
- };
1115
- };
1116
- };
1117
- };
1118
- body: {
1119
- container: string;
1120
- row: string;
1121
- striped: string;
1122
- column: {
1123
- pinned: {
1124
- cell: string;
1125
- };
1126
- };
1127
- cell: string;
1128
- sticky: string;
1129
- checkbox: string;
1130
- indicator: string;
1131
- };
1132
- };
1133
- };
1134
- foot: string;
1135
- leftSide: string;
1136
- };
1137
- type _TTableListStyles1 = DeepPartialType<typeof _base17>;
1138
- export const createColumnHelper: <TData>() => import("@tanstack/react-table").ColumnHelper<TData>;
1139
- declare const _base18: {
1140
- container: string;
1141
- list: string;
1142
- separator: string;
1143
- home: {
681
+ list: string;
682
+ separator: string;
683
+ home: {
1144
684
  container: string;
1145
685
  content: string;
1146
686
  link: string;
@@ -1153,94 +693,20 @@ declare const _base18: {
1153
693
  link: string;
1154
694
  };
1155
695
  };
1156
- export const BreadcrumbsNavigation: {
1157
- _base18: {
1158
- container: string;
1159
- list: string;
1160
- separator: string;
1161
- home: {
1162
- container: string;
1163
- content: string;
1164
- link: string;
1165
- icon: string;
1166
- span: string;
1167
- };
1168
- page: {
1169
- container: string;
1170
- content: string;
1171
- link: string;
1172
- };
1173
- };
1174
- slashes: DeepPartialType<{
1175
- container: string;
1176
- list: string;
1177
- separator: string;
1178
- home: {
1179
- container: string;
1180
- content: string;
1181
- link: string;
1182
- icon: string;
1183
- span: string;
1184
- };
1185
- page: {
1186
- container: string;
1187
- content: string;
1188
- link: string;
1189
- };
1190
- }>;
1191
- chevrons: DeepPartialType<{
1192
- container: string;
1193
- list: string;
1194
- separator: string;
1195
- home: {
1196
- container: string;
1197
- content: string;
1198
- link: string;
1199
- icon: string;
1200
- span: string;
1201
- };
1202
- page: {
1203
- container: string;
1204
- content: string;
1205
- link: string;
1206
- };
1207
- }>;
1208
- panel: DeepPartialType<{
1209
- container: string;
1210
- list: string;
1211
- separator: string;
1212
- home: {
1213
- container: string;
1214
- content: string;
1215
- link: string;
1216
- icon: string;
1217
- span: string;
1218
- };
1219
- page: {
1220
- container: string;
1221
- content: string;
1222
- link: string;
1223
- };
1224
- }>;
1225
- bar: DeepPartialType<{
1226
- container: string;
1227
- list: string;
1228
- separator: string;
1229
- home: {
1230
- container: string;
1231
- content: string;
1232
- link: string;
1233
- icon: string;
1234
- span: string;
1235
- };
1236
- page: {
1237
- container: string;
1238
- content: string;
1239
- link: string;
1240
- };
1241
- }>;
696
+ type TBreadcrumbsNavigationStyles = DeepPartialType<typeof _base18>;
697
+ type _TProps10 = {
698
+ href: string;
699
+ pages: {
700
+ name: string;
701
+ href: string;
702
+ isCurrent: boolean;
703
+ }[];
704
+ type?: 'slashes' | 'chevrons' | 'panel' | 'bar';
705
+ separator?: ReactNode;
706
+ styles?: TBreadcrumbsNavigationStyles;
1242
707
  };
1243
- declare const _base19: {
708
+ export const BreadcrumbsNavigation: FC<_TProps10>;
709
+ declare const defaultStyles: {
1244
710
  container: string;
1245
711
  list: {
1246
712
  container: string;
@@ -1251,446 +717,138 @@ declare const _base19: {
1251
717
  navigation: string;
1252
718
  };
1253
719
  tab: {
1254
- _base19: string;
720
+ base: string;
1255
721
  active: string;
1256
722
  inactive: string;
1257
723
  };
1258
724
  };
1259
- export const TabNavigation: {
1260
- _base19: {
1261
- container: string;
1262
- list: {
1263
- container: string;
1264
- head: string;
1265
- body: string;
1266
- label: string;
1267
- select: string;
1268
- navigation: string;
1269
- };
1270
- tab: {
1271
- _base19: string;
1272
- active: string;
1273
- inactive: string;
1274
- };
1275
- };
1276
- underline: {
1277
- tab: {
1278
- _base19: string;
1279
- active: string;
1280
- inactive: string;
1281
- };
1282
- };
1283
- pills: {
1284
- tab: {
1285
- _base19: string;
1286
- active: string;
1287
- inactive: string;
1288
- };
1289
- };
1290
- buttons: {
1291
- tab: {
1292
- _base19: string;
1293
- active: string;
1294
- inactive: string;
1295
- };
1296
- };
1297
- };
1298
- export const VerticalNavigation: {
1299
- container: string;
1300
- list: string;
1301
- item: {
1302
- base: string;
725
+ type TTabNavigationStyles = DeepPartialType<typeof defaultStyles>;
726
+ type _TContainerProps1 = {
727
+ children: ({ active, setActive }: {
1303
728
  active: string;
1304
- notActive: string;
1305
- };
729
+ setActive: any;
730
+ }) => ReactNode | ReactNode[];
731
+ styles?: Pick<TTabNavigationStyles, 'container'>;
1306
732
  };
1307
- export type TModalOverlayProps = {
1308
- trigger?: ({ handleOpen, handleClose }: {
1309
- handleOpen: () => void;
1310
- handleClose: () => void;
1311
- }) => ReactNode;
1312
- children: ({ handleOpen, handleClose }: {
1313
- handleOpen: () => void;
1314
- handleClose: () => void;
1315
- }) => ReactNode;
1316
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
1317
- styles?: TModalOverlayStyles;
1318
- dataCy?: string;
1319
- onOpen?: () => void;
1320
- onClose?: () => void;
733
+ type TListProps = {
734
+ name: string;
735
+ children: ReactNode | ReactNode[];
736
+ active: string;
737
+ setActive: any;
738
+ styles?: Pick<TTabNavigationStyles, 'list'>;
739
+ };
740
+ type TNavigationItemProps = {
741
+ accessor: string;
742
+ href?: string;
743
+ type?: 'underline' | 'pills' | 'buttons';
744
+ children: ReactNode;
745
+ as?: ElementType;
746
+ isCurrent?: boolean;
747
+ isInitial?: boolean;
748
+ onClick?: ((accessor: MouseEvent) => void) | any;
749
+ styles?: Pick<TTabNavigationStyles, 'tab'>;
750
+ isLoading?: boolean;
1321
751
  };
1322
- export const ModalOverlay: FC<TModalOverlayProps>;
1323
- declare const _base20: {
752
+ type TViewProps = {
753
+ children: ReactNode;
754
+ };
755
+ export const TabNavigation: {
756
+ Container: React.FC<_TContainerProps1>;
757
+ List: React.FC<TListProps>;
758
+ Item: React.FC<TNavigationItemProps>;
759
+ View: React.FC<TViewProps>;
760
+ };
761
+ type ContainerStylesType = {
1324
762
  container: string;
1325
- background: {
1326
- container: string;
1327
- transition: {
1328
- enter: string;
1329
- enterFrom: string;
1330
- enterTo: string;
1331
- leave: string;
1332
- leaveFrom: string;
1333
- leaveTo: string;
1334
- };
1335
- };
1336
- layout: {
1337
- container: string;
1338
- content: string;
1339
- };
1340
- panel: {
1341
- container: string;
1342
- transition: {
1343
- enter: string;
1344
- enterFrom: string;
1345
- enterTo: string;
1346
- leave: string;
1347
- leaveFrom: string;
1348
- leaveTo: string;
1349
- };
1350
- };
1351
763
  };
1352
- type TModalOverlayStyles = DeepPartialType<typeof _base20>;
1353
- declare const _base21: {
1354
- container: {
1355
- outer: string;
1356
- inner: string;
1357
- };
1358
- item: {
1359
- container: string;
1360
- layout: {
1361
- container: string;
1362
- content: string;
1363
- inner: string;
1364
- };
1365
- panel: {
1366
- container: string;
1367
- transition: {
1368
- enter: string;
1369
- enterFrom: string;
1370
- enterTo: string;
1371
- leave: string;
1372
- leaveFrom: string;
1373
- leaveTo: string;
1374
- };
1375
- };
1376
- };
764
+ type NavigationStylesType = {
765
+ list?: string;
1377
766
  };
1378
- export const NotificationOverlay: {
1379
- _base21: {
1380
- container: {
1381
- outer: string;
1382
- inner: string;
1383
- };
1384
- item: {
1385
- container: string;
1386
- layout: {
1387
- container: string;
1388
- content: string;
1389
- inner: string;
1390
- };
1391
- panel: {
1392
- container: string;
1393
- transition: {
1394
- enter: string;
1395
- enterFrom: string;
1396
- enterTo: string;
1397
- leave: string;
1398
- leaveFrom: string;
1399
- leaveTo: string;
1400
- };
1401
- };
1402
- };
1403
- };
1404
- xs: DeepPartialType<{
1405
- container: {
1406
- outer: string;
1407
- inner: string;
1408
- };
1409
- item: {
1410
- container: string;
1411
- layout: {
1412
- container: string;
1413
- content: string;
1414
- inner: string;
1415
- };
1416
- panel: {
1417
- container: string;
1418
- transition: {
1419
- enter: string;
1420
- enterFrom: string;
1421
- enterTo: string;
1422
- leave: string;
1423
- leaveFrom: string;
1424
- leaveTo: string;
1425
- };
1426
- };
1427
- };
1428
- }>;
1429
- sm: DeepPartialType<{
1430
- container: {
1431
- outer: string;
1432
- inner: string;
1433
- };
1434
- item: {
1435
- container: string;
1436
- layout: {
1437
- container: string;
1438
- content: string;
1439
- inner: string;
1440
- };
1441
- panel: {
1442
- container: string;
1443
- transition: {
1444
- enter: string;
1445
- enterFrom: string;
1446
- enterTo: string;
1447
- leave: string;
1448
- leaveFrom: string;
1449
- leaveTo: string;
1450
- };
1451
- };
1452
- };
1453
- }>;
1454
- md: DeepPartialType<{
1455
- container: {
1456
- outer: string;
1457
- inner: string;
1458
- };
1459
- item: {
1460
- container: string;
1461
- layout: {
1462
- container: string;
1463
- content: string;
1464
- inner: string;
1465
- };
1466
- panel: {
1467
- container: string;
1468
- transition: {
1469
- enter: string;
1470
- enterFrom: string;
1471
- enterTo: string;
1472
- leave: string;
1473
- leaveFrom: string;
1474
- leaveTo: string;
1475
- };
1476
- };
1477
- };
1478
- }>;
1479
- lg: DeepPartialType<{
1480
- container: {
1481
- outer: string;
1482
- inner: string;
1483
- };
1484
- item: {
1485
- container: string;
1486
- layout: {
1487
- container: string;
1488
- content: string;
1489
- inner: string;
1490
- };
1491
- panel: {
1492
- container: string;
1493
- transition: {
1494
- enter: string;
1495
- enterFrom: string;
1496
- enterTo: string;
1497
- leave: string;
1498
- leaveFrom: string;
1499
- leaveTo: string;
1500
- };
1501
- };
1502
- };
1503
- }>;
1504
- xl: DeepPartialType<{
1505
- container: {
1506
- outer: string;
1507
- inner: string;
1508
- };
1509
- item: {
1510
- container: string;
1511
- layout: {
1512
- container: string;
1513
- content: string;
1514
- inner: string;
1515
- };
1516
- panel: {
1517
- container: string;
1518
- transition: {
1519
- enter: string;
1520
- enterFrom: string;
1521
- enterTo: string;
1522
- leave: string;
1523
- leaveFrom: string;
1524
- leaveTo: string;
1525
- };
1526
- };
1527
- };
1528
- }>;
767
+ type _TContainerProps2 = {
768
+ children: ({ active, setActive, }: {
769
+ active: string;
770
+ setActive: Dispatch<SetStateAction<string>>;
771
+ }) => ReactNode | ReactNode[];
772
+ styles?: ContainerStylesType;
773
+ };
774
+ type TNavigationProps = {
775
+ children: ReactNode | ReactNode[];
776
+ active: string;
777
+ setActive: Dispatch<SetStateAction<string>>;
778
+ styles?: NavigationStylesType;
779
+ };
780
+ type _TNavigationItemProps1 = {
781
+ accessor: string;
782
+ href?: string;
783
+ type?: string;
784
+ children: ReactNode | ReactNode[];
785
+ linkComponent?: ElementType;
786
+ isCurrent?: boolean;
787
+ isInitial?: boolean;
788
+ onClick?: (accessor: MouseEvent) => void;
789
+ };
790
+ type _TViewProps1 = {
791
+ children: ReactNode;
1529
792
  };
1530
- declare const _base22: {
793
+ export const VerticalNavigation: {
794
+ Container: React.FC<_TContainerProps2>;
795
+ List: React.FC<TNavigationProps>;
796
+ Item: React.FC<_TNavigationItemProps1>;
797
+ View: React.FC<_TViewProps1>;
798
+ };
799
+ declare const _base19: {
1531
800
  container: string;
1532
801
  background: {
1533
802
  container: string;
1534
803
  transition: {
1535
804
  enter: string;
1536
- enterFrom: string;
1537
- enterTo: string;
1538
- leave: string;
1539
- leaveFrom: string;
1540
- leaveTo: string;
1541
- };
1542
- };
1543
- layout: {
1544
- container: string;
1545
- content: string;
1546
- inner: string;
1547
- };
1548
- panel: {
1549
- container: string;
1550
- transition: {
1551
- enter: string;
1552
- enterFrom: string;
1553
- enterTo: string;
1554
- leave: string;
1555
- leaveFrom: string;
1556
- leaveTo: string;
1557
- };
1558
- };
1559
- };
1560
- export const SlideOverOverlay: {
1561
- _base22: {
1562
- container: string;
1563
- background: {
1564
- container: string;
1565
- transition: {
1566
- enter: string;
1567
- enterFrom: string;
1568
- enterTo: string;
1569
- leave: string;
1570
- leaveFrom: string;
1571
- leaveTo: string;
1572
- };
1573
- };
1574
- layout: {
1575
- container: string;
1576
- content: string;
1577
- inner: string;
1578
- };
1579
- panel: {
1580
- container: string;
1581
- transition: {
1582
- enter: string;
1583
- enterFrom: string;
1584
- enterTo: string;
1585
- leave: string;
1586
- leaveFrom: string;
1587
- leaveTo: string;
1588
- };
1589
- };
1590
- };
1591
- xs: DeepPartialType<{
1592
- container: string;
1593
- background: {
1594
- container: string;
1595
- transition: {
1596
- enter: string;
1597
- enterFrom: string;
1598
- enterTo: string;
1599
- leave: string;
1600
- leaveFrom: string;
1601
- leaveTo: string;
1602
- };
1603
- };
1604
- layout: {
1605
- container: string;
1606
- content: string;
1607
- inner: string;
1608
- };
1609
- panel: {
1610
- container: string;
1611
- transition: {
1612
- enter: string;
1613
- enterFrom: string;
1614
- enterTo: string;
1615
- leave: string;
1616
- leaveFrom: string;
1617
- leaveTo: string;
1618
- };
1619
- };
1620
- }>;
1621
- sm: DeepPartialType<{
1622
- container: string;
1623
- background: {
1624
- container: string;
1625
- transition: {
1626
- enter: string;
1627
- enterFrom: string;
1628
- enterTo: string;
1629
- leave: string;
1630
- leaveFrom: string;
1631
- leaveTo: string;
1632
- };
1633
- };
1634
- layout: {
1635
- container: string;
1636
- content: string;
1637
- inner: string;
1638
- };
1639
- panel: {
1640
- container: string;
1641
- transition: {
1642
- enter: string;
1643
- enterFrom: string;
1644
- enterTo: string;
1645
- leave: string;
1646
- leaveFrom: string;
1647
- leaveTo: string;
1648
- };
1649
- };
1650
- }>;
1651
- md: DeepPartialType<{
1652
- container: string;
1653
- background: {
1654
- container: string;
1655
- transition: {
1656
- enter: string;
1657
- enterFrom: string;
1658
- enterTo: string;
1659
- leave: string;
1660
- leaveFrom: string;
1661
- leaveTo: string;
1662
- };
1663
- };
1664
- layout: {
1665
- container: string;
1666
- content: string;
1667
- inner: string;
1668
- };
1669
- panel: {
1670
- container: string;
1671
- transition: {
1672
- enter: string;
1673
- enterFrom: string;
1674
- enterTo: string;
1675
- leave: string;
1676
- leaveFrom: string;
1677
- leaveTo: string;
1678
- };
805
+ enterFrom: string;
806
+ enterTo: string;
807
+ leave: string;
808
+ leaveFrom: string;
809
+ leaveTo: string;
1679
810
  };
1680
- }>;
1681
- lg: DeepPartialType<{
811
+ };
812
+ layout: {
1682
813
  container: string;
1683
- background: {
1684
- container: string;
1685
- transition: {
1686
- enter: string;
1687
- enterFrom: string;
1688
- enterTo: string;
1689
- leave: string;
1690
- leaveFrom: string;
1691
- leaveTo: string;
1692
- };
814
+ content: string;
815
+ };
816
+ panel: {
817
+ container: string;
818
+ transition: {
819
+ enter: string;
820
+ enterFrom: string;
821
+ enterTo: string;
822
+ leave: string;
823
+ leaveFrom: string;
824
+ leaveTo: string;
1693
825
  };
826
+ };
827
+ };
828
+ type TModalOverlayStyles = DeepPartialType<typeof _base19>;
829
+ export type TModalOverlayProps = {
830
+ trigger?: ({ handleOpen, handleClose }: {
831
+ handleOpen: () => void;
832
+ handleClose: () => void;
833
+ }) => ReactNode;
834
+ children: ({ handleOpen, handleClose }: {
835
+ handleOpen: () => void;
836
+ handleClose: () => void;
837
+ }) => ReactNode;
838
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
839
+ styles?: TModalOverlayStyles;
840
+ dataCy?: string;
841
+ onOpen?: () => void;
842
+ onClose?: () => void;
843
+ };
844
+ export const ModalOverlay: FC<TModalOverlayProps>;
845
+ declare const _base20: {
846
+ container: {
847
+ outer: string;
848
+ inner: string;
849
+ };
850
+ item: {
851
+ container: string;
1694
852
  layout: {
1695
853
  container: string;
1696
854
  content: string;
@@ -1707,38 +865,72 @@ export const SlideOverOverlay: {
1707
865
  leaveTo: string;
1708
866
  };
1709
867
  };
1710
- }>;
1711
- xl: DeepPartialType<{
868
+ };
869
+ };
870
+ type TNotificationOverlayStyles = DeepPartialType<typeof _base20>;
871
+ type _TProps11 = {
872
+ trigger?: ({ onOpen, onClose }: {
873
+ onOpen: () => void;
874
+ onClose: () => void;
875
+ }) => ReactNode;
876
+ children: ({ onOpen, onClose }: {
877
+ onOpen: () => void;
878
+ onClose: () => void;
879
+ }) => ReactNode;
880
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
881
+ styles?: TNotificationOverlayStyles;
882
+ };
883
+ export const NotificationOverlay: {
884
+ Container: ({ children, styles: stylesOverrides, }: {
885
+ children: ReactNode;
886
+ styles?: TNotificationOverlayStyles;
887
+ }) => import("react/jsx-runtime").JSX.Element;
888
+ Item: React.FC<_TProps11>;
889
+ };
890
+ declare const _base21: {
891
+ container: string;
892
+ background: {
1712
893
  container: string;
1713
- background: {
1714
- container: string;
1715
- transition: {
1716
- enter: string;
1717
- enterFrom: string;
1718
- enterTo: string;
1719
- leave: string;
1720
- leaveFrom: string;
1721
- leaveTo: string;
1722
- };
1723
- };
1724
- layout: {
1725
- container: string;
1726
- content: string;
1727
- inner: string;
894
+ transition: {
895
+ enter: string;
896
+ enterFrom: string;
897
+ enterTo: string;
898
+ leave: string;
899
+ leaveFrom: string;
900
+ leaveTo: string;
1728
901
  };
1729
- panel: {
1730
- container: string;
1731
- transition: {
1732
- enter: string;
1733
- enterFrom: string;
1734
- enterTo: string;
1735
- leave: string;
1736
- leaveFrom: string;
1737
- leaveTo: string;
1738
- };
902
+ };
903
+ layout: {
904
+ container: string;
905
+ content: string;
906
+ inner: string;
907
+ };
908
+ panel: {
909
+ container: string;
910
+ transition: {
911
+ enter: string;
912
+ enterFrom: string;
913
+ enterTo: string;
914
+ leave: string;
915
+ leaveFrom: string;
916
+ leaveTo: string;
1739
917
  };
1740
- }>;
918
+ };
919
+ };
920
+ type TSlideOverOverlayStyles = DeepPartialType<typeof _base21>;
921
+ type _TProps12 = {
922
+ trigger?: ({ handleOpen, handleClose }: {
923
+ handleOpen: () => void;
924
+ handleClose: () => void;
925
+ }) => ReactNode;
926
+ children: ({ handleOpen, handleClose }: {
927
+ handleOpen: () => void;
928
+ handleClose: () => void;
929
+ }) => ReactNode;
930
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
931
+ styles?: TSlideOverOverlayStyles;
1741
932
  };
933
+ export const SlideOverOverlay: FC<_TProps12>;
1742
934
  declare const styles: {
1743
935
  controls: {
1744
936
  container: string;
@@ -1759,7 +951,7 @@ declare const styles: {
1759
951
  icon: string;
1760
952
  };
1761
953
  type TTableColumnOptionsStyles = DeepPartialType<typeof styles>;
1762
- type _TProps1 = {
954
+ type _TProps13 = {
1763
955
  table: Table<any>;
1764
956
  setColumnOrder: Dispatch<SetStateAction<ColumnOrderState>>;
1765
957
  trigger: ReactNode;
@@ -1770,22 +962,16 @@ type _TProps1 = {
1770
962
  onReset?: () => void;
1771
963
  };
1772
964
  };
1773
- export const TableColumnOptionsCustom: FC<_TProps1>;
1774
- type _TProps2<TData> = {
965
+ export const TableColumnOptionsCustom: FC<_TProps13>;
966
+ type _TProps14<TData> = {
1775
967
  table: Table<TData>;
1776
968
  fileName: string;
1777
969
  children: ({ handleExport }: {
1778
970
  handleExport: (exportData?: TData[]) => void;
1779
971
  }) => ReactNode;
1780
972
  };
1781
- export const TableExportCustom: <TData extends object>(props: _TProps2<TData>) => import("react/jsx-runtime").JSX.Element;
1782
- export type TDateMenuFormProps = Omit<TDateRangeMenuFormProps, 'value' | 'isRanged' | 'onChange'> & {
1783
- value?: string;
1784
- isRanged?: false;
1785
- onChange?: (value: string) => void;
1786
- };
1787
- export const DateMenuForm: FC<TDateMenuFormProps>;
1788
- declare const _base23: {
973
+ export const TableExportCustom: <TData extends object>(props: _TProps14<TData>) => import("react/jsx-runtime").JSX.Element;
974
+ declare const _base22: {
1789
975
  container: string;
1790
976
  head: string;
1791
977
  body: string;
@@ -1798,7 +984,7 @@ declare const _base23: {
1798
984
  description: string;
1799
985
  error: string;
1800
986
  };
1801
- export type TDateMenuFormStyles = DeepPartialType<typeof _base23>;
987
+ export type TDateMenuFormStyles = DeepPartialType<typeof _base22>;
1802
988
  export type TDateRangeMenuFormProps = {
1803
989
  name: string;
1804
990
  type?: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
@@ -1838,6 +1024,26 @@ export type TDateRangeMenuFormProps = {
1838
1024
  styles?: TDateMenuFormStyles;
1839
1025
  };
1840
1026
  export const DateRangeMenuForm: FC<TDateRangeMenuFormProps>;
1027
+ export type TDateMenuFormProps = Omit<TDateRangeMenuFormProps, 'value' | 'isRanged' | 'onChange'> & {
1028
+ value?: string;
1029
+ isRanged?: false;
1030
+ onChange?: (value: string) => void;
1031
+ };
1032
+ export const DateMenuForm: FC<TDateMenuFormProps>;
1033
+ declare const _base23: {
1034
+ container: string;
1035
+ sr: string;
1036
+ list: string;
1037
+ item: {
1038
+ container: string;
1039
+ head: string;
1040
+ body: string;
1041
+ input: string;
1042
+ label: string;
1043
+ description: string;
1044
+ };
1045
+ };
1046
+ export type TCheckboxInputGroupFormStyles = DeepPartialType<typeof _base23>;
1841
1047
  export type TCheckboxInputGroupFormProps = {
1842
1048
  name: string;
1843
1049
  form: FormikProps<FormikValues>;
@@ -1854,18 +1060,15 @@ export type TCheckboxInputGroupFormProps = {
1854
1060
  export const __DEPRECATED__CheckboxInputGroupForm: FC<TCheckboxInputGroupFormProps>;
1855
1061
  declare const _base24: {
1856
1062
  container: string;
1857
- sr: string;
1858
- list: string;
1859
- item: {
1860
- container: string;
1861
- head: string;
1862
- body: string;
1863
- input: string;
1864
- label: string;
1865
- description: string;
1866
- };
1063
+ head: string;
1064
+ body: string;
1065
+ input: string;
1066
+ inputHidden: string;
1067
+ replacement: string;
1068
+ label: string;
1069
+ description: string;
1867
1070
  };
1868
- export type TCheckboxInputGroupFormStyles = DeepPartialType<typeof _base24>;
1071
+ export type TCheckboxInputFormStyles = DeepPartialType<typeof _base24>;
1869
1072
  export type TCheckboxInputFormProps = {
1870
1073
  name: string;
1871
1074
  title?: string;
@@ -1888,40 +1091,6 @@ export type TCheckboxInputFormProps = {
1888
1091
  isIndeterminable?: true;
1889
1092
  });
1890
1093
  export const CheckboxInput: FC<TCheckboxInputFormProps>;
1891
- declare const _base25: {
1892
- container: string;
1893
- head: string;
1894
- body: string;
1895
- input: string;
1896
- inputHidden: string;
1897
- replacement: string;
1898
- label: string;
1899
- description: string;
1900
- };
1901
- export type TCheckboxInputFormStyles = DeepPartialType<typeof _base25>;
1902
- export type TSwitchFormProps = {
1903
- name: string;
1904
- label?: string;
1905
- description?: string;
1906
- required?: ({ isRequired }: {
1907
- isRequired: boolean;
1908
- }) => string | ReactNode;
1909
- isDisabled?: boolean;
1910
- value: boolean;
1911
- onChange: (value: boolean) => void;
1912
- isRequired?: boolean;
1913
- isTouched?: boolean;
1914
- error?: string;
1915
- styles?: TSwitchStylesForm;
1916
- size?: 'sm' | 'md';
1917
- } & ({
1918
- iconAccessorChecked?: undefined;
1919
- iconAccessorUnchecked?: undefined;
1920
- } | {
1921
- iconAccessorChecked: IconName;
1922
- iconAccessorUnchecked: IconName;
1923
- });
1924
- export const SwitchForm: (props: TSwitchFormProps) => import("react/jsx-runtime").JSX.Element;
1925
1094
  declare const _styles1: {
1926
1095
  base: {
1927
1096
  label: string;
@@ -1969,6 +1138,43 @@ declare const _styles1: {
1969
1138
  };
1970
1139
  };
1971
1140
  export type TSwitchStylesForm = DeepPartialType<typeof _styles1>;
1141
+ export type TSwitchFormProps = {
1142
+ name: string;
1143
+ label?: string;
1144
+ description?: string;
1145
+ required?: ({ isRequired }: {
1146
+ isRequired: boolean;
1147
+ }) => string | ReactNode;
1148
+ isDisabled?: boolean;
1149
+ value: boolean;
1150
+ onChange: (value: boolean) => void;
1151
+ isRequired?: boolean;
1152
+ isTouched?: boolean;
1153
+ error?: string;
1154
+ styles?: TSwitchStylesForm;
1155
+ size?: 'sm' | 'md';
1156
+ } & ({
1157
+ iconAccessorChecked?: undefined;
1158
+ iconAccessorUnchecked?: undefined;
1159
+ } | {
1160
+ iconAccessorChecked: IconName;
1161
+ iconAccessorUnchecked: IconName;
1162
+ });
1163
+ export const SwitchForm: (props: TSwitchFormProps) => import("react/jsx-runtime").JSX.Element;
1164
+ declare const _base25: {
1165
+ container: string;
1166
+ head: string;
1167
+ body: string;
1168
+ foot: string;
1169
+ label: string;
1170
+ hint: string;
1171
+ leading: string;
1172
+ input: string;
1173
+ trailing: string;
1174
+ description: string;
1175
+ error: string;
1176
+ };
1177
+ export type TFileInputGroupFormStyles = DeepPartialType<typeof _base25>;
1972
1178
  type TFileType = {
1973
1179
  name: string;
1974
1180
  size: number;
@@ -2013,7 +1219,7 @@ declare const _base26: {
2013
1219
  description: string;
2014
1220
  error: string;
2015
1221
  };
2016
- export type TFileInputGroupFormStyles = DeepPartialType<typeof _base26>;
1222
+ export type TOpeningsHourInputGroupFormStyles = DeepPartialType<typeof _base26>;
2017
1223
  export type TOpeningsHourInputGroupFormProps = {
2018
1224
  form: FormikContextType<any>;
2019
1225
  name: string;
@@ -2047,8 +1253,13 @@ declare const _base27: {
2047
1253
  trailing: string;
2048
1254
  description: string;
2049
1255
  error: string;
1256
+ geosuggest: {
1257
+ suggestsClassName: string;
1258
+ suggestItemClassName: string;
1259
+ suggestsHiddenClassName: string;
1260
+ };
2050
1261
  };
2051
- export type TOpeningsHourInputGroupFormStyles = DeepPartialType<typeof _base27>;
1262
+ export type TAddressInputGroupFormStyles = DeepPartialType<typeof _base27>;
2052
1263
  export type TAddressInputGroupFormValue = {
2053
1264
  country: string;
2054
1265
  city: string;
@@ -2081,24 +1292,5 @@ export type TAddressInputGroupFormProps = {
2081
1292
  styles?: TAddressInputGroupFormStyles;
2082
1293
  };
2083
1294
  export const AddressInputGroupForm: FC<TAddressInputGroupFormProps>;
2084
- declare const _base28: {
2085
- container: string;
2086
- head: string;
2087
- body: string;
2088
- foot: string;
2089
- label: string;
2090
- hint: string;
2091
- leading: string;
2092
- input: string;
2093
- trailing: string;
2094
- description: string;
2095
- error: string;
2096
- geosuggest: {
2097
- suggestsClassName: string;
2098
- suggestItemClassName: string;
2099
- suggestsHiddenClassName: string;
2100
- };
2101
- };
2102
- export type TAddressInputGroupFormStyles = DeepPartialType<typeof _base28>;
2103
1295
 
2104
1296
  //# sourceMappingURL=index.d.ts.map