@trackunit/react-modal 1.8.124 → 1.8.128
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-modal",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.128",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"react": "19.0.0",
|
|
11
|
-
"@trackunit/react-components": "1.10.
|
|
12
|
-
"@trackunit/react-core-hooks": "1.7.
|
|
13
|
-
"@trackunit/css-class-variance-utilities": "1.7.
|
|
14
|
-
"@trackunit/i18n-library-translation": "1.7.
|
|
11
|
+
"@trackunit/react-components": "1.10.67",
|
|
12
|
+
"@trackunit/react-core-hooks": "1.7.106",
|
|
13
|
+
"@trackunit/css-class-variance-utilities": "1.7.92",
|
|
14
|
+
"@trackunit/i18n-library-translation": "1.7.110",
|
|
15
15
|
"@floating-ui/react": "^0.26.25",
|
|
16
16
|
"@floating-ui/react-dom": "2.1.2",
|
|
17
|
-
"@trackunit/ui-design-tokens": "1.7.
|
|
17
|
+
"@trackunit/ui-design-tokens": "1.7.92"
|
|
18
18
|
},
|
|
19
19
|
"module": "./index.esm.js",
|
|
20
20
|
"main": "./index.cjs.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonProps } from "@trackunit/react-components";
|
|
2
|
-
import { ReactNode } from "react";
|
|
2
|
+
import { MouseEventHandler, ReactNode } from "react";
|
|
3
3
|
interface ModalFooterBuiltInProps extends CommonProps {
|
|
4
4
|
children?: null | undefined;
|
|
5
5
|
/**
|
|
@@ -19,7 +19,7 @@ interface ModalFooterBuiltInProps extends CommonProps {
|
|
|
19
19
|
/**
|
|
20
20
|
* Click handler for the Primary action button.
|
|
21
21
|
*/
|
|
22
|
-
primaryAction?:
|
|
22
|
+
primaryAction?: MouseEventHandler<HTMLButtonElement>;
|
|
23
23
|
/**
|
|
24
24
|
* Loading state for the Primary button.
|
|
25
25
|
* Defaults to false.
|