Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kyper/a11y

Package Overview
Dependencies
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kyper/a11y - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

13

CHANGELOG.md

@@ -1,6 +0,11 @@

# A11y Changelog
## [1.1.0](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/a11y@1.1.0) - 03-22-2022
## [1.0.0] - 12-08-2020
- **CHANGED** - Updated `portalTo` prop to accept DOM elements
### Added
- Initial FocusTrap implementation.
## [1.0.2](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/a11y@1.0.2) - 12-18-2020
- **CHANGED** - updated to a consistent file structure _NO ACTUAL COMPONENT CHANGES_
## [1.0.1](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/a11y@1.0.1) - 12-11-2020
- **ADDED** - Initial release of `FocusTrap` component with `FocusTrapContext` and `FocusTrapProvider`

@@ -13,3 +13,3 @@ import PropTypes from 'prop-types'

*/
portalTo: PropTypes.string,
portalTo: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Element)]),
}

@@ -42,3 +42,3 @@

const { children, portalTo, ...rest } = this.props
const portal = document.querySelector(portalTo)
const portal = typeof portalTo === 'string' ? document.querySelector(portalTo) : portalTo

@@ -45,0 +45,0 @@ if (portal) {

{
"name": "@kyper/a11y",
"version": "1.0.2",
"version": "1.1.0",
"description": "Kyper a11y tools",

@@ -32,3 +32,3 @@ "author": "MX",

},
"gitHead": "f212a1c748ea0f68c46cdee1cea77f0dd77b3c3b"
"gitHead": "7242890512c0d70900ffc412583a9793d9eff78e"
}
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