@instructure/ui-a11y-content
Advanced tools
Comparing version 6.15.1-rc.5 to 6.15.1-rc.6
{ | ||
"name": "@instructure/ui-a11y-content", | ||
"version": "6.15.1-rc.5+e46004283", | ||
"version": "6.15.1-rc.6+e170d95f9", | ||
"description": "Utility components that enhance the user experience of those that navigate the web with a screen reader or keyboard.", | ||
@@ -26,8 +26,8 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"@babel/runtime": "^7.5.0", | ||
"@instructure/console": "6.15.1-rc.5+e46004283", | ||
"@instructure/ui-dom-utils": "6.15.1-rc.5+e46004283", | ||
"@instructure/ui-react-utils": "6.15.1-rc.5+e46004283", | ||
"@instructure/ui-themeable": "6.15.1-rc.5+e46004283", | ||
"@instructure/ui-utils": "6.15.1-rc.5+e46004283", | ||
"@instructure/uid": "6.15.1-rc.5+e46004283", | ||
"@instructure/console": "6.15.1-rc.6+e170d95f9", | ||
"@instructure/ui-dom-utils": "6.15.1-rc.6+e170d95f9", | ||
"@instructure/ui-react-utils": "6.15.1-rc.6+e170d95f9", | ||
"@instructure/ui-themeable": "6.15.1-rc.6+e170d95f9", | ||
"@instructure/ui-utils": "6.15.1-rc.6+e170d95f9", | ||
"@instructure/uid": "6.15.1-rc.6+e170d95f9", | ||
"keycode": "^2", | ||
@@ -37,4 +37,4 @@ "prop-types": "^15" | ||
"devDependencies": { | ||
"@instructure/ui-babel-preset": "6.15.1-rc.5+e46004283", | ||
"@instructure/ui-test-utils": "6.15.1-rc.5+e46004283" | ||
"@instructure/ui-babel-preset": "6.15.1-rc.6+e170d95f9", | ||
"@instructure/ui-test-utils": "6.15.1-rc.6+e170d95f9" | ||
}, | ||
@@ -48,3 +48,3 @@ "peerDependencies": { | ||
"sideEffects": false, | ||
"gitHead": "e46004283b62476938b57a7f9701a51c46f1d202" | ||
"gitHead": "e170d95f92f66c63f3cac005b774ec3758f9ee73" | ||
} |
import * as React from 'react'; | ||
export interface PresentationContentProps { | ||
export interface AccessibleContentProps { | ||
alt?: string; | ||
/** | ||
* the element type to render as | ||
* the element type to render the screen reader content as | ||
*/ | ||
@@ -11,3 +12,3 @@ as?: any; | ||
export class PresentationContent extends React.Component<PresentationContentProps, any> { | ||
export class AccessibleContent extends React.Component<AccessibleContentProps, any> { | ||
render(): JSX.Element; | ||
@@ -20,3 +21,3 @@ | ||
export interface ScreenReaderContentProps { | ||
export interface PresentationContentProps { | ||
/** | ||
@@ -26,9 +27,6 @@ * the element type to render as | ||
as?: any; | ||
/** | ||
* content meant for screen readers only | ||
*/ | ||
children?: React.ReactNode; | ||
} | ||
export class ScreenReaderContent extends React.Component<ScreenReaderContentProps, any> { | ||
export class PresentationContent extends React.Component<PresentationContentProps, any> { | ||
render(): JSX.Element; | ||
@@ -41,12 +39,14 @@ | ||
export interface AccessibleContentProps { | ||
alt?: string; | ||
export interface ScreenReaderContentProps { | ||
/** | ||
* the element type to render the screen reader content as | ||
* the element type to render as | ||
*/ | ||
as?: any; | ||
/** | ||
* content meant for screen readers only | ||
*/ | ||
children?: React.ReactNode; | ||
} | ||
export class AccessibleContent extends React.Component<AccessibleContentProps, any> { | ||
export class ScreenReaderContent extends React.Component<ScreenReaderContentProps, any> { | ||
render(): JSX.Element; | ||
@@ -53,0 +53,0 @@ |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package