@dxos/react-ui-masonry 0.8.4-main.422d1c7879 → 0.8.4-main.4f23b4e393

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-ui-masonry",
3
- "version": "0.8.4-main.422d1c7879",
3
+ "version": "0.8.4-main.4f23b4e393",
4
4
  "description": "A masonry component.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -31,10 +31,10 @@
31
31
  "@radix-ui/react-context": "1.1.1",
32
32
  "@virtuoso.dev/masonry": "^1.4.2",
33
33
  "react-resize-detector": "^11.0.1",
34
- "@dxos/react-hooks": "0.8.4-main.422d1c7879",
35
- "@dxos/react-ui-mosaic": "0.8.4-main.422d1c7879",
36
- "@dxos/types": "0.8.4-main.422d1c7879",
37
- "@dxos/ui-types": "0.8.4-main.422d1c7879"
34
+ "@dxos/react-hooks": "0.8.4-main.4f23b4e393",
35
+ "@dxos/react-ui-mosaic": "0.8.4-main.4f23b4e393",
36
+ "@dxos/ui-types": "0.8.4-main.4f23b4e393",
37
+ "@dxos/types": "0.8.4-main.4f23b4e393"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/react": "~19.2.7",
@@ -42,26 +42,26 @@
42
42
  "effect": "3.20.0",
43
43
  "react": "~19.2.3",
44
44
  "react-dom": "~19.2.3",
45
- "vite": "^7.1.11",
46
- "@dxos/client": "0.8.4-main.422d1c7879",
47
- "@dxos/echo": "0.8.4-main.422d1c7879",
48
- "@dxos/random": "0.8.4-main.422d1c7879",
49
- "@dxos/react-client": "0.8.4-main.422d1c7879",
50
- "@dxos/react-ui-form": "0.8.4-main.422d1c7879",
51
- "@dxos/react-ui": "0.8.4-main.422d1c7879",
52
- "@dxos/schema": "0.8.4-main.422d1c7879",
53
- "@dxos/storybook-utils": "0.8.4-main.422d1c7879",
54
- "@dxos/test-utils": "0.8.4-main.422d1c7879",
55
- "@dxos/react-ui-stack": "0.8.4-main.422d1c7879",
56
- "@dxos/ui-theme": "0.8.4-main.422d1c7879"
45
+ "vite": "^8.0.10",
46
+ "@dxos/client": "0.8.4-main.4f23b4e393",
47
+ "@dxos/echo": "0.8.4-main.4f23b4e393",
48
+ "@dxos/random": "0.8.4-main.4f23b4e393",
49
+ "@dxos/react-client": "0.8.4-main.4f23b4e393",
50
+ "@dxos/react-ui": "0.8.4-main.4f23b4e393",
51
+ "@dxos/react-ui-form": "0.8.4-main.4f23b4e393",
52
+ "@dxos/react-ui-stack": "0.8.4-main.4f23b4e393",
53
+ "@dxos/schema": "0.8.4-main.4f23b4e393",
54
+ "@dxos/test-utils": "0.8.4-main.4f23b4e393",
55
+ "@dxos/ui-theme": "0.8.4-main.4f23b4e393",
56
+ "@dxos/storybook-utils": "0.8.4-main.4f23b4e393"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "effect": "3.20.0",
60
60
  "react": "~19.2.3",
61
61
  "react-dom": "~19.2.3",
62
- "@dxos/random": "0.8.4-main.422d1c7879",
63
- "@dxos/react-ui": "0.8.4-main.422d1c7879",
64
- "@dxos/ui-theme": "0.8.4-main.422d1c7879"
62
+ "@dxos/random": "0.8.4-main.4f23b4e393",
63
+ "@dxos/react-ui": "0.8.4-main.4f23b4e393",
64
+ "@dxos/ui-theme": "0.8.4-main.4f23b4e393"
65
65
  },
66
66
  "publishConfig": {
67
67
  "access": "public"
@@ -5,7 +5,7 @@
5
5
  import { type Meta, type StoryObj } from '@storybook/react-vite';
6
6
  import React from 'react';
7
7
 
8
- import { Filter } from '@dxos/client/echo';
8
+ import { Filter } from '@dxos/echo';
9
9
  import { random } from '@dxos/random';
10
10
  import { useQuery } from '@dxos/react-client/echo';
11
11
  import { useClientStory, withClientProvider } from '@dxos/react-client/testing';
package/src/Masonry.tsx CHANGED
@@ -101,6 +101,12 @@ const MasonryContentInner = composable<HTMLDivElement, MasonryContentProps>(
101
101
 
102
102
  MasonryContentInner.displayName = 'Masonry.Content';
103
103
 
104
+ const MasonryContent = MasonryContentInner as (
105
+ props: MasonryContentProps & {
106
+ ref?: Ref<HTMLDivElement | null>;
107
+ },
108
+ ) => JSX.Element;
109
+
104
110
  //
105
111
  // Viewport
106
112
  //
@@ -181,12 +187,6 @@ const ComposableVirtuosoMasonry = composable<HTMLDivElement, VirtuosoMasonryProp
181
187
 
182
188
  MasonryViewportInner.displayName = 'Masonry.Viewport';
183
189
 
184
- const MasonryContent = MasonryContentInner as (
185
- props: MasonryContentProps & {
186
- ref?: Ref<HTMLDivElement | null>;
187
- },
188
- ) => JSX.Element;
189
-
190
190
  const MasonryViewport = MasonryViewportInner as <Item>(
191
191
  props: MasonryViewportProps<Item> & {
192
192
  ref?: Ref<HTMLDivElement | null>;