@reach/combobox
Advanced tools
Comparing version 0.6.4 to 0.7.0
@@ -17,3 +17,3 @@ var _on, _on2, _on3, _on4, _states; | ||
import PropTypes from "prop-types"; | ||
import { makeId, wrapEvent, useForkedRef } from "@reach/utils"; | ||
import { checkStyles, makeId, wrapEvent, useForkedRef } from "@reach/utils"; | ||
import { findAll } from "highlight-words-core"; | ||
@@ -212,2 +212,5 @@ import escapeRegexp from "escape-regexp"; | ||
}; | ||
useEffect(function () { | ||
return checkStyles("combobox"); | ||
}); | ||
return React.createElement(ComboboxContext.Provider, { | ||
@@ -214,0 +217,0 @@ value: context |
@@ -222,2 +222,5 @@ "use strict"; | ||
}; | ||
(0, _react.useEffect)(function () { | ||
return (0, _utils.checkStyles)("combobox"); | ||
}); | ||
return _react["default"].createElement(ComboboxContext.Provider, { | ||
@@ -224,0 +227,0 @@ value: context |
{ | ||
"name": "@reach/combobox", | ||
"version": "0.6.4", | ||
"version": "0.7.0", | ||
"description": "Accessible React Combobox (Autocomplete).", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/reach/reach-ui.git", | ||
"directory": "packages/combobox" | ||
}, | ||
"author": "React Training <hello@reacttraining.com>", | ||
@@ -13,6 +18,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"@reach/auto-id": "^0.6.1", | ||
"@reach/popover": "^0.6.4", | ||
"@reach/portal": "^0.6.2", | ||
"@reach/utils": "^0.6.4", | ||
"@reach/auto-id": "^0.7.0", | ||
"@reach/popover": "^0.7.0", | ||
"@reach/portal": "^0.7.0", | ||
"@reach/utils": "^0.7.0", | ||
"escape-regexp": "0.0.1", | ||
@@ -34,3 +39,3 @@ "highlight-words-core": "1.2.0", | ||
], | ||
"gitHead": "c20cdf7f2dd6b9eabe5461138daf320e2833aa41" | ||
"gitHead": "c6c10662e6eaf229594e4d6e6a38d8c9baa35ffa" | ||
} |
@@ -24,3 +24,3 @@ /* eslint-disable default-case */ | ||
import PropTypes from "prop-types"; | ||
import { makeId, wrapEvent, useForkedRef } from "@reach/utils"; | ||
import { checkStyles, makeId, wrapEvent, useForkedRef } from "@reach/utils"; | ||
import { findAll } from "highlight-words-core"; | ||
@@ -287,2 +287,4 @@ import escapeRegexp from "escape-regexp"; | ||
useEffect(() => checkStyles("combobox")); | ||
return ( | ||
@@ -289,0 +291,0 @@ <ComboboxContext.Provider value={context}> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
92937
2284
2
+ Added@reach/auto-id@0.7.4(transitive)
+ Added@reach/popover@0.7.4(transitive)
+ Added@reach/portal@0.7.4(transitive)
+ Added@reach/rect@0.7.4(transitive)
+ Added@reach/utils@0.7.4(transitive)
- Removed@reach/auto-id@0.6.1(transitive)
- Removed@reach/component-component@0.6.2(transitive)
- Removed@reach/popover@0.6.4(transitive)
- Removed@reach/portal@0.6.2(transitive)
- Removed@reach/rect@0.6.2(transitive)
- Removed@reach/utils@0.6.4(transitive)
Updated@reach/auto-id@^0.7.0
Updated@reach/popover@^0.7.0
Updated@reach/portal@^0.7.0
Updated@reach/utils@^0.7.0