@dxos/react-ui-grid 0.8.4-main.9be5663bfe → 0.8.4-main.abd8ff62ef

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-grid",
3
- "version": "0.8.4-main.9be5663bfe",
3
+ "version": "0.8.4-main.abd8ff62ef",
4
4
  "description": "React component which manages a `dx-grid` Lit web component.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -20,9 +20,6 @@
20
20
  }
21
21
  },
22
22
  "types": "dist/types/src/index.d.ts",
23
- "typesVersions": {
24
- "*": {}
25
- },
26
23
  "files": [
27
24
  "dist",
28
25
  "src"
@@ -35,28 +32,29 @@
35
32
  "@radix-ui/react-context": "1.1.1",
36
33
  "@radix-ui/react-popper": "1.2.2",
37
34
  "@radix-ui/react-use-controllable-state": "1.1.0",
38
- "@dxos/lit-grid": "0.8.4-main.9be5663bfe",
39
- "@dxos/react-ui-editor": "0.8.4-main.9be5663bfe",
40
- "@dxos/util": "0.8.4-main.9be5663bfe",
41
- "@dxos/ui-editor": "0.8.4-main.9be5663bfe"
35
+ "@dxos/react-ui-editor": "0.8.4-main.abd8ff62ef",
36
+ "@dxos/lit-grid": "0.8.4-main.abd8ff62ef",
37
+ "@dxos/util": "0.8.4-main.abd8ff62ef",
38
+ "@dxos/ui-editor": "0.8.4-main.abd8ff62ef"
42
39
  },
43
40
  "devDependencies": {
44
41
  "@types/react": "~19.2.7",
45
42
  "@types/react-dom": "~19.2.3",
46
43
  "react": "~19.2.3",
47
44
  "react-dom": "~19.2.3",
48
- "vite": "^7.1.11",
49
- "@dxos/random": "0.8.4-main.9be5663bfe",
50
- "@dxos/react-ui": "0.8.4-main.9be5663bfe",
51
- "@dxos/storybook-utils": "0.8.4-main.9be5663bfe",
52
- "@dxos/react-ui-search": "0.8.4-main.9be5663bfe",
53
- "@dxos/ui-theme": "0.8.4-main.9be5663bfe"
45
+ "vite": "^8.0.10",
46
+ "@dxos/random": "0.8.4-main.abd8ff62ef",
47
+ "@dxos/react-ui-list": "0.8.4-main.abd8ff62ef",
48
+ "@dxos/react-ui": "0.8.4-main.abd8ff62ef",
49
+ "@dxos/ui-theme": "0.8.4-main.abd8ff62ef",
50
+ "@dxos/storybook-utils": "0.8.4-main.abd8ff62ef",
51
+ "@dxos/react-ui-search": "0.8.4-main.abd8ff62ef"
54
52
  },
55
53
  "peerDependencies": {
56
54
  "react": "~19.2.3",
57
55
  "react-dom": "~19.2.3",
58
- "@dxos/react-ui": "0.8.4-main.9be5663bfe",
59
- "@dxos/ui-theme": "0.8.4-main.9be5663bfe"
56
+ "@dxos/ui-theme": "0.8.4-main.abd8ff62ef",
57
+ "@dxos/react-ui": "0.8.4-main.abd8ff62ef"
60
58
  },
61
59
  "publishConfig": {
62
60
  "access": "public"
@@ -10,7 +10,8 @@ import { type DxGridPlaneCells } from '@dxos/lit-grid';
10
10
  import { random } from '@dxos/random';
11
11
  import { DropdownMenu } from '@dxos/react-ui';
12
12
  import { toPlaneCellIndex } from '@dxos/react-ui-grid';
13
- import { Combobox, type ComboboxRootProps, useSearchListResults } from '@dxos/react-ui-search';
13
+ import { Combobox, type ComboboxRootProps } from '@dxos/react-ui-list';
14
+ import { useSearchListResults } from '@dxos/react-ui-search';
14
15
  import { withLayout, withTheme } from '@dxos/react-ui/testing';
15
16
 
16
17
  import { Grid, type GridContentProps, type GridEditing, type GridRootProps } from './Grid';
@@ -94,13 +95,13 @@ const GridStory = ({ initialCells, ...props }: GridStoryProps) => {
94
95
  };
95
96
 
96
97
  const ComboboxContentWithFiltering = () => {
97
- const { results, handleSearch } = useSearchListResults({
98
+ const { results, query, handleSearch } = useSearchListResults({
98
99
  items: storybookItems,
99
100
  });
100
101
 
101
102
  return (
102
- <Combobox.Content onSearch={handleSearch}>
103
- <Combobox.Input placeholder='Search...' />
103
+ <Combobox.Content>
104
+ <Combobox.Input placeholder='Search...' value={query} onValueChange={handleSearch} />
104
105
  <Combobox.List>
105
106
  {results.map((value) => (
106
107
  <Combobox.Item key={value} value={value} label={value} />