@ballistix.digital/react-components 3.1.1 → 3.1.3
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 +33 -61
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { FC, ReactNode, RefObject, MouseEvent as MouseEvent$1, ReactElement, ChangeEventHandler, FocusEventHandler, HTMLInputTypeAttribute, Dispatch, SetStateAction, ElementType, ChangeEvent } from 'react';
|
|
2
|
-
import { DeepPartialType
|
|
2
|
+
import { DeepPartialType } from 'types/DeepPartialType';
|
|
3
3
|
import { IconName } from '@fortawesome/fontawesome-svg-core';
|
|
4
4
|
import { Placement } from '@floating-ui/react';
|
|
5
5
|
import { Menu } from '@headlessui/react';
|
|
@@ -21,7 +21,7 @@ declare const base$s: {
|
|
|
21
21
|
container: string;
|
|
22
22
|
indicator: string;
|
|
23
23
|
};
|
|
24
|
-
type TAvatarElementStyles = DeepPartialType
|
|
24
|
+
type TAvatarElementStyles = DeepPartialType<typeof base$s>;
|
|
25
25
|
|
|
26
26
|
type TProps$h = {
|
|
27
27
|
src?: string | undefined;
|
|
@@ -49,7 +49,7 @@ declare const base$r: {
|
|
|
49
49
|
inverted: string;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
|
-
type TAlertElementStyles = DeepPartialType
|
|
52
|
+
type TAlertElementStyles = DeepPartialType<typeof base$r>;
|
|
53
53
|
|
|
54
54
|
type TProps$g = {
|
|
55
55
|
title: string;
|
|
@@ -68,7 +68,7 @@ declare const base$q: {
|
|
|
68
68
|
indicator: string;
|
|
69
69
|
button: string;
|
|
70
70
|
};
|
|
71
|
-
type TBadgeElementStyles = DeepPartialType
|
|
71
|
+
type TBadgeElementStyles = DeepPartialType<typeof base$q>;
|
|
72
72
|
|
|
73
73
|
type TProps$f = {
|
|
74
74
|
children: string | ReactNode;
|
|
@@ -93,7 +93,7 @@ declare const base$p: {
|
|
|
93
93
|
strokeWidth: string;
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
|
-
type TTooltipElementStyles = DeepPartialType
|
|
96
|
+
type TTooltipElementStyles = DeepPartialType<typeof base$p>;
|
|
97
97
|
|
|
98
98
|
type TProps$e = {
|
|
99
99
|
children: ReactNode;
|
|
@@ -127,7 +127,7 @@ declare const base$o: {
|
|
|
127
127
|
icon: string;
|
|
128
128
|
spinner: string;
|
|
129
129
|
};
|
|
130
|
-
type TButtonElementStyles = DeepPartialType
|
|
130
|
+
type TButtonElementStyles = DeepPartialType<typeof base$o>;
|
|
131
131
|
|
|
132
132
|
declare const base$n: {
|
|
133
133
|
container: string;
|
|
@@ -135,7 +135,7 @@ declare const base$n: {
|
|
|
135
135
|
button: string;
|
|
136
136
|
lastButton: string;
|
|
137
137
|
};
|
|
138
|
-
type TButtonGroupElementStyles = DeepPartialType
|
|
138
|
+
type TButtonGroupElementStyles = DeepPartialType<typeof base$n>;
|
|
139
139
|
|
|
140
140
|
type TProps$d = {
|
|
141
141
|
children: ReactElement[];
|
|
@@ -150,7 +150,7 @@ declare const base$m: {
|
|
|
150
150
|
dots: string;
|
|
151
151
|
items: string;
|
|
152
152
|
};
|
|
153
|
-
type TDropdownElementStyles = DeepPartialType
|
|
153
|
+
type TDropdownElementStyles = DeepPartialType<typeof base$m>;
|
|
154
154
|
|
|
155
155
|
type TProps$c = {
|
|
156
156
|
children: ReactElement | ReactElement[];
|
|
@@ -235,13 +235,13 @@ declare const base$l: {
|
|
|
235
235
|
description: string;
|
|
236
236
|
error: string;
|
|
237
237
|
};
|
|
238
|
-
type TInputGroupStyles = DeepPartialType
|
|
238
|
+
type TInputGroupStyles = DeepPartialType<typeof base$l>;
|
|
239
239
|
|
|
240
240
|
declare const base$k: {
|
|
241
241
|
container: string;
|
|
242
242
|
content: string;
|
|
243
243
|
};
|
|
244
|
-
type TContainerLayoutStyles = DeepPartialType
|
|
244
|
+
type TContainerLayoutStyles = DeepPartialType<typeof base$k>;
|
|
245
245
|
|
|
246
246
|
type TProps$a = {
|
|
247
247
|
children: ReactNode;
|
|
@@ -257,7 +257,7 @@ declare const base$j: {
|
|
|
257
257
|
body: string;
|
|
258
258
|
content: string;
|
|
259
259
|
};
|
|
260
|
-
type TDividerLayoutStyles = DeepPartialType
|
|
260
|
+
type TDividerLayoutStyles = DeepPartialType<typeof base$j>;
|
|
261
261
|
|
|
262
262
|
type TProps$9 = {
|
|
263
263
|
children?: ReactNode;
|
|
@@ -271,7 +271,7 @@ declare const base$i: {
|
|
|
271
271
|
list: string;
|
|
272
272
|
item: string;
|
|
273
273
|
};
|
|
274
|
-
type TListContainerLayoutStyles = DeepPartialType
|
|
274
|
+
type TListContainerLayoutStyles = DeepPartialType<typeof base$i>;
|
|
275
275
|
|
|
276
276
|
type TProps$8 = {
|
|
277
277
|
children: ReactElement | ReactElement[];
|
|
@@ -287,7 +287,7 @@ declare const base$h: {
|
|
|
287
287
|
title: string;
|
|
288
288
|
paragraph: string;
|
|
289
289
|
};
|
|
290
|
-
type TMediaObjectLayoutStyles = DeepPartialType
|
|
290
|
+
type TMediaObjectLayoutStyles = DeepPartialType<typeof base$h>;
|
|
291
291
|
|
|
292
292
|
type TProps$7 = {
|
|
293
293
|
title: string;
|
|
@@ -302,7 +302,7 @@ declare const base$g: {
|
|
|
302
302
|
container: string;
|
|
303
303
|
section: string;
|
|
304
304
|
};
|
|
305
|
-
type TPanelLayoutStyles = DeepPartialType
|
|
305
|
+
type TPanelLayoutStyles = DeepPartialType<typeof base$g>;
|
|
306
306
|
|
|
307
307
|
type TContainerProps$2 = {
|
|
308
308
|
children: ReactNode;
|
|
@@ -417,7 +417,7 @@ declare const base$f: {
|
|
|
417
417
|
};
|
|
418
418
|
};
|
|
419
419
|
};
|
|
420
|
-
type TTableListStyles$1 = DeepPartialType
|
|
420
|
+
type TTableListStyles$1 = DeepPartialType<typeof base$f>;
|
|
421
421
|
|
|
422
422
|
type TData = any;
|
|
423
423
|
type VisibilityState = {
|
|
@@ -495,7 +495,7 @@ declare const base$e: {
|
|
|
495
495
|
};
|
|
496
496
|
foot: string;
|
|
497
497
|
};
|
|
498
|
-
type TTableListStyles = DeepPartialType
|
|
498
|
+
type TTableListStyles = DeepPartialType<typeof base$e>;
|
|
499
499
|
|
|
500
500
|
declare const base$d: {
|
|
501
501
|
container: string;
|
|
@@ -514,7 +514,7 @@ declare const base$d: {
|
|
|
514
514
|
link: string;
|
|
515
515
|
};
|
|
516
516
|
};
|
|
517
|
-
type TBreadcrumbsNavigationStyles = DeepPartialType
|
|
517
|
+
type TBreadcrumbsNavigationStyles = DeepPartialType<typeof base$d>;
|
|
518
518
|
|
|
519
519
|
type TProps$6 = {
|
|
520
520
|
href: string;
|
|
@@ -552,7 +552,7 @@ declare const base$c: {
|
|
|
552
552
|
icon: string;
|
|
553
553
|
pageSizeList: string;
|
|
554
554
|
};
|
|
555
|
-
type TPanelPaginationNavigationStyles = DeepPartialType
|
|
555
|
+
type TPanelPaginationNavigationStyles = DeepPartialType<typeof base$c>;
|
|
556
556
|
|
|
557
557
|
type TProps$5 = {
|
|
558
558
|
current?: number;
|
|
@@ -593,7 +593,7 @@ declare const base$b: {
|
|
|
593
593
|
};
|
|
594
594
|
divider: string;
|
|
595
595
|
};
|
|
596
|
-
type TPagePaginationNavigationStyles = DeepPartialType
|
|
596
|
+
type TPagePaginationNavigationStyles = DeepPartialType<typeof base$b>;
|
|
597
597
|
|
|
598
598
|
type TProps$4 = {
|
|
599
599
|
min?: number;
|
|
@@ -619,7 +619,7 @@ declare const base$a: {
|
|
|
619
619
|
inactive: string;
|
|
620
620
|
};
|
|
621
621
|
};
|
|
622
|
-
type TTabNavigationStyles = DeepPartialType
|
|
622
|
+
type TTabNavigationStyles = DeepPartialType<typeof base$a>;
|
|
623
623
|
|
|
624
624
|
type TContainerProps$1 = {
|
|
625
625
|
children: ({ active, setActive, }: {
|
|
@@ -743,7 +743,7 @@ declare const base$9: {
|
|
|
743
743
|
};
|
|
744
744
|
};
|
|
745
745
|
};
|
|
746
|
-
type TModalOverlayStyles = DeepPartialType
|
|
746
|
+
type TModalOverlayStyles = DeepPartialType<typeof base$9>;
|
|
747
747
|
|
|
748
748
|
declare const base$8: {
|
|
749
749
|
container: {
|
|
@@ -770,11 +770,7 @@ declare const base$8: {
|
|
|
770
770
|
};
|
|
771
771
|
};
|
|
772
772
|
};
|
|
773
|
-
type TNotificationOverlayStyles = DeepPartialType
|
|
774
|
-
|
|
775
|
-
type DeepPartialType<T> = {
|
|
776
|
-
[P in keyof T]?: DeepPartialType<T[P]>;
|
|
777
|
-
};
|
|
773
|
+
type TNotificationOverlayStyles = DeepPartialType<typeof base$8>;
|
|
778
774
|
|
|
779
775
|
type TProps$3 = {
|
|
780
776
|
trigger?: ({ onOpen, onClose, }: {
|
|
@@ -791,31 +787,7 @@ type TProps$3 = {
|
|
|
791
787
|
declare const NotificationOverlay: {
|
|
792
788
|
Container: ({ children, styles: stylesOverrides, }: {
|
|
793
789
|
children: ReactNode;
|
|
794
|
-
styles?:
|
|
795
|
-
container: {
|
|
796
|
-
outer: string;
|
|
797
|
-
inner: string;
|
|
798
|
-
};
|
|
799
|
-
item: {
|
|
800
|
-
container: string;
|
|
801
|
-
layout: {
|
|
802
|
-
container: string;
|
|
803
|
-
content: string;
|
|
804
|
-
inner: string;
|
|
805
|
-
};
|
|
806
|
-
panel: {
|
|
807
|
-
container: string;
|
|
808
|
-
transition: {
|
|
809
|
-
enter: string;
|
|
810
|
-
enterFrom: string;
|
|
811
|
-
enterTo: string;
|
|
812
|
-
leave: string;
|
|
813
|
-
leaveFrom: string;
|
|
814
|
-
leaveTo: string;
|
|
815
|
-
};
|
|
816
|
-
};
|
|
817
|
-
};
|
|
818
|
-
}> | undefined;
|
|
790
|
+
styles?: TNotificationOverlayStyles;
|
|
819
791
|
}) => react_jsx_runtime.JSX.Element;
|
|
820
792
|
Item: React.FC<TProps$3>;
|
|
821
793
|
};
|
|
@@ -850,7 +822,7 @@ declare const base$7: {
|
|
|
850
822
|
};
|
|
851
823
|
};
|
|
852
824
|
};
|
|
853
|
-
type TSlideOverOverlayStyles = DeepPartialType
|
|
825
|
+
type TSlideOverOverlayStyles = DeepPartialType<typeof base$7>;
|
|
854
826
|
|
|
855
827
|
type TProps$2 = {
|
|
856
828
|
trigger?: ({ handleOpen, handleClose, }: {
|
|
@@ -886,7 +858,7 @@ declare const styles$1: {
|
|
|
886
858
|
icon: string;
|
|
887
859
|
};
|
|
888
860
|
|
|
889
|
-
type TTableColumnOptionsStyles = DeepPartialType
|
|
861
|
+
type TTableColumnOptionsStyles = DeepPartialType<typeof styles$1>;
|
|
890
862
|
|
|
891
863
|
type TProps$1 = {
|
|
892
864
|
table: Table<any>;
|
|
@@ -977,7 +949,7 @@ declare const base$6: {
|
|
|
977
949
|
description: string;
|
|
978
950
|
error: string;
|
|
979
951
|
};
|
|
980
|
-
type TSelectMenuFormStyles = DeepPartialType
|
|
952
|
+
type TSelectMenuFormStyles = DeepPartialType<typeof base$6>;
|
|
981
953
|
|
|
982
954
|
type TDateMenuFormProps = {
|
|
983
955
|
name: string;
|
|
@@ -1032,7 +1004,7 @@ declare const base$5: {
|
|
|
1032
1004
|
description: string;
|
|
1033
1005
|
error: string;
|
|
1034
1006
|
};
|
|
1035
|
-
type TDateMenuFormStyles = DeepPartialType
|
|
1007
|
+
type TDateMenuFormStyles = DeepPartialType<typeof base$5>;
|
|
1036
1008
|
|
|
1037
1009
|
type TCheckboxInputGroupFormProps = {
|
|
1038
1010
|
name: string;
|
|
@@ -1062,7 +1034,7 @@ declare const base$4: {
|
|
|
1062
1034
|
description: string;
|
|
1063
1035
|
};
|
|
1064
1036
|
};
|
|
1065
|
-
type TCheckboxInputGroupFormStyles = DeepPartialType
|
|
1037
|
+
type TCheckboxInputGroupFormStyles = DeepPartialType<typeof base$4>;
|
|
1066
1038
|
|
|
1067
1039
|
type TCheckboxInputFormProps = {
|
|
1068
1040
|
name: string;
|
|
@@ -1089,7 +1061,7 @@ declare const base$3: {
|
|
|
1089
1061
|
label: string;
|
|
1090
1062
|
description: string;
|
|
1091
1063
|
};
|
|
1092
|
-
type TCheckboxInputFormStyles = DeepPartialType
|
|
1064
|
+
type TCheckboxInputFormStyles = DeepPartialType<typeof base$3>;
|
|
1093
1065
|
|
|
1094
1066
|
type TSwitchFormProps = {
|
|
1095
1067
|
name: string;
|
|
@@ -1141,7 +1113,7 @@ declare const styles: {
|
|
|
1141
1113
|
};
|
|
1142
1114
|
error: string;
|
|
1143
1115
|
};
|
|
1144
|
-
type TSwitchStylesForm = DeepPartialType
|
|
1116
|
+
type TSwitchStylesForm = DeepPartialType<typeof styles>;
|
|
1145
1117
|
|
|
1146
1118
|
type TFileType = {
|
|
1147
1119
|
name: string;
|
|
@@ -1188,7 +1160,7 @@ declare const base$2: {
|
|
|
1188
1160
|
description: string;
|
|
1189
1161
|
error: string;
|
|
1190
1162
|
};
|
|
1191
|
-
type TFileInputGroupFormStyles = DeepPartialType
|
|
1163
|
+
type TFileInputGroupFormStyles = DeepPartialType<typeof base$2>;
|
|
1192
1164
|
|
|
1193
1165
|
type TOpeningsHourInputGroupFormProps = {
|
|
1194
1166
|
form: FormikContextType<any>;
|
|
@@ -1225,7 +1197,7 @@ declare const base$1: {
|
|
|
1225
1197
|
description: string;
|
|
1226
1198
|
error: string;
|
|
1227
1199
|
};
|
|
1228
|
-
type TOpeningsHourInputGroupFormStyles = DeepPartialType
|
|
1200
|
+
type TOpeningsHourInputGroupFormStyles = DeepPartialType<typeof base$1>;
|
|
1229
1201
|
|
|
1230
1202
|
type TAddressInputGroupFormValue = {
|
|
1231
1203
|
country: string;
|
|
@@ -1278,7 +1250,7 @@ declare const base: {
|
|
|
1278
1250
|
suggestsHiddenClassName: string;
|
|
1279
1251
|
};
|
|
1280
1252
|
};
|
|
1281
|
-
type TAddressInputGroupFormStyles = DeepPartialType
|
|
1253
|
+
type TAddressInputGroupFormStyles = DeepPartialType<typeof base>;
|
|
1282
1254
|
|
|
1283
1255
|
type TExcelCell = {
|
|
1284
1256
|
value: number | string;
|