@reach/disclosure
Advanced tools
Comparing version 0.8.5 to 0.8.6
@@ -29,5 +29,3 @@ 'use strict'; | ||
var DisclosureContext = | ||
/*#__PURE__*/ | ||
utils.createNamedContext("DisclosureContext", {}); | ||
var DisclosureContext = /*#__PURE__*/utils.createNamedContext("DisclosureContext", {}); | ||
@@ -131,5 +129,3 @@ var useDisclosureContext = function useDisclosureContext() { | ||
var DisclosureButton = | ||
/*#__PURE__*/ | ||
utils.forwardRefWithAs(function DisclosureButton(_ref2, forwardedRef) { | ||
var DisclosureButton = /*#__PURE__*/utils.forwardRefWithAs(function DisclosureButton(_ref2, forwardedRef) { | ||
var _ref2$as = _ref2.as, | ||
@@ -184,5 +180,3 @@ Comp = _ref2$as === void 0 ? "button" : _ref2$as, | ||
var DisclosurePanel = | ||
/*#__PURE__*/ | ||
React.forwardRef(function DisclosurePanel(_ref3, forwardedRef) { | ||
var DisclosurePanel = /*#__PURE__*/React.forwardRef(function DisclosurePanel(_ref3, forwardedRef) { | ||
var children = _ref3.children, | ||
@@ -189,0 +183,0 @@ props = _objectWithoutPropertiesLoose(_ref3, ["children"]); |
@@ -22,5 +22,3 @@ import React, { useRef, useState, useContext, forwardRef } from 'react'; | ||
var DisclosureContext = | ||
/*#__PURE__*/ | ||
createNamedContext("DisclosureContext", {}); | ||
var DisclosureContext = /*#__PURE__*/createNamedContext("DisclosureContext", {}); | ||
@@ -127,5 +125,3 @@ var useDisclosureContext = function useDisclosureContext() { | ||
var DisclosureButton = | ||
/*#__PURE__*/ | ||
forwardRefWithAs(function DisclosureButton(_ref2, forwardedRef) { | ||
var DisclosureButton = /*#__PURE__*/forwardRefWithAs(function DisclosureButton(_ref2, forwardedRef) { | ||
var _ref2$as = _ref2.as, | ||
@@ -180,5 +176,3 @@ Comp = _ref2$as === void 0 ? "button" : _ref2$as, | ||
var DisclosurePanel = | ||
/*#__PURE__*/ | ||
forwardRef(function DisclosurePanel(_ref3, forwardedRef) { | ||
var DisclosurePanel = /*#__PURE__*/forwardRef(function DisclosurePanel(_ref3, forwardedRef) { | ||
var children = _ref3.children, | ||
@@ -185,0 +179,0 @@ props = _objectWithoutPropertiesLoose(_ref3, ["children"]); |
{ | ||
"name": "@reach/disclosure", | ||
"version": "0.8.5", | ||
"version": "0.8.6", | ||
"description": "Accessible React disclosure component", | ||
@@ -18,4 +18,4 @@ "author": "React Training <hello@reacttraining.com>", | ||
"dependencies": { | ||
"@reach/auto-id": "^0.8.5", | ||
"@reach/utils": "^0.8.5", | ||
"@reach/auto-id": "^0.8.6", | ||
"@reach/utils": "^0.8.6", | ||
"tslib": "^1.10.0", | ||
@@ -35,3 +35,3 @@ "warning": "^4.0.3" | ||
], | ||
"gitHead": "ac419cf63d0827016ca448bf95482bcd4c5f879e" | ||
"gitHead": "0c71a018a11055b17815f0fb127cdcd981cd760e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
57526
461
Updated@reach/auto-id@^0.8.6
Updated@reach/utils@^0.8.6