@ballistix.digital/react-components 7.4.0 → 7.4.1-rc-76.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 +113 -144
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +411 -317
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +410 -316
- 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,28 +1346,20 @@ 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
|
-
head: string;
|
|
1342
|
-
body: string;
|
|
1343
|
-
foot: string;
|
|
1344
|
-
label: string;
|
|
1345
|
-
hint: string;
|
|
1346
|
-
leading: string;
|
|
1347
1351
|
inputWrapper: string;
|
|
1348
1352
|
input: string;
|
|
1349
|
-
trailing: string;
|
|
1350
|
-
description: string;
|
|
1351
|
-
error: string;
|
|
1352
1353
|
};
|
|
1353
|
-
export type TDateMenuFormStyles = DeepPartialType<typeof
|
|
1354
|
-
export type TDateRangeMenuFormProps = {
|
|
1354
|
+
export type TDateMenuFormStyles = DeepPartialType<typeof _base25 & TInputHeaderStyles & TInputFooterStyles>;
|
|
1355
|
+
export type TDateRangeMenuFormProps = TInputHeaderSharedProps & TInputFooterSharedProps & {
|
|
1355
1356
|
name: string;
|
|
1356
1357
|
type?: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
|
|
1357
1358
|
size?: 'compact' | 'expanded';
|
|
1358
|
-
label?:
|
|
1359
|
+
label?: ReactNode;
|
|
1359
1360
|
i18n?: string;
|
|
1360
|
-
description?:
|
|
1361
|
+
description?: ReactNode;
|
|
1362
|
+
hint?: ReactNode;
|
|
1361
1363
|
placeholder?: string;
|
|
1362
1364
|
separator?: string;
|
|
1363
1365
|
startFrom?: DateType;
|
|
@@ -1369,7 +1371,7 @@ export type TDateRangeMenuFormProps = {
|
|
|
1369
1371
|
icon?: (isOpen: boolean) => ReactNode;
|
|
1370
1372
|
required?: ({ isRequired }: {
|
|
1371
1373
|
isRequired: boolean;
|
|
1372
|
-
}) =>
|
|
1374
|
+
}) => ReactNode;
|
|
1373
1375
|
value: {
|
|
1374
1376
|
startDate: DateType;
|
|
1375
1377
|
endDate: DateType;
|
|
@@ -1395,7 +1397,7 @@ export type TDateMenuFormProps = Omit<TDateRangeMenuFormProps, 'value' | 'isRang
|
|
|
1395
1397
|
onChange?: (value: DateType) => void;
|
|
1396
1398
|
};
|
|
1397
1399
|
export const DateMenuForm: FC<TDateMenuFormProps>;
|
|
1398
|
-
declare const
|
|
1400
|
+
declare const _base26: {
|
|
1399
1401
|
container: string;
|
|
1400
1402
|
sr: string;
|
|
1401
1403
|
list: string;
|
|
@@ -1408,7 +1410,7 @@ declare const _base24: {
|
|
|
1408
1410
|
description: string;
|
|
1409
1411
|
};
|
|
1410
1412
|
};
|
|
1411
|
-
export type TCheckboxInputGroupFormStyles = DeepPartialType<typeof
|
|
1413
|
+
export type TCheckboxInputGroupFormStyles = DeepPartialType<typeof _base26>;
|
|
1412
1414
|
export type TCheckboxInputGroupFormProps = {
|
|
1413
1415
|
name: string;
|
|
1414
1416
|
form: FormikProps<FormikValues>;
|
|
@@ -1423,7 +1425,7 @@ export type TCheckboxInputGroupFormProps = {
|
|
|
1423
1425
|
styles?: TCheckboxInputGroupFormStyles;
|
|
1424
1426
|
};
|
|
1425
1427
|
export const __DEPRECATED__CheckboxInputGroupForm: FC<TCheckboxInputGroupFormProps>;
|
|
1426
|
-
declare const
|
|
1428
|
+
declare const _base27: {
|
|
1427
1429
|
container: string;
|
|
1428
1430
|
head: string;
|
|
1429
1431
|
body: string;
|
|
@@ -1433,7 +1435,7 @@ declare const _base25: {
|
|
|
1433
1435
|
label: string;
|
|
1434
1436
|
description: string;
|
|
1435
1437
|
};
|
|
1436
|
-
export type TCheckboxInputFormStyles = DeepPartialType<typeof
|
|
1438
|
+
export type TCheckboxInputFormStyles = DeepPartialType<typeof _base27>;
|
|
1437
1439
|
export type TCheckboxInputFormProps = {
|
|
1438
1440
|
name: string;
|
|
1439
1441
|
title?: string;
|
|
@@ -1456,75 +1458,42 @@ export type TCheckboxInputFormProps = {
|
|
|
1456
1458
|
isIndeterminable?: true;
|
|
1457
1459
|
});
|
|
1458
1460
|
export const CheckboxInput: FC<TCheckboxInputFormProps>;
|
|
1459
|
-
declare const
|
|
1460
|
-
|
|
1461
|
-
|
|
1461
|
+
declare const _base28: {
|
|
1462
|
+
container: string;
|
|
1463
|
+
foot: string;
|
|
1464
|
+
switch: {
|
|
1462
1465
|
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;
|
|
1466
|
+
_base28: string;
|
|
1467
|
+
screenreader: string;
|
|
1468
|
+
checked: string;
|
|
1469
|
+
unchecked: string;
|
|
1470
|
+
disabled: string;
|
|
1487
1471
|
};
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
toggle: {
|
|
1493
|
-
base: string;
|
|
1494
|
-
};
|
|
1472
|
+
toggle: {
|
|
1473
|
+
_base28: string;
|
|
1474
|
+
checked: string;
|
|
1475
|
+
unchecked: string;
|
|
1495
1476
|
};
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
base: string;
|
|
1502
|
-
checked: string;
|
|
1503
|
-
};
|
|
1477
|
+
icon: {
|
|
1478
|
+
_base28: string;
|
|
1479
|
+
hidden: string;
|
|
1480
|
+
shown: string;
|
|
1481
|
+
icon: string;
|
|
1504
1482
|
};
|
|
1505
1483
|
};
|
|
1506
|
-
export type TSwitchStylesForm = DeepPartialType<typeof
|
|
1507
|
-
export type TSwitchFormProps = {
|
|
1484
|
+
export type TSwitchStylesForm = DeepPartialType<typeof _base28> & TInputFooterStyles & TInputHeaderStyles;
|
|
1485
|
+
export type TSwitchFormProps = TInputHeaderSharedProps & TInputFooterSharedProps & {
|
|
1508
1486
|
name: string;
|
|
1509
|
-
label?: ReactNode;
|
|
1510
|
-
description?: string;
|
|
1511
|
-
required?: ({ isRequired }: {
|
|
1512
|
-
isRequired: boolean;
|
|
1513
|
-
}) => string | ReactNode;
|
|
1514
1487
|
isDisabled?: boolean;
|
|
1515
1488
|
value: boolean;
|
|
1516
1489
|
onChange: (value: boolean) => void;
|
|
1517
|
-
isRequired?: boolean;
|
|
1518
|
-
isTouched?: boolean;
|
|
1519
|
-
error?: string;
|
|
1520
1490
|
styles?: TSwitchStylesForm;
|
|
1521
1491
|
size?: 'sm' | 'md';
|
|
1522
|
-
isOptionalLabelHidden?: boolean;
|
|
1523
1492
|
iconAccessorChecked?: IconName;
|
|
1524
1493
|
iconAccessorUnchecked?: IconName;
|
|
1525
1494
|
};
|
|
1526
1495
|
export const SwitchForm: (props: TSwitchFormProps) => JSX.Element;
|
|
1527
|
-
declare const
|
|
1496
|
+
declare const _base29: {
|
|
1528
1497
|
container: string;
|
|
1529
1498
|
head: string;
|
|
1530
1499
|
body: string;
|
|
@@ -1537,7 +1506,7 @@ declare const _base26: {
|
|
|
1537
1506
|
description: string;
|
|
1538
1507
|
error: string;
|
|
1539
1508
|
};
|
|
1540
|
-
export type TFileInputGroupFormStyles = DeepPartialType<typeof
|
|
1509
|
+
export type TFileInputGroupFormStyles = DeepPartialType<typeof _base29>;
|
|
1541
1510
|
type TFileType = {
|
|
1542
1511
|
name: string;
|
|
1543
1512
|
size: number;
|
|
@@ -1547,11 +1516,11 @@ type TFileType = {
|
|
|
1547
1516
|
};
|
|
1548
1517
|
export type TFileInputGroupFormProps = {
|
|
1549
1518
|
name: string;
|
|
1550
|
-
label?:
|
|
1519
|
+
label?: ReactNode;
|
|
1551
1520
|
description?: string;
|
|
1552
1521
|
required?: ({ isRequired }: {
|
|
1553
1522
|
isRequired: boolean;
|
|
1554
|
-
}) =>
|
|
1523
|
+
}) => ReactNode;
|
|
1555
1524
|
value?: TFileType;
|
|
1556
1525
|
max?: number;
|
|
1557
1526
|
error?: string;
|
|
@@ -1569,7 +1538,7 @@ export type TFileInputGroupFormProps = {
|
|
|
1569
1538
|
styles?: TFileInputGroupFormStyles;
|
|
1570
1539
|
};
|
|
1571
1540
|
export const FileInputGroupForm: FC<TFileInputGroupFormProps>;
|
|
1572
|
-
declare const
|
|
1541
|
+
declare const _base30: {
|
|
1573
1542
|
container: string;
|
|
1574
1543
|
head: string;
|
|
1575
1544
|
body: string;
|
|
@@ -1582,15 +1551,15 @@ declare const _base27: {
|
|
|
1582
1551
|
description: string;
|
|
1583
1552
|
error: string;
|
|
1584
1553
|
};
|
|
1585
|
-
export type TOpeningsHourInputGroupFormStyles = DeepPartialType<typeof
|
|
1554
|
+
export type TOpeningsHourInputGroupFormStyles = DeepPartialType<typeof _base30>;
|
|
1586
1555
|
export type TOpeningsHourInputGroupFormProps = {
|
|
1587
1556
|
form: FormikContextType<any>;
|
|
1588
1557
|
name: string;
|
|
1589
|
-
label?:
|
|
1558
|
+
label?: ReactNode;
|
|
1590
1559
|
description?: string;
|
|
1591
1560
|
required?: ({ isRequired }: {
|
|
1592
1561
|
isRequired: boolean;
|
|
1593
|
-
}) =>
|
|
1562
|
+
}) => ReactNode;
|
|
1594
1563
|
value?: any[];
|
|
1595
1564
|
error?: string;
|
|
1596
1565
|
lang?: 'en' | 'nl';
|
|
@@ -1604,7 +1573,7 @@ export type TOpeningsHourInputGroupFormProps = {
|
|
|
1604
1573
|
handleDelete?: (id: string) => void;
|
|
1605
1574
|
};
|
|
1606
1575
|
export const OpeningsHourInputGroupForm: FC<TOpeningsHourInputGroupFormProps>;
|
|
1607
|
-
declare const
|
|
1576
|
+
declare const _base31: {
|
|
1608
1577
|
container: string;
|
|
1609
1578
|
head: string;
|
|
1610
1579
|
body: string;
|
|
@@ -1622,7 +1591,7 @@ declare const _base28: {
|
|
|
1622
1591
|
suggestsHiddenClassName: string;
|
|
1623
1592
|
};
|
|
1624
1593
|
};
|
|
1625
|
-
export type TAddressInputGroupFormStyles = DeepPartialType<typeof
|
|
1594
|
+
export type TAddressInputGroupFormStyles = DeepPartialType<typeof _base31>;
|
|
1626
1595
|
export type TAddressInputGroupFormValue = {
|
|
1627
1596
|
country: string;
|
|
1628
1597
|
city: string;
|
|
@@ -1636,12 +1605,12 @@ export type TAddressInputGroupFormValue = {
|
|
|
1636
1605
|
} | null;
|
|
1637
1606
|
export type TAddressInputGroupFormProps = {
|
|
1638
1607
|
name: string;
|
|
1639
|
-
label?:
|
|
1608
|
+
label?: ReactNode;
|
|
1640
1609
|
description?: string;
|
|
1641
1610
|
placeholder?: string;
|
|
1642
1611
|
required?: ({ isRequired }: {
|
|
1643
1612
|
isRequired: boolean;
|
|
1644
|
-
}) =>
|
|
1613
|
+
}) => ReactNode;
|
|
1645
1614
|
value?: any;
|
|
1646
1615
|
error?: string;
|
|
1647
1616
|
type?: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
|