@dxos/react-ui-menu 0.8.4-main.d05539e30a → 0.8.4-main.d9fc60f731
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/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +1 -1
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/util.d.ts +1 -1
- package/dist/types/src/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +20 -20
- package/src/components/ToolbarMenu.tsx +1 -1
- package/src/util.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-menu",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.d9fc60f731",
|
|
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",
|
|
@@ -37,39 +37,39 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@radix-ui/react-context": "1.1.1",
|
|
39
39
|
"@radix-ui/react-use-controllable-state": "1.1.0",
|
|
40
|
-
"@dxos/app-graph": "0.8.4-main.
|
|
41
|
-
"@dxos/
|
|
42
|
-
"@dxos/
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/ui-
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
40
|
+
"@dxos/app-graph": "0.8.4-main.d9fc60f731",
|
|
41
|
+
"@dxos/keyboard": "0.8.4-main.d9fc60f731",
|
|
42
|
+
"@dxos/effect": "0.8.4-main.d9fc60f731",
|
|
43
|
+
"@dxos/log": "0.8.4-main.d9fc60f731",
|
|
44
|
+
"@dxos/invariant": "0.8.4-main.d9fc60f731",
|
|
45
|
+
"@dxos/react-ui-attention": "0.8.4-main.d9fc60f731",
|
|
46
|
+
"@dxos/ui-types": "0.8.4-main.d9fc60f731",
|
|
47
|
+
"@dxos/util": "0.8.4-main.d9fc60f731"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@effect-atom/atom-react": "^0.5.0",
|
|
51
|
-
"@effect/platform": "0.
|
|
51
|
+
"@effect/platform": "0.96.1",
|
|
52
52
|
"@testing-library/jest-dom": "^6.9.1",
|
|
53
53
|
"@testing-library/react": "^16.3.0",
|
|
54
54
|
"@types/react": "~19.2.7",
|
|
55
55
|
"@types/react-dom": "~19.2.3",
|
|
56
|
-
"effect": "3.
|
|
56
|
+
"effect": "3.21.2",
|
|
57
57
|
"react": "~19.2.3",
|
|
58
58
|
"react-dom": "~19.2.3",
|
|
59
|
-
"vite": "^8.0.
|
|
60
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
61
|
-
"@dxos/
|
|
62
|
-
"@dxos/
|
|
63
|
-
"@dxos/
|
|
59
|
+
"vite": "^8.0.14",
|
|
60
|
+
"@dxos/react-ui": "0.8.4-main.d9fc60f731",
|
|
61
|
+
"@dxos/storybook-utils": "0.8.4-main.d9fc60f731",
|
|
62
|
+
"@dxos/ui-theme": "0.8.4-main.d9fc60f731",
|
|
63
|
+
"@dxos/random": "0.8.4-main.d9fc60f731"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@effect-atom/atom-react": "^0.5.0",
|
|
67
|
-
"@effect/platform": "0.
|
|
68
|
-
"effect": "3.
|
|
67
|
+
"@effect/platform": "0.96.1",
|
|
68
|
+
"effect": "3.21.2",
|
|
69
69
|
"react": "~19.2.3",
|
|
70
70
|
"react-dom": "~19.2.3",
|
|
71
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
72
|
-
"@dxos/ui-theme": "0.8.4-main.
|
|
71
|
+
"@dxos/react-ui": "0.8.4-main.d9fc60f731",
|
|
72
|
+
"@dxos/ui-theme": "0.8.4-main.d9fc60f731"
|
|
73
73
|
},
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import React, { useCallback } from 'react';
|
|
6
6
|
|
|
7
7
|
import { Icon, Toolbar as NaturalToolbar, type ToolbarRootProps, useTranslation } from '@dxos/react-ui';
|
|
8
|
+
import { composable, composableProps } from '@dxos/react-ui';
|
|
8
9
|
import { useAttention } from '@dxos/react-ui-attention';
|
|
9
|
-
import { composable, composableProps } from '@dxos/ui-theme';
|
|
10
10
|
import { type MenuActionProperties } from '@dxos/ui-types';
|
|
11
11
|
|
|
12
12
|
import { translationKey } from '#translations';
|
package/src/util.ts
CHANGED
|
@@ -32,7 +32,7 @@ export const getShortcut = (action: Node.ActionLike) => {
|
|
|
32
32
|
: action.properties?.keyBinding?.[getHostPlatform()];
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
export const fallbackIcon = 'ph--
|
|
35
|
+
export const fallbackIcon = 'ph--circle-dashed--regular';
|
|
36
36
|
|
|
37
37
|
export const createMenuAction = <P extends {} = {}>(
|
|
38
38
|
id: string,
|