test-stpr-ui-kit 0.4.68 → 0.4.70
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/test-stpr-ui-kit.es.d.ts +13 -0
- package/dist/test-stpr-ui-kit.js +1075 -1043
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
|
@@ -68,6 +68,7 @@ declare interface ButtonProps extends default_2.PropsWithChildren {
|
|
|
68
68
|
isOnlyIcon?: boolean;
|
|
69
69
|
loading?: boolean;
|
|
70
70
|
iconName?: EIconName;
|
|
71
|
+
icon?: ReactNode;
|
|
71
72
|
classNameRoot?: string;
|
|
72
73
|
classNameIconContainerRoot?: string;
|
|
73
74
|
iconRotate?: number;
|
|
@@ -295,6 +296,18 @@ export declare interface ProgressWrapperProps extends PropsWithChildren {
|
|
|
295
296
|
animationVariant?: "pulse" | "backgroundProgress";
|
|
296
297
|
}
|
|
297
298
|
|
|
299
|
+
export declare const ProtectedRoute: default_2.FC<ProtectedRouteProps>;
|
|
300
|
+
|
|
301
|
+
declare interface ProtectedRouteProps {
|
|
302
|
+
children: default_2.ReactNode;
|
|
303
|
+
isNeedAuthorized: boolean;
|
|
304
|
+
onAuthRedirect?: () => void;
|
|
305
|
+
unauthorizedMessage?: string;
|
|
306
|
+
authButtonText?: string;
|
|
307
|
+
confirmSize?: "md" | "lg";
|
|
308
|
+
zIndex?: number;
|
|
309
|
+
}
|
|
310
|
+
|
|
298
311
|
export declare const Select: default_2.FC<SelectProps>;
|
|
299
312
|
|
|
300
313
|
declare interface SelectProps {
|