@vitus-labs/hooks 0.45.0 → 0.48.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.
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
6424
6424
  </script>
6425
6425
  <script>
6426
6426
  /*<!--*/
6427
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.browser.js","children":[{"name":"src","children":[{"uid":"93c3-41","name":"useHover.ts"},{"uid":"93c3-43","name":"useWindowResize.ts"},{"uid":"93c3-45","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"93c3-41":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"93c3-40"},"93c3-43":{"renderedLength":635,"gzipLength":313,"brotliLength":0,"mainUid":"93c3-42"},"93c3-45":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"93c3-44"}},"nodeMetas":{"93c3-40":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.browser.js":"93c3-41"},"imported":[{"uid":"93c3-46"}],"importedBy":[{"uid":"93c3-44"}]},"93c3-42":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.browser.js":"93c3-43"},"imported":[{"uid":"93c3-46"},{"uid":"93c3-47"}],"importedBy":[{"uid":"93c3-44"}]},"93c3-44":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.browser.js":"93c3-45"},"imported":[{"uid":"93c3-40"},{"uid":"93c3-42"}],"importedBy":[],"isEntry":true},"93c3-46":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"93c3-40"},{"uid":"93c3-42"}],"isExternal":true},"93c3-47":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"93c3-42"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6427
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.browser.js","children":[{"name":"src","children":[{"uid":"399f-25","name":"useHover.ts"},{"uid":"399f-27","name":"useWindowResize.ts"},{"uid":"399f-29","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"399f-25":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"399f-24"},"399f-27":{"renderedLength":635,"gzipLength":313,"brotliLength":0,"mainUid":"399f-26"},"399f-29":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"399f-28"}},"nodeMetas":{"399f-24":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.browser.js":"399f-25"},"imported":[{"uid":"399f-30"}],"importedBy":[{"uid":"399f-28"}]},"399f-26":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.browser.js":"399f-27"},"imported":[{"uid":"399f-30"},{"uid":"399f-31"}],"importedBy":[{"uid":"399f-28"}]},"399f-28":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.browser.js":"399f-29"},"imported":[{"uid":"399f-24"},{"uid":"399f-26"}],"importedBy":[],"isEntry":true},"399f-30":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"399f-24"},{"uid":"399f-26"}],"isExternal":true},"399f-31":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"399f-26"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6428
6428
 
6429
6429
  const run = () => {
6430
6430
  const width = window.innerWidth;
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
6424
6424
  </script>
6425
6425
  <script>
6426
6426
  /*<!--*/
6427
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.js","children":[{"name":"src","children":[{"uid":"93c3-1","name":"useHover.ts"},{"uid":"93c3-3","name":"useWindowResize.ts"},{"uid":"93c3-5","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"93c3-1":{"renderedLength":351,"gzipLength":184,"brotliLength":0,"mainUid":"93c3-0"},"93c3-3":{"renderedLength":486,"gzipLength":267,"brotliLength":0,"mainUid":"93c3-2"},"93c3-5":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"93c3-4"}},"nodeMetas":{"93c3-0":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.js":"93c3-1"},"imported":[{"uid":"93c3-6"}],"importedBy":[{"uid":"93c3-4"}]},"93c3-2":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.js":"93c3-3"},"imported":[{"uid":"93c3-6"},{"uid":"93c3-7"}],"importedBy":[{"uid":"93c3-4"}]},"93c3-4":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.js":"93c3-5"},"imported":[{"uid":"93c3-0"},{"uid":"93c3-2"}],"importedBy":[],"isEntry":true},"93c3-6":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"93c3-0"},{"uid":"93c3-2"}],"isExternal":true},"93c3-7":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"93c3-2"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6427
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.js","children":[{"name":"src","children":[{"uid":"399f-1","name":"useHover.ts"},{"uid":"399f-3","name":"useWindowResize.ts"},{"uid":"399f-5","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"399f-1":{"renderedLength":351,"gzipLength":184,"brotliLength":0,"mainUid":"399f-0"},"399f-3":{"renderedLength":486,"gzipLength":267,"brotliLength":0,"mainUid":"399f-2"},"399f-5":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"399f-4"}},"nodeMetas":{"399f-0":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.js":"399f-1"},"imported":[{"uid":"399f-6"}],"importedBy":[{"uid":"399f-4"}]},"399f-2":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.js":"399f-3"},"imported":[{"uid":"399f-6"},{"uid":"399f-7"}],"importedBy":[{"uid":"399f-4"}]},"399f-4":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.js":"399f-5"},"imported":[{"uid":"399f-0"},{"uid":"399f-2"}],"importedBy":[],"isEntry":true},"399f-6":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"399f-0"},{"uid":"399f-2"}],"isExternal":true},"399f-7":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"399f-2"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6428
6428
 
6429
6429
  const run = () => {
6430
6430
  const width = window.innerWidth;
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
6424
6424
  </script>
6425
6425
  <script>
6426
6426
  /*<!--*/
6427
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.module.js","children":[{"name":"src","children":[{"uid":"93c3-9","name":"useHover.ts"},{"uid":"93c3-11","name":"useWindowResize.ts"},{"uid":"93c3-13","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"93c3-9":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"93c3-8"},"93c3-11":{"renderedLength":609,"gzipLength":301,"brotliLength":0,"mainUid":"93c3-10"},"93c3-13":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"93c3-12"}},"nodeMetas":{"93c3-8":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.module.js":"93c3-9"},"imported":[{"uid":"93c3-14"}],"importedBy":[{"uid":"93c3-12"}]},"93c3-10":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.module.js":"93c3-11"},"imported":[{"uid":"93c3-14"},{"uid":"93c3-15"}],"importedBy":[{"uid":"93c3-12"}]},"93c3-12":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.module.js":"93c3-13"},"imported":[{"uid":"93c3-8"},{"uid":"93c3-10"}],"importedBy":[],"isEntry":true},"93c3-14":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"93c3-8"},{"uid":"93c3-10"}],"isExternal":true},"93c3-15":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"93c3-10"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6427
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.module.js","children":[{"name":"src","children":[{"uid":"399f-9","name":"useHover.ts"},{"uid":"399f-11","name":"useWindowResize.ts"},{"uid":"399f-13","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"399f-9":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"399f-8"},"399f-11":{"renderedLength":609,"gzipLength":301,"brotliLength":0,"mainUid":"399f-10"},"399f-13":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"399f-12"}},"nodeMetas":{"399f-8":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.module.js":"399f-9"},"imported":[{"uid":"399f-14"}],"importedBy":[{"uid":"399f-12"}]},"399f-10":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.module.js":"399f-11"},"imported":[{"uid":"399f-14"},{"uid":"399f-15"}],"importedBy":[{"uid":"399f-12"}]},"399f-12":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.module.js":"399f-13"},"imported":[{"uid":"399f-8"},{"uid":"399f-10"}],"importedBy":[],"isEntry":true},"399f-14":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"399f-8"},{"uid":"399f-10"}],"isExternal":true},"399f-15":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"399f-10"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6428
6428
 
6429
6429
  const run = () => {
6430
6430
  const width = window.innerWidth;
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
6424
6424
  </script>
6425
6425
  <script>
6426
6426
  /*<!--*/
6427
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.native.js","children":[{"name":"src","children":[{"uid":"93c3-17","name":"useHover.ts"},{"uid":"93c3-19","name":"useWindowResize.ts"},{"uid":"93c3-21","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"93c3-17":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"93c3-16"},"93c3-19":{"renderedLength":635,"gzipLength":313,"brotliLength":0,"mainUid":"93c3-18"},"93c3-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"93c3-20"}},"nodeMetas":{"93c3-16":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.native.js":"93c3-17"},"imported":[{"uid":"93c3-22"}],"importedBy":[{"uid":"93c3-20"}]},"93c3-18":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.native.js":"93c3-19"},"imported":[{"uid":"93c3-22"},{"uid":"93c3-23"}],"importedBy":[{"uid":"93c3-20"}]},"93c3-20":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.native.js":"93c3-21"},"imported":[{"uid":"93c3-16"},{"uid":"93c3-18"}],"importedBy":[],"isEntry":true},"93c3-22":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"93c3-16"},{"uid":"93c3-18"}],"isExternal":true},"93c3-23":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"93c3-18"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6427
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.native.js","children":[{"name":"src","children":[{"uid":"399f-17","name":"useHover.ts"},{"uid":"399f-19","name":"useWindowResize.ts"},{"uid":"399f-21","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"399f-17":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"399f-16"},"399f-19":{"renderedLength":635,"gzipLength":313,"brotliLength":0,"mainUid":"399f-18"},"399f-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"399f-20"}},"nodeMetas":{"399f-16":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.native.js":"399f-17"},"imported":[{"uid":"399f-22"}],"importedBy":[{"uid":"399f-20"}]},"399f-18":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.native.js":"399f-19"},"imported":[{"uid":"399f-22"},{"uid":"399f-23"}],"importedBy":[{"uid":"399f-20"}]},"399f-20":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.native.js":"399f-21"},"imported":[{"uid":"399f-16"},{"uid":"399f-18"}],"importedBy":[],"isEntry":true},"399f-22":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"399f-16"},{"uid":"399f-18"}],"isExternal":true},"399f-23":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"399f-18"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6428
6428
 
6429
6429
  const run = () => {
6430
6430
  const width = window.innerWidth;
package/package.json CHANGED
@@ -1,22 +1,19 @@
1
1
  {
2
2
  "name": "@vitus-labs/hooks",
3
- "version": "0.45.0",
3
+ "version": "0.48.0",
4
4
  "license": "MIT",
5
5
  "author": "Vit Bokisch <vit@bokisch.cz>",
6
6
  "maintainers": [
7
7
  "Vit Bokisch <vit@bokisch.cz>"
8
8
  ],
9
9
  "main": "lib/vitus-labs-hooks.js",
10
- "umd:main": "lib/vitus-labs-hooks.umd.js",
11
10
  "module": "lib/vitus-labs-hooks.module.js",
12
- "typings": "lib/index.d.ts",
13
11
  "browser": {
14
12
  "./lib/vitus-labs-hooks.js": "./lib/vitus-labs-hooks.js",
15
13
  "./lib/vitus-labs-hooks.module.js": "./lib/vitus-labs-hooks.browser.js"
16
14
  },
17
- "unpkg": "lib/vitus-labs-hooks.umd.min.js",
18
- "jsnext:main": "lib/vitus-labs-hooks.module.js",
19
15
  "react-native": "lib/vitus-labs-hooks.native.js",
16
+ "typings": "lib/index.d.ts",
20
17
  "files": [
21
18
  "lib/"
22
19
  ],
@@ -49,10 +46,10 @@
49
46
  "react": ">= 16.8"
50
47
  },
51
48
  "devDependencies": {
52
- "@vitus-labs/core": "^0.45.0",
53
- "@vitus-labs/tools-babel": "^0.28.0",
54
- "@vitus-labs/tools-rollup": "^0.28.0",
55
- "@vitus-labs/tools-typescript": "^0.28.0"
49
+ "@vitus-labs/core": "^0.48.0",
50
+ "@vitus-labs/tools-babel": "^0.29.0",
51
+ "@vitus-labs/tools-rollup": "^0.29.0",
52
+ "@vitus-labs/tools-typescript": "^0.29.0"
56
53
  },
57
- "gitHead": "e1bfc71544ebfb48af761c319853179af006800d"
54
+ "gitHead": "c26b7bba6904509101b59cab931907f6b949ed4b"
58
55
  }