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