@dxos/react-hooks 0.8.4-main.fbb7a13 → 0.8.4-main.fcfe5033a5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-hooks",
3
- "version": "0.8.4-main.fbb7a13",
3
+ "version": "0.8.4-main.fcfe5033a5",
4
4
  "description": "React hooks supporting DXOS React primitives.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -29,12 +29,13 @@
29
29
  "src"
30
30
  ],
31
31
  "dependencies": {
32
+ "@radix-ui/react-compose-refs": "1.1.1",
32
33
  "@radix-ui/react-id": "1.1.0",
33
34
  "alea": "^1.0.1",
34
35
  "lodash.defaultsdeep": "^4.6.1",
35
36
  "mini-virtual-list": "^0.3.2",
36
- "@dxos/log": "0.8.4-main.fbb7a13",
37
- "@dxos/async": "0.8.4-main.fbb7a13"
37
+ "@dxos/async": "0.8.4-main.fcfe5033a5",
38
+ "@dxos/log": "0.8.4-main.fcfe5033a5"
38
39
  },
39
40
  "devDependencies": {
40
41
  "@types/lodash.defaultsdeep": "^4.6.6",
package/src/index.ts CHANGED
@@ -2,6 +2,9 @@
2
2
  // Copyright 2022 DXOS.org
3
3
  //
4
4
 
5
+ export { useComposedRefs } from '@radix-ui/react-compose-refs';
6
+ export { useSize, useScroller } from 'mini-virtual-list';
7
+
5
8
  export * from './useAsyncEffect';
6
9
  export * from './useAsyncState';
7
10
  export * from './useControlledState';
@@ -19,5 +22,3 @@ export * from './useRefCallback';
19
22
  export * from './useViewportResize';
20
23
  export * from './useTimeout';
21
24
  export * from './useTransitions';
22
-
23
- export { useSize, useScroller } from 'mini-virtual-list';
@@ -3,7 +3,7 @@
3
3
  //
4
4
 
5
5
  // Based upon the useIsFocused hook which is part of the `rci` project:
6
- /// https://github.com/leonardodino/rci/blob/main/packages/use-is-focused
6
+ /// https://github.com/leonardodino/rci/blob/main/packages/use-w-focused
7
7
 
8
8
  import { type RefObject, useEffect, useRef, useState } from 'react';
9
9