@ballistix.digital/react-components 0.4.66 → 0.4.67

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +41 -41
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -18,7 +18,7 @@ declare const base$i: {
18
18
  };
19
19
  type TAvatarElementStyles = DeepPartial$1<typeof base$i>;
20
20
 
21
- type TProps$g = {
21
+ type TProps$f = {
22
22
  src?: string | undefined;
23
23
  placeholder?: string | undefined;
24
24
  children?: ReactNode | ReactNode[] | string;
@@ -30,7 +30,7 @@ type TProps$g = {
30
30
  isLoading?: boolean;
31
31
  styles?: TAvatarElementStyles;
32
32
  };
33
- declare const AvatarElement: FC<TProps$g>;
33
+ declare const AvatarElement: FC<TProps$f>;
34
34
 
35
35
  declare const base$h: {
36
36
  container: string;
@@ -39,7 +39,7 @@ declare const base$h: {
39
39
  };
40
40
  type TBadgeElementStyles = DeepPartial$1<typeof base$h>;
41
41
 
42
- type TProps$f = {
42
+ type TProps$e = {
43
43
  children: string | ReactNode;
44
44
  color?: 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink';
45
45
  type?: 'normal' | 'indicator' | 'close';
@@ -50,7 +50,7 @@ type TProps$f = {
50
50
  onClose?: () => void;
51
51
  styles?: TBadgeElementStyles;
52
52
  };
53
- declare const BadgeElement: FC<TProps$f>;
53
+ declare const BadgeElement: FC<TProps$e>;
54
54
 
55
55
  type TButtonElementProps = {
56
56
  children: string | ReactNode;
@@ -82,11 +82,11 @@ declare const base$f: {
82
82
  };
83
83
  type TButtonGroupElementStyles = DeepPartial$1<typeof base$f>;
84
84
 
85
- type TProps$e = {
85
+ type TProps$d = {
86
86
  children: ReactElement[];
87
87
  styles?: TButtonGroupElementStyles;
88
88
  };
89
- declare const ButtonGroupElement: FC<TProps$e>;
89
+ declare const ButtonGroupElement: FC<TProps$d>;
90
90
 
91
91
  declare const base$e: {
92
92
  container: string;
@@ -97,7 +97,7 @@ declare const base$e: {
97
97
  };
98
98
  type TDropdownElementStyles = DeepPartial$1<typeof base$e>;
99
99
 
100
- type TProps$d = {
100
+ type TProps$c = {
101
101
  children: ReactElement | ReactElement[];
102
102
  label?: string | ReactElement;
103
103
  trigger?: ReactNode;
@@ -106,16 +106,16 @@ type TProps$d = {
106
106
  styles?: TDropdownElementStyles;
107
107
  };
108
108
  declare const DropdownElement: {
109
- Container: FC<TProps$d>;
109
+ Container: FC<TProps$c>;
110
110
  Item: typeof Menu.Item;
111
111
  };
112
112
 
113
- type TProps$c = {
113
+ type TProps$b = {
114
114
  accessor: IconName;
115
115
  type: 'brands' | 'light' | 'regular' | 'solid';
116
116
  className?: string;
117
117
  };
118
- declare const IconElement: FC<TProps$c>;
118
+ declare const IconElement: FC<TProps$b>;
119
119
 
120
120
  type TInputGroupFormProps = {
121
121
  name: string;
@@ -170,12 +170,12 @@ declare const base$c: {
170
170
  };
171
171
  type TContainerLayoutStyles = DeepPartial$1<typeof base$c>;
172
172
 
173
- type TProps$b = {
173
+ type TProps$a = {
174
174
  children: ReactNode;
175
175
  type?: 'break' | 'center' | 'fill';
176
176
  styles?: TContainerLayoutStyles;
177
177
  };
178
- declare const ContainerLayout: FC<TProps$b>;
178
+ declare const ContainerLayout: FC<TProps$a>;
179
179
 
180
180
  declare const base$b: {
181
181
  container: string;
@@ -186,12 +186,12 @@ declare const base$b: {
186
186
  };
187
187
  type TDividerLayoutStyles = DeepPartial$1<typeof base$b>;
188
188
 
189
- type TProps$a = {
189
+ type TProps$9 = {
190
190
  children?: ReactNode;
191
191
  type?: 'left' | 'center' | 'right';
192
192
  styles?: TDividerLayoutStyles;
193
193
  };
194
- declare const DividerLayout: FC<TProps$a>;
194
+ declare const DividerLayout: FC<TProps$9>;
195
195
 
196
196
  declare const base$a: {
197
197
  container: string;
@@ -200,12 +200,12 @@ declare const base$a: {
200
200
  };
201
201
  type TListContainerLayoutStyles = DeepPartial$1<typeof base$a>;
202
202
 
203
- type TProps$9 = {
203
+ type TProps$8 = {
204
204
  children: ReactElement | ReactElement[];
205
205
  type?: 'fill' | 'fill-sticky' | 'center' | 'center-sticky' | 'card' | 'card-sticky';
206
206
  styles?: TListContainerLayoutStyles;
207
207
  };
208
- declare const ListContainerLayout: FC<TProps$9>;
208
+ declare const ListContainerLayout: FC<TProps$8>;
209
209
 
210
210
  declare const base$9: {
211
211
  container: string;
@@ -216,14 +216,14 @@ declare const base$9: {
216
216
  };
217
217
  type TMediaObjectLayoutStyles = DeepPartial$1<typeof base$9>;
218
218
 
219
- type TProps$8 = {
219
+ type TProps$7 = {
220
220
  title: string;
221
221
  paragraph: string;
222
222
  figure?: ReactNode;
223
223
  type?: 'top' | 'top-reversed' | 'center' | 'center-reversed' | 'bottom' | 'bottom-reversed' | 'stretch' | 'stretch-reversed' | 'responsive' | 'responsive-reversed' | 'wide' | 'wide-reversed';
224
224
  styles?: TMediaObjectLayoutStyles;
225
225
  };
226
- declare const MediaObjectLayout: FC<TProps$8>;
226
+ declare const MediaObjectLayout: FC<TProps$7>;
227
227
 
228
228
  declare const base$8: {
229
229
  container: string;
@@ -402,7 +402,7 @@ declare const base$6: {
402
402
  };
403
403
  type TBreadcrumbsNavigationStyles = DeepPartial$1<typeof base$6>;
404
404
 
405
- type TProps$7 = {
405
+ type TProps$6 = {
406
406
  href: string;
407
407
  pages: {
408
408
  name: string;
@@ -413,7 +413,7 @@ type TProps$7 = {
413
413
  separator?: ReactNode;
414
414
  styles?: TBreadcrumbsNavigationStyles;
415
415
  };
416
- declare const BreadcrumbsNavigation: FC<TProps$7>;
416
+ declare const BreadcrumbsNavigation: FC<TProps$6>;
417
417
 
418
418
  declare const base$5: {
419
419
  container: string;
@@ -438,7 +438,7 @@ declare const base$5: {
438
438
  };
439
439
  type TPanelPaginationNavigationStyles = DeepPartial$1<typeof base$5>;
440
440
 
441
- type TProps$6 = {
441
+ type TProps$5 = {
442
442
  current?: number;
443
443
  min?: number;
444
444
  max: number;
@@ -450,7 +450,7 @@ type TProps$6 = {
450
450
  styles?: TPanelPaginationNavigationStyles;
451
451
  onChange?: (current: number) => void;
452
452
  };
453
- declare const PanelPaginationNavigation: React.FC<TProps$6>;
453
+ declare const PanelPaginationNavigation: React.FC<TProps$5>;
454
454
 
455
455
  declare const base$4: {
456
456
  container: string;
@@ -476,13 +476,13 @@ declare const base$4: {
476
476
  };
477
477
  type TPagePaginationNavigationStyles = DeepPartial$1<typeof base$4>;
478
478
 
479
- type TProps$5 = {
479
+ type TProps$4 = {
480
480
  min?: number;
481
481
  max: number;
482
482
  styles?: TPagePaginationNavigationStyles;
483
483
  onChange?: (current: number) => void;
484
484
  };
485
- declare const PagePaginationNavigation: React.FC<TProps$5>;
485
+ declare const PagePaginationNavigation: React.FC<TProps$4>;
486
486
 
487
487
  declare const base$3: {
488
488
  container: string;
@@ -577,6 +577,22 @@ declare const VerticalNavigation: {
577
577
  View: React.FC<TViewProps>;
578
578
  };
579
579
 
580
+ type TModalOverlayProps = {
581
+ trigger?: ({ handleOpen, handleClose, }: {
582
+ handleOpen: () => void;
583
+ handleClose: () => void;
584
+ }) => ReactNode;
585
+ children: ({ handleOpen, handleClose, }: {
586
+ handleOpen: () => void;
587
+ handleClose: () => void;
588
+ }) => ReactNode;
589
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
590
+ styles?: TModalOverlayStyles;
591
+ onOpen?: () => void;
592
+ onClose?: () => void;
593
+ };
594
+ declare const ModalOverlay: FC<TModalOverlayProps>;
595
+
580
596
  declare const base$2: {
581
597
  container: string;
582
598
  background: {
@@ -608,22 +624,6 @@ declare const base$2: {
608
624
  };
609
625
  type TModalOverlayStyles = DeepPartial$1<typeof base$2>;
610
626
 
611
- type TProps$4 = {
612
- trigger?: ({ handleOpen, handleClose, }: {
613
- handleOpen: () => void;
614
- handleClose: () => void;
615
- }) => ReactNode;
616
- children: ({ handleOpen, handleClose, }: {
617
- handleOpen: () => void;
618
- handleClose: () => void;
619
- }) => ReactNode;
620
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
621
- styles?: TModalOverlayStyles;
622
- onOpen?: () => void;
623
- onClose?: () => void;
624
- };
625
- declare const ModalOverlay: FC<TProps$4>;
626
-
627
627
  declare const base$1: {
628
628
  container: {
629
629
  outer: string;
@@ -761,4 +761,4 @@ type TProps = {
761
761
  };
762
762
  declare const TableExcelExportCustom: FC<TProps>;
763
763
 
764
- export { AvatarElement, BadgeElement, BreadcrumbsNavigation, ButtonElement, ButtonGroupElement, ContainerLayout, DividerLayout, DropdownElement, IconElement, InputGroupForm, ListContainerLayout, MediaObjectLayout, ModalOverlay, NotificationOverlay, PagePaginationNavigation, LayoutPanel as PanelLayout, PanelPaginationNavigation, SlideOverOverlay, TButtonElementProps, TInputGroupFormProps, TInputGroupStyles, TTableListProps as TTableList2Props, TTableListProps$1 as TTableListProps, TTableListStyles, TabNavigation, TableColumnOptionsCustom, TableExcelExportCustom as TableExportCustom, TableList, TableList2, VerticalNavigation };
764
+ export { AvatarElement, BadgeElement, BreadcrumbsNavigation, ButtonElement, ButtonGroupElement, ContainerLayout, DividerLayout, DropdownElement, IconElement, InputGroupForm, ListContainerLayout, MediaObjectLayout, ModalOverlay, NotificationOverlay, PagePaginationNavigation, LayoutPanel as PanelLayout, PanelPaginationNavigation, SlideOverOverlay, TButtonElementProps, TInputGroupFormProps, TInputGroupStyles, TModalOverlayProps, TTableListProps as TTableList2Props, TTableListProps$1 as TTableListProps, TTableListStyles, TabNavigation, TableColumnOptionsCustom, TableExcelExportCustom as TableExportCustom, TableList, TableList2, VerticalNavigation };
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "email": "info@ballistix.digital",
8
8
  "url": "https://ballistix.digital"
9
9
  },
10
- "version": "0.4.66",
10
+ "version": "0.4.67",
11
11
  "private": false,
12
12
  "main": "dist/index.js",
13
13
  "module": "dist/index.esm.js",