@ballistix.digital/react-components 0.5.10 → 0.7.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 +8 -0
- package/dist/index.esm.js +280 -252
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +279 -251
- package/dist/index.js.map +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ type TProps$e = {
|
|
|
79
79
|
isLoading?: boolean;
|
|
80
80
|
onClose?: () => void;
|
|
81
81
|
styles?: TBadgeElementStyles;
|
|
82
|
+
dataCy?: string;
|
|
82
83
|
};
|
|
83
84
|
declare const BadgeElement: FC<TProps$e>;
|
|
84
85
|
|
|
@@ -91,6 +92,7 @@ type TButtonElementProps = {
|
|
|
91
92
|
figure?: 'block' | 'rounded';
|
|
92
93
|
status?: 'idle' | 'loading' | 'success' | 'error';
|
|
93
94
|
isDisabled?: boolean;
|
|
95
|
+
dataCy?: string;
|
|
94
96
|
styles?: TButtonElementStyles;
|
|
95
97
|
onClick?: (e?: MouseEvent$1<HTMLButtonElement>) => void;
|
|
96
98
|
};
|
|
@@ -131,6 +133,7 @@ type TProps$c = {
|
|
|
131
133
|
children: ReactElement | ReactElement[];
|
|
132
134
|
label?: string | ReactElement;
|
|
133
135
|
trigger?: ReactNode;
|
|
136
|
+
dataCy?: string;
|
|
134
137
|
type?: 'button' | 'compact';
|
|
135
138
|
direction?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
|
|
136
139
|
isEscapingOverflow?: boolean;
|
|
@@ -524,6 +527,7 @@ declare const base$b: {
|
|
|
524
527
|
divider: string;
|
|
525
528
|
label: string;
|
|
526
529
|
icon: string;
|
|
530
|
+
pageSizeList: string;
|
|
527
531
|
};
|
|
528
532
|
type TPanelPaginationNavigationStyles = DeepPartialType$1<typeof base$b>;
|
|
529
533
|
|
|
@@ -536,6 +540,9 @@ type TProps$5 = {
|
|
|
536
540
|
max: number;
|
|
537
541
|
current: number;
|
|
538
542
|
}) => ReactNode;
|
|
543
|
+
pageSizeOptions?: number[];
|
|
544
|
+
defaultPageSize?: number;
|
|
545
|
+
onChangePageSize?: (pageSize: number) => void;
|
|
539
546
|
styles?: TPanelPaginationNavigationStyles;
|
|
540
547
|
onChange?: (current: number) => void;
|
|
541
548
|
};
|
|
@@ -678,6 +685,7 @@ type TModalOverlayProps = {
|
|
|
678
685
|
}) => ReactNode;
|
|
679
686
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
680
687
|
styles?: TModalOverlayStyles;
|
|
688
|
+
dataCy?: string;
|
|
681
689
|
onOpen?: () => void;
|
|
682
690
|
onClose?: () => void;
|
|
683
691
|
};
|