@ballistix.digital/react-components 0.4.115 → 0.4.116
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 +93 -47
- package/dist/index.esm.js +2291 -229
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2290 -227
- package/dist/index.js.map +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
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 } from 'formik';
|
|
14
14
|
|
|
15
|
-
declare const base$
|
|
15
|
+
declare const base$n: {
|
|
16
16
|
loading: string;
|
|
17
17
|
spinner: string;
|
|
18
18
|
empty: string;
|
|
@@ -20,7 +20,7 @@ declare const base$m: {
|
|
|
20
20
|
container: string;
|
|
21
21
|
indicator: string;
|
|
22
22
|
};
|
|
23
|
-
type TAvatarElementStyles = DeepPartialType$1<typeof base$
|
|
23
|
+
type TAvatarElementStyles = DeepPartialType$1<typeof base$n>;
|
|
24
24
|
|
|
25
25
|
type TProps$f = {
|
|
26
26
|
src?: string | undefined;
|
|
@@ -36,12 +36,12 @@ type TProps$f = {
|
|
|
36
36
|
};
|
|
37
37
|
declare const AvatarElement: FC<TProps$f>;
|
|
38
38
|
|
|
39
|
-
declare const base$
|
|
39
|
+
declare const base$m: {
|
|
40
40
|
container: string;
|
|
41
41
|
indicator: string;
|
|
42
42
|
button: string;
|
|
43
43
|
};
|
|
44
|
-
type TBadgeElementStyles = DeepPartialType$1<typeof base$
|
|
44
|
+
type TBadgeElementStyles = DeepPartialType$1<typeof base$m>;
|
|
45
45
|
|
|
46
46
|
type TProps$e = {
|
|
47
47
|
children: string | ReactNode;
|
|
@@ -70,21 +70,21 @@ type TButtonElementProps = {
|
|
|
70
70
|
};
|
|
71
71
|
declare const ButtonElement: FC<TButtonElementProps>;
|
|
72
72
|
|
|
73
|
-
declare const base$
|
|
73
|
+
declare const base$l: {
|
|
74
74
|
container: string;
|
|
75
75
|
content: string;
|
|
76
76
|
icon: string;
|
|
77
77
|
spinner: string;
|
|
78
78
|
};
|
|
79
|
-
type TButtonElementStyles = DeepPartialType$1<typeof base$
|
|
79
|
+
type TButtonElementStyles = DeepPartialType$1<typeof base$l>;
|
|
80
80
|
|
|
81
|
-
declare const base$
|
|
81
|
+
declare const base$k: {
|
|
82
82
|
container: string;
|
|
83
83
|
firstButton: string;
|
|
84
84
|
button: string;
|
|
85
85
|
lastButton: string;
|
|
86
86
|
};
|
|
87
|
-
type TButtonGroupElementStyles = DeepPartialType$1<typeof base$
|
|
87
|
+
type TButtonGroupElementStyles = DeepPartialType$1<typeof base$k>;
|
|
88
88
|
|
|
89
89
|
type TProps$d = {
|
|
90
90
|
children: ReactElement[];
|
|
@@ -92,14 +92,14 @@ type TProps$d = {
|
|
|
92
92
|
};
|
|
93
93
|
declare const ButtonGroupElement: FC<TProps$d>;
|
|
94
94
|
|
|
95
|
-
declare const base$
|
|
95
|
+
declare const base$j: {
|
|
96
96
|
container: string;
|
|
97
97
|
button: string;
|
|
98
98
|
compact: string;
|
|
99
99
|
dots: string;
|
|
100
100
|
items: string;
|
|
101
101
|
};
|
|
102
|
-
type TDropdownElementStyles = DeepPartialType$1<typeof base$
|
|
102
|
+
type TDropdownElementStyles = DeepPartialType$1<typeof base$j>;
|
|
103
103
|
|
|
104
104
|
type TProps$c = {
|
|
105
105
|
children: ReactElement | ReactElement[];
|
|
@@ -155,7 +155,7 @@ type TInputGroupFormProps = {
|
|
|
155
155
|
};
|
|
156
156
|
declare const InputGroupForm: FC<TInputGroupFormProps>;
|
|
157
157
|
|
|
158
|
-
declare const base$
|
|
158
|
+
declare const base$i: {
|
|
159
159
|
container: string;
|
|
160
160
|
head: string;
|
|
161
161
|
body: string;
|
|
@@ -168,13 +168,13 @@ declare const base$h: {
|
|
|
168
168
|
description: string;
|
|
169
169
|
error: string;
|
|
170
170
|
};
|
|
171
|
-
type TInputGroupStyles = DeepPartialType$1<typeof base$
|
|
171
|
+
type TInputGroupStyles = DeepPartialType$1<typeof base$i>;
|
|
172
172
|
|
|
173
|
-
declare const base$
|
|
173
|
+
declare const base$h: {
|
|
174
174
|
container: string;
|
|
175
175
|
content: string;
|
|
176
176
|
};
|
|
177
|
-
type TContainerLayoutStyles = DeepPartialType$1<typeof base$
|
|
177
|
+
type TContainerLayoutStyles = DeepPartialType$1<typeof base$h>;
|
|
178
178
|
|
|
179
179
|
type TProps$a = {
|
|
180
180
|
children: ReactNode;
|
|
@@ -183,14 +183,14 @@ type TProps$a = {
|
|
|
183
183
|
};
|
|
184
184
|
declare const ContainerLayout: FC<TProps$a>;
|
|
185
185
|
|
|
186
|
-
declare const base$
|
|
186
|
+
declare const base$g: {
|
|
187
187
|
container: string;
|
|
188
188
|
head: string;
|
|
189
189
|
line: string;
|
|
190
190
|
body: string;
|
|
191
191
|
content: string;
|
|
192
192
|
};
|
|
193
|
-
type TDividerLayoutStyles = DeepPartialType$1<typeof base$
|
|
193
|
+
type TDividerLayoutStyles = DeepPartialType$1<typeof base$g>;
|
|
194
194
|
|
|
195
195
|
type TProps$9 = {
|
|
196
196
|
children?: ReactNode;
|
|
@@ -199,12 +199,12 @@ type TProps$9 = {
|
|
|
199
199
|
};
|
|
200
200
|
declare const DividerLayout: FC<TProps$9>;
|
|
201
201
|
|
|
202
|
-
declare const base$
|
|
202
|
+
declare const base$f: {
|
|
203
203
|
container: string;
|
|
204
204
|
list: string;
|
|
205
205
|
item: string;
|
|
206
206
|
};
|
|
207
|
-
type TListContainerLayoutStyles = DeepPartialType$1<typeof base$
|
|
207
|
+
type TListContainerLayoutStyles = DeepPartialType$1<typeof base$f>;
|
|
208
208
|
|
|
209
209
|
type TProps$8 = {
|
|
210
210
|
children: ReactElement | ReactElement[];
|
|
@@ -213,14 +213,14 @@ type TProps$8 = {
|
|
|
213
213
|
};
|
|
214
214
|
declare const ListContainerLayout: FC<TProps$8>;
|
|
215
215
|
|
|
216
|
-
declare const base$
|
|
216
|
+
declare const base$e: {
|
|
217
217
|
container: string;
|
|
218
218
|
figure: string;
|
|
219
219
|
svg: string;
|
|
220
220
|
title: string;
|
|
221
221
|
paragraph: string;
|
|
222
222
|
};
|
|
223
|
-
type TMediaObjectLayoutStyles = DeepPartialType$1<typeof base$
|
|
223
|
+
type TMediaObjectLayoutStyles = DeepPartialType$1<typeof base$e>;
|
|
224
224
|
|
|
225
225
|
type TProps$7 = {
|
|
226
226
|
title: string;
|
|
@@ -231,11 +231,11 @@ type TProps$7 = {
|
|
|
231
231
|
};
|
|
232
232
|
declare const MediaObjectLayout: FC<TProps$7>;
|
|
233
233
|
|
|
234
|
-
declare const base$
|
|
234
|
+
declare const base$d: {
|
|
235
235
|
container: string;
|
|
236
236
|
section: string;
|
|
237
237
|
};
|
|
238
|
-
type TPanelLayoutStyles = DeepPartialType$1<typeof base$
|
|
238
|
+
type TPanelLayoutStyles = DeepPartialType$1<typeof base$d>;
|
|
239
239
|
|
|
240
240
|
type TContainerProps$2 = {
|
|
241
241
|
children: ReactNode;
|
|
@@ -296,7 +296,7 @@ type TTableListProps$1<TData> = {
|
|
|
296
296
|
};
|
|
297
297
|
declare const TableList: FC<TTableListProps$1<TData$1>>;
|
|
298
298
|
|
|
299
|
-
declare const base$
|
|
299
|
+
declare const base$c: {
|
|
300
300
|
container: string;
|
|
301
301
|
head: {
|
|
302
302
|
container: string;
|
|
@@ -350,7 +350,7 @@ declare const base$b: {
|
|
|
350
350
|
};
|
|
351
351
|
};
|
|
352
352
|
};
|
|
353
|
-
type TTableListStyles$1 = DeepPartialType$1<typeof base$
|
|
353
|
+
type TTableListStyles$1 = DeepPartialType$1<typeof base$c>;
|
|
354
354
|
|
|
355
355
|
type TData = any;
|
|
356
356
|
type VisibilityState = {
|
|
@@ -390,7 +390,7 @@ type TTableListProps<TData> = {
|
|
|
390
390
|
};
|
|
391
391
|
declare const TableList2: FC<TTableListProps<TData>>;
|
|
392
392
|
|
|
393
|
-
declare const base$
|
|
393
|
+
declare const base$b: {
|
|
394
394
|
container: string;
|
|
395
395
|
head: string;
|
|
396
396
|
body: {
|
|
@@ -425,9 +425,9 @@ declare const base$a: {
|
|
|
425
425
|
};
|
|
426
426
|
};
|
|
427
427
|
};
|
|
428
|
-
type TTableListStyles = DeepPartialType$1<typeof base$
|
|
428
|
+
type TTableListStyles = DeepPartialType$1<typeof base$b>;
|
|
429
429
|
|
|
430
|
-
declare const base$
|
|
430
|
+
declare const base$a: {
|
|
431
431
|
container: string;
|
|
432
432
|
list: string;
|
|
433
433
|
separator: string;
|
|
@@ -444,7 +444,7 @@ declare const base$9: {
|
|
|
444
444
|
link: string;
|
|
445
445
|
};
|
|
446
446
|
};
|
|
447
|
-
type TBreadcrumbsNavigationStyles = DeepPartialType$1<typeof base$
|
|
447
|
+
type TBreadcrumbsNavigationStyles = DeepPartialType$1<typeof base$a>;
|
|
448
448
|
|
|
449
449
|
type TProps$6 = {
|
|
450
450
|
href: string;
|
|
@@ -459,7 +459,7 @@ type TProps$6 = {
|
|
|
459
459
|
};
|
|
460
460
|
declare const BreadcrumbsNavigation: FC<TProps$6>;
|
|
461
461
|
|
|
462
|
-
declare const base$
|
|
462
|
+
declare const base$9: {
|
|
463
463
|
container: string;
|
|
464
464
|
mobile: {
|
|
465
465
|
container: string;
|
|
@@ -480,7 +480,7 @@ declare const base$8: {
|
|
|
480
480
|
label: string;
|
|
481
481
|
icon: string;
|
|
482
482
|
};
|
|
483
|
-
type TPanelPaginationNavigationStyles = DeepPartialType$1<typeof base$
|
|
483
|
+
type TPanelPaginationNavigationStyles = DeepPartialType$1<typeof base$9>;
|
|
484
484
|
|
|
485
485
|
type TProps$5 = {
|
|
486
486
|
current?: number;
|
|
@@ -496,7 +496,7 @@ type TProps$5 = {
|
|
|
496
496
|
};
|
|
497
497
|
declare const PanelPaginationNavigation: React.FC<TProps$5>;
|
|
498
498
|
|
|
499
|
-
declare const base$
|
|
499
|
+
declare const base$8: {
|
|
500
500
|
container: string;
|
|
501
501
|
left: {
|
|
502
502
|
container: string;
|
|
@@ -518,7 +518,7 @@ declare const base$7: {
|
|
|
518
518
|
};
|
|
519
519
|
divider: string;
|
|
520
520
|
};
|
|
521
|
-
type TPagePaginationNavigationStyles = DeepPartialType$1<typeof base$
|
|
521
|
+
type TPagePaginationNavigationStyles = DeepPartialType$1<typeof base$8>;
|
|
522
522
|
|
|
523
523
|
type TProps$4 = {
|
|
524
524
|
min?: number;
|
|
@@ -528,7 +528,7 @@ type TProps$4 = {
|
|
|
528
528
|
};
|
|
529
529
|
declare const PagePaginationNavigation: React.FC<TProps$4>;
|
|
530
530
|
|
|
531
|
-
declare const base$
|
|
531
|
+
declare const base$7: {
|
|
532
532
|
container: string;
|
|
533
533
|
list: {
|
|
534
534
|
container: string;
|
|
@@ -544,7 +544,7 @@ declare const base$6: {
|
|
|
544
544
|
inactive: string;
|
|
545
545
|
};
|
|
546
546
|
};
|
|
547
|
-
type TTabNavigationStyles = DeepPartialType$1<typeof base$
|
|
547
|
+
type TTabNavigationStyles = DeepPartialType$1<typeof base$7>;
|
|
548
548
|
|
|
549
549
|
type TContainerProps$1 = {
|
|
550
550
|
children: ({ active, setActive, }: {
|
|
@@ -638,7 +638,7 @@ type TModalOverlayProps = {
|
|
|
638
638
|
};
|
|
639
639
|
declare const ModalOverlay: FC<TModalOverlayProps>;
|
|
640
640
|
|
|
641
|
-
declare const base$
|
|
641
|
+
declare const base$6: {
|
|
642
642
|
container: string;
|
|
643
643
|
background: {
|
|
644
644
|
container: string;
|
|
@@ -667,9 +667,9 @@ declare const base$5: {
|
|
|
667
667
|
};
|
|
668
668
|
};
|
|
669
669
|
};
|
|
670
|
-
type TModalOverlayStyles = DeepPartialType$1<typeof base$
|
|
670
|
+
type TModalOverlayStyles = DeepPartialType$1<typeof base$6>;
|
|
671
671
|
|
|
672
|
-
declare const base$
|
|
672
|
+
declare const base$5: {
|
|
673
673
|
container: {
|
|
674
674
|
outer: string;
|
|
675
675
|
inner: string;
|
|
@@ -694,7 +694,7 @@ declare const base$4: {
|
|
|
694
694
|
};
|
|
695
695
|
};
|
|
696
696
|
};
|
|
697
|
-
type TNotificationOverlayStyles = DeepPartialType$1<typeof base$
|
|
697
|
+
type TNotificationOverlayStyles = DeepPartialType$1<typeof base$5>;
|
|
698
698
|
|
|
699
699
|
type DeepPartialType<T> = {
|
|
700
700
|
[P in keyof T]?: DeepPartialType<T[P]>;
|
|
@@ -744,7 +744,7 @@ declare const NotificationOverlay: {
|
|
|
744
744
|
Item: React.FC<TProps$3>;
|
|
745
745
|
};
|
|
746
746
|
|
|
747
|
-
declare const base$
|
|
747
|
+
declare const base$4: {
|
|
748
748
|
container: string;
|
|
749
749
|
background: {
|
|
750
750
|
container: string;
|
|
@@ -774,7 +774,7 @@ declare const base$3: {
|
|
|
774
774
|
};
|
|
775
775
|
};
|
|
776
776
|
};
|
|
777
|
-
type TSlideOverOverlayStyles = DeepPartialType$1<typeof base$
|
|
777
|
+
type TSlideOverOverlayStyles = DeepPartialType$1<typeof base$4>;
|
|
778
778
|
|
|
779
779
|
type TProps$2 = {
|
|
780
780
|
trigger?: ({ handleOpen, handleClose, }: {
|
|
@@ -845,7 +845,7 @@ type TSelectMenuFormProps = {
|
|
|
845
845
|
};
|
|
846
846
|
declare const SelectMenuForm: FC<TSelectMenuFormProps>;
|
|
847
847
|
|
|
848
|
-
declare const base$
|
|
848
|
+
declare const base$3: {
|
|
849
849
|
container: string;
|
|
850
850
|
head: string;
|
|
851
851
|
body: string;
|
|
@@ -873,7 +873,7 @@ declare const base$2: {
|
|
|
873
873
|
description: string;
|
|
874
874
|
error: string;
|
|
875
875
|
};
|
|
876
|
-
type TSelectMenuFormStyles = DeepPartialType$1<typeof base$
|
|
876
|
+
type TSelectMenuFormStyles = DeepPartialType$1<typeof base$3>;
|
|
877
877
|
|
|
878
878
|
type TDateMenuFormProps = {
|
|
879
879
|
name: string;
|
|
@@ -915,7 +915,7 @@ type TDateMenuFormProps = {
|
|
|
915
915
|
};
|
|
916
916
|
declare const DateMenuForm: FC<TDateMenuFormProps>;
|
|
917
917
|
|
|
918
|
-
declare const base$
|
|
918
|
+
declare const base$2: {
|
|
919
919
|
container: string;
|
|
920
920
|
head: string;
|
|
921
921
|
body: string;
|
|
@@ -928,7 +928,7 @@ declare const base$1: {
|
|
|
928
928
|
description: string;
|
|
929
929
|
error: string;
|
|
930
930
|
};
|
|
931
|
-
type TDateMenuFormStyles = DeepPartialType$1<typeof base$
|
|
931
|
+
type TDateMenuFormStyles = DeepPartialType$1<typeof base$2>;
|
|
932
932
|
|
|
933
933
|
type TCheckboxInputGroupFormProps = {
|
|
934
934
|
name: string;
|
|
@@ -945,7 +945,7 @@ type TCheckboxInputGroupFormProps = {
|
|
|
945
945
|
};
|
|
946
946
|
declare const CheckboxInputGroupForm: FC<TCheckboxInputGroupFormProps>;
|
|
947
947
|
|
|
948
|
-
declare const base: {
|
|
948
|
+
declare const base$1: {
|
|
949
949
|
container: string;
|
|
950
950
|
sr: string;
|
|
951
951
|
list: string;
|
|
@@ -958,6 +958,52 @@ declare const base: {
|
|
|
958
958
|
description: string;
|
|
959
959
|
};
|
|
960
960
|
};
|
|
961
|
-
type TCheckboxInputGroupFormStyles = DeepPartialType$1<typeof base>;
|
|
961
|
+
type TCheckboxInputGroupFormStyles = DeepPartialType$1<typeof base$1>;
|
|
962
|
+
|
|
963
|
+
type TFileType = {
|
|
964
|
+
name: string;
|
|
965
|
+
size: number;
|
|
966
|
+
type: string;
|
|
967
|
+
blob: string | ArrayBuffer | null;
|
|
968
|
+
file: File;
|
|
969
|
+
};
|
|
970
|
+
type TFileInputGroupFormProps = {
|
|
971
|
+
name: string;
|
|
972
|
+
label?: string | ReactNode;
|
|
973
|
+
description?: string;
|
|
974
|
+
required?: ({ isRequired }: {
|
|
975
|
+
isRequired: boolean;
|
|
976
|
+
}) => string | ReactNode;
|
|
977
|
+
value?: TFileType;
|
|
978
|
+
max?: number;
|
|
979
|
+
error?: string;
|
|
980
|
+
isValid?: boolean;
|
|
981
|
+
isDisabled?: boolean;
|
|
982
|
+
isRequired?: boolean;
|
|
983
|
+
isTouched?: boolean;
|
|
984
|
+
children?: (props: {
|
|
985
|
+
value?: TFileType;
|
|
986
|
+
isDragging: boolean;
|
|
987
|
+
}) => ReactNode;
|
|
988
|
+
onChange: any;
|
|
989
|
+
onBlur: any;
|
|
990
|
+
styles?: TFileInputGroupStyles;
|
|
991
|
+
};
|
|
992
|
+
declare const FileInputGroupForm: FC<TFileInputGroupFormProps>;
|
|
993
|
+
|
|
994
|
+
declare const base: {
|
|
995
|
+
container: string;
|
|
996
|
+
head: string;
|
|
997
|
+
body: string;
|
|
998
|
+
foot: string;
|
|
999
|
+
label: string;
|
|
1000
|
+
hint: string;
|
|
1001
|
+
leading: string;
|
|
1002
|
+
input: string;
|
|
1003
|
+
trailing: string;
|
|
1004
|
+
description: string;
|
|
1005
|
+
error: string;
|
|
1006
|
+
};
|
|
1007
|
+
type TFileInputGroupStyles = DeepPartialType$1<typeof base>;
|
|
962
1008
|
|
|
963
|
-
export { AvatarElement, BadgeElement, BreadcrumbsNavigation, ButtonElement, ButtonGroupElement, CheckboxInputGroupForm as CheckboxInputFormGroup, ContainerLayout, DateMenuForm, DividerLayout, DropdownElement, IconElement, InputGroupForm, ListContainerLayout, MediaObjectLayout, ModalOverlay, NotificationOverlay, PagePaginationNavigation, LayoutPanel as PanelLayout, PanelPaginationNavigation, SelectMenuForm, SlideOverOverlay, type TButtonElementProps, type TCheckboxInputGroupFormProps, type TCheckboxInputGroupFormStyles, type TDateMenuFormProps, type TDateMenuFormStyles, type TInputGroupFormProps, type TInputGroupStyles, type TModalOverlayProps, 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 };
|
|
1009
|
+
export { AvatarElement, BadgeElement, BreadcrumbsNavigation, ButtonElement, ButtonGroupElement, CheckboxInputGroupForm as CheckboxInputFormGroup, ContainerLayout, DateMenuForm, DividerLayout, DropdownElement, FileInputGroupForm as FileInputFormGroup, IconElement, InputGroupForm, ListContainerLayout, MediaObjectLayout, ModalOverlay, NotificationOverlay, PagePaginationNavigation, LayoutPanel as PanelLayout, PanelPaginationNavigation, SelectMenuForm, SlideOverOverlay, type TButtonElementProps, type TCheckboxInputGroupFormProps, type TCheckboxInputGroupFormStyles, type TDateMenuFormProps, type TDateMenuFormStyles, type TFileInputGroupFormProps, type TFileInputGroupStyles, type TInputGroupFormProps, type TInputGroupStyles, type TModalOverlayProps, 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 };
|