Socket
Socket
Sign inDemoInstall

reakit-system

Package Overview
Dependencies
9
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.14.4 to 0.15.0-alpha.0

6

package.json
{
"name": "reakit-system",
"version": "0.14.4",
"version": "0.15.0-alpha.0",
"description": "Reakit System utils",

@@ -34,3 +34,3 @@ "sideEffects": false,

"dependencies": {
"reakit-utils": "0.14.3"
"reakit-utils": "^0.15.0-alpha.0"
},

@@ -41,3 +41,3 @@ "peerDependencies": {

},
"gitHead": "51f8f141ea1e5069c71a631853d5af6d897687bb"
"gitHead": "76c913732b1f522367ac7b2876a1bc133b7090d2"
}

@@ -24,6 +24,6 @@ # reakit-system

```jsx
import { useBox } from "reakit/Box";
import { useRole } from "reakit/Role";
import { createHook } from "reakit-system";
const useA = createHook({ name: "A", compose: useBox });
const useA = createHook({ name: "A", compose: useRole });
```

@@ -30,0 +30,0 @@

@@ -9,3 +9,3 @@ import * as React from "react";

type BoxHTMLProps = React.HTMLAttributes<any> &
type RoleHTMLProps = React.HTMLAttributes<any> &
React.RefAttributes<any> & {

@@ -16,3 +16,3 @@ wrapElement?: (element: React.ReactNode) => React.ReactNode;

type Hook<O> = {
(options?: O, props?: BoxHTMLProps): BoxHTMLProps;
(options?: O, props?: RoleHTMLProps): RoleHTMLProps;
unstable_propsAreEqual?: (prev: O, next: O) => boolean;

@@ -19,0 +19,0 @@ __keys?: ReadonlyArray<any>;

import * as React from "react";
import { As, PropsWithAs } from "reakit-utils/types";
declare type BoxHTMLProps = React.HTMLAttributes<any> & React.RefAttributes<any> & {
declare type RoleHTMLProps = React.HTMLAttributes<any> & React.RefAttributes<any> & {
wrapElement?: (element: React.ReactNode) => React.ReactNode;
};
declare type Hook<O> = {
(options?: O, props?: BoxHTMLProps): BoxHTMLProps;
(options?: O, props?: RoleHTMLProps): RoleHTMLProps;
unstable_propsAreEqual?: (prev: O, next: O) => boolean;

@@ -9,0 +9,0 @@ __keys?: ReadonlyArray<any>;

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc