@js-smart/react-kit 5.14.0 → 5.16.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.js +19 -19
- package/index.mjs +918 -926
- package/lib/components/DismissibleAlert.d.ts +1 -0
- package/lib/components/NextLink.d.ts +1 -0
- package/lib/components/OpenInNewIconLink.d.ts +1 -0
- package/lib/components/buttons/CancelButton.d.ts +1 -0
- package/lib/components/buttons/DeleteButton.d.ts +1 -0
- package/lib/components/buttons/EditIconButton.d.ts +1 -0
- package/lib/components/buttons/ExcelButton.d.ts +1 -0
- package/lib/components/buttons/GoBackButton.d.ts +1 -0
- package/lib/components/buttons/HistoryButton.d.ts +1 -0
- package/lib/components/buttons/LoadingSuccessButton.d.ts +1 -0
- package/lib/components/buttons/ManageButton.d.ts +1 -0
- package/lib/components/buttons/SuccessButton.d.ts +1 -0
- package/package.json +2 -1
|
@@ -12,6 +12,7 @@ type DismissibleAlertProps = {
|
|
|
12
12
|
dismissible?: boolean;
|
|
13
13
|
dismissOnTimeOut?: boolean;
|
|
14
14
|
dismissTimeOut?: number;
|
|
15
|
+
ariaLabel?: string;
|
|
15
16
|
};
|
|
16
17
|
export declare function DismissibleAlert(props: Readonly<DismissibleAlertProps>): import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export {};
|
|
@@ -3,6 +3,7 @@ interface EditIconButtonProps {
|
|
|
3
3
|
tooltipTitle: string;
|
|
4
4
|
onClick: React.Dispatch<React.SetStateAction<boolean>>;
|
|
5
5
|
color?: 'inherit' | 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
6
|
+
ariaLabel?: string;
|
|
6
7
|
}
|
|
7
8
|
export declare function EditIconButton(props: Readonly<EditIconButtonProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -5,6 +5,7 @@ interface GoBackButtonProps {
|
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
navigate: NavigateFunction;
|
|
7
7
|
color?: 'inherit' | 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
|
|
8
|
+
ariaLabel?: string;
|
|
8
9
|
}
|
|
9
10
|
export declare function GoBackButton(props: GoBackButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -17,6 +17,7 @@ interface HistoryButtonProps {
|
|
|
17
17
|
startIcon?: React.ReactNode;
|
|
18
18
|
variant?: 'text' | 'outlined' | 'contained';
|
|
19
19
|
color?: 'inherit' | 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
|
|
20
|
+
ariaLabel?: string;
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
23
|
* Reusable History Button component
|
|
@@ -9,6 +9,7 @@ interface ManageButtonProps {
|
|
|
9
9
|
startIcon?: React.ReactNode;
|
|
10
10
|
onClick: () => void;
|
|
11
11
|
children?: React.ReactNode;
|
|
12
|
+
ariaLabel?: string;
|
|
12
13
|
}
|
|
13
14
|
export declare function ManageButton(props: ManageButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -17,6 +17,7 @@ interface SuccessButtonProps {
|
|
|
17
17
|
startIcon?: React.ReactNode;
|
|
18
18
|
variant?: 'text' | 'outlined' | 'contained';
|
|
19
19
|
color?: 'inherit' | 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
|
|
20
|
+
ariaLabel?: string;
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
23
|
* Reusable Success Button component
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@js-smart/react-kit",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.16.0",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
7
7
|
"publishConfig": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
|
22
|
+
"types": "./index.d.ts",
|
|
22
23
|
"import": "./index.mjs",
|
|
23
24
|
"require": "./index.js"
|
|
24
25
|
}
|