@js-smart/react-kit 4.2.0 → 4.4.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/index.d.ts +0 -1
- package/index.js +26 -26
- package/index.mjs +1221 -1278
- package/lib/components/DismissibleAlert.d.ts +0 -1
- package/lib/components/NextLink.d.ts +0 -1
- package/lib/components/OpenInNewIconLink.d.ts +0 -1
- package/lib/components/ReactIf.d.ts +1 -2
- package/lib/components/buttons/CancelButton.d.ts +1 -1
- package/lib/components/buttons/DeleteButton.d.ts +1 -1
- package/lib/components/buttons/ExcelButton.d.ts +1 -1
- package/lib/components/buttons/GoBackButton.d.ts +1 -1
- package/lib/components/buttons/HistoryButton.d.ts +1 -1
- package/lib/components/buttons/LoadingSuccessButton.d.ts +1 -1
- package/lib/components/buttons/ManageButton.d.ts +1 -1
- package/lib/components/buttons/SuccessButton.d.ts +1 -1
- package/lib/components/snack-bar/AppSnackBar.d.ts +0 -1
- package/lib/components/table/TablePaginationActions.d.ts +0 -1
- package/lib/components/tabs/TabPanel.d.ts +0 -1
- package/lib/utils/ProgressStateUtils.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* Reusable If component, that renders content if the condition is true. Similar to *ngIf from Angular
|
|
5
4
|
*
|
|
@@ -11,4 +10,4 @@ import { default as React } from 'react';
|
|
|
11
10
|
export declare function ReactIf(props: {
|
|
12
11
|
condition: boolean | undefined;
|
|
13
12
|
children: React.ReactNode;
|
|
14
|
-
}): React.
|
|
13
|
+
}): React.ReactNode;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SxProps, Theme } from '@mui/material';
|
|
3
|
-
|
|
4
3
|
/**
|
|
5
4
|
* Reusable Success Button component properties
|
|
6
5
|
*
|
|
@@ -10,6 +9,7 @@ import { SxProps, Theme } from '@mui/material';
|
|
|
10
9
|
interface CancelButtonProps {
|
|
11
10
|
children?: React.ReactNode;
|
|
12
11
|
className?: string;
|
|
12
|
+
name?: string;
|
|
13
13
|
dataCy?: string;
|
|
14
14
|
sx?: SxProps<Theme>;
|
|
15
15
|
type?: 'button' | 'submit' | 'reset';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
2
|
interface DeleteButtonProps {
|
|
4
3
|
loading: boolean;
|
|
5
4
|
label?: string;
|
|
6
5
|
loadingLabel?: string;
|
|
7
6
|
loadingPosition?: 'start' | 'end' | 'center';
|
|
8
7
|
type?: 'button' | 'submit' | 'reset' | undefined;
|
|
8
|
+
name?: string;
|
|
9
9
|
dataCy?: string;
|
|
10
10
|
startIcon?: React.ReactNode;
|
|
11
11
|
onClick: () => void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SxProps, Theme } from '@mui/material';
|
|
3
|
-
|
|
4
3
|
/**
|
|
5
4
|
* Reusable Excel Button component properties
|
|
6
5
|
*
|
|
@@ -10,6 +9,7 @@ import { SxProps, Theme } from '@mui/material';
|
|
|
10
9
|
interface SuccessButtonProps {
|
|
11
10
|
children?: React.ReactNode;
|
|
12
11
|
className?: string;
|
|
12
|
+
name?: string;
|
|
13
13
|
sx?: SxProps<Theme>;
|
|
14
14
|
type?: 'button' | 'submit' | 'reset';
|
|
15
15
|
onClick: () => void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SxProps, Theme } from '@mui/material';
|
|
3
|
-
|
|
4
3
|
/**
|
|
5
4
|
* Reusable History Button component properties
|
|
6
5
|
*
|
|
@@ -10,6 +9,7 @@ import { SxProps, Theme } from '@mui/material';
|
|
|
10
9
|
interface HistoryButtonProps {
|
|
11
10
|
children?: React.ReactNode;
|
|
12
11
|
className?: string;
|
|
12
|
+
name?: string;
|
|
13
13
|
dataCy?: string;
|
|
14
14
|
sx?: SxProps<Theme>;
|
|
15
15
|
type?: 'button' | 'submit' | 'reset';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SxProps, Theme } from '@mui/material';
|
|
3
|
-
|
|
4
3
|
/**
|
|
5
4
|
* Reusable Success Button component properties
|
|
6
5
|
*
|
|
@@ -10,6 +9,7 @@ import { SxProps, Theme } from '@mui/material';
|
|
|
10
9
|
interface Props {
|
|
11
10
|
children?: React.ReactNode;
|
|
12
11
|
type?: 'button' | 'submit' | 'reset';
|
|
12
|
+
name?: string;
|
|
13
13
|
loading: boolean;
|
|
14
14
|
dataCy?: string;
|
|
15
15
|
startIcon?: React.ReactNode;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SxProps, Theme } from '@mui/material';
|
|
3
|
-
|
|
4
3
|
/**
|
|
5
4
|
* Reusable Success Button component properties
|
|
6
5
|
*
|
|
@@ -10,6 +9,7 @@ import { SxProps, Theme } from '@mui/material';
|
|
|
10
9
|
interface SuccessButtonProps {
|
|
11
10
|
children?: React.ReactNode;
|
|
12
11
|
className?: string;
|
|
12
|
+
name?: string;
|
|
13
13
|
dataCy?: string;
|
|
14
14
|
sx?: SxProps<Theme>;
|
|
15
15
|
type?: 'button' | 'submit' | 'reset';
|