menupro 1.0.11 → 1.0.12

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 ADDED
@@ -0,0 +1,9 @@
1
+ /*!
2
+ menupro
3
+ Copyright (c) 2019 Dario Passariello <dariopassariello@gmail.com>
4
+ Licensed under MIT License, see
5
+ https://dario.passariello.ca
6
+ */
7
+
8
+ /// <reference path="./types/jquery.d.ts" />
9
+ /// <reference path="./types/menupro.d.ts" />
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "menupro",
3
3
  "description": "custom menu like OS by Dario Passariello",
4
- "version": "1.0.11",
4
+ "version": "1.0.12",
5
5
  "copyright": "Dario Passariello",
6
6
  "keywords": [
7
7
  "layer",
@@ -58,7 +58,6 @@
58
58
  "email": "valeriacalascaglitta@gmail.com"
59
59
  }
60
60
  ],
61
- "typings": "./types/*",
62
61
  "globals": {
63
62
  "menupro": {}
64
63
  },
@@ -68,6 +67,8 @@
68
67
  "url": "https://www.patreon.com/passariello"
69
68
  }
70
69
  ],
70
+ "types": "./index.d.ts",
71
+ "typings": "./types/*",
71
72
  "typing": [
72
73
  "types/*"
73
74
  ],
@@ -107,5 +108,8 @@
107
108
  "webpack": "^5.103.0",
108
109
  "webpack-cli": "6.0.1",
109
110
  "webpack-dev-server": "^5.2.2"
111
+ },
112
+ "dependencies": {
113
+ "dphelper.types": "0.0.20"
110
114
  }
111
115
  }
@@ -0,0 +1,22 @@
1
+ /*!
2
+ layerpro
3
+ Copyright (c) 2019 Dario Passariello <dariopassariello@gmail.com>
4
+ Licensed under MIT License, see
5
+ https://dario.passariello.ca
6
+ */
7
+
8
+
9
+ declare module 'jquery'
10
+
11
+ declare var $: any
12
+ declare var jQuery: any
13
+
14
+ // ////////////////////////////////////////////////////////////////
15
+
16
+ interface window {
17
+ $: any
18
+ jQuery: any
19
+ }
20
+
21
+ type $ = {}
22
+ type jQuery = {}
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright: © 2019 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
4
+ */
5
+
6
+ declare module 'menupro' {
7
+ const resource: { [key: string]: any }
8
+ export = resource
9
+ }
10
+
11
+ declare var menupro: any
12
+ type menupro = {}
13
+
14
+ type process = {}