@dxos/react-hooks
Advanced tools
Comparing version 0.1.51-main.49677b6 to 0.1.51-main.5c57788
@@ -1,1 +0,1 @@ | ||
{"inputs":{"packages/ui/primitives/react-hooks/src/useForwardedRef.ts":{"bytes":1639,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useId.ts":{"bytes":1887,"imports":[{"path":"alea","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useIsFocused.ts":{"bytes":3857,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useMediaQuery.ts":{"bytes":9277,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/index.ts":{"bytes":677,"imports":[{"path":"packages/ui/primitives/react-hooks/src/useForwardedRef.ts","kind":"import-statement","original":"./useForwardedRef"},{"path":"packages/ui/primitives/react-hooks/src/useId.ts","kind":"import-statement","original":"./useId"},{"path":"packages/ui/primitives/react-hooks/src/useIsFocused.ts","kind":"import-statement","original":"./useIsFocused"},{"path":"packages/ui/primitives/react-hooks/src/useMediaQuery.ts","kind":"import-statement","original":"./useMediaQuery"}]}},"outputs":{"packages/ui/primitives/react-hooks/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8586},"packages/ui/primitives/react-hooks/dist/lib/browser/index.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"alea","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["randomString","useForwardedRef","useId","useIsFocused","useMediaQuery"],"entryPoint":"packages/ui/primitives/react-hooks/src/index.ts","inputs":{"packages/ui/primitives/react-hooks/src/useForwardedRef.ts":{"bytesInOutput":316},"packages/ui/primitives/react-hooks/src/index.ts":{"bytesInOutput":0},"packages/ui/primitives/react-hooks/src/useId.ts":{"bytesInOutput":396},"packages/ui/primitives/react-hooks/src/useIsFocused.ts":{"bytesInOutput":819},"packages/ui/primitives/react-hooks/src/useMediaQuery.ts":{"bytesInOutput":2282}},"bytes":4168}}} | ||
{"inputs":{"packages/ui/primitives/react-hooks/src/useForwardedRef.ts":{"bytes":1639,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useId.ts":{"bytes":2159,"imports":[{"path":"alea","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useIsFocused.ts":{"bytes":3857,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useMediaQuery.ts":{"bytes":9277,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/index.ts":{"bytes":677,"imports":[{"path":"packages/ui/primitives/react-hooks/src/useForwardedRef.ts","kind":"import-statement","original":"./useForwardedRef"},{"path":"packages/ui/primitives/react-hooks/src/useId.ts","kind":"import-statement","original":"./useId"},{"path":"packages/ui/primitives/react-hooks/src/useIsFocused.ts","kind":"import-statement","original":"./useIsFocused"},{"path":"packages/ui/primitives/react-hooks/src/useMediaQuery.ts","kind":"import-statement","original":"./useMediaQuery"}]}},"outputs":{"packages/ui/primitives/react-hooks/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8695},"packages/ui/primitives/react-hooks/dist/lib/browser/index.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"alea","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["randomString","useForwardedRef","useId","useIsFocused","useMediaQuery"],"entryPoint":"packages/ui/primitives/react-hooks/src/index.ts","inputs":{"packages/ui/primitives/react-hooks/src/useForwardedRef.ts":{"bytesInOutput":316},"packages/ui/primitives/react-hooks/src/index.ts":{"bytesInOutput":0},"packages/ui/primitives/react-hooks/src/useId.ts":{"bytesInOutput":396},"packages/ui/primitives/react-hooks/src/useIsFocused.ts":{"bytesInOutput":819},"packages/ui/primitives/react-hooks/src/useMediaQuery.ts":{"bytesInOutput":2282}},"bytes":4168}}} |
@@ -1,1 +0,1 @@ | ||
{"inputs":{"packages/ui/primitives/react-hooks/src/useForwardedRef.ts":{"bytes":1639,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useId.ts":{"bytes":1887,"imports":[{"path":"alea","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useIsFocused.ts":{"bytes":3857,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useMediaQuery.ts":{"bytes":9277,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/index.ts":{"bytes":677,"imports":[{"path":"packages/ui/primitives/react-hooks/src/useForwardedRef.ts","kind":"import-statement","original":"./useForwardedRef"},{"path":"packages/ui/primitives/react-hooks/src/useId.ts","kind":"import-statement","original":"./useId"},{"path":"packages/ui/primitives/react-hooks/src/useIsFocused.ts","kind":"import-statement","original":"./useIsFocused"},{"path":"packages/ui/primitives/react-hooks/src/useMediaQuery.ts","kind":"import-statement","original":"./useMediaQuery"}]}},"outputs":{"packages/ui/primitives/react-hooks/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8823},"packages/ui/primitives/react-hooks/dist/lib/node/index.cjs":{"imports":[{"path":"react","kind":"require-call","external":true},{"path":"alea","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/ui/primitives/react-hooks/src/index.ts","inputs":{"packages/ui/primitives/react-hooks/src/index.ts":{"bytesInOutput":267},"packages/ui/primitives/react-hooks/src/useForwardedRef.ts":{"bytesInOutput":346},"packages/ui/primitives/react-hooks/src/useId.ts":{"bytesInOutput":454},"packages/ui/primitives/react-hooks/src/useIsFocused.ts":{"bytesInOutput":834},"packages/ui/primitives/react-hooks/src/useMediaQuery.ts":{"bytesInOutput":2284}},"bytes":6068}}} | ||
{"inputs":{"packages/ui/primitives/react-hooks/src/useForwardedRef.ts":{"bytes":1639,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useId.ts":{"bytes":2159,"imports":[{"path":"alea","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useIsFocused.ts":{"bytes":3857,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/useMediaQuery.ts":{"bytes":9277,"imports":[{"path":"react","kind":"import-statement","external":true}]},"packages/ui/primitives/react-hooks/src/index.ts":{"bytes":677,"imports":[{"path":"packages/ui/primitives/react-hooks/src/useForwardedRef.ts","kind":"import-statement","original":"./useForwardedRef"},{"path":"packages/ui/primitives/react-hooks/src/useId.ts","kind":"import-statement","original":"./useId"},{"path":"packages/ui/primitives/react-hooks/src/useIsFocused.ts","kind":"import-statement","original":"./useIsFocused"},{"path":"packages/ui/primitives/react-hooks/src/useMediaQuery.ts","kind":"import-statement","original":"./useMediaQuery"}]}},"outputs":{"packages/ui/primitives/react-hooks/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8932},"packages/ui/primitives/react-hooks/dist/lib/node/index.cjs":{"imports":[{"path":"react","kind":"require-call","external":true},{"path":"alea","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/ui/primitives/react-hooks/src/index.ts","inputs":{"packages/ui/primitives/react-hooks/src/index.ts":{"bytesInOutput":267},"packages/ui/primitives/react-hooks/src/useForwardedRef.ts":{"bytesInOutput":346},"packages/ui/primitives/react-hooks/src/useId.ts":{"bytesInOutput":454},"packages/ui/primitives/react-hooks/src/useIsFocused.ts":{"bytesInOutput":834},"packages/ui/primitives/react-hooks/src/useMediaQuery.ts":{"bytesInOutput":2284}},"bytes":6068}}} |
{ | ||
"name": "@dxos/react-hooks", | ||
"version": "0.1.51-main.49677b6", | ||
"version": "0.1.51-main.5c57788", | ||
"description": "React hooks supporting DXOS React primitives.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://dxos.org", |
@@ -16,2 +16,3 @@ // | ||
// TODO(burdon): Replace with PublicKey.random() but consider removing (dangerous mis-use of ECHO objects). | ||
export const randomString = (n = 4) => | ||
@@ -18,0 +19,0 @@ prng() |
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
41421
483