@trackunit/react-components 6.1.5 → 6.1.6-alpha-1e1ac7288de.0
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/index.cjs.js
CHANGED
|
@@ -8445,6 +8445,9 @@ const useMenuItemBehavior = ({ className, label, children, selected, disabled, o
|
|
|
8445
8445
|
if (stopPropagation) {
|
|
8446
8446
|
e.stopPropagation();
|
|
8447
8447
|
}
|
|
8448
|
+
// `onClick` often moves focus, e.g. back to the menu trigger or a text field. Without this, the
|
|
8449
|
+
// same key press then lands there: it clicks the trigger again or types a line break.
|
|
8450
|
+
e.preventDefault();
|
|
8448
8451
|
// eslint-disable-next-line @trackunit/no-typescript-assertion
|
|
8449
8452
|
onClick(e);
|
|
8450
8453
|
}
|
package/index.esm.js
CHANGED
|
@@ -8444,6 +8444,9 @@ const useMenuItemBehavior = ({ className, label, children, selected, disabled, o
|
|
|
8444
8444
|
if (stopPropagation) {
|
|
8445
8445
|
e.stopPropagation();
|
|
8446
8446
|
}
|
|
8447
|
+
// `onClick` often moves focus, e.g. back to the menu trigger or a text field. Without this, the
|
|
8448
|
+
// same key press then lands there: it clicks the trigger again or types a line break.
|
|
8449
|
+
e.preventDefault();
|
|
8447
8450
|
// eslint-disable-next-line @trackunit/no-typescript-assertion
|
|
8448
8451
|
onClick(e);
|
|
8449
8452
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-router-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.56-alpha-1e1ac7288de.0",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=24.x"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@trackunit/css-class-variance-utilities": "2.6.
|
|
11
|
-
"@trackunit/i18n-library-translation": "2.14.
|
|
12
|
-
"@trackunit/react-components": "6.1.
|
|
13
|
-
"@trackunit/react-drawer": "2.17.
|
|
14
|
-
"@trackunit/shared-utils": "1.22.
|
|
10
|
+
"@trackunit/css-class-variance-utilities": "2.6.54-alpha-1e1ac7288de.0",
|
|
11
|
+
"@trackunit/i18n-library-translation": "2.14.47-alpha-1e1ac7288de.0",
|
|
12
|
+
"@trackunit/react-components": "6.1.6-alpha-1e1ac7288de.0",
|
|
13
|
+
"@trackunit/react-drawer": "2.17.53-alpha-1e1ac7288de.0",
|
|
14
|
+
"@trackunit/shared-utils": "1.22.54-alpha-1e1ac7288de.0",
|
|
15
15
|
"dequal": "^2.0.3",
|
|
16
16
|
"zod": "^3.25.76"
|
|
17
17
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-components",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.6-alpha-1e1ac7288de.0",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"migrations": "./migrations.json",
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"@floating-ui/react": "^0.26.25",
|
|
15
15
|
"string-ts": "^2.0.0",
|
|
16
16
|
"tailwind-merge": "^3.7.0",
|
|
17
|
-
"@trackunit/ui-design-tokens": "1.21.
|
|
18
|
-
"@trackunit/css-class-variance-utilities": "2.6.
|
|
19
|
-
"@trackunit/shared-utils": "1.22.
|
|
20
|
-
"@trackunit/ui-icons": "1.20.
|
|
17
|
+
"@trackunit/ui-design-tokens": "1.21.52-alpha-1e1ac7288de.0",
|
|
18
|
+
"@trackunit/css-class-variance-utilities": "2.6.54-alpha-1e1ac7288de.0",
|
|
19
|
+
"@trackunit/shared-utils": "1.22.54-alpha-1e1ac7288de.0",
|
|
20
|
+
"@trackunit/ui-icons": "1.20.52-alpha-1e1ac7288de.0",
|
|
21
21
|
"es-toolkit": "^1.52.0",
|
|
22
22
|
"@tanstack/react-virtual": "^3.14.13",
|
|
23
23
|
"fflate": "^0.8.3",
|
|
24
24
|
"zod": "^3.25.76",
|
|
25
|
-
"@trackunit/i18n-library-translation": "2.14.
|
|
25
|
+
"@trackunit/i18n-library-translation": "2.14.47-alpha-1e1ac7288de.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^19.0.0",
|