@os-design/utils
Advanced tools
Comparing version 1.0.36 to 1.0.37
@@ -28,2 +28,3 @@ "use strict"; | ||
useSize: true, | ||
useSwipe: true, | ||
useThrottle: true, | ||
@@ -146,2 +147,8 @@ useVh: true | ||
}); | ||
Object.defineProperty(exports, "useSwipe", { | ||
enumerable: true, | ||
get: function get() { | ||
return _useSwipe["default"]; | ||
} | ||
}); | ||
Object.defineProperty(exports, "useThrottle", { | ||
@@ -222,2 +229,4 @@ enumerable: true, | ||
var _useSwipe = _interopRequireDefault(require("@os-design/use-swipe")); | ||
var _useThrottle = _interopRequireDefault(require("@os-design/use-throttle")); | ||
@@ -224,0 +233,0 @@ |
@@ -20,2 +20,3 @@ export { default as ErrorBoundary } from '@os-design/error-boundary'; | ||
export { default as useSize } from '@os-design/use-size'; | ||
export { default as useSwipe } from '@os-design/use-swipe'; | ||
export { default as useThrottle } from '@os-design/use-throttle'; | ||
@@ -22,0 +23,0 @@ export { default as useVh } from '@os-design/use-vh'; |
@@ -20,2 +20,3 @@ export { default as ErrorBoundary } from '@os-design/error-boundary'; | ||
export { default as useSize } from '@os-design/use-size'; | ||
export { default as useSwipe } from '@os-design/use-swipe'; | ||
export { default as useThrottle } from '@os-design/use-throttle'; | ||
@@ -22,0 +23,0 @@ export { default as useVh } from '@os-design/use-vh'; |
{ | ||
"name": "@os-design/utils", | ||
"version": "1.0.36", | ||
"version": "1.0.37", | ||
"license": "UNLICENSED", | ||
@@ -50,2 +50,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git", | ||
"@os-design/use-size": "^1.0.2", | ||
"@os-design/use-swipe": "^1.0.0", | ||
"@os-design/use-throttle": "^1.0.3", | ||
@@ -57,3 +58,3 @@ "@os-design/use-vh": "^1.0.2" | ||
}, | ||
"gitHead": "5383515d2c5677ac243ff482c1230a30d983efd7" | ||
"gitHead": "c4460f4f48cf5e973216fa7d2c5e1dd5adfeaab1" | ||
} |
@@ -24,2 +24,3 @@ # @os-design/utils [![NPM version](https://img.shields.io/npm/v/@os-design/utils)](https://yarnpkg.com/package/@os-design/utils) [![BundlePhobia](https://img.shields.io/bundlephobia/minzip/@os-design/utils)](https://bundlephobia.com/result?p=@os-design/utils) | ||
1. [useSize](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-size) – Returns the width and height of the container. By default, the container is window. | ||
1. [useSwipe](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-swipe) – Allows you to implement the swipe gesture in any container. It only works on touch devices. | ||
1. [useThrottle](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-throttle) – The callback function will be called no more than once during the N ms, even if it is called many times during that period. | ||
@@ -26,0 +27,0 @@ 1. [useVh](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-vh) – Sets the --vh css variable. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23971
260
39
23
+ Added@os-design/use-swipe@^1.0.0
+ Added@os-design/use-swipe@1.0.19(transitive)