@instructure/ui-a11y-content 8.10.3-snapshot.9 → 8.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/es/PresentationContent/index.js +8 -6
- package/es/ScreenReaderContent/index.js +5 -0
- package/lib/PresentationContent/index.js +8 -6
- package/lib/ScreenReaderContent/index.js +5 -0
- package/package.json +12 -13
- package/src/AccessibleContent/index.tsx +1 -4
- package/src/AccessibleContent/props.ts +7 -2
- package/src/PresentationContent/index.tsx +7 -5
- package/src/PresentationContent/props.ts +11 -2
- package/src/ScreenReaderContent/index.tsx +6 -0
- package/types/AccessibleContent/index.d.ts +1 -2
- package/types/AccessibleContent/index.d.ts.map +1 -1
- package/types/AccessibleContent/props.d.ts +2 -2
- package/types/AccessibleContent/props.d.ts.map +1 -1
- package/types/PresentationContent/index.d.ts +1 -2
- package/types/PresentationContent/index.d.ts.map +1 -1
- package/types/PresentationContent/props.d.ts +5 -2
- package/types/PresentationContent/props.d.ts.map +1 -1
- package/types/ScreenReaderContent/index.d.ts.map +1 -1
- package/LICENSE.md +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [8.11.0](https://github.com/instructure/instructure-ui/compare/v8.10.2...v8.11.0) (2021-10-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-a11y-content
|
|
9
|
+
|
|
6
10
|
## [8.10.2](https://github.com/instructure/instructure-ui/compare/v8.10.1...v8.10.2) (2021-10-01)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @instructure/ui-a11y-content
|
|
@@ -41,17 +41,19 @@ class PresentationContent extends Component {
|
|
|
41
41
|
this.ref = null;
|
|
42
42
|
|
|
43
43
|
this.handleRef = el => {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
const elementRef = this.props.elementRef;
|
|
46
45
|
this.ref = el;
|
|
47
|
-
|
|
46
|
+
|
|
47
|
+
if (typeof elementRef === 'function') {
|
|
48
|
+
elementRef(el);
|
|
49
|
+
}
|
|
48
50
|
};
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
render() {
|
|
52
|
-
const _this$
|
|
53
|
-
children = _this$
|
|
54
|
-
props = _objectWithoutProperties(_this$
|
|
54
|
+
const _this$props = this.props,
|
|
55
|
+
children = _this$props.children,
|
|
56
|
+
props = _objectWithoutProperties(_this$props, _excluded);
|
|
55
57
|
|
|
56
58
|
const ElementType = getElementType(PresentationContent, this.props);
|
|
57
59
|
return /*#__PURE__*/React.createElement(ElementType, Object.assign({}, passthroughProps(props), {
|
|
@@ -47,7 +47,12 @@ let ScreenReaderContent = (_dec = withStyle(generateStyle, null), _dec(_class =
|
|
|
47
47
|
this.ref = null;
|
|
48
48
|
|
|
49
49
|
this.handleRef = el => {
|
|
50
|
+
const elementRef = this.props.elementRef;
|
|
50
51
|
this.ref = el;
|
|
52
|
+
|
|
53
|
+
if (typeof elementRef === 'function') {
|
|
54
|
+
elementRef(el);
|
|
55
|
+
}
|
|
51
56
|
};
|
|
52
57
|
}
|
|
53
58
|
|
|
@@ -34,17 +34,19 @@ class PresentationContent extends _react.Component {
|
|
|
34
34
|
this.ref = null;
|
|
35
35
|
|
|
36
36
|
this.handleRef = el => {
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
const elementRef = this.props.elementRef;
|
|
39
38
|
this.ref = el;
|
|
40
|
-
|
|
39
|
+
|
|
40
|
+
if (typeof elementRef === 'function') {
|
|
41
|
+
elementRef(el);
|
|
42
|
+
}
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
render() {
|
|
45
|
-
const _this$
|
|
46
|
-
children = _this$
|
|
47
|
-
props = (0, _objectWithoutProperties2.default)(_this$
|
|
47
|
+
const _this$props = this.props,
|
|
48
|
+
children = _this$props.children,
|
|
49
|
+
props = (0, _objectWithoutProperties2.default)(_this$props, _excluded);
|
|
48
50
|
const ElementType = (0, _getElementType.getElementType)(PresentationContent, this.props);
|
|
49
51
|
return /*#__PURE__*/_react.default.createElement(ElementType, Object.assign({}, (0, _passthroughProps.passthroughProps)(props), {
|
|
50
52
|
"aria-hidden": "true",
|
|
@@ -38,7 +38,12 @@ let ScreenReaderContent = (_dec = (0, _emotion.withStyle)(_styles.default, null)
|
|
|
38
38
|
this.ref = null;
|
|
39
39
|
|
|
40
40
|
this.handleRef = el => {
|
|
41
|
+
const elementRef = this.props.elementRef;
|
|
41
42
|
this.ref = el;
|
|
43
|
+
|
|
44
|
+
if (typeof elementRef === 'function') {
|
|
45
|
+
elementRef(el);
|
|
46
|
+
}
|
|
42
47
|
};
|
|
43
48
|
}
|
|
44
49
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-a11y-content",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.11.0",
|
|
4
4
|
"description": "Utility components that enhance the user experience of those that navigate the web with a screen reader or keyboard.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.
|
|
29
|
-
"@instructure/emotion": "8.
|
|
30
|
-
"@instructure/shared-types": "8.
|
|
31
|
-
"@instructure/ui-dom-utils": "8.
|
|
32
|
-
"@instructure/ui-prop-types": "8.
|
|
33
|
-
"@instructure/ui-react-utils": "8.
|
|
34
|
-
"@instructure/ui-utils": "8.
|
|
35
|
-
"@instructure/uid": "8.
|
|
28
|
+
"@instructure/console": "8.11.0",
|
|
29
|
+
"@instructure/emotion": "8.11.0",
|
|
30
|
+
"@instructure/shared-types": "8.11.0",
|
|
31
|
+
"@instructure/ui-dom-utils": "8.11.0",
|
|
32
|
+
"@instructure/ui-prop-types": "8.11.0",
|
|
33
|
+
"@instructure/ui-react-utils": "8.11.0",
|
|
34
|
+
"@instructure/ui-utils": "8.11.0",
|
|
35
|
+
"@instructure/uid": "8.11.0",
|
|
36
36
|
"keycode": "^2",
|
|
37
37
|
"prop-types": "^15"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@instructure/ui-babel-preset": "8.
|
|
41
|
-
"@instructure/ui-test-utils": "8.
|
|
40
|
+
"@instructure/ui-babel-preset": "8.11.0",
|
|
41
|
+
"@instructure/ui-test-utils": "8.11.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=16.8 <=17"
|
|
@@ -46,6 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"sideEffects": false
|
|
50
|
-
"gitHead": "47592ffa9fed565a9df0677c77e6d890d5e964ea"
|
|
49
|
+
"sideEffects": false
|
|
51
50
|
}
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
import React, { Component } from 'react'
|
|
26
26
|
|
|
27
27
|
import { passthroughProps, getElementType } from '@instructure/ui-react-utils'
|
|
28
|
-
import type { OtherHTMLAttributes } from '@instructure/shared-types'
|
|
29
28
|
|
|
30
29
|
import { PresentationContent } from '../PresentationContent'
|
|
31
30
|
import { ScreenReaderContent } from '../ScreenReaderContent'
|
|
@@ -40,9 +39,7 @@ category: components/utilities
|
|
|
40
39
|
@module AccessibleContent
|
|
41
40
|
@tsProps
|
|
42
41
|
**/
|
|
43
|
-
class AccessibleContent extends Component<
|
|
44
|
-
AccessibleContentProps & OtherHTMLAttributes<AccessibleContentProps>
|
|
45
|
-
> {
|
|
42
|
+
class AccessibleContent extends Component<AccessibleContentProps> {
|
|
46
43
|
static propTypes = propTypes
|
|
47
44
|
static allowedProps = allowedProps
|
|
48
45
|
static defaultProps = {
|
|
@@ -24,7 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
import PropTypes from 'prop-types'
|
|
26
26
|
|
|
27
|
-
import type {
|
|
27
|
+
import type {
|
|
28
|
+
AsElementType,
|
|
29
|
+
OtherHTMLAttributes,
|
|
30
|
+
PropValidators
|
|
31
|
+
} from '@instructure/shared-types'
|
|
28
32
|
|
|
29
33
|
type AccessibleContentOwnProps = {
|
|
30
34
|
alt?: string
|
|
@@ -41,7 +45,8 @@ type PropKeys = keyof AccessibleContentOwnProps
|
|
|
41
45
|
|
|
42
46
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
43
47
|
|
|
44
|
-
type AccessibleContentProps = AccessibleContentOwnProps
|
|
48
|
+
type AccessibleContentProps = AccessibleContentOwnProps &
|
|
49
|
+
OtherHTMLAttributes<AccessibleContentOwnProps>
|
|
45
50
|
|
|
46
51
|
const propTypes: PropValidators<PropKeys> = {
|
|
47
52
|
alt: PropTypes.string,
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
import React, { Component } from 'react'
|
|
26
26
|
|
|
27
27
|
import { passthroughProps, getElementType } from '@instructure/ui-react-utils'
|
|
28
|
-
import type { OtherHTMLAttributes } from '@instructure/shared-types'
|
|
29
28
|
|
|
30
29
|
import { propTypes, allowedProps } from './props'
|
|
31
30
|
import type { PresentationContentProps } from './props'
|
|
@@ -37,9 +36,7 @@ category: components/utilities
|
|
|
37
36
|
@module PresentationContent
|
|
38
37
|
@tsProps
|
|
39
38
|
**/
|
|
40
|
-
class PresentationContent extends Component<
|
|
41
|
-
PresentationContentProps & OtherHTMLAttributes<PresentationContentProps>
|
|
42
|
-
> {
|
|
39
|
+
class PresentationContent extends Component<PresentationContentProps> {
|
|
43
40
|
static propTypes = propTypes
|
|
44
41
|
static allowedProps = allowedProps
|
|
45
42
|
static defaultProps = {
|
|
@@ -50,8 +47,13 @@ class PresentationContent extends Component<
|
|
|
50
47
|
ref: Element | null = null
|
|
51
48
|
|
|
52
49
|
handleRef = (el: Element | null) => {
|
|
50
|
+
const { elementRef } = this.props
|
|
51
|
+
|
|
53
52
|
this.ref = el
|
|
54
|
-
|
|
53
|
+
|
|
54
|
+
if (typeof elementRef === 'function') {
|
|
55
|
+
elementRef(el)
|
|
56
|
+
}
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
render() {
|
|
@@ -25,7 +25,11 @@
|
|
|
25
25
|
import React from 'react'
|
|
26
26
|
import PropTypes from 'prop-types'
|
|
27
27
|
|
|
28
|
-
import type {
|
|
28
|
+
import type {
|
|
29
|
+
AsElementType,
|
|
30
|
+
OtherHTMLAttributes,
|
|
31
|
+
PropValidators
|
|
32
|
+
} from '@instructure/shared-types'
|
|
29
33
|
|
|
30
34
|
type PresentationContentOwnProps = {
|
|
31
35
|
/**
|
|
@@ -34,6 +38,10 @@ type PresentationContentOwnProps = {
|
|
|
34
38
|
as: AsElementType
|
|
35
39
|
|
|
36
40
|
children?: React.ReactNode
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* provides a reference to the underlying html root element
|
|
44
|
+
*/
|
|
37
45
|
elementRef?: (element: Element | null) => void
|
|
38
46
|
}
|
|
39
47
|
|
|
@@ -41,7 +49,8 @@ type PropKeys = keyof PresentationContentOwnProps
|
|
|
41
49
|
|
|
42
50
|
type AllowedPropKeys = Readonly<PropKeys[]>
|
|
43
51
|
|
|
44
|
-
type PresentationContentProps = PresentationContentOwnProps
|
|
52
|
+
type PresentationContentProps = PresentationContentOwnProps &
|
|
53
|
+
OtherHTMLAttributes<PresentationContentOwnProps>
|
|
45
54
|
|
|
46
55
|
const propTypes: PropValidators<PropKeys> = {
|
|
47
56
|
as: PropTypes.elementType,
|
|
@@ -57,7 +57,13 @@ class ScreenReaderContent extends Component<ScreenReaderContentProps> {
|
|
|
57
57
|
ref: Element | null = null
|
|
58
58
|
|
|
59
59
|
handleRef = (el: Element | null) => {
|
|
60
|
+
const { elementRef } = this.props
|
|
61
|
+
|
|
60
62
|
this.ref = el
|
|
63
|
+
|
|
64
|
+
if (typeof elementRef === 'function') {
|
|
65
|
+
elementRef(el)
|
|
66
|
+
}
|
|
61
67
|
}
|
|
62
68
|
|
|
63
69
|
componentDidMount() {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import type { OtherHTMLAttributes } from '@instructure/shared-types';
|
|
3
2
|
import type { AccessibleContentProps } from './props';
|
|
4
3
|
/**
|
|
5
4
|
---
|
|
@@ -8,7 +7,7 @@ category: components/utilities
|
|
|
8
7
|
@module AccessibleContent
|
|
9
8
|
@tsProps
|
|
10
9
|
**/
|
|
11
|
-
declare class AccessibleContent extends Component<AccessibleContentProps
|
|
10
|
+
declare class AccessibleContent extends Component<AccessibleContentProps> {
|
|
12
11
|
static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
|
|
13
12
|
alt?: string | undefined;
|
|
14
13
|
as: import("@instructure/shared-types/types/CommonProps").AsElementType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/AccessibleContent/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/AccessibleContent/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQxC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAErD;;;;;;GAMG;AACH,cAAM,iBAAkB,SAAQ,SAAS,CAAC,sBAAsB,CAAC;IAC/D,MAAM,CAAC,SAAS;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;MAGT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,MAAM;CAcP;AAED,eAAe,iBAAiB,CAAA;AAChC,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { AsElementType, PropValidators } from '@instructure/shared-types';
|
|
2
|
+
import type { AsElementType, OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
|
|
3
3
|
declare type AccessibleContentOwnProps = {
|
|
4
4
|
alt?: string;
|
|
5
5
|
/**
|
|
@@ -10,7 +10,7 @@ declare type AccessibleContentOwnProps = {
|
|
|
10
10
|
};
|
|
11
11
|
declare type PropKeys = keyof AccessibleContentOwnProps;
|
|
12
12
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
13
|
-
declare type AccessibleContentProps = AccessibleContentOwnProps
|
|
13
|
+
declare type AccessibleContentProps = AccessibleContentOwnProps & OtherHTMLAttributes<AccessibleContentOwnProps>;
|
|
14
14
|
declare const propTypes: PropValidators<PropKeys>;
|
|
15
15
|
declare const allowedProps: AllowedPropKeys;
|
|
16
16
|
export type { AccessibleContentProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/AccessibleContent/props.ts"],"names":[],"mappings":";AA0BA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/AccessibleContent/props.ts"],"names":[],"mappings":";AA0BA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAElC,aAAK,yBAAyB,GAAG;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,EAAE,EAAE,aAAa,CAAA;IAEjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,yBAAyB,CAAA;AAE/C,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,sBAAsB,GAAG,yBAAyB,GACrD,mBAAmB,CAAC,yBAAyB,CAAC,CAAA;AAEhD,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAIvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAA2C,CAAA;AAE/D,YAAY,EAAE,sBAAsB,EAAE,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import type { OtherHTMLAttributes } from '@instructure/shared-types';
|
|
3
2
|
import type { PresentationContentProps } from './props';
|
|
4
3
|
/**
|
|
5
4
|
---
|
|
@@ -8,7 +7,7 @@ category: components/utilities
|
|
|
8
7
|
@module PresentationContent
|
|
9
8
|
@tsProps
|
|
10
9
|
**/
|
|
11
|
-
declare class PresentationContent extends Component<PresentationContentProps
|
|
10
|
+
declare class PresentationContent extends Component<PresentationContentProps> {
|
|
12
11
|
static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
|
|
13
12
|
as: import("@instructure/shared-types/types/CommonProps").AsElementType;
|
|
14
13
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/PresentationContent/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/PresentationContent/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKxC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAEvD;;;;;;GAMG;AACH,cAAM,mBAAoB,SAAQ,SAAS,CAAC,wBAAwB,CAAC;IACnE,MAAM,CAAC,SAAS;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;MAGT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,MAAM;CAeP;AAED,eAAe,mBAAmB,CAAA;AAClC,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { AsElementType, PropValidators } from '@instructure/shared-types';
|
|
2
|
+
import type { AsElementType, OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
|
|
3
3
|
declare type PresentationContentOwnProps = {
|
|
4
4
|
/**
|
|
5
5
|
* the element type to render as
|
|
6
6
|
*/
|
|
7
7
|
as: AsElementType;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* provides a reference to the underlying html root element
|
|
11
|
+
*/
|
|
9
12
|
elementRef?: (element: Element | null) => void;
|
|
10
13
|
};
|
|
11
14
|
declare type PropKeys = keyof PresentationContentOwnProps;
|
|
12
15
|
declare type AllowedPropKeys = Readonly<PropKeys[]>;
|
|
13
|
-
declare type PresentationContentProps = PresentationContentOwnProps
|
|
16
|
+
declare type PresentationContentProps = PresentationContentOwnProps & OtherHTMLAttributes<PresentationContentOwnProps>;
|
|
14
17
|
declare const propTypes: PropValidators<PropKeys>;
|
|
15
18
|
declare const allowedProps: AllowedPropKeys;
|
|
16
19
|
export type { PresentationContentProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/PresentationContent/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/PresentationContent/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAElC,aAAK,2BAA2B,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,aAAa,CAAA;IAEjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;CAC/C,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,2BAA2B,CAAA;AAEjD,aAAK,eAAe,GAAG,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAA;AAE3C,aAAK,wBAAwB,GAAG,2BAA2B,GACzD,mBAAmB,CAAC,2BAA2B,CAAC,CAAA;AAElD,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAIvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAAkD,CAAA;AAEtE,YAAY,EAAE,wBAAwB,EAAE,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ScreenReaderContent/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAKrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAEvD;;;;;;GAMG;AACH,cACM,mBAAoB,SAAQ,SAAS,CAAC,wBAAwB,CAAC;IACnE,MAAM,CAAC,QAAQ,CAAC,WAAW,yBAAwB;IAEnD,MAAM,CAAC,SAAS;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;SAAe;IAElC,MAAM,CAAC,YAAY;;;MAGT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ScreenReaderContent/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAKrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAEvD;;;;;;GAMG;AACH,cACM,mBAAoB,SAAQ,SAAS,CAAC,wBAAwB,CAAC;IACnE,MAAM,CAAC,QAAQ,CAAC,WAAW,yBAAwB;IAEnD,MAAM,CAAC,SAAS;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;SAAe;IAElC,MAAM,CAAC,YAAY;;;MAGT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,MAAM;CAcP;AAED,eAAe,mBAAmB,CAAA;AAClC,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
|
package/LICENSE.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: The MIT License (MIT)
|
|
3
|
-
category: Getting Started
|
|
4
|
-
order: 9
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# The MIT License (MIT)
|
|
8
|
-
|
|
9
|
-
Copyright (c) 2015 Instructure, Inc.
|
|
10
|
-
|
|
11
|
-
**Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions.**
|
|
17
|
-
|
|
18
|
-
The above copyright notice and this permission notice shall be included in all
|
|
19
|
-
copies or substantial portions of the Software.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|