New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@reach/disclosure

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reach/disclosure - npm Package Compare versions

Comparing version 0.1.0 to 0.8.0

LICENSE

24

dist/index.d.ts

@@ -86,4 +86,17 @@ /**

export declare const DisclosureButton: import("@reach/utils").ComponentWithAs<"button", DisclosureButtonProps>;
export declare type DisclosureButtonProps = {};
/**
* @see Docs https://reacttraining.com/reach-ui/disclosure#disclosurebutton-props
*/
export declare type DisclosureButtonProps = {
/**
* Typically a text string that serves as a label for the disclosure button,
* though nested DOM nodes can be passed as well so long as they are valid
* children of interactive elements.
*
* @see https://adrianroselli.com/2016/12/be-wary-of-nesting-roles.html
* @see Docs https://reacttraining.com/reach-ui/disclosure#disclosurebutton-children
*/
children: React.ReactNode;
};
/**
* DisclosurePanel

@@ -96,2 +109,9 @@ *

*/
export declare const DisclosurePanel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
export declare const DisclosurePanel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
/**
* Inner collapsible content for the disclosure item.
*
* @see Docs https://reacttraining.com/reach-ui/disclosure#disclosurepanel-children
*/
children: React.ReactNode;
} & React.RefAttributes<HTMLDivElement>>;

10

package.json
{
"name": "@reach/disclosure",
"version": "0.1.0",
"version": "0.8.0",
"description": "Accessible React disclosure component",

@@ -18,4 +18,4 @@ "author": "React Training <hello@reacttraining.com>",

"dependencies": {
"@reach/auto-id": "0.7.4",
"@reach/utils": "0.7.4",
"@reach/auto-id": "^0.8.0",
"@reach/utils": "^0.8.0",
"warning": "^4.0.3"

@@ -31,4 +31,6 @@ },

"files": [
"README.md",
"dist"
]
],
"gitHead": "7702c46373c7f11adc21184e7def9977203e9326"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc