@os-design/utils
Advanced tools
Comparing version 1.0.29 to 1.0.30
@@ -10,2 +10,3 @@ "use strict"; | ||
isTouchDevice: true, | ||
omitEmotionProps: true, | ||
useBodyScroll: true, | ||
@@ -35,2 +36,8 @@ useBrowserLayoutEffect: true, | ||
}); | ||
Object.defineProperty(exports, "omitEmotionProps", { | ||
enumerable: true, | ||
get: function get() { | ||
return _omitEmotionProps["default"]; | ||
} | ||
}); | ||
Object.defineProperty(exports, "useBodyScroll", { | ||
@@ -141,2 +148,4 @@ enumerable: true, | ||
var _omitEmotionProps = _interopRequireDefault(require("@os-design/omit-emotion-props")); | ||
var _useBodyScroll = _interopRequireDefault(require("@os-design/use-body-scroll")); | ||
@@ -143,0 +152,0 @@ |
export { default as isTouchDevice } from '@os-design/is-touch-device'; | ||
export { default as omitEmotionProps } from '@os-design/omit-emotion-props'; | ||
export { default as useBodyScroll } from '@os-design/use-body-scroll'; | ||
@@ -3,0 +4,0 @@ export { default as useBrowserLayoutEffect } from '@os-design/use-browser-layout-effect'; |
export { default as isTouchDevice } from '@os-design/is-touch-device'; | ||
export { default as omitEmotionProps } from '@os-design/omit-emotion-props'; | ||
export { default as useBodyScroll } from '@os-design/use-body-scroll'; | ||
@@ -3,0 +4,0 @@ export { default as useBrowserLayoutEffect } from '@os-design/use-browser-layout-effect'; |
{ | ||
"name": "@os-design/utils", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"license": "UNLICENSED", | ||
@@ -32,6 +32,7 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git", | ||
"@os-design/is-touch-device": "^1.0.2", | ||
"@os-design/omit-emotion-props": "^1.0.0", | ||
"@os-design/use-body-scroll": "^1.0.2", | ||
"@os-design/use-browser-layout-effect": "^1.0.2", | ||
"@os-design/use-click-outside": "^1.0.2", | ||
"@os-design/use-closable": "^1.0.2", | ||
"@os-design/use-closable": "^1.0.3", | ||
"@os-design/use-debounce": "^1.0.2", | ||
@@ -54,3 +55,3 @@ "@os-design/use-event": "^1.0.2", | ||
}, | ||
"gitHead": "ff3ab9d2b1e4c7387c51f1469e5df9b8d7b2b746" | ||
"gitHead": "ccf9e434dfb25be42e43f5374aff2090e4b68adb" | ||
} |
@@ -6,2 +6,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. [isTouchDevice](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/is-touch-device) – Detects whether the client device is touch-enabled. | ||
1. [omitEmotionProps](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/omit-emotion-props) – Disables forwarding the specified properties to the element. | ||
1. [useBodyScroll](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-body-scroll) – Enables or disables scrolling of the body element. | ||
@@ -8,0 +9,0 @@ 1. [useBrowserLayoutEffect](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-browser-layout-effect) – Mocks the useLayoutEffect on the server side. |
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
20608
216
36
20
+ Added@os-design/omit-emotion-props@1.0.19(transitive)