@ballistix.digital/react-components 0.10.0 → 1.0.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
@@ -12,7 +12,7 @@ import { Option, SelectValue } from 'react-tailwindcss-select/dist/components/ty
12
12
  export { fromSelectMenuOptionToStringValue } from 'helpers/format';
13
13
  import { FormikProps, FormikValues, FormikContextType } from 'formik';
14
14
 
15
- declare const base$q: {
15
+ declare const base$r: {
16
16
  loading: string;
17
17
  spinner: string;
18
18
  empty: string;
@@ -20,7 +20,7 @@ declare const base$q: {
20
20
  container: string;
21
21
  indicator: string;
22
22
  };
23
- type TAvatarElementStyles = DeepPartialType$1<typeof base$q>;
23
+ type TAvatarElementStyles = DeepPartialType$1<typeof base$r>;
24
24
 
25
25
  type TProps$g = {
26
26
  src?: string | undefined;
@@ -36,7 +36,7 @@ type TProps$g = {
36
36
  };
37
37
  declare const AvatarElement: FC<TProps$g>;
38
38
 
39
- declare const base$p: {
39
+ declare const base$q: {
40
40
  container: string;
41
41
  icon: string;
42
42
  content: {
@@ -48,7 +48,7 @@ declare const base$p: {
48
48
  inverted: string;
49
49
  };
50
50
  };
51
- type TAlertElementStyles = DeepPartialType$1<typeof base$p>;
51
+ type TAlertElementStyles = DeepPartialType$1<typeof base$q>;
52
52
 
53
53
  type TProps$f = {
54
54
  title: string;
@@ -62,12 +62,12 @@ type TProps$f = {
62
62
  };
63
63
  declare const BadgeElement$1: FC<TProps$f>;
64
64
 
65
- declare const base$o: {
65
+ declare const base$p: {
66
66
  container: string;
67
67
  indicator: string;
68
68
  button: string;
69
69
  };
70
- type TBadgeElementStyles = DeepPartialType$1<typeof base$o>;
70
+ type TBadgeElementStyles = DeepPartialType$1<typeof base$p>;
71
71
 
72
72
  type TProps$e = {
73
73
  children: string | ReactNode;
@@ -98,21 +98,21 @@ type TButtonElementProps = {
98
98
  };
99
99
  declare const ButtonElement: FC<TButtonElementProps>;
100
100
 
101
- declare const base$n: {
101
+ declare const base$o: {
102
102
  container: string;
103
103
  content: string;
104
104
  icon: string;
105
105
  spinner: string;
106
106
  };
107
- type TButtonElementStyles = DeepPartialType$1<typeof base$n>;
107
+ type TButtonElementStyles = DeepPartialType$1<typeof base$o>;
108
108
 
109
- declare const base$m: {
109
+ declare const base$n: {
110
110
  container: string;
111
111
  firstButton: string;
112
112
  button: string;
113
113
  lastButton: string;
114
114
  };
115
- type TButtonGroupElementStyles = DeepPartialType$1<typeof base$m>;
115
+ type TButtonGroupElementStyles = DeepPartialType$1<typeof base$n>;
116
116
 
117
117
  type TProps$d = {
118
118
  children: ReactElement[];
@@ -120,14 +120,14 @@ type TProps$d = {
120
120
  };
121
121
  declare const ButtonGroupElement: FC<TProps$d>;
122
122
 
123
- declare const base$l: {
123
+ declare const base$m: {
124
124
  container: string;
125
125
  button: string;
126
126
  compact: string;
127
127
  dots: string;
128
128
  items: string;
129
129
  };
130
- type TDropdownElementStyles = DeepPartialType$1<typeof base$l>;
130
+ type TDropdownElementStyles = DeepPartialType$1<typeof base$m>;
131
131
 
132
132
  type TProps$c = {
133
133
  children: ReactElement | ReactElement[];
@@ -199,7 +199,7 @@ type TInputGroupFormProps = {
199
199
  });
200
200
  declare const InputGroupForm: FC<TInputGroupFormProps>;
201
201
 
202
- declare const base$k: {
202
+ declare const base$l: {
203
203
  container: string;
204
204
  head: string;
205
205
  body: string;
@@ -212,13 +212,13 @@ declare const base$k: {
212
212
  description: string;
213
213
  error: string;
214
214
  };
215
- type TInputGroupStyles = DeepPartialType$1<typeof base$k>;
215
+ type TInputGroupStyles = DeepPartialType$1<typeof base$l>;
216
216
 
217
- declare const base$j: {
217
+ declare const base$k: {
218
218
  container: string;
219
219
  content: string;
220
220
  };
221
- type TContainerLayoutStyles = DeepPartialType$1<typeof base$j>;
221
+ type TContainerLayoutStyles = DeepPartialType$1<typeof base$k>;
222
222
 
223
223
  type TProps$a = {
224
224
  children: ReactNode;
@@ -227,14 +227,14 @@ type TProps$a = {
227
227
  };
228
228
  declare const ContainerLayout: FC<TProps$a>;
229
229
 
230
- declare const base$i: {
230
+ declare const base$j: {
231
231
  container: string;
232
232
  head: string;
233
233
  line: string;
234
234
  body: string;
235
235
  content: string;
236
236
  };
237
- type TDividerLayoutStyles = DeepPartialType$1<typeof base$i>;
237
+ type TDividerLayoutStyles = DeepPartialType$1<typeof base$j>;
238
238
 
239
239
  type TProps$9 = {
240
240
  children?: ReactNode;
@@ -243,12 +243,12 @@ type TProps$9 = {
243
243
  };
244
244
  declare const DividerLayout: FC<TProps$9>;
245
245
 
246
- declare const base$h: {
246
+ declare const base$i: {
247
247
  container: string;
248
248
  list: string;
249
249
  item: string;
250
250
  };
251
- type TListContainerLayoutStyles = DeepPartialType$1<typeof base$h>;
251
+ type TListContainerLayoutStyles = DeepPartialType$1<typeof base$i>;
252
252
 
253
253
  type TProps$8 = {
254
254
  children: ReactElement | ReactElement[];
@@ -257,14 +257,14 @@ type TProps$8 = {
257
257
  };
258
258
  declare const ListContainerLayout: FC<TProps$8>;
259
259
 
260
- declare const base$g: {
260
+ declare const base$h: {
261
261
  container: string;
262
262
  figure: string;
263
263
  svg: string;
264
264
  title: string;
265
265
  paragraph: string;
266
266
  };
267
- type TMediaObjectLayoutStyles = DeepPartialType$1<typeof base$g>;
267
+ type TMediaObjectLayoutStyles = DeepPartialType$1<typeof base$h>;
268
268
 
269
269
  type TProps$7 = {
270
270
  title: string;
@@ -275,11 +275,11 @@ type TProps$7 = {
275
275
  };
276
276
  declare const MediaObjectLayout: FC<TProps$7>;
277
277
 
278
- declare const base$f: {
278
+ declare const base$g: {
279
279
  container: string;
280
280
  section: string;
281
281
  };
282
- type TPanelLayoutStyles = DeepPartialType$1<typeof base$f>;
282
+ type TPanelLayoutStyles = DeepPartialType$1<typeof base$g>;
283
283
 
284
284
  type TContainerProps$2 = {
285
285
  children: ReactNode;
@@ -340,7 +340,7 @@ type TTableListProps$1<TData> = {
340
340
  };
341
341
  declare const TableList: FC<TTableListProps$1<TData$1>>;
342
342
 
343
- declare const base$e: {
343
+ declare const base$f: {
344
344
  container: string;
345
345
  head: {
346
346
  container: string;
@@ -394,7 +394,7 @@ declare const base$e: {
394
394
  };
395
395
  };
396
396
  };
397
- type TTableListStyles$1 = DeepPartialType$1<typeof base$e>;
397
+ type TTableListStyles$1 = DeepPartialType$1<typeof base$f>;
398
398
 
399
399
  type TData = any;
400
400
  type VisibilityState = {
@@ -433,7 +433,7 @@ type TTableListProps<TData> = {
433
433
  };
434
434
  declare const TableList2: FC<TTableListProps<TData>>;
435
435
 
436
- declare const base$d: {
436
+ declare const base$e: {
437
437
  container: string;
438
438
  head: string;
439
439
  body: {
@@ -472,9 +472,9 @@ declare const base$d: {
472
472
  };
473
473
  foot: string;
474
474
  };
475
- type TTableListStyles = DeepPartialType$1<typeof base$d>;
475
+ type TTableListStyles = DeepPartialType$1<typeof base$e>;
476
476
 
477
- declare const base$c: {
477
+ declare const base$d: {
478
478
  container: string;
479
479
  list: string;
480
480
  separator: string;
@@ -491,7 +491,7 @@ declare const base$c: {
491
491
  link: string;
492
492
  };
493
493
  };
494
- type TBreadcrumbsNavigationStyles = DeepPartialType$1<typeof base$c>;
494
+ type TBreadcrumbsNavigationStyles = DeepPartialType$1<typeof base$d>;
495
495
 
496
496
  type TProps$6 = {
497
497
  href: string;
@@ -506,7 +506,7 @@ type TProps$6 = {
506
506
  };
507
507
  declare const BreadcrumbsNavigation: FC<TProps$6>;
508
508
 
509
- declare const base$b: {
509
+ declare const base$c: {
510
510
  container: string;
511
511
  mobile: {
512
512
  container: string;
@@ -529,7 +529,7 @@ declare const base$b: {
529
529
  icon: string;
530
530
  pageSizeList: string;
531
531
  };
532
- type TPanelPaginationNavigationStyles = DeepPartialType$1<typeof base$b>;
532
+ type TPanelPaginationNavigationStyles = DeepPartialType$1<typeof base$c>;
533
533
 
534
534
  type TProps$5 = {
535
535
  current?: number;
@@ -548,7 +548,7 @@ type TProps$5 = {
548
548
  };
549
549
  declare const PanelPaginationNavigation: React.FC<TProps$5>;
550
550
 
551
- declare const base$a: {
551
+ declare const base$b: {
552
552
  container: string;
553
553
  left: {
554
554
  container: string;
@@ -570,7 +570,7 @@ declare const base$a: {
570
570
  };
571
571
  divider: string;
572
572
  };
573
- type TPagePaginationNavigationStyles = DeepPartialType$1<typeof base$a>;
573
+ type TPagePaginationNavigationStyles = DeepPartialType$1<typeof base$b>;
574
574
 
575
575
  type TProps$4 = {
576
576
  min?: number;
@@ -580,7 +580,7 @@ type TProps$4 = {
580
580
  };
581
581
  declare const PagePaginationNavigation: React.FC<TProps$4>;
582
582
 
583
- declare const base$9: {
583
+ declare const base$a: {
584
584
  container: string;
585
585
  list: {
586
586
  container: string;
@@ -596,7 +596,7 @@ declare const base$9: {
596
596
  inactive: string;
597
597
  };
598
598
  };
599
- type TTabNavigationStyles = DeepPartialType$1<typeof base$9>;
599
+ type TTabNavigationStyles = DeepPartialType$1<typeof base$a>;
600
600
 
601
601
  type TContainerProps$1 = {
602
602
  children: ({ active, setActive, }: {
@@ -691,7 +691,7 @@ type TModalOverlayProps = {
691
691
  };
692
692
  declare const ModalOverlay: FC<TModalOverlayProps>;
693
693
 
694
- declare const base$8: {
694
+ declare const base$9: {
695
695
  container: string;
696
696
  background: {
697
697
  container: string;
@@ -720,9 +720,9 @@ declare const base$8: {
720
720
  };
721
721
  };
722
722
  };
723
- type TModalOverlayStyles = DeepPartialType$1<typeof base$8>;
723
+ type TModalOverlayStyles = DeepPartialType$1<typeof base$9>;
724
724
 
725
- declare const base$7: {
725
+ declare const base$8: {
726
726
  container: {
727
727
  outer: string;
728
728
  inner: string;
@@ -747,7 +747,7 @@ declare const base$7: {
747
747
  };
748
748
  };
749
749
  };
750
- type TNotificationOverlayStyles = DeepPartialType$1<typeof base$7>;
750
+ type TNotificationOverlayStyles = DeepPartialType$1<typeof base$8>;
751
751
 
752
752
  type DeepPartialType<T> = {
753
753
  [P in keyof T]?: DeepPartialType<T[P]>;
@@ -797,7 +797,7 @@ declare const NotificationOverlay: {
797
797
  Item: React.FC<TProps$3>;
798
798
  };
799
799
 
800
- declare const base$6: {
800
+ declare const base$7: {
801
801
  container: string;
802
802
  background: {
803
803
  container: string;
@@ -827,7 +827,7 @@ declare const base$6: {
827
827
  };
828
828
  };
829
829
  };
830
- type TSlideOverOverlayStyles = DeepPartialType$1<typeof base$6>;
830
+ type TSlideOverOverlayStyles = DeepPartialType$1<typeof base$7>;
831
831
 
832
832
  type TProps$2 = {
833
833
  trigger?: ({ handleOpen, handleClose, }: {
@@ -903,7 +903,7 @@ type TSelectMenuFormProps = {
903
903
  };
904
904
  declare const SelectMenuForm: FC<TSelectMenuFormProps>;
905
905
 
906
- declare const base$5: {
906
+ declare const base$6: {
907
907
  container: string;
908
908
  head: string;
909
909
  body: string;
@@ -931,7 +931,7 @@ declare const base$5: {
931
931
  description: string;
932
932
  error: string;
933
933
  };
934
- type TSelectMenuFormStyles = DeepPartialType$1<typeof base$5>;
934
+ type TSelectMenuFormStyles = DeepPartialType$1<typeof base$6>;
935
935
 
936
936
  type TDateMenuFormProps = {
937
937
  name: string;
@@ -973,7 +973,7 @@ type TDateMenuFormProps = {
973
973
  };
974
974
  declare const DateMenuForm: FC<TDateMenuFormProps>;
975
975
 
976
- declare const base$4: {
976
+ declare const base$5: {
977
977
  container: string;
978
978
  head: string;
979
979
  body: string;
@@ -986,7 +986,7 @@ declare const base$4: {
986
986
  description: string;
987
987
  error: string;
988
988
  };
989
- type TDateMenuFormStyles = DeepPartialType$1<typeof base$4>;
989
+ type TDateMenuFormStyles = DeepPartialType$1<typeof base$5>;
990
990
 
991
991
  type TCheckboxInputGroupFormProps = {
992
992
  name: string;
@@ -1003,7 +1003,7 @@ type TCheckboxInputGroupFormProps = {
1003
1003
  };
1004
1004
  declare const CheckboxInputGroupForm: FC<TCheckboxInputGroupFormProps>;
1005
1005
 
1006
- declare const base$3: {
1006
+ declare const base$4: {
1007
1007
  container: string;
1008
1008
  sr: string;
1009
1009
  list: string;
@@ -1016,7 +1016,34 @@ declare const base$3: {
1016
1016
  description: string;
1017
1017
  };
1018
1018
  };
1019
- type TCheckboxInputGroupFormStyles = DeepPartialType$1<typeof base$3>;
1019
+ type TCheckboxInputGroupFormStyles = DeepPartialType$1<typeof base$4>;
1020
+
1021
+ type TCheckboxInputFormProps = {
1022
+ name: string;
1023
+ title?: string;
1024
+ description?: string;
1025
+ isDisabled?: boolean;
1026
+ styles?: TCheckboxInputFormStyles;
1027
+ } & ({
1028
+ value: boolean;
1029
+ onChange: (value: boolean) => void;
1030
+ isIndeterminable?: false;
1031
+ } | {
1032
+ value: boolean | null;
1033
+ onChange: (value: boolean | null) => void;
1034
+ isIndeterminable: true;
1035
+ });
1036
+ declare const CheckboxInputForm: FC<TCheckboxInputFormProps>;
1037
+
1038
+ declare const base$3: {
1039
+ container: string;
1040
+ head: string;
1041
+ body: string;
1042
+ input: string;
1043
+ label: string;
1044
+ description: string;
1045
+ };
1046
+ type TCheckboxInputFormStyles = DeepPartialType$1<typeof base$3>;
1020
1047
 
1021
1048
  type TFileType = {
1022
1049
  name: string;
@@ -1178,4 +1205,4 @@ type TReturn<TData> = {
1178
1205
  };
1179
1206
  declare const useExcel: <TData extends object>() => TReturn<TData>;
1180
1207
 
1181
- export { AddressInputGroupForm, BadgeElement$1 as AlertElement, AvatarElement, BadgeElement, BreadcrumbsNavigation, ButtonElement, ButtonGroupElement, CheckboxInputGroupForm, ContainerLayout, DateMenuForm, DividerLayout, DropdownElement, FileInputGroupForm, IconElement, InputGroupForm, ListContainerLayout, MediaObjectLayout, ModalOverlay, NotificationOverlay, OpeningsHourInputGroupForm, PagePaginationNavigation, LayoutPanel as PanelLayout, PanelPaginationNavigation, SelectMenuForm, SlideOverOverlay, type TAddressInputGroupFormProps, type TAddressInputGroupFormStyles, type TAddressInputGroupFormValue, type TButtonElementProps, type TCheckboxInputGroupFormProps, type TCheckboxInputGroupFormStyles, type TDateMenuFormProps, type TDateMenuFormStyles, type TExcelCell, type TExcelRow, type TExcelSheet, type TFileInputGroupFormProps, type TFileInputGroupFormStyles, type TInputGroupFormProps, type TInputGroupStyles, type TModalOverlayProps, type TOpeningsHourInputGroupFormProps, type TOpeningsHourInputGroupFormStyles, type TSelectMenuFormProps, type TSelectMenuFormStyles, type TTableListProps as TTableList2Props, type TTableListProps$1 as TTableListProps, type TTableListStyles$1 as TTableListStyles, TabNavigation, TableColumnOptionsCustom, TableExcelExportCustom as TableExportCustom, TableList, TableList2, VerticalNavigation, useExcel };
1208
+ export { AddressInputGroupForm, BadgeElement$1 as AlertElement, AvatarElement, BadgeElement, BreadcrumbsNavigation, ButtonElement, ButtonGroupElement, CheckboxInputForm as CheckboxInput, ContainerLayout, DateMenuForm, DividerLayout, DropdownElement, FileInputGroupForm, IconElement, InputGroupForm, ListContainerLayout, MediaObjectLayout, ModalOverlay, NotificationOverlay, OpeningsHourInputGroupForm, PagePaginationNavigation, LayoutPanel as PanelLayout, PanelPaginationNavigation, SelectMenuForm, SlideOverOverlay, type TAddressInputGroupFormProps, type TAddressInputGroupFormStyles, type TAddressInputGroupFormValue, type TButtonElementProps, type TCheckboxInputFormProps, type TCheckboxInputFormStyles, type TCheckboxInputGroupFormProps, type TCheckboxInputGroupFormStyles, type TDateMenuFormProps, type TDateMenuFormStyles, type TExcelCell, type TExcelRow, type TExcelSheet, type TFileInputGroupFormProps, type TFileInputGroupFormStyles, type TInputGroupFormProps, type TInputGroupStyles, type TModalOverlayProps, type TOpeningsHourInputGroupFormProps, type TOpeningsHourInputGroupFormStyles, type TSelectMenuFormProps, type TSelectMenuFormStyles, type TTableListProps as TTableList2Props, type TTableListProps$1 as TTableListProps, type TTableListStyles$1 as TTableListStyles, TabNavigation, TableColumnOptionsCustom, TableExcelExportCustom as TableExportCustom, TableList, TableList2, VerticalNavigation, CheckboxInputGroupForm as __DEPRECATED__CheckboxInputGroupForm, useExcel };