@homebound/beam 2.170.0 → 2.170.1
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/components/internal/Menu.js +1 -1
- package/package.json +15 -14
|
@@ -23,7 +23,7 @@ function Menu(props) {
|
|
|
23
23
|
}, [tree]);
|
|
24
24
|
const state = (0, react_stately_1.useTreeState)({ children: menuChildren, items: tree.items.map((i) => i.value), selectionMode: "none" });
|
|
25
25
|
const menuRef = (0, react_1.useRef)(null);
|
|
26
|
-
const { menuProps } = (0, react_aria_1.useMenu)({ ...ariaMenuProps,
|
|
26
|
+
const { menuProps } = (0, react_aria_1.useMenu)({ ...ariaMenuProps, autoFocus: true }, state, menuRef);
|
|
27
27
|
const tid = (0, utils_1.useTestIds)(props);
|
|
28
28
|
// Bulk updates of MenuItems below. If we find this to be of sluggish performance, then we can change to be more surgical in our updating.
|
|
29
29
|
// If our list of items change, update the "items" menu section. (key is based on label in `getKey` above)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homebound/beam",
|
|
3
|
-
"version": "2.170.
|
|
3
|
+
"version": "2.170.1",
|
|
4
4
|
"author": "Homebound",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"format": "prettier --loglevel warn --write \"**/*.{ts,tsx,css,md}\""
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@homebound/form-state": "^2.15.
|
|
35
|
+
"@homebound/form-state": "^2.15.3",
|
|
36
36
|
"@internationalized/number": "^3.0.3",
|
|
37
|
-
"@react-aria/utils": "^3.
|
|
37
|
+
"@react-aria/utils": "^3.13.2",
|
|
38
38
|
"@react-hook/resize-observer": "^1.2.2",
|
|
39
39
|
"change-case": "^4.1.2",
|
|
40
40
|
"date-fns": "^2.28.0",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"fast-deep-equal": "^3.1.3",
|
|
43
43
|
"framer-motion": "^4.1.11",
|
|
44
44
|
"memoize-one": "^5.2.1",
|
|
45
|
-
"react-aria": "^3.
|
|
46
|
-
"react-day-picker": "
|
|
45
|
+
"react-aria": "^3.18.0",
|
|
46
|
+
"react-day-picker": "8.0.7",
|
|
47
47
|
"react-popper": "^2.2.5",
|
|
48
48
|
"react-router": "^5.2.0",
|
|
49
49
|
"react-router-dom": "^5.2.0",
|
|
50
|
-
"react-stately": "^3.
|
|
50
|
+
"react-stately": "^3.16.0",
|
|
51
51
|
"react-virtuoso": "2.10.2",
|
|
52
52
|
"tributejs": "^5.1.3",
|
|
53
53
|
"trix": "^1.3.1",
|
|
@@ -80,14 +80,15 @@
|
|
|
80
80
|
"@homebound/rtl-utils": "^2.59.3",
|
|
81
81
|
"@homebound/truss": "^1.113.0",
|
|
82
82
|
"@homebound/tsconfig": "^1.0.3",
|
|
83
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
|
|
83
84
|
"@semantic-release/exec": "^6.0.3",
|
|
84
85
|
"@semantic-release/git": "^9.0.0",
|
|
85
|
-
"@storybook/addon-essentials": "^6.
|
|
86
|
-
"@storybook/addon-interactions": "^6.
|
|
87
|
-
"@storybook/addon-links": "^6.
|
|
88
|
-
"@storybook/addons": "^6.
|
|
89
|
-
"@storybook/react": "^6.
|
|
90
|
-
"@storybook/testing-library": "^0.0.
|
|
86
|
+
"@storybook/addon-essentials": "^6.5.10",
|
|
87
|
+
"@storybook/addon-interactions": "^6.5.10",
|
|
88
|
+
"@storybook/addon-links": "^6.5.10",
|
|
89
|
+
"@storybook/addons": "^6.5.10",
|
|
90
|
+
"@storybook/react": "^6.5.10",
|
|
91
|
+
"@storybook/testing-library": "^0.0.13",
|
|
91
92
|
"@testing-library/jest-dom": "^5.11.9",
|
|
92
93
|
"@testing-library/react-hooks": "^7.0.1",
|
|
93
94
|
"@tsconfig/recommended": "^1.0.1",
|
|
@@ -112,6 +113,7 @@
|
|
|
112
113
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
113
114
|
"eslint-plugin-react": "^7.22.0",
|
|
114
115
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
116
|
+
"eslint-plugin-storybook": "^0.6.4",
|
|
115
117
|
"husky": "^5.1.1",
|
|
116
118
|
"identity-obj-proxy": "^3.0.0",
|
|
117
119
|
"jest": "^26.6.3",
|
|
@@ -132,7 +134,6 @@
|
|
|
132
134
|
"ttypescript": "^1.5.12",
|
|
133
135
|
"typescript": "^4.4.2",
|
|
134
136
|
"typescript-transform-paths": "^3.2.1",
|
|
135
|
-
"watch": "^1.0.2"
|
|
136
|
-
"xstate": "^4.23.0"
|
|
137
|
+
"watch": "^1.0.2"
|
|
137
138
|
}
|
|
138
139
|
}
|