@deque/cauldron-react 5.9.1-canary.42f3effc → 5.9.1-canary.63a93bb8
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 +3 -0
- package/package.json +1 -11
package/lib/index.js
CHANGED
|
@@ -4264,6 +4264,9 @@ function useIntersectionRef(element, intersectionObserverOptions) {
|
|
|
4264
4264
|
var ComboboxMatch = function (_a) {
|
|
4265
4265
|
var text = _a.children;
|
|
4266
4266
|
var inputValue = useComboboxContext().inputValue;
|
|
4267
|
+
if (!text) {
|
|
4268
|
+
return React__default["default"].createElement("span", null);
|
|
4269
|
+
}
|
|
4267
4270
|
if (!(inputValue === null || inputValue === void 0 ? void 0 : inputValue.length)) {
|
|
4268
4271
|
return React__default["default"].createElement("span", null, text);
|
|
4269
4272
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-react",
|
|
3
|
-
"version": "5.9.1-canary.
|
|
3
|
+
"version": "5.9.1-canary.63a93bb8",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Fully accessible react components library for Deque Cauldron",
|
|
6
6
|
"homepage": "https://cauldron.dequelabs.com/",
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
"@babel/preset-env": "^7.22.10",
|
|
41
41
|
"@babel/preset-react": "^7.22.5",
|
|
42
42
|
"@babel/preset-typescript": "^7.22.5",
|
|
43
|
-
"@babel/register": "^7.22.5",
|
|
44
43
|
"@rollup/plugin-commonjs": "^14.0.0",
|
|
45
44
|
"@rollup/plugin-dynamic-import-vars": "^1.4.2",
|
|
46
45
|
"@rollup/plugin-typescript": "^11.1.2",
|
|
@@ -54,28 +53,19 @@
|
|
|
54
53
|
"autoprefixer": "^9.7.6",
|
|
55
54
|
"babel-plugin-module-resolver": "^4.0.0",
|
|
56
55
|
"babel-plugin-transform-export-extensions": "^6.22.0",
|
|
57
|
-
"closest": "^0.0.1",
|
|
58
56
|
"concurrently": "^5.3.0",
|
|
59
57
|
"enzyme": "^3.11.0",
|
|
60
58
|
"enzyme-adapter-react-16": "^1.15.2",
|
|
61
59
|
"jest": "^24.7.1",
|
|
62
60
|
"jest-axe": "^3.4.0",
|
|
63
|
-
"jsdom": "^16.2.2",
|
|
64
|
-
"jsdom-global": "^3.0.2",
|
|
65
61
|
"nyc": "^15.0.1",
|
|
66
62
|
"postcss-cli": "^7.1.1",
|
|
67
63
|
"postcss-import": "^12.0.1",
|
|
68
64
|
"postcss-loader": "^3.0.0",
|
|
69
|
-
"prettier": "^2.0.5",
|
|
70
|
-
"proxyquire": "^2.1.3",
|
|
71
65
|
"react": "^16.13.1",
|
|
72
66
|
"react-dom": "^16.13.1",
|
|
73
|
-
"react-element-to-jsx-string": "^14.3.1",
|
|
74
|
-
"react-helmet": "^6.0.0",
|
|
75
|
-
"react-router-dom": "^5.1.2",
|
|
76
67
|
"rollup": "^2.23.0",
|
|
77
68
|
"sinon": "^10.0.0",
|
|
78
|
-
"ts-node": "^10.9.1",
|
|
79
69
|
"typescript": "~5.0.0"
|
|
80
70
|
},
|
|
81
71
|
"repository": {
|