@ballistix.digital/react-components 7.2.1-rc-72.0 → 7.3.1-rc-74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +110 -133
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +378 -242
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +377 -241
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -186,7 +186,7 @@ declare const _base2: {
|
|
|
186
186
|
type TBadgeElementStyles = DeepPartialType<typeof _base2>;
|
|
187
187
|
type TBadgeElementColor = 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink';
|
|
188
188
|
type TBadgeElementProps = {
|
|
189
|
-
children:
|
|
189
|
+
children: ReactNode;
|
|
190
190
|
color?: TBadgeElementColor;
|
|
191
191
|
type?: 'normal' | 'indicator' | 'close';
|
|
192
192
|
size?: 'sm' | 'lg';
|
|
@@ -227,7 +227,7 @@ declare const _base4: {
|
|
|
227
227
|
};
|
|
228
228
|
type TButtonElementStyles = DeepPartialType<typeof _base4>;
|
|
229
229
|
export type TButtonElementProps = {
|
|
230
|
-
children:
|
|
230
|
+
children: ReactNode;
|
|
231
231
|
innerRef?: RefObject<HTMLButtonElement | null>;
|
|
232
232
|
htmlType?: 'button' | 'submit';
|
|
233
233
|
type?: 'primary' | 'secondary' | 'outline';
|
|
@@ -262,7 +262,7 @@ declare const _base6: {
|
|
|
262
262
|
type TDropdownElementStyles = DeepPartialType<typeof _base6>;
|
|
263
263
|
type _TProps3 = {
|
|
264
264
|
children: ReactElement | ReactElement[];
|
|
265
|
-
label?:
|
|
265
|
+
label?: ReactNode;
|
|
266
266
|
trigger?: ReactNode;
|
|
267
267
|
dataCy?: string;
|
|
268
268
|
type?: 'button' | 'compact';
|
|
@@ -320,31 +320,51 @@ type TProgressTrackProps = {
|
|
|
320
320
|
};
|
|
321
321
|
export const ProgressTrackElement: FC<TProgressTrackProps>;
|
|
322
322
|
declare const _base8: {
|
|
323
|
+
hint: string;
|
|
324
|
+
error: string;
|
|
325
|
+
};
|
|
326
|
+
type TInputFooterStyles = DeepPartialType<typeof _base8>;
|
|
327
|
+
type TInputFooterSharedProps = {
|
|
328
|
+
hint?: ReactNode;
|
|
329
|
+
error?: ReactNode;
|
|
330
|
+
isTouched?: boolean;
|
|
331
|
+
};
|
|
332
|
+
declare const _base9: {
|
|
333
|
+
header: {
|
|
334
|
+
container: string;
|
|
335
|
+
labelWrapper: string;
|
|
336
|
+
label: string;
|
|
337
|
+
required: string;
|
|
338
|
+
optional: string;
|
|
339
|
+
description: string;
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
type TInputHeaderStyles = DeepPartialType<typeof _base9>;
|
|
343
|
+
type TInputHeaderSharedProps = {
|
|
344
|
+
label?: ReactNode;
|
|
345
|
+
description?: ReactNode;
|
|
346
|
+
required?: ({ isRequired }: {
|
|
347
|
+
isRequired: boolean;
|
|
348
|
+
}) => ReactNode;
|
|
349
|
+
isRequired?: boolean;
|
|
350
|
+
isOptionalLabelHidden?: boolean;
|
|
351
|
+
};
|
|
352
|
+
declare const _base10: {
|
|
323
353
|
container: string;
|
|
324
|
-
head: string;
|
|
325
354
|
body: string;
|
|
326
355
|
foot: string;
|
|
327
|
-
label: string;
|
|
328
|
-
hint: string;
|
|
329
356
|
leading: string;
|
|
330
357
|
input: string;
|
|
331
358
|
trailing: string;
|
|
332
|
-
description: string;
|
|
333
359
|
error: string;
|
|
334
360
|
};
|
|
335
|
-
export type TInputGroupStyles = DeepPartialType<typeof
|
|
336
|
-
export type TInputGroupFormProps = {
|
|
361
|
+
export type TInputGroupStyles = DeepPartialType<typeof _base10 & TInputHeaderStyles & TInputFooterStyles>;
|
|
362
|
+
export type TInputGroupFormProps = TInputHeaderSharedProps & TInputFooterSharedProps & {
|
|
337
363
|
name: string;
|
|
338
|
-
label?: string | ReactNode;
|
|
339
|
-
description?: string;
|
|
340
364
|
placeholder?: string;
|
|
341
|
-
leading?:
|
|
342
|
-
trailing?:
|
|
343
|
-
required?: ({ isRequired }: {
|
|
344
|
-
isRequired: boolean;
|
|
345
|
-
}) => string | ReactNode;
|
|
365
|
+
leading?: ReactNode;
|
|
366
|
+
trailing?: ReactNode;
|
|
346
367
|
value: string;
|
|
347
|
-
error?: string;
|
|
348
368
|
mask?: {
|
|
349
369
|
mask: string;
|
|
350
370
|
replacementCharacter?: string;
|
|
@@ -354,10 +374,7 @@ export type TInputGroupFormProps = {
|
|
|
354
374
|
maxLength?: number;
|
|
355
375
|
rows?: number;
|
|
356
376
|
type: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
|
|
357
|
-
isValid?: boolean;
|
|
358
377
|
isDisabled?: boolean;
|
|
359
|
-
isRequired?: boolean;
|
|
360
|
-
isTouched?: boolean;
|
|
361
378
|
isSolo?: boolean;
|
|
362
379
|
setRefOnLoad?: (ref: RefObject<HTMLInputElement | null>) => void;
|
|
363
380
|
styles?: TInputGroupStyles;
|
|
@@ -368,7 +385,7 @@ export type TInputGroupFormProps = {
|
|
|
368
385
|
onClick?: MouseEventHandler<HTMLTextAreaElement>;
|
|
369
386
|
onKeyDown?: KeyboardEventHandler<HTMLTextAreaElement>;
|
|
370
387
|
onClear?: never;
|
|
371
|
-
trailing?:
|
|
388
|
+
trailing?: ReactNode;
|
|
372
389
|
} | {
|
|
373
390
|
htmlType: 'text' | 'date';
|
|
374
391
|
onChange: ChangeEventHandler<HTMLInputElement>;
|
|
@@ -384,54 +401,54 @@ export type TInputGroupFormProps = {
|
|
|
384
401
|
onClick?: MouseEventHandler<HTMLInputElement>;
|
|
385
402
|
onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
|
|
386
403
|
onClear?: never;
|
|
387
|
-
trailing?:
|
|
404
|
+
trailing?: ReactNode;
|
|
388
405
|
});
|
|
389
406
|
export const InputGroupForm: FC<TInputGroupFormProps>;
|
|
390
|
-
declare const
|
|
407
|
+
declare const _base11: {
|
|
391
408
|
container: string;
|
|
392
409
|
content: string;
|
|
393
410
|
};
|
|
394
|
-
type TContainerLayoutStyles = DeepPartialType<typeof
|
|
411
|
+
type TContainerLayoutStyles = DeepPartialType<typeof _base11>;
|
|
395
412
|
type _TProps5 = {
|
|
396
413
|
children: ReactNode;
|
|
397
414
|
type?: 'break' | 'center' | 'fill';
|
|
398
415
|
styles?: TContainerLayoutStyles;
|
|
399
416
|
};
|
|
400
417
|
export const ContainerLayout: FC<_TProps5>;
|
|
401
|
-
declare const
|
|
418
|
+
declare const _base12: {
|
|
402
419
|
container: string;
|
|
403
420
|
head: string;
|
|
404
421
|
line: string;
|
|
405
422
|
body: string;
|
|
406
423
|
content: string;
|
|
407
424
|
};
|
|
408
|
-
type TDividerLayoutStyles = DeepPartialType<typeof
|
|
425
|
+
type TDividerLayoutStyles = DeepPartialType<typeof _base12>;
|
|
409
426
|
type _TProps6 = {
|
|
410
427
|
children?: ReactNode;
|
|
411
428
|
type?: 'left' | 'center' | 'right';
|
|
412
429
|
styles?: TDividerLayoutStyles;
|
|
413
430
|
};
|
|
414
431
|
export const DividerLayout: FC<_TProps6>;
|
|
415
|
-
declare const
|
|
432
|
+
declare const _base13: {
|
|
416
433
|
container: string;
|
|
417
434
|
list: string;
|
|
418
435
|
item: string;
|
|
419
436
|
};
|
|
420
|
-
type TListContainerLayoutStyles = DeepPartialType<typeof
|
|
437
|
+
type TListContainerLayoutStyles = DeepPartialType<typeof _base13>;
|
|
421
438
|
type _TProps7 = {
|
|
422
439
|
children: ReactElement | ReactElement[];
|
|
423
440
|
type?: 'fill' | 'fill-sticky' | 'center' | 'center-sticky' | 'card' | 'card-sticky';
|
|
424
441
|
styles?: TListContainerLayoutStyles;
|
|
425
442
|
};
|
|
426
443
|
export const ListContainerLayout: FC<_TProps7>;
|
|
427
|
-
declare const
|
|
444
|
+
declare const _base14: {
|
|
428
445
|
container: string;
|
|
429
446
|
figure: string;
|
|
430
447
|
svg: string;
|
|
431
448
|
title: string;
|
|
432
449
|
paragraph: string;
|
|
433
450
|
};
|
|
434
|
-
type TMediaObjectLayoutStyles = DeepPartialType<typeof
|
|
451
|
+
type TMediaObjectLayoutStyles = DeepPartialType<typeof _base14>;
|
|
435
452
|
type _TProps8 = {
|
|
436
453
|
title: string;
|
|
437
454
|
paragraph: string;
|
|
@@ -440,11 +457,11 @@ type _TProps8 = {
|
|
|
440
457
|
styles?: TMediaObjectLayoutStyles;
|
|
441
458
|
};
|
|
442
459
|
export const MediaObjectLayout: FC<_TProps8>;
|
|
443
|
-
declare const
|
|
460
|
+
declare const _base15: {
|
|
444
461
|
container: string;
|
|
445
462
|
section: string;
|
|
446
463
|
};
|
|
447
|
-
type TPanelLayoutStyles = DeepPartialType<typeof
|
|
464
|
+
type TPanelLayoutStyles = DeepPartialType<typeof _base15>;
|
|
448
465
|
type TContainerProps = {
|
|
449
466
|
children: ReactNode;
|
|
450
467
|
type?: 'normal' | 'sticky';
|
|
@@ -460,7 +477,7 @@ export const PanelLayout: {
|
|
|
460
477
|
Container: React.FC<TContainerProps>;
|
|
461
478
|
Section: React.FC<TSectionProps>;
|
|
462
479
|
};
|
|
463
|
-
declare const
|
|
480
|
+
declare const _base16: {
|
|
464
481
|
container: string;
|
|
465
482
|
left: {
|
|
466
483
|
container: string;
|
|
@@ -482,7 +499,7 @@ declare const _base14: {
|
|
|
482
499
|
};
|
|
483
500
|
divider: string;
|
|
484
501
|
};
|
|
485
|
-
type TPagePaginationNavigationStyles = DeepPartialType<typeof
|
|
502
|
+
type TPagePaginationNavigationStyles = DeepPartialType<typeof _base16>;
|
|
486
503
|
type _TProps9 = {
|
|
487
504
|
min?: number;
|
|
488
505
|
max: number;
|
|
@@ -490,7 +507,7 @@ type _TProps9 = {
|
|
|
490
507
|
onChange?: (current: number) => void;
|
|
491
508
|
};
|
|
492
509
|
export const PagePaginationNavigation: React.FC<_TProps9>;
|
|
493
|
-
declare const
|
|
510
|
+
declare const _base17: {
|
|
494
511
|
container: string;
|
|
495
512
|
mobile: {
|
|
496
513
|
container: string;
|
|
@@ -513,14 +530,11 @@ declare const _base15: {
|
|
|
513
530
|
icon: string;
|
|
514
531
|
pageSizeList: string;
|
|
515
532
|
};
|
|
516
|
-
type TPanelPaginationNavigationStyles = DeepPartialType<typeof
|
|
517
|
-
declare const
|
|
533
|
+
type TPanelPaginationNavigationStyles = DeepPartialType<typeof _base17>;
|
|
534
|
+
declare const _base18: {
|
|
518
535
|
container: string;
|
|
519
|
-
head: string;
|
|
520
536
|
body: string;
|
|
521
537
|
foot: string;
|
|
522
|
-
label: string;
|
|
523
|
-
hint: string;
|
|
524
538
|
leading: string;
|
|
525
539
|
input: string;
|
|
526
540
|
menuButton: string;
|
|
@@ -542,10 +556,10 @@ declare const _base16: {
|
|
|
542
556
|
description: string;
|
|
543
557
|
error: string;
|
|
544
558
|
};
|
|
545
|
-
export type TSelectMenuFormStyles = DeepPartialType<typeof
|
|
546
|
-
export type TSelectMenuFormProps = {
|
|
559
|
+
export type TSelectMenuFormStyles = DeepPartialType<typeof _base18 & TInputHeaderStyles>;
|
|
560
|
+
export type TSelectMenuFormProps = TInputHeaderSharedProps & {
|
|
547
561
|
name: string;
|
|
548
|
-
|
|
562
|
+
iconAccessor?: IconName;
|
|
549
563
|
description?: string;
|
|
550
564
|
placeholder?: {
|
|
551
565
|
select?: string;
|
|
@@ -556,9 +570,6 @@ export type TSelectMenuFormProps = {
|
|
|
556
570
|
value: string;
|
|
557
571
|
label: string;
|
|
558
572
|
}[];
|
|
559
|
-
required?: ({ isRequired }: {
|
|
560
|
-
isRequired: boolean;
|
|
561
|
-
}) => string | ReactNode;
|
|
562
573
|
value: {
|
|
563
574
|
label: string;
|
|
564
575
|
value: string;
|
|
@@ -566,7 +577,6 @@ export type TSelectMenuFormProps = {
|
|
|
566
577
|
};
|
|
567
578
|
error?: string | Option | Option[];
|
|
568
579
|
isLoading?: boolean;
|
|
569
|
-
isRequired?: boolean;
|
|
570
580
|
isTouched?: boolean;
|
|
571
581
|
isDisabled?: boolean;
|
|
572
582
|
isClearable?: boolean;
|
|
@@ -619,7 +629,7 @@ type TReturn<TData> = {
|
|
|
619
629
|
write: (sheets: TExcelSheet[], options: TOptions) => void;
|
|
620
630
|
};
|
|
621
631
|
export const useExcel: <TData extends object>() => TReturn<TData>;
|
|
622
|
-
declare const
|
|
632
|
+
declare const _base19: {
|
|
623
633
|
container: string;
|
|
624
634
|
head: {
|
|
625
635
|
container: string;
|
|
@@ -673,7 +683,7 @@ declare const _base17: {
|
|
|
673
683
|
};
|
|
674
684
|
};
|
|
675
685
|
};
|
|
676
|
-
export type TTableListStyles = DeepPartialType<typeof
|
|
686
|
+
export type TTableListStyles = DeepPartialType<typeof _base19>;
|
|
677
687
|
type TData = any;
|
|
678
688
|
type VisibilityState = Record<string, boolean>;
|
|
679
689
|
export type TTableListProps<TData> = {
|
|
@@ -714,7 +724,7 @@ export type TTableListProps<TData> = {
|
|
|
714
724
|
onPaginate?: (current: number) => void;
|
|
715
725
|
};
|
|
716
726
|
export const TableList: FC<TTableListProps<TData>>;
|
|
717
|
-
declare const
|
|
727
|
+
declare const _base20: {
|
|
718
728
|
container: string;
|
|
719
729
|
head: string;
|
|
720
730
|
body: {
|
|
@@ -779,7 +789,7 @@ declare const _base18: {
|
|
|
779
789
|
foot: string;
|
|
780
790
|
leftSide: string;
|
|
781
791
|
};
|
|
782
|
-
type _TTableListStyles1 = DeepPartialType<typeof
|
|
792
|
+
type _TTableListStyles1 = DeepPartialType<typeof _base20>;
|
|
783
793
|
type _TData1 = any;
|
|
784
794
|
type _VisibilityState1 = Record<string, boolean>;
|
|
785
795
|
type Params = {
|
|
@@ -848,7 +858,7 @@ export type TTableList2Props<_TData1> = {
|
|
|
848
858
|
};
|
|
849
859
|
export const TableList2: FC<TTableList2Props<_TData1>>;
|
|
850
860
|
export const createColumnHelper: <TData>() => ColumnHelper<TData>;
|
|
851
|
-
declare const
|
|
861
|
+
declare const _base21: {
|
|
852
862
|
container: string;
|
|
853
863
|
list: string;
|
|
854
864
|
separator: string;
|
|
@@ -865,7 +875,7 @@ declare const _base19: {
|
|
|
865
875
|
link: string;
|
|
866
876
|
};
|
|
867
877
|
};
|
|
868
|
-
type TBreadcrumbsNavigationStyles = DeepPartialType<typeof
|
|
878
|
+
type TBreadcrumbsNavigationStyles = DeepPartialType<typeof _base21>;
|
|
869
879
|
type _TProps11 = {
|
|
870
880
|
href: string;
|
|
871
881
|
pages: {
|
|
@@ -970,7 +980,7 @@ export const VerticalNavigation: {
|
|
|
970
980
|
Item: React.FC<_TNavigationItemProps1>;
|
|
971
981
|
View: React.FC<_TViewProps1>;
|
|
972
982
|
};
|
|
973
|
-
declare const
|
|
983
|
+
declare const _base22: {
|
|
974
984
|
container: string;
|
|
975
985
|
background: {
|
|
976
986
|
container: string;
|
|
@@ -999,7 +1009,7 @@ declare const _base20: {
|
|
|
999
1009
|
};
|
|
1000
1010
|
};
|
|
1001
1011
|
};
|
|
1002
|
-
type TModalOverlayStyles = DeepPartialType<typeof
|
|
1012
|
+
type TModalOverlayStyles = DeepPartialType<typeof _base22>;
|
|
1003
1013
|
export type TModalOverlayProps = {
|
|
1004
1014
|
trigger?: ({ handleOpen, handleClose }: {
|
|
1005
1015
|
handleOpen: () => void;
|
|
@@ -1016,7 +1026,7 @@ export type TModalOverlayProps = {
|
|
|
1016
1026
|
onClose?: () => void;
|
|
1017
1027
|
};
|
|
1018
1028
|
export const ModalOverlay: FC<TModalOverlayProps>;
|
|
1019
|
-
declare const
|
|
1029
|
+
declare const _base23: {
|
|
1020
1030
|
container: {
|
|
1021
1031
|
outer: string;
|
|
1022
1032
|
inner: string;
|
|
@@ -1041,7 +1051,7 @@ declare const _base21: {
|
|
|
1041
1051
|
};
|
|
1042
1052
|
};
|
|
1043
1053
|
};
|
|
1044
|
-
type TNotificationOverlayStyles = DeepPartialType<typeof
|
|
1054
|
+
type TNotificationOverlayStyles = DeepPartialType<typeof _base23>;
|
|
1045
1055
|
type _TProps12 = {
|
|
1046
1056
|
trigger?: ({ onOpen, onClose }: {
|
|
1047
1057
|
onOpen: () => void;
|
|
@@ -1061,7 +1071,7 @@ export const NotificationOverlay: {
|
|
|
1061
1071
|
}) => JSX.Element;
|
|
1062
1072
|
Item: React.FC<_TProps12>;
|
|
1063
1073
|
};
|
|
1064
|
-
declare const
|
|
1074
|
+
declare const _base24: {
|
|
1065
1075
|
container: string;
|
|
1066
1076
|
background: {
|
|
1067
1077
|
container: string;
|
|
@@ -1091,7 +1101,7 @@ declare const _base22: {
|
|
|
1091
1101
|
};
|
|
1092
1102
|
};
|
|
1093
1103
|
};
|
|
1094
|
-
type TSlideOverOverlayStyles = DeepPartialType<typeof
|
|
1104
|
+
type TSlideOverOverlayStyles = DeepPartialType<typeof _base24>;
|
|
1095
1105
|
type _TProps13 = {
|
|
1096
1106
|
trigger?: ({ handleOpen, handleClose }: {
|
|
1097
1107
|
handleOpen: () => void;
|
|
@@ -1197,7 +1207,7 @@ type _TReturn1 = {
|
|
|
1197
1207
|
* @returns The cell object containing the string representation of the option.
|
|
1198
1208
|
*/
|
|
1199
1209
|
toOptionCell: (cell: {
|
|
1200
|
-
label:
|
|
1210
|
+
label: ReactNode;
|
|
1201
1211
|
value: string;
|
|
1202
1212
|
export?: string;
|
|
1203
1213
|
}) => TStringCell;
|
|
@@ -1336,7 +1346,7 @@ export const toTimeValue: TTimeFormatFunction;
|
|
|
1336
1346
|
* latestDateString(["2025-01-06", undefined, "2025-01-07"]); // => "2025-01-07"
|
|
1337
1347
|
*/
|
|
1338
1348
|
export const latestDateString: (dates?: Array<string | undefined>) => string;
|
|
1339
|
-
declare const
|
|
1349
|
+
declare const _base25: {
|
|
1340
1350
|
container: string;
|
|
1341
1351
|
head: string;
|
|
1342
1352
|
body: string;
|
|
@@ -1350,12 +1360,12 @@ declare const _base23: {
|
|
|
1350
1360
|
description: string;
|
|
1351
1361
|
error: string;
|
|
1352
1362
|
};
|
|
1353
|
-
export type TDateMenuFormStyles = DeepPartialType<typeof
|
|
1363
|
+
export type TDateMenuFormStyles = DeepPartialType<typeof _base25>;
|
|
1354
1364
|
export type TDateRangeMenuFormProps = {
|
|
1355
1365
|
name: string;
|
|
1356
1366
|
type?: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
|
|
1357
1367
|
size?: 'compact' | 'expanded';
|
|
1358
|
-
label?:
|
|
1368
|
+
label?: ReactNode;
|
|
1359
1369
|
i18n?: string;
|
|
1360
1370
|
description?: string;
|
|
1361
1371
|
placeholder?: string;
|
|
@@ -1369,7 +1379,7 @@ export type TDateRangeMenuFormProps = {
|
|
|
1369
1379
|
icon?: (isOpen: boolean) => ReactNode;
|
|
1370
1380
|
required?: ({ isRequired }: {
|
|
1371
1381
|
isRequired: boolean;
|
|
1372
|
-
}) =>
|
|
1382
|
+
}) => ReactNode;
|
|
1373
1383
|
value: {
|
|
1374
1384
|
startDate: DateType;
|
|
1375
1385
|
endDate: DateType;
|
|
@@ -1395,7 +1405,7 @@ export type TDateMenuFormProps = Omit<TDateRangeMenuFormProps, 'value' | 'isRang
|
|
|
1395
1405
|
onChange?: (value: DateType) => void;
|
|
1396
1406
|
};
|
|
1397
1407
|
export const DateMenuForm: FC<TDateMenuFormProps>;
|
|
1398
|
-
declare const
|
|
1408
|
+
declare const _base26: {
|
|
1399
1409
|
container: string;
|
|
1400
1410
|
sr: string;
|
|
1401
1411
|
list: string;
|
|
@@ -1408,7 +1418,7 @@ declare const _base24: {
|
|
|
1408
1418
|
description: string;
|
|
1409
1419
|
};
|
|
1410
1420
|
};
|
|
1411
|
-
export type TCheckboxInputGroupFormStyles = DeepPartialType<typeof
|
|
1421
|
+
export type TCheckboxInputGroupFormStyles = DeepPartialType<typeof _base26>;
|
|
1412
1422
|
export type TCheckboxInputGroupFormProps = {
|
|
1413
1423
|
name: string;
|
|
1414
1424
|
form: FormikProps<FormikValues>;
|
|
@@ -1423,7 +1433,7 @@ export type TCheckboxInputGroupFormProps = {
|
|
|
1423
1433
|
styles?: TCheckboxInputGroupFormStyles;
|
|
1424
1434
|
};
|
|
1425
1435
|
export const __DEPRECATED__CheckboxInputGroupForm: FC<TCheckboxInputGroupFormProps>;
|
|
1426
|
-
declare const
|
|
1436
|
+
declare const _base27: {
|
|
1427
1437
|
container: string;
|
|
1428
1438
|
head: string;
|
|
1429
1439
|
body: string;
|
|
@@ -1433,7 +1443,7 @@ declare const _base25: {
|
|
|
1433
1443
|
label: string;
|
|
1434
1444
|
description: string;
|
|
1435
1445
|
};
|
|
1436
|
-
export type TCheckboxInputFormStyles = DeepPartialType<typeof
|
|
1446
|
+
export type TCheckboxInputFormStyles = DeepPartialType<typeof _base27>;
|
|
1437
1447
|
export type TCheckboxInputFormProps = {
|
|
1438
1448
|
name: string;
|
|
1439
1449
|
title?: string;
|
|
@@ -1456,75 +1466,42 @@ export type TCheckboxInputFormProps = {
|
|
|
1456
1466
|
isIndeterminable?: true;
|
|
1457
1467
|
});
|
|
1458
1468
|
export const CheckboxInput: FC<TCheckboxInputFormProps>;
|
|
1459
|
-
declare const
|
|
1460
|
-
|
|
1461
|
-
|
|
1469
|
+
declare const _base28: {
|
|
1470
|
+
container: string;
|
|
1471
|
+
foot: string;
|
|
1472
|
+
switch: {
|
|
1462
1473
|
container: string;
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
container: string;
|
|
1469
|
-
base: string;
|
|
1470
|
-
screenreader: string;
|
|
1471
|
-
checked: string;
|
|
1472
|
-
unchecked: string;
|
|
1473
|
-
disabled: string;
|
|
1474
|
-
};
|
|
1475
|
-
toggle: {
|
|
1476
|
-
base: string;
|
|
1477
|
-
checked: string;
|
|
1478
|
-
unchecked: string;
|
|
1479
|
-
};
|
|
1480
|
-
icon: {
|
|
1481
|
-
base: string;
|
|
1482
|
-
hidden: string;
|
|
1483
|
-
shown: string;
|
|
1484
|
-
icon: string;
|
|
1485
|
-
};
|
|
1486
|
-
error: string;
|
|
1474
|
+
_base28: string;
|
|
1475
|
+
screenreader: string;
|
|
1476
|
+
checked: string;
|
|
1477
|
+
unchecked: string;
|
|
1478
|
+
disabled: string;
|
|
1487
1479
|
};
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
toggle: {
|
|
1493
|
-
base: string;
|
|
1494
|
-
};
|
|
1480
|
+
toggle: {
|
|
1481
|
+
_base28: string;
|
|
1482
|
+
checked: string;
|
|
1483
|
+
unchecked: string;
|
|
1495
1484
|
};
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
base: string;
|
|
1502
|
-
checked: string;
|
|
1503
|
-
};
|
|
1485
|
+
icon: {
|
|
1486
|
+
_base28: string;
|
|
1487
|
+
hidden: string;
|
|
1488
|
+
shown: string;
|
|
1489
|
+
icon: string;
|
|
1504
1490
|
};
|
|
1505
1491
|
};
|
|
1506
|
-
export type TSwitchStylesForm = DeepPartialType<typeof
|
|
1507
|
-
export type TSwitchFormProps = {
|
|
1492
|
+
export type TSwitchStylesForm = DeepPartialType<typeof _base28> & TInputFooterStyles & TInputHeaderStyles;
|
|
1493
|
+
export type TSwitchFormProps = TInputHeaderSharedProps & TInputFooterSharedProps & {
|
|
1508
1494
|
name: string;
|
|
1509
|
-
label?: ReactNode;
|
|
1510
|
-
description?: string;
|
|
1511
|
-
required?: ({ isRequired }: {
|
|
1512
|
-
isRequired: boolean;
|
|
1513
|
-
}) => string | ReactNode;
|
|
1514
1495
|
isDisabled?: boolean;
|
|
1515
1496
|
value: boolean;
|
|
1516
1497
|
onChange: (value: boolean) => void;
|
|
1517
|
-
isRequired?: boolean;
|
|
1518
|
-
isTouched?: boolean;
|
|
1519
|
-
error?: string;
|
|
1520
1498
|
styles?: TSwitchStylesForm;
|
|
1521
1499
|
size?: 'sm' | 'md';
|
|
1522
|
-
isOptionalLabelHidden?: boolean;
|
|
1523
1500
|
iconAccessorChecked?: IconName;
|
|
1524
1501
|
iconAccessorUnchecked?: IconName;
|
|
1525
1502
|
};
|
|
1526
1503
|
export const SwitchForm: (props: TSwitchFormProps) => JSX.Element;
|
|
1527
|
-
declare const
|
|
1504
|
+
declare const _base29: {
|
|
1528
1505
|
container: string;
|
|
1529
1506
|
head: string;
|
|
1530
1507
|
body: string;
|
|
@@ -1537,7 +1514,7 @@ declare const _base26: {
|
|
|
1537
1514
|
description: string;
|
|
1538
1515
|
error: string;
|
|
1539
1516
|
};
|
|
1540
|
-
export type TFileInputGroupFormStyles = DeepPartialType<typeof
|
|
1517
|
+
export type TFileInputGroupFormStyles = DeepPartialType<typeof _base29>;
|
|
1541
1518
|
type TFileType = {
|
|
1542
1519
|
name: string;
|
|
1543
1520
|
size: number;
|
|
@@ -1547,11 +1524,11 @@ type TFileType = {
|
|
|
1547
1524
|
};
|
|
1548
1525
|
export type TFileInputGroupFormProps = {
|
|
1549
1526
|
name: string;
|
|
1550
|
-
label?:
|
|
1527
|
+
label?: ReactNode;
|
|
1551
1528
|
description?: string;
|
|
1552
1529
|
required?: ({ isRequired }: {
|
|
1553
1530
|
isRequired: boolean;
|
|
1554
|
-
}) =>
|
|
1531
|
+
}) => ReactNode;
|
|
1555
1532
|
value?: TFileType;
|
|
1556
1533
|
max?: number;
|
|
1557
1534
|
error?: string;
|
|
@@ -1569,7 +1546,7 @@ export type TFileInputGroupFormProps = {
|
|
|
1569
1546
|
styles?: TFileInputGroupFormStyles;
|
|
1570
1547
|
};
|
|
1571
1548
|
export const FileInputGroupForm: FC<TFileInputGroupFormProps>;
|
|
1572
|
-
declare const
|
|
1549
|
+
declare const _base30: {
|
|
1573
1550
|
container: string;
|
|
1574
1551
|
head: string;
|
|
1575
1552
|
body: string;
|
|
@@ -1582,15 +1559,15 @@ declare const _base27: {
|
|
|
1582
1559
|
description: string;
|
|
1583
1560
|
error: string;
|
|
1584
1561
|
};
|
|
1585
|
-
export type TOpeningsHourInputGroupFormStyles = DeepPartialType<typeof
|
|
1562
|
+
export type TOpeningsHourInputGroupFormStyles = DeepPartialType<typeof _base30>;
|
|
1586
1563
|
export type TOpeningsHourInputGroupFormProps = {
|
|
1587
1564
|
form: FormikContextType<any>;
|
|
1588
1565
|
name: string;
|
|
1589
|
-
label?:
|
|
1566
|
+
label?: ReactNode;
|
|
1590
1567
|
description?: string;
|
|
1591
1568
|
required?: ({ isRequired }: {
|
|
1592
1569
|
isRequired: boolean;
|
|
1593
|
-
}) =>
|
|
1570
|
+
}) => ReactNode;
|
|
1594
1571
|
value?: any[];
|
|
1595
1572
|
error?: string;
|
|
1596
1573
|
lang?: 'en' | 'nl';
|
|
@@ -1604,7 +1581,7 @@ export type TOpeningsHourInputGroupFormProps = {
|
|
|
1604
1581
|
handleDelete?: (id: string) => void;
|
|
1605
1582
|
};
|
|
1606
1583
|
export const OpeningsHourInputGroupForm: FC<TOpeningsHourInputGroupFormProps>;
|
|
1607
|
-
declare const
|
|
1584
|
+
declare const _base31: {
|
|
1608
1585
|
container: string;
|
|
1609
1586
|
head: string;
|
|
1610
1587
|
body: string;
|
|
@@ -1622,7 +1599,7 @@ declare const _base28: {
|
|
|
1622
1599
|
suggestsHiddenClassName: string;
|
|
1623
1600
|
};
|
|
1624
1601
|
};
|
|
1625
|
-
export type TAddressInputGroupFormStyles = DeepPartialType<typeof
|
|
1602
|
+
export type TAddressInputGroupFormStyles = DeepPartialType<typeof _base31>;
|
|
1626
1603
|
export type TAddressInputGroupFormValue = {
|
|
1627
1604
|
country: string;
|
|
1628
1605
|
city: string;
|
|
@@ -1636,12 +1613,12 @@ export type TAddressInputGroupFormValue = {
|
|
|
1636
1613
|
} | null;
|
|
1637
1614
|
export type TAddressInputGroupFormProps = {
|
|
1638
1615
|
name: string;
|
|
1639
|
-
label?:
|
|
1616
|
+
label?: ReactNode;
|
|
1640
1617
|
description?: string;
|
|
1641
1618
|
placeholder?: string;
|
|
1642
1619
|
required?: ({ isRequired }: {
|
|
1643
1620
|
isRequired: boolean;
|
|
1644
|
-
}) =>
|
|
1621
|
+
}) => ReactNode;
|
|
1645
1622
|
value?: any;
|
|
1646
1623
|
error?: string;
|
|
1647
1624
|
type?: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
|