@deque/cauldron-react 6.0.0-canary.13460410 → 6.0.0-canary.35bcb675
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/lib/index.js
CHANGED
|
@@ -3588,7 +3588,9 @@ var Combobox = React.forwardRef(function (_a, ref) {
|
|
|
3588
3588
|
var handleComboboxOptionClick = React.useCallback(function () {
|
|
3589
3589
|
var _a;
|
|
3590
3590
|
// maintain focus on the input
|
|
3591
|
-
(
|
|
3591
|
+
if (inputRef.current !== document.activeElement) {
|
|
3592
|
+
(_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
3593
|
+
}
|
|
3592
3594
|
}, []);
|
|
3593
3595
|
var handleBlur = React.useCallback(function (event) {
|
|
3594
3596
|
var _a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-react",
|
|
3
|
-
"version": "6.0.0-canary.
|
|
3
|
+
"version": "6.0.0-canary.35bcb675",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Fully accessible react components library for Deque Cauldron",
|
|
6
6
|
"homepage": "https://cauldron.dequelabs.com/",
|
|
@@ -43,16 +43,17 @@
|
|
|
43
43
|
"@rollup/plugin-dynamic-import-vars": "^1.4.2",
|
|
44
44
|
"@rollup/plugin-typescript": "^11.1.2",
|
|
45
45
|
"@svgr/rollup": "^6.1.2",
|
|
46
|
-
"@testing-library/react": "11.1.2",
|
|
47
46
|
"@testing-library/jest-dom": "^6.1.3",
|
|
47
|
+
"@testing-library/react": "11.1.2",
|
|
48
48
|
"@types/classnames": "^2.2.10",
|
|
49
|
+
"@types/enzyme-adapter-react-16": "^1.0.9",
|
|
50
|
+
"@types/jest": "^24.7.1",
|
|
51
|
+
"@types/jest-axe": "^3.5.4",
|
|
49
52
|
"@types/node": "^17.0.42",
|
|
50
53
|
"@types/react": "^18.0.12",
|
|
51
54
|
"@types/react-dom": "^18.0.5",
|
|
52
|
-
"@types/jest-axe": "^3.5.4",
|
|
53
|
-
"@types/jest": "^24.7.1",
|
|
54
55
|
"@types/react-syntax-highlighter": "^15.5.2",
|
|
55
|
-
"@types/
|
|
56
|
+
"@types/sinon": "^10",
|
|
56
57
|
"autoprefixer": "^9.7.6",
|
|
57
58
|
"babel-plugin-module-resolver": "^4.0.0",
|
|
58
59
|
"babel-plugin-transform-export-extensions": "^6.22.0",
|