@bit.rhplus/draggable-modal 0.0.15 → 0.0.17

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/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export default DraggableModal;
2
- declare function DraggableModal(props: any): import("react/jsx-runtime").JSX.Element | null;
2
+ declare function DraggableModal(props: any): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@bit.rhplus/draggable-modal",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "homepage": "https://bit.cloud/remote-scope/draggable-modal",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "remote-scope",
8
8
  "name": "draggable-modal",
9
- "version": "0.0.15"
9
+ "version": "0.0.17"
10
10
  },
11
11
  "dependencies": {
12
12
  "antd": "^5.20.6",
13
13
  "react-draggable": "^4.4.6"
14
14
  },
15
15
  "devDependencies": {
16
- "@teambit/react.react-env": "1.3.1"
16
+ "@bitdev/react.react-env": "5.0.5"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
@@ -22,6 +22,7 @@
22
22
  "license": "SEE LICENSE IN UNLICENSED",
23
23
  "optionalDependencies": {},
24
24
  "peerDependenciesMeta": {},
25
+ "type": "module",
25
26
  "private": false,
26
27
  "publishConfig": {
27
28
  "scope": "@bit.rhplus",
package/types/env.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ /// <reference types="vite/client" />
2
+
3
+ export type ImportMetaEnv = Record<string, string>;
4
+
5
+ interface ImportMeta {
6
+ readonly env: ImportMetaEnv
7
+ }
8
+
9
+ declare global {
10
+ namespace NodeJS {
11
+ interface ProcessEnv {
12
+ [key: string]: string;
13
+ }
14
+ }
15
+ }