react-shadow-root
Advanced tools
Comparing version 3.1.0 to 4.0.0
@@ -103,3 +103,3 @@ "use strict"; | ||
delegatesFocus: false, | ||
mode: 'closed' | ||
mode: 'open' | ||
}); | ||
@@ -106,0 +106,0 @@ |
{ | ||
"name": "react-shadow-root", | ||
"version": "3.1.0", | ||
"version": "4.0.0", | ||
"description": "Adds a shadow root to React components", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -69,3 +69,3 @@ # react-shadow-root | ||
| `delegatesFocus` | `Boolean` | `true` or `false` | `false` | Expands the focus behavior of elements within the shadow DOM. Click [here](https://apearce.github.io/react-shadow-root/#delegates-focus) for more information. | | ||
| `mode` | `String` | `open` or `closed` | `closed` | Sets the mode of the shadow root. | | ||
| `mode` | `String` | `open` or `closed` | `open` | Sets the mode of the shadow root. | | ||
| `stylesheets` | `Array` | `arrayOf(CSSStyleSheet)` | optional | Takes an array of CSSStyleSheet objects for constructable stylesheets. | | ||
@@ -72,0 +72,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
22759