Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@os-design/utils

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/utils - npm Package Compare versions

Comparing version 1.0.60 to 1.0.61

4

package.json
{
"name": "@os-design/utils",
"version": "1.0.60",
"version": "1.0.61",
"license": "UNLICENSED",

@@ -63,3 +63,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git",

},
"gitHead": "0e88d3afc41e36cee61222a039ef1aa4d08115b5"
"gitHead": "bbd193f118a3128033d4d99ffcb4e96fe06f0dba"
}

@@ -5,29 +5,29 @@ # @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. [ErrorBoundary](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/error-boundary) – The Error Boundary component. Fully supports Relay (useQueryLoader/loadQuery, useLazyLoadQuery).
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. [useAutoScroll](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-auto-scroll) – Auto scrolls if the cursor is near the border of the scrollable element. It works on both mouse and touch devices.
1. [useBodyScroll](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-body-scroll) – Enables or disables scrolling of the body element.
1. [useBrowserLayoutEffect](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-browser-layout-effect) – Mocks the useLayoutEffect on the server side.
1. [useClickOutside](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-click-outside) – Sets the listener that will be called when the click event occurs outside the target element.
1. [useClosable](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-closable) – Sets the closed state to true after a delay to apply the fade out animation.
1. [useCursorPosition](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-cursor-position) – Returns the position of the cursor. It works on both mouse and touch devices.
1. [useDebounce](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-debounce) – The callback function will be called only when N ms has elapsed after the last call attempt.
1. [useDrag](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-drag) – Handles the drag gesture. On touch devices, the event is triggered by a long press. Otherwise, when you click on the element and start dragging it.
1. [useEvent](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-event) – Sets the listener that will be called whenever the specified event occurs.
1. [useFontSize](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-font-size) – Computes the font size of the element.
1. [useForwardedRef](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-forwarded-ref) – Allows to use the forwardedRef.
1. [useForwardedState](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-forwarded-state) – Uses the inner state if the passed value is undefined.
1. [useInterval](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-interval) – The hook to use the setInterval function.
1. [useKeyPress](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-key-press) – Sets the listener that will be called whenever the key down event occurs.
1. [useLongPress](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-long-press) – Sets the listener that will be called whenever the long press event occurs. It only works on touch devices.
1. [useMemoObject](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-memo-object) – Reuse the previous version of an object value unless it has changed.
1. [usePreventDefaultEvent](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-prevent-default-event) – Prevents the default action of the specified event.
1. [usePrevious](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-previous) – Returns the previous value.
1. [useResizeObserver](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-resize-observer) – Sets the listener that will be called whenever the resize event of an element occurs.
1. [useSafeAreaInset](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-safe-area-inset) – Calculates the safe area inset.
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.
1. [useVh](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-vh) – Sets the --vh css variable.
1. [ErrorBoundary](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/error-boundary) – The Error Boundary component. Fully supports Relay (useQueryLoader/loadQuery, useLazyLoadQuery).
1. [isTouchDevice](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/is-touch-device) – Detects whether the client device is touch-enabled.
1. [omitEmotionProps](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/omit-emotion-props) – Disables forwarding the specified properties to the element.
1. [useAutoScroll](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-auto-scroll) – Auto scrolls if the cursor is near the border of the scrollable element. It works on both mouse and touch devices.
1. [useBodyScroll](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-body-scroll) – Enables or disables scrolling of the body element.
1. [useBrowserLayoutEffect](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-browser-layout-effect) – Mocks the useLayoutEffect on the server side.
1. [useClickOutside](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-click-outside) – Sets the listener that will be called when the click event occurs outside the target element.
1. [useClosable](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-closable) – Sets the closed state to true after a delay to apply the fade out animation.
1. [useCursorPosition](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-cursor-position) – Returns the position of the cursor. It works on both mouse and touch devices.
1. [useDebounce](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-debounce) – The callback function will be called only when N ms has elapsed after the last call attempt.
1. [useDrag](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-drag) – Handles the drag gesture. On touch devices, the event is triggered by a long press. Otherwise, when you click on the element and start dragging it.
1. [useEvent](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-event) – Sets the listener that will be called whenever the specified event occurs.
1. [useFontSize](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-font-size) – Computes the font size of the element.
1. [useForwardedRef](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-forwarded-ref) – Allows to use the forwardedRef.
1. [useForwardedState](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-forwarded-state) – Uses the inner state if the passed value is undefined.
1. [useInterval](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-interval) – The hook to use the setInterval function.
1. [useKeyPress](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-key-press) – Sets the listener that will be called whenever the key down event occurs.
1. [useLongPress](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-long-press) – Sets the listener that will be called whenever the long press event occurs. It only works on touch devices.
1. [useMemoObject](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-memo-object) – Reuse the previous version of an object value unless it has changed.
1. [usePreventDefaultEvent](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-prevent-default-event) – Prevents the default action of the specified event.
1. [usePrevious](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-previous) – Returns the previous value.
1. [useResizeObserver](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-resize-observer) – Sets the listener that will be called whenever the resize event of an element occurs.
1. [useSafeAreaInset](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-safe-area-inset) – Calculates the safe area inset.
1. [useSize](https://gitlab.com/os-team/libs/os-design/-/tree/main/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/main/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/main/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.
1. [useVh](https://gitlab.com/os-team/libs/os-design/-/tree/main/packages/use-vh) – Sets the --vh css variable.

@@ -34,0 +34,0 @@ ## Installation

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc