@reach/listbox
Advanced tools
Comparing version 0.16.2 to 0.17.0
@@ -38,3 +38,3 @@ /** | ||
*/ | ||
declare const ListboxInput: Polymorphic.ForwardRefComponent<"div", Pick<React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "name" | "form" | "required"> & { | ||
declare const ListboxInput: Polymorphic.ForwardRefComponent<"div", Pick<React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "form" | "name" | "required"> & { | ||
/** | ||
@@ -41,0 +41,0 @@ * The composed listbox expects to receive `ListboxButton` and |
@@ -256,3 +256,3 @@ 'use strict'; | ||
if (hiddenInput && hiddenInput.form) { | ||
var submitButton = hiddenInput.form.querySelector("button,[type='submit']"); | ||
var submitButton = hiddenInput.form.querySelector("button:not([type]),[type='submit']"); | ||
submitButton && submitButton.click(); | ||
@@ -1219,3 +1219,4 @@ } | ||
position: position, | ||
unstable_observableRefs: unstable_observableRefs | ||
unstable_observableRefs: unstable_observableRefs, | ||
unstable_skipInitialPortalRender: true | ||
})) : /*#__PURE__*/React.createElement(Comp, commonProps); | ||
@@ -1222,0 +1223,0 @@ }); |
@@ -252,3 +252,3 @@ import { forwardRef, useRef, useMemo, useEffect, createElement, Fragment, useContext, memo, useState, useCallback } from 'react'; | ||
if (hiddenInput && hiddenInput.form) { | ||
var submitButton = hiddenInput.form.querySelector("button,[type='submit']"); | ||
var submitButton = hiddenInput.form.querySelector("button:not([type]),[type='submit']"); | ||
submitButton && submitButton.click(); | ||
@@ -1253,3 +1253,4 @@ } | ||
position: position, | ||
unstable_observableRefs: unstable_observableRefs | ||
unstable_observableRefs: unstable_observableRefs, | ||
unstable_skipInitialPortalRender: true | ||
})) : /*#__PURE__*/createElement(Comp, commonProps); | ||
@@ -1256,0 +1257,0 @@ }); |
{ | ||
"name": "@reach/listbox", | ||
"version": "0.16.2", | ||
"version": "0.17.0", | ||
"description": "Accessible React listbox input.", | ||
@@ -16,7 +16,7 @@ "author": "React Training <hello@reacttraining.com>", | ||
"dependencies": { | ||
"@reach/auto-id": "0.16.0", | ||
"@reach/descendants": "0.16.1", | ||
"@reach/machine": "0.16.0", | ||
"@reach/popover": "0.16.2", | ||
"@reach/utils": "0.16.0", | ||
"@reach/auto-id": "0.17.0", | ||
"@reach/descendants": "0.17.0", | ||
"@reach/machine": "0.17.0", | ||
"@reach/popover": "0.17.0", | ||
"@reach/utils": "0.17.0", | ||
"prop-types": "^15.7.2" | ||
@@ -44,3 +44,3 @@ }, | ||
], | ||
"gitHead": "d81d4627145952b415b42537ef6497838567baa2" | ||
"gitHead": "d206aefac2bede58c06a54b18d48eee7537096e0" | ||
} |
Sorry, the diff of this file is too big to display
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
215153
5414
+ Added@reach/auto-id@0.17.0(transitive)
+ Added@reach/descendants@0.17.0(transitive)
+ Added@reach/machine@0.17.0(transitive)
+ Added@reach/popover@0.17.0(transitive)
+ Added@reach/portal@0.17.0(transitive)
+ Added@reach/rect@0.17.0(transitive)
+ Added@reach/utils@0.17.0(transitive)
- Removed@reach/auto-id@0.16.0(transitive)
- Removed@reach/descendants@0.16.1(transitive)
- Removed@reach/machine@0.16.0(transitive)
- Removed@reach/popover@0.16.2(transitive)
- Removed@reach/portal@0.16.2(transitive)
- Removed@reach/rect@0.16.0(transitive)
- Removed@reach/utils@0.16.0(transitive)
Updated@reach/auto-id@0.17.0
Updated@reach/descendants@0.17.0
Updated@reach/machine@0.17.0
Updated@reach/popover@0.17.0
Updated@reach/utils@0.17.0