@dxos/react-ui-menu 0.8.1 → 0.8.2-main.f081794

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.
@@ -6,7 +6,7 @@ export type CreateActionsParams = Partial<{
6
6
  callback: () => void;
7
7
  count: number;
8
8
  }>;
9
- export declare const createActions: (params?: CreateActionsParams) => import("@dxos/live-object").ReactiveObject<{
9
+ export declare const createActions: (params?: CreateActionsParams) => import("@dxos/live-object").Live<{
10
10
  id: string;
11
11
  type: "dxos.org/type/GraphActionGroup" | "dxos.org/type/GraphAction";
12
12
  data: symbol | (() => void);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-ui-menu",
3
- "version": "0.8.1",
3
+ "version": "0.8.2-main.f081794",
4
4
  "description": "Components for facilitating reactive and consistent menus.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -27,10 +27,10 @@
27
27
  "@preact/signals-react": "^1.3.8",
28
28
  "@radix-ui/react-context": "1.1.1",
29
29
  "@radix-ui/react-use-controllable-state": "1.1.0",
30
- "@dxos/app-graph": "0.8.1",
31
- "@dxos/util": "0.8.1",
32
- "@dxos/react-ui-attention": "0.8.1",
33
- "@dxos/keyboard": "0.8.1"
30
+ "@dxos/app-graph": "0.8.2-main.f081794",
31
+ "@dxos/keyboard": "0.8.2-main.f081794",
32
+ "@dxos/react-ui-attention": "0.8.2-main.f081794",
33
+ "@dxos/util": "0.8.2-main.f081794"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/react": "~18.2.0",
@@ -38,17 +38,17 @@
38
38
  "react": "~18.2.0",
39
39
  "react-dom": "~18.2.0",
40
40
  "vite": "5.4.7",
41
- "@dxos/live-object": "0.8.1",
42
- "@dxos/random": "0.8.1",
43
- "@dxos/react-ui": "0.8.1",
44
- "@dxos/storybook-utils": "0.8.1",
45
- "@dxos/react-ui-theme": "0.8.1"
41
+ "@dxos/live-object": "0.8.2-main.f081794",
42
+ "@dxos/react-ui": "0.8.2-main.f081794",
43
+ "@dxos/react-ui-theme": "0.8.2-main.f081794",
44
+ "@dxos/random": "0.8.2-main.f081794",
45
+ "@dxos/storybook-utils": "0.8.2-main.f081794"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": "~18.2.0",
49
49
  "react-dom": "~18.2.0",
50
- "@dxos/react-ui": "0.8.1",
51
- "@dxos/react-ui-theme": "0.8.1"
50
+ "@dxos/react-ui": "0.8.2-main.f081794",
51
+ "@dxos/react-ui-theme": "0.8.2-main.f081794"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
@@ -5,7 +5,7 @@
5
5
  import { useEffect } from 'react';
6
6
 
7
7
  import { type Action, Graph, type NodeArg, ACTION_TYPE, ACTION_GROUP_TYPE, actionGroupSymbol } from '@dxos/app-graph';
8
- import { create } from '@dxos/live-object';
8
+ import { live } from '@dxos/live-object';
9
9
  import { faker } from '@dxos/random';
10
10
  import { type DeepWriteable } from '@dxos/util';
11
11
 
@@ -42,7 +42,7 @@ export const createActions = (params?: CreateActionsParams) => {
42
42
  const { callback = () => console.log('invoke'), count = 12, type = ACTION_TYPE } = params ?? {};
43
43
  return faker.helpers.multiple(
44
44
  () =>
45
- create({
45
+ live({
46
46
  id: faker.string.uuid(),
47
47
  type,
48
48
  data: type === ACTION_GROUP_TYPE ? actionGroupSymbol : callback,