@ballistix.digital/react-components 7.3.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 CHANGED
@@ -167,8 +167,8 @@ declare const _base1: {
167
167
  };
168
168
  type TAlertElementStyles = DeepPartialType<typeof _base1>;
169
169
  type TAlertElementProps = {
170
- title: string;
171
- message?: string;
170
+ title?: ReactNode;
171
+ message?: ReactNode;
172
172
  iconAccessor?: IconName;
173
173
  type?: 'error' | 'warn' | 'info' | 'success' | 'generic';
174
174
  isCollapsible?: boolean;
@@ -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: string | ReactNode;
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: string | ReactNode;
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?: string | ReactElement;
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 _base8>;
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?: string | ReactNode;
342
- trailing?: string | ReactNode;
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?: string | ReactNode;
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?: string | ReactNode;
404
+ trailing?: ReactNode;
388
405
  });
389
406
  export const InputGroupForm: FC<TInputGroupFormProps>;
390
- declare const _base9: {
407
+ declare const _base11: {
391
408
  container: string;
392
409
  content: string;
393
410
  };
394
- type TContainerLayoutStyles = DeepPartialType<typeof _base9>;
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 _base10: {
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 _base10>;
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 _base11: {
432
+ declare const _base13: {
416
433
  container: string;
417
434
  list: string;
418
435
  item: string;
419
436
  };
420
- type TListContainerLayoutStyles = DeepPartialType<typeof _base11>;
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 _base12: {
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 _base12>;
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 _base13: {
460
+ declare const _base15: {
444
461
  container: string;
445
462
  section: string;
446
463
  };
447
- type TPanelLayoutStyles = DeepPartialType<typeof _base13>;
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 _base14: {
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 _base14>;
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 _base15: {
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 _base15>;
517
- declare const _base16: {
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 _base16>;
546
- export type TSelectMenuFormProps = {
559
+ export type TSelectMenuFormStyles = DeepPartialType<typeof _base18 & TInputHeaderStyles>;
560
+ export type TSelectMenuFormProps = TInputHeaderSharedProps & {
547
561
  name: string;
548
- label?: string;
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 _base17: {
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 _base17>;
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 _base18: {
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 _base18>;
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 _base19: {
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 _base19>;
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 _base20: {
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 _base20>;
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 _base21: {
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 _base21>;
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 _base22: {
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 _base22>;
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: string | ReactNode;
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 _base23: {
1349
+ declare const _base25: {
1340
1350
  container: string;
1341
1351
  head: string;
1342
1352
  body: string;
@@ -1344,17 +1354,18 @@ declare const _base23: {
1344
1354
  label: string;
1345
1355
  hint: string;
1346
1356
  leading: string;
1357
+ inputWrapper: string;
1347
1358
  input: string;
1348
1359
  trailing: string;
1349
1360
  description: string;
1350
1361
  error: string;
1351
1362
  };
1352
- export type TDateMenuFormStyles = DeepPartialType<typeof _base23>;
1363
+ export type TDateMenuFormStyles = DeepPartialType<typeof _base25>;
1353
1364
  export type TDateRangeMenuFormProps = {
1354
1365
  name: string;
1355
1366
  type?: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';
1356
1367
  size?: 'compact' | 'expanded';
1357
- label?: string;
1368
+ label?: ReactNode;
1358
1369
  i18n?: string;
1359
1370
  description?: string;
1360
1371
  placeholder?: string;
@@ -1368,7 +1379,7 @@ export type TDateRangeMenuFormProps = {
1368
1379
  icon?: (isOpen: boolean) => ReactNode;
1369
1380
  required?: ({ isRequired }: {
1370
1381
  isRequired: boolean;
1371
- }) => string | ReactNode;
1382
+ }) => ReactNode;
1372
1383
  value: {
1373
1384
  startDate: DateType;
1374
1385
  endDate: DateType;
@@ -1394,7 +1405,7 @@ export type TDateMenuFormProps = Omit<TDateRangeMenuFormProps, 'value' | 'isRang
1394
1405
  onChange?: (value: DateType) => void;
1395
1406
  };
1396
1407
  export const DateMenuForm: FC<TDateMenuFormProps>;
1397
- declare const _base24: {
1408
+ declare const _base26: {
1398
1409
  container: string;
1399
1410
  sr: string;
1400
1411
  list: string;
@@ -1407,7 +1418,7 @@ declare const _base24: {
1407
1418
  description: string;
1408
1419
  };
1409
1420
  };
1410
- export type TCheckboxInputGroupFormStyles = DeepPartialType<typeof _base24>;
1421
+ export type TCheckboxInputGroupFormStyles = DeepPartialType<typeof _base26>;
1411
1422
  export type TCheckboxInputGroupFormProps = {
1412
1423
  name: string;
1413
1424
  form: FormikProps<FormikValues>;
@@ -1422,7 +1433,7 @@ export type TCheckboxInputGroupFormProps = {
1422
1433
  styles?: TCheckboxInputGroupFormStyles;
1423
1434
  };
1424
1435
  export const __DEPRECATED__CheckboxInputGroupForm: FC<TCheckboxInputGroupFormProps>;
1425
- declare const _base25: {
1436
+ declare const _base27: {
1426
1437
  container: string;
1427
1438
  head: string;
1428
1439
  body: string;
@@ -1432,7 +1443,7 @@ declare const _base25: {
1432
1443
  label: string;
1433
1444
  description: string;
1434
1445
  };
1435
- export type TCheckboxInputFormStyles = DeepPartialType<typeof _base25>;
1446
+ export type TCheckboxInputFormStyles = DeepPartialType<typeof _base27>;
1436
1447
  export type TCheckboxInputFormProps = {
1437
1448
  name: string;
1438
1449
  title?: string;
@@ -1455,79 +1466,42 @@ export type TCheckboxInputFormProps = {
1455
1466
  isIndeterminable?: true;
1456
1467
  });
1457
1468
  export const CheckboxInput: FC<TCheckboxInputFormProps>;
1458
- declare const _styles2: {
1459
- base: {
1460
- label: string;
1469
+ declare const _base28: {
1470
+ container: string;
1471
+ foot: string;
1472
+ switch: {
1461
1473
  container: string;
1462
- head: string;
1463
- hint: string;
1464
- foot: string;
1465
- description: string;
1466
- switch: {
1467
- container: string;
1468
- base: string;
1469
- screenreader: string;
1470
- checked: string;
1471
- unchecked: string;
1472
- disabled: string;
1473
- };
1474
- toggle: {
1475
- base: string;
1476
- checked: string;
1477
- unchecked: string;
1478
- };
1479
- icon: {
1480
- base: string;
1481
- hidden: string;
1482
- shown: string;
1483
- icon: string;
1484
- };
1485
- error: string;
1474
+ _base28: string;
1475
+ screenreader: string;
1476
+ checked: string;
1477
+ unchecked: string;
1478
+ disabled: string;
1486
1479
  };
1487
- md: {
1488
- switch: {
1489
- base: string;
1490
- };
1491
- toggle: {
1492
- base: string;
1493
- };
1480
+ toggle: {
1481
+ _base28: string;
1482
+ checked: string;
1483
+ unchecked: string;
1494
1484
  };
1495
- sm: {
1496
- switch: {
1497
- base: string;
1498
- };
1499
- toggle: {
1500
- base: string;
1501
- checked: string;
1502
- };
1485
+ icon: {
1486
+ _base28: string;
1487
+ hidden: string;
1488
+ shown: string;
1489
+ icon: string;
1503
1490
  };
1504
1491
  };
1505
- export type TSwitchStylesForm = DeepPartialType<typeof _styles2>;
1506
- export type TSwitchFormProps = {
1492
+ export type TSwitchStylesForm = DeepPartialType<typeof _base28> & TInputFooterStyles & TInputHeaderStyles;
1493
+ export type TSwitchFormProps = TInputHeaderSharedProps & TInputFooterSharedProps & {
1507
1494
  name: string;
1508
- label?: ReactNode;
1509
- description?: string;
1510
- required?: ({ isRequired }: {
1511
- isRequired: boolean;
1512
- }) => string | ReactNode;
1513
1495
  isDisabled?: boolean;
1514
1496
  value: boolean;
1515
1497
  onChange: (value: boolean) => void;
1516
- isRequired?: boolean;
1517
- isTouched?: boolean;
1518
- error?: string;
1519
1498
  styles?: TSwitchStylesForm;
1520
1499
  size?: 'sm' | 'md';
1521
- isOptionalLabelHidden?: boolean;
1522
- } & ({
1523
- iconAccessorChecked?: undefined;
1524
- iconAccessorUnchecked?: undefined;
1525
- } | {
1526
- iconAccessorChecked: IconName;
1527
- iconAccessorUnchecked: IconName;
1528
- });
1500
+ iconAccessorChecked?: IconName;
1501
+ iconAccessorUnchecked?: IconName;
1502
+ };
1529
1503
  export const SwitchForm: (props: TSwitchFormProps) => JSX.Element;
1530
- declare const _base26: {
1504
+ declare const _base29: {
1531
1505
  container: string;
1532
1506
  head: string;
1533
1507
  body: string;
@@ -1540,7 +1514,7 @@ declare const _base26: {
1540
1514
  description: string;
1541
1515
  error: string;
1542
1516
  };
1543
- export type TFileInputGroupFormStyles = DeepPartialType<typeof _base26>;
1517
+ export type TFileInputGroupFormStyles = DeepPartialType<typeof _base29>;
1544
1518
  type TFileType = {
1545
1519
  name: string;
1546
1520
  size: number;
@@ -1550,11 +1524,11 @@ type TFileType = {
1550
1524
  };
1551
1525
  export type TFileInputGroupFormProps = {
1552
1526
  name: string;
1553
- label?: string | ReactNode;
1527
+ label?: ReactNode;
1554
1528
  description?: string;
1555
1529
  required?: ({ isRequired }: {
1556
1530
  isRequired: boolean;
1557
- }) => string | ReactNode;
1531
+ }) => ReactNode;
1558
1532
  value?: TFileType;
1559
1533
  max?: number;
1560
1534
  error?: string;
@@ -1572,7 +1546,7 @@ export type TFileInputGroupFormProps = {
1572
1546
  styles?: TFileInputGroupFormStyles;
1573
1547
  };
1574
1548
  export const FileInputGroupForm: FC<TFileInputGroupFormProps>;
1575
- declare const _base27: {
1549
+ declare const _base30: {
1576
1550
  container: string;
1577
1551
  head: string;
1578
1552
  body: string;
@@ -1585,15 +1559,15 @@ declare const _base27: {
1585
1559
  description: string;
1586
1560
  error: string;
1587
1561
  };
1588
- export type TOpeningsHourInputGroupFormStyles = DeepPartialType<typeof _base27>;
1562
+ export type TOpeningsHourInputGroupFormStyles = DeepPartialType<typeof _base30>;
1589
1563
  export type TOpeningsHourInputGroupFormProps = {
1590
1564
  form: FormikContextType<any>;
1591
1565
  name: string;
1592
- label?: string | ReactNode;
1566
+ label?: ReactNode;
1593
1567
  description?: string;
1594
1568
  required?: ({ isRequired }: {
1595
1569
  isRequired: boolean;
1596
- }) => string | ReactNode;
1570
+ }) => ReactNode;
1597
1571
  value?: any[];
1598
1572
  error?: string;
1599
1573
  lang?: 'en' | 'nl';
@@ -1607,7 +1581,7 @@ export type TOpeningsHourInputGroupFormProps = {
1607
1581
  handleDelete?: (id: string) => void;
1608
1582
  };
1609
1583
  export const OpeningsHourInputGroupForm: FC<TOpeningsHourInputGroupFormProps>;
1610
- declare const _base28: {
1584
+ declare const _base31: {
1611
1585
  container: string;
1612
1586
  head: string;
1613
1587
  body: string;
@@ -1625,7 +1599,7 @@ declare const _base28: {
1625
1599
  suggestsHiddenClassName: string;
1626
1600
  };
1627
1601
  };
1628
- export type TAddressInputGroupFormStyles = DeepPartialType<typeof _base28>;
1602
+ export type TAddressInputGroupFormStyles = DeepPartialType<typeof _base31>;
1629
1603
  export type TAddressInputGroupFormValue = {
1630
1604
  country: string;
1631
1605
  city: string;
@@ -1639,12 +1613,12 @@ export type TAddressInputGroupFormValue = {
1639
1613
  } | null;
1640
1614
  export type TAddressInputGroupFormProps = {
1641
1615
  name: string;
1642
- label?: string | ReactNode;
1616
+ label?: ReactNode;
1643
1617
  description?: string;
1644
1618
  placeholder?: string;
1645
1619
  required?: ({ isRequired }: {
1646
1620
  isRequired: boolean;
1647
- }) => string | ReactNode;
1621
+ }) => ReactNode;
1648
1622
  value?: any;
1649
1623
  error?: string;
1650
1624
  type?: 'normal' | 'inset' | 'overlapping' | 'pill' | 'floored';