@vitus-labs/hooks 0.68.0 → 0.69.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.
@@ -6618,7 +6618,7 @@ var drawChart = (function (exports) {
6618
6618
  </script>
6619
6619
  <script>
6620
6620
  /*<!--*/
6621
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.browser.js","children":[{"name":"src","children":[{"uid":"7aed-25","name":"useHover.ts"},{"uid":"7aed-27","name":"useWindowResize.ts"},{"uid":"7aed-29","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"7aed-25":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"metaUid":"7aed-24"},"7aed-27":{"renderedLength":875,"gzipLength":329,"brotliLength":0,"metaUid":"7aed-26"},"7aed-29":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"7aed-28"}},"nodeMetas":{"7aed-24":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.browser.js":"7aed-25"},"imported":[{"uid":"7aed-30"}],"importedBy":[{"uid":"7aed-28"}]},"7aed-26":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.browser.js":"7aed-27"},"imported":[{"uid":"7aed-30"},{"uid":"7aed-31"}],"importedBy":[{"uid":"7aed-28"}]},"7aed-28":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.browser.js":"7aed-29"},"imported":[{"uid":"7aed-24"},{"uid":"7aed-26"}],"importedBy":[],"isEntry":true},"7aed-30":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"7aed-24"},{"uid":"7aed-26"}],"isExternal":true},"7aed-31":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"7aed-26"}],"isExternal":true}},"env":{"rollup":"3.9.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6621
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.browser.js","children":[{"name":"src","children":[{"uid":"f5f1-25","name":"useHover.ts"},{"uid":"f5f1-27","name":"useWindowResize.ts"},{"uid":"f5f1-29","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f5f1-25":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"metaUid":"f5f1-24"},"f5f1-27":{"renderedLength":875,"gzipLength":329,"brotliLength":0,"metaUid":"f5f1-26"},"f5f1-29":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"f5f1-28"}},"nodeMetas":{"f5f1-24":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.browser.js":"f5f1-25"},"imported":[{"uid":"f5f1-30"}],"importedBy":[{"uid":"f5f1-28"}]},"f5f1-26":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.browser.js":"f5f1-27"},"imported":[{"uid":"f5f1-30"},{"uid":"f5f1-31"}],"importedBy":[{"uid":"f5f1-28"}]},"f5f1-28":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.browser.js":"f5f1-29"},"imported":[{"uid":"f5f1-24"},{"uid":"f5f1-26"}],"importedBy":[],"isEntry":true},"f5f1-30":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"f5f1-24"},{"uid":"f5f1-26"}],"isExternal":true},"f5f1-31":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"f5f1-26"}],"isExternal":true}},"env":{"rollup":"3.10.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6622
6622
 
6623
6623
  const run = () => {
6624
6624
  const width = window.innerWidth;
@@ -6618,7 +6618,7 @@ var drawChart = (function (exports) {
6618
6618
  </script>
6619
6619
  <script>
6620
6620
  /*<!--*/
6621
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.js","children":[{"name":"src","children":[{"uid":"7aed-1","name":"useHover.ts"},{"uid":"7aed-3","name":"useWindowResize.ts"},{"uid":"7aed-5","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"7aed-1":{"renderedLength":351,"gzipLength":184,"brotliLength":0,"metaUid":"7aed-0"},"7aed-3":{"renderedLength":892,"gzipLength":337,"brotliLength":0,"metaUid":"7aed-2"},"7aed-5":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"7aed-4"}},"nodeMetas":{"7aed-0":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.js":"7aed-1"},"imported":[{"uid":"7aed-6"}],"importedBy":[{"uid":"7aed-4"}]},"7aed-2":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.js":"7aed-3"},"imported":[{"uid":"7aed-6"},{"uid":"7aed-7"}],"importedBy":[{"uid":"7aed-4"}]},"7aed-4":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.js":"7aed-5"},"imported":[{"uid":"7aed-0"},{"uid":"7aed-2"}],"importedBy":[],"isEntry":true},"7aed-6":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"7aed-0"},{"uid":"7aed-2"}],"isExternal":true},"7aed-7":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"7aed-2"}],"isExternal":true}},"env":{"rollup":"3.9.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6621
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.js","children":[{"name":"src","children":[{"uid":"f5f1-1","name":"useHover.ts"},{"uid":"f5f1-3","name":"useWindowResize.ts"},{"uid":"f5f1-5","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f5f1-1":{"renderedLength":351,"gzipLength":184,"brotliLength":0,"metaUid":"f5f1-0"},"f5f1-3":{"renderedLength":892,"gzipLength":337,"brotliLength":0,"metaUid":"f5f1-2"},"f5f1-5":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"f5f1-4"}},"nodeMetas":{"f5f1-0":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.js":"f5f1-1"},"imported":[{"uid":"f5f1-6"}],"importedBy":[{"uid":"f5f1-4"}]},"f5f1-2":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.js":"f5f1-3"},"imported":[{"uid":"f5f1-6"},{"uid":"f5f1-7"}],"importedBy":[{"uid":"f5f1-4"}]},"f5f1-4":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.js":"f5f1-5"},"imported":[{"uid":"f5f1-0"},{"uid":"f5f1-2"}],"importedBy":[],"isEntry":true},"f5f1-6":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"f5f1-0"},{"uid":"f5f1-2"}],"isExternal":true},"f5f1-7":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"f5f1-2"}],"isExternal":true}},"env":{"rollup":"3.10.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6622
6622
 
6623
6623
  const run = () => {
6624
6624
  const width = window.innerWidth;
@@ -6618,7 +6618,7 @@ var drawChart = (function (exports) {
6618
6618
  </script>
6619
6619
  <script>
6620
6620
  /*<!--*/
6621
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.module.js","children":[{"name":"src","children":[{"uid":"7aed-9","name":"useHover.ts"},{"uid":"7aed-11","name":"useWindowResize.ts"},{"uid":"7aed-13","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"7aed-9":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"metaUid":"7aed-8"},"7aed-11":{"renderedLength":875,"gzipLength":329,"brotliLength":0,"metaUid":"7aed-10"},"7aed-13":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"7aed-12"}},"nodeMetas":{"7aed-8":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.module.js":"7aed-9"},"imported":[{"uid":"7aed-14"}],"importedBy":[{"uid":"7aed-12"}]},"7aed-10":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.module.js":"7aed-11"},"imported":[{"uid":"7aed-14"},{"uid":"7aed-15"}],"importedBy":[{"uid":"7aed-12"}]},"7aed-12":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.module.js":"7aed-13"},"imported":[{"uid":"7aed-8"},{"uid":"7aed-10"}],"importedBy":[],"isEntry":true},"7aed-14":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"7aed-8"},{"uid":"7aed-10"}],"isExternal":true},"7aed-15":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"7aed-10"}],"isExternal":true}},"env":{"rollup":"3.9.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6621
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.module.js","children":[{"name":"src","children":[{"uid":"f5f1-9","name":"useHover.ts"},{"uid":"f5f1-11","name":"useWindowResize.ts"},{"uid":"f5f1-13","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f5f1-9":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"metaUid":"f5f1-8"},"f5f1-11":{"renderedLength":875,"gzipLength":329,"brotliLength":0,"metaUid":"f5f1-10"},"f5f1-13":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"f5f1-12"}},"nodeMetas":{"f5f1-8":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.module.js":"f5f1-9"},"imported":[{"uid":"f5f1-14"}],"importedBy":[{"uid":"f5f1-12"}]},"f5f1-10":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.module.js":"f5f1-11"},"imported":[{"uid":"f5f1-14"},{"uid":"f5f1-15"}],"importedBy":[{"uid":"f5f1-12"}]},"f5f1-12":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.module.js":"f5f1-13"},"imported":[{"uid":"f5f1-8"},{"uid":"f5f1-10"}],"importedBy":[],"isEntry":true},"f5f1-14":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"f5f1-8"},{"uid":"f5f1-10"}],"isExternal":true},"f5f1-15":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"f5f1-10"}],"isExternal":true}},"env":{"rollup":"3.10.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6622
6622
 
6623
6623
  const run = () => {
6624
6624
  const width = window.innerWidth;
@@ -6618,7 +6618,7 @@ var drawChart = (function (exports) {
6618
6618
  </script>
6619
6619
  <script>
6620
6620
  /*<!--*/
6621
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.native.js","children":[{"name":"src","children":[{"uid":"7aed-17","name":"useHover.ts"},{"uid":"7aed-19","name":"useWindowResize.ts"},{"uid":"7aed-21","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"7aed-17":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"metaUid":"7aed-16"},"7aed-19":{"renderedLength":875,"gzipLength":329,"brotliLength":0,"metaUid":"7aed-18"},"7aed-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"7aed-20"}},"nodeMetas":{"7aed-16":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.native.js":"7aed-17"},"imported":[{"uid":"7aed-22"}],"importedBy":[{"uid":"7aed-20"}]},"7aed-18":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.native.js":"7aed-19"},"imported":[{"uid":"7aed-22"},{"uid":"7aed-23"}],"importedBy":[{"uid":"7aed-20"}]},"7aed-20":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.native.js":"7aed-21"},"imported":[{"uid":"7aed-16"},{"uid":"7aed-18"}],"importedBy":[],"isEntry":true},"7aed-22":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"7aed-16"},{"uid":"7aed-18"}],"isExternal":true},"7aed-23":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"7aed-18"}],"isExternal":true}},"env":{"rollup":"3.9.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6621
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-hooks.native.js","children":[{"name":"src","children":[{"uid":"f5f1-17","name":"useHover.ts"},{"uid":"f5f1-19","name":"useWindowResize.ts"},{"uid":"f5f1-21","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f5f1-17":{"renderedLength":333,"gzipLength":179,"brotliLength":0,"metaUid":"f5f1-16"},"f5f1-19":{"renderedLength":875,"gzipLength":329,"brotliLength":0,"metaUid":"f5f1-18"},"f5f1-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"f5f1-20"}},"nodeMetas":{"f5f1-16":{"id":"/src/useHover.ts","moduleParts":{"vitus-labs-hooks.native.js":"f5f1-17"},"imported":[{"uid":"f5f1-22"}],"importedBy":[{"uid":"f5f1-20"}]},"f5f1-18":{"id":"/src/useWindowResize.ts","moduleParts":{"vitus-labs-hooks.native.js":"f5f1-19"},"imported":[{"uid":"f5f1-22"},{"uid":"f5f1-23"}],"importedBy":[{"uid":"f5f1-20"}]},"f5f1-20":{"id":"/src/index.ts","moduleParts":{"vitus-labs-hooks.native.js":"f5f1-21"},"imported":[{"uid":"f5f1-16"},{"uid":"f5f1-18"}],"importedBy":[],"isEntry":true},"f5f1-22":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"f5f1-16"},{"uid":"f5f1-18"}],"isExternal":true},"f5f1-23":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"f5f1-18"}],"isExternal":true}},"env":{"rollup":"3.10.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6622
6622
 
6623
6623
  const run = () => {
6624
6624
  const width = window.innerWidth;
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var react = require('react');
4
6
  var core = require('@vitus-labs/core');
5
7
 
@@ -1 +1 @@
1
- {"version":3,"file":"vitus-labs-hooks.js","sources":["../src/useHover.ts","../src/useWindowResize.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type UseHover = (initialValue?: boolean) => {\n hover: boolean\n onMouseEnter: () => void\n onMouseLeave: () => void\n}\n\nconst useHover: UseHover = (initial = false) => {\n const [hover, handleHover] = useState(initial)\n\n const setHover = useCallback(() => handleHover(true), [])\n const unsetHover = useCallback(() => handleHover(false), [])\n\n return {\n hover,\n onMouseEnter: setHover,\n onMouseLeave: unsetHover,\n }\n}\n\nexport default useHover\n","import { useState, useEffect } from 'react'\nimport { throttle } from '@vitus-labs/core'\n\ntype Sizes = {\n width: number\n height: number\n}\n\nexport type UseWindowResize = (\n params: Partial<{\n throttleDelay: number\n onChange: (params: Sizes) => void\n }>,\n initialValues?: Partial<Sizes>\n) => Sizes\n\nconst useWindowResize: UseWindowResize = (\n { throttleDelay = 200, onChange },\n { width = 0, height = 0 } = {}\n) => {\n const [windowSize, setWindowSize] = useState({ width, height })\n\n useEffect(() => {\n const getSize = () => ({\n width: window.innerWidth,\n height: window.innerHeight,\n })\n\n const calculatedSize = getSize()\n\n setWindowSize(calculatedSize)\n\n if (onChange) {\n onChange(calculatedSize)\n }\n\n const handleResize = throttle(() => {\n setWindowSize(getSize())\n if (onChange) {\n onChange(calculatedSize)\n }\n }, throttleDelay)\n\n window.addEventListener('resize', handleResize, false)\n\n return () => window.removeEventListener('resize', handleResize, false)\n }, [throttleDelay])\n\n return windowSize\n}\n\nexport default useWindowResize\n"],"names":["useState","useCallback","useEffect","throttle"],"mappings":";;;;;AAQA,MAAM,QAAQ,GAAa,CAAC,OAAO,GAAG,KAAK,KAAI;IAC7C,MAAM,CAAC,KAAK,EAAE,WAAW,CAAC,GAAGA,cAAQ,CAAC,OAAO,CAAC,CAAA;AAE9C,IAAA,MAAM,QAAQ,GAAGC,iBAAW,CAAC,MAAM,WAAW,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAA;AACzD,IAAA,MAAM,UAAU,GAAGA,iBAAW,CAAC,MAAM,WAAW,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC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ize.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\nexport type UseHover = (initialValue?: boolean) => {\n hover: boolean\n onMouseEnter: () => void\n onMouseLeave: () => void\n}\n\nconst useHover: UseHover = (initial = false) => {\n const [hover, handleHover] = useState(initial)\n\n const setHover = useCallback(() => handleHover(true), [])\n const unsetHover = useCallback(() => handleHover(false), [])\n\n return {\n hover,\n onMouseEnter: setHover,\n onMouseLeave: unsetHover,\n }\n}\n\nexport default useHover\n","import { useState, useEffect } from 'react'\nimport { throttle } from '@vitus-labs/core'\n\ntype Sizes = {\n width: number\n height: number\n}\n\nexport type UseWindowResize = (\n params: Partial<{\n throttleDelay: number\n onChange: (params: Sizes) => void\n }>,\n initialValues?: Partial<Sizes>\n) => Sizes\n\nconst useWindowResize: UseWindowResize = (\n { throttleDelay = 200, onChange },\n { width = 0, height = 0 } = {}\n) => {\n const [windowSize, setWindowSize] = useState({ width, height })\n\n useEffect(() => {\n const getSize = () => ({\n width: window.innerWidth,\n height: window.innerHeight,\n })\n\n const calculatedSize = getSize()\n\n setWindowSize(calculatedSize)\n\n if (onChange) {\n onChange(calculatedSize)\n }\n\n const handleResize = throttle(() => {\n setWindowSize(getSize())\n if (onChange) {\n onChange(calculatedSize)\n }\n }, throttleDelay)\n\n window.addEventListener('resize', handleResize, false)\n\n return () => window.removeEventListener('resize', handleResize, false)\n }, [throttleDelay])\n\n return windowSize\n}\n\nexport default useWindowResize\n"],"names":["useState","useCallback","useEffect","throttle"],"mappings":";;;;;;;AAQA,MAAM,QAAQ,GAAa,CAAC,OAAO,GAAG,KAAK,KAAI;IAC7C,MAAM,CAAC,KAAK,EAAE,WAAW,CAAC,GAAGA,cAAQ,CAAC,OAAO,CAAC,CAAA;AAE9C,IAAA,MAAM,QAAQ,GAAGC,iBAAW,CAAC,MAAM,WAAW,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAA;AACzD,IAAA,MAAM,UAAU,GAAGA,iBAAW,CAAC,MAAM,WAAW,CAAC,KA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1
1
  {
2
2
  "name": "@vitus-labs/hooks",
3
- "version": "0.68.0",
3
+ "version": "0.69.0",
4
4
  "license": "MIT",
5
5
  "author": "Vit Bokisch <vit@bokisch.cz>",
6
6
  "maintainers": [
@@ -47,11 +47,11 @@
47
47
  "react": ">= 16.8"
48
48
  },
49
49
  "devDependencies": {
50
- "@vitus-labs/core": "^0.68.0",
51
- "@vitus-labs/tools-babel": "^0.40.0",
52
- "@vitus-labs/tools-rollup": "^0.40.0",
53
- "@vitus-labs/tools-storybook": "^0.40.0",
54
- "@vitus-labs/tools-typescript": "^0.40.0"
50
+ "@vitus-labs/core": "^0.69.0",
51
+ "@vitus-labs/tools-babel": "^0.41.0",
52
+ "@vitus-labs/tools-rollup": "^0.41.0",
53
+ "@vitus-labs/tools-storybook": "^0.41.0",
54
+ "@vitus-labs/tools-typescript": "^0.41.0"
55
55
  },
56
- "gitHead": "545817d875cd2ca002758309789ac72e16efa704"
56
+ "gitHead": "48c553917e06c82dadabaf94b8d6d87be1df200f"
57
57
  }