m2m-components 6.1.1-alpha-1734863686498-0602db4.0 → 6.1.1
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 +2 -2
- package/react.d.ts +22 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "m2m-components",
|
|
3
|
-
"version": "6.1.1
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.mjs",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"format": "eslint . --fix",
|
|
21
21
|
"postformat": "prettier --write .",
|
|
22
22
|
"typecheck": "tsc -p . --noEmit",
|
|
23
|
-
"predeploy": "cp package.json README.md jsx.d.ts dist",
|
|
23
|
+
"predeploy": "cp package.json README.md jsx.d.ts react.d.ts dist",
|
|
24
24
|
"test": "vitest"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
package/react.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* NOTE: This file does not work under React v19. If you are under React v19, use jsx.d.ts.
|
|
5
|
+
*/
|
|
6
|
+
declare module "react" {
|
|
7
|
+
namespace JSX {
|
|
8
|
+
interface IntrinsicElements {
|
|
9
|
+
"m2m-apps-menu": {
|
|
10
|
+
expanded?: boolean;
|
|
11
|
+
"additional-items"?: string;
|
|
12
|
+
};
|
|
13
|
+
"m2m-user-menu": {
|
|
14
|
+
expanded?: boolean;
|
|
15
|
+
"additional-items"?: string;
|
|
16
|
+
};
|
|
17
|
+
"m2m-releases-link": {
|
|
18
|
+
product: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|