@vitus-labs/hooks 0.47.0 → 0.50.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":"a5ab-41","name":"useHover.ts"},{"uid":"a5ab-43","name":"useWindowResize.ts"},{"uid":"a5ab-45","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"a5ab-41":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"a5ab-40"},"a5ab-43":{"renderedLength":635,"gzipLength":313,"brotliLength":0,"mainUid":"a5ab-42"},"a5ab-45":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"a5ab-44"}},"nodeMetas":{"a5ab-40":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.browser.js":"a5ab-41"},"imported":[{"uid":"a5ab-46"}],"importedBy":[{"uid":"a5ab-44"}]},"a5ab-42":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.browser.js":"a5ab-43"},"imported":[{"uid":"a5ab-46"},{"uid":"a5ab-47"}],"importedBy":[{"uid":"a5ab-44"}]},"a5ab-44":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.browser.js":"a5ab-45"},"imported":[{"uid":"a5ab-40"},{"uid":"a5ab-42"}],"importedBy":[],"isEntry":true},"a5ab-46":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"a5ab-40"},{"uid":"a5ab-42"}],"isExternal":true},"a5ab-47":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"a5ab-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":"cc5c-25","name":"useHover.ts"},{"uid":"cc5c-27","name":"useWindowResize.ts"},{"uid":"cc5c-29","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cc5c-25":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"cc5c-24"},"cc5c-27":{"renderedLength":635,"gzipLength":313,"brotliLength":0,"mainUid":"cc5c-26"},"cc5c-29":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cc5c-28"}},"nodeMetas":{"cc5c-24":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.browser.js":"cc5c-25"},"imported":[{"uid":"cc5c-30"}],"importedBy":[{"uid":"cc5c-28"}]},"cc5c-26":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.browser.js":"cc5c-27"},"imported":[{"uid":"cc5c-30"},{"uid":"cc5c-31"}],"importedBy":[{"uid":"cc5c-28"}]},"cc5c-28":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.browser.js":"cc5c-29"},"imported":[{"uid":"cc5c-24"},{"uid":"cc5c-26"}],"importedBy":[],"isEntry":true},"cc5c-30":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cc5c-24"},{"uid":"cc5c-26"}],"isExternal":true},"cc5c-31":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cc5c-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":"a5ab-1","name":"useHover.ts"},{"uid":"a5ab-3","name":"useWindowResize.ts"},{"uid":"a5ab-5","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"a5ab-1":{"renderedLength":351,"gzipLength":184,"brotliLength":0,"mainUid":"a5ab-0"},"a5ab-3":{"renderedLength":486,"gzipLength":267,"brotliLength":0,"mainUid":"a5ab-2"},"a5ab-5":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"a5ab-4"}},"nodeMetas":{"a5ab-0":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.js":"a5ab-1"},"imported":[{"uid":"a5ab-6"}],"importedBy":[{"uid":"a5ab-4"}]},"a5ab-2":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.js":"a5ab-3"},"imported":[{"uid":"a5ab-6"},{"uid":"a5ab-7"}],"importedBy":[{"uid":"a5ab-4"}]},"a5ab-4":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.js":"a5ab-5"},"imported":[{"uid":"a5ab-0"},{"uid":"a5ab-2"}],"importedBy":[],"isEntry":true},"a5ab-6":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"a5ab-0"},{"uid":"a5ab-2"}],"isExternal":true},"a5ab-7":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"a5ab-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":"cc5c-1","name":"useHover.ts"},{"uid":"cc5c-3","name":"useWindowResize.ts"},{"uid":"cc5c-5","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cc5c-1":{"renderedLength":351,"gzipLength":184,"brotliLength":0,"mainUid":"cc5c-0"},"cc5c-3":{"renderedLength":486,"gzipLength":267,"brotliLength":0,"mainUid":"cc5c-2"},"cc5c-5":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cc5c-4"}},"nodeMetas":{"cc5c-0":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.js":"cc5c-1"},"imported":[{"uid":"cc5c-6"}],"importedBy":[{"uid":"cc5c-4"}]},"cc5c-2":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.js":"cc5c-3"},"imported":[{"uid":"cc5c-6"},{"uid":"cc5c-7"}],"importedBy":[{"uid":"cc5c-4"}]},"cc5c-4":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.js":"cc5c-5"},"imported":[{"uid":"cc5c-0"},{"uid":"cc5c-2"}],"importedBy":[],"isEntry":true},"cc5c-6":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cc5c-0"},{"uid":"cc5c-2"}],"isExternal":true},"cc5c-7":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cc5c-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":"a5ab-9","name":"useHover.ts"},{"uid":"a5ab-11","name":"useWindowResize.ts"},{"uid":"a5ab-13","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"a5ab-9":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"a5ab-8"},"a5ab-11":{"renderedLength":609,"gzipLength":301,"brotliLength":0,"mainUid":"a5ab-10"},"a5ab-13":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"a5ab-12"}},"nodeMetas":{"a5ab-8":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.module.js":"a5ab-9"},"imported":[{"uid":"a5ab-14"}],"importedBy":[{"uid":"a5ab-12"}]},"a5ab-10":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.module.js":"a5ab-11"},"imported":[{"uid":"a5ab-14"},{"uid":"a5ab-15"}],"importedBy":[{"uid":"a5ab-12"}]},"a5ab-12":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.module.js":"a5ab-13"},"imported":[{"uid":"a5ab-8"},{"uid":"a5ab-10"}],"importedBy":[],"isEntry":true},"a5ab-14":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"a5ab-8"},{"uid":"a5ab-10"}],"isExternal":true},"a5ab-15":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"a5ab-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":"cc5c-9","name":"useHover.ts"},{"uid":"cc5c-11","name":"useWindowResize.ts"},{"uid":"cc5c-13","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cc5c-9":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"cc5c-8"},"cc5c-11":{"renderedLength":609,"gzipLength":301,"brotliLength":0,"mainUid":"cc5c-10"},"cc5c-13":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cc5c-12"}},"nodeMetas":{"cc5c-8":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.module.js":"cc5c-9"},"imported":[{"uid":"cc5c-14"}],"importedBy":[{"uid":"cc5c-12"}]},"cc5c-10":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.module.js":"cc5c-11"},"imported":[{"uid":"cc5c-14"},{"uid":"cc5c-15"}],"importedBy":[{"uid":"cc5c-12"}]},"cc5c-12":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.module.js":"cc5c-13"},"imported":[{"uid":"cc5c-8"},{"uid":"cc5c-10"}],"importedBy":[],"isEntry":true},"cc5c-14":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cc5c-8"},{"uid":"cc5c-10"}],"isExternal":true},"cc5c-15":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cc5c-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":"a5ab-17","name":"useHover.ts"},{"uid":"a5ab-19","name":"useWindowResize.ts"},{"uid":"a5ab-21","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"a5ab-17":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"a5ab-16"},"a5ab-19":{"renderedLength":635,"gzipLength":313,"brotliLength":0,"mainUid":"a5ab-18"},"a5ab-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"a5ab-20"}},"nodeMetas":{"a5ab-16":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.native.js":"a5ab-17"},"imported":[{"uid":"a5ab-22"}],"importedBy":[{"uid":"a5ab-20"}]},"a5ab-18":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.native.js":"a5ab-19"},"imported":[{"uid":"a5ab-22"},{"uid":"a5ab-23"}],"importedBy":[{"uid":"a5ab-20"}]},"a5ab-20":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.native.js":"a5ab-21"},"imported":[{"uid":"a5ab-16"},{"uid":"a5ab-18"}],"importedBy":[],"isEntry":true},"a5ab-22":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"a5ab-16"},{"uid":"a5ab-18"}],"isExternal":true},"a5ab-23":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"a5ab-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":"cc5c-17","name":"useHover.ts"},{"uid":"cc5c-19","name":"useWindowResize.ts"},{"uid":"cc5c-21","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cc5c-17":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"mainUid":"cc5c-16"},"cc5c-19":{"renderedLength":635,"gzipLength":313,"brotliLength":0,"mainUid":"cc5c-18"},"cc5c-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cc5c-20"}},"nodeMetas":{"cc5c-16":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.native.js":"cc5c-17"},"imported":[{"uid":"cc5c-22"}],"importedBy":[{"uid":"cc5c-20"}]},"cc5c-18":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.native.js":"cc5c-19"},"imported":[{"uid":"cc5c-22"},{"uid":"cc5c-23"}],"importedBy":[{"uid":"cc5c-20"}]},"cc5c-20":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.native.js":"cc5c-21"},"imported":[{"uid":"cc5c-16"},{"uid":"cc5c-18"}],"importedBy":[],"isEntry":true},"cc5c-22":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cc5c-16"},{"uid":"cc5c-18"}],"isExternal":true},"cc5c-23":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cc5c-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.47.0",
3
+ "version": "0.50.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.47.0",
49
+ "@vitus-labs/core": "^0.50.0",
53
50
  "@vitus-labs/tools-babel": "^0.29.0",
54
51
  "@vitus-labs/tools-rollup": "^0.29.0",
55
52
  "@vitus-labs/tools-typescript": "^0.29.0"
56
53
  },
57
- "gitHead": "1f04392331f12730ff81b0d25172e87118e93376"
54
+ "gitHead": "570cf9e3e530f7ab30250862f25fe88e7bf8d291"
58
55
  }