@markuplint/ml-spec 3.13.0 → 3.14.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/lib/constant/aria-version.d.ts +2 -2
- package/lib/dom-traverse/get-attr-specs.d.ts +1 -1
- package/lib/dom-traverse/get-computed-aria-props.d.ts +5 -5
- package/lib/dom-traverse/get-computed-role.d.ts +6 -1
- package/lib/dom-traverse/get-content-model.d.ts +26 -1
- package/lib/dom-traverse/get-implicit-role.d.ts +5 -1
- package/lib/dom-traverse/get-non-presentational-ancestor.d.ts +10 -4
- package/lib/dom-traverse/get-permitted-roles.d.ts +7 -3
- package/lib/dom-traverse/get-spec.d.ts +4 -1
- package/lib/dom-traverse/has-required-owned-elements.d.ts +7 -1
- package/lib/dom-traverse/matches-context-role.d.ts +6 -1
- package/lib/specs/aria-specs.d.ts +7 -4
- package/lib/specs/content-model-category-to-tag-names.d.ts +4 -1
- package/lib/specs/get-aria.d.ts +7 -1
- package/lib/specs/get-attr-specs.d.ts +6 -2
- package/lib/specs/get-implicit-role.d.ts +7 -1
- package/lib/specs/get-permitted-roles.d.ts +9 -3
- package/lib/specs/get-role-spec.d.ts +10 -3
- package/lib/specs/get-spec-by-tag-name.d.ts +5 -1
- package/lib/specs/is-palpable-elements.d.ts +8 -4
- package/lib/specs/resolve-version.d.ts +4 -1
- package/lib/specs/schema-to-spec.d.ts +3 -3
- package/lib/types/aria.d.ts +147 -133
- package/lib/types/attributes.d.ts +1504 -110
- package/lib/types/index.d.ts +173 -145
- package/lib/types/permitted-structures.d.ts +74 -35
- package/lib/utils/merge-array.d.ts +9 -4
- package/lib/utils/resolve-namespace.d.ts +4 -4
- package/package.json +5 -5
- package/test/dom-traverse/get-computed-role.spec.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ariaVersions: readonly [
|
|
2
|
-
export declare const ARIA_RECOMMENDED_VERSION:
|
|
1
|
+
export declare const ariaVersions: readonly ['1.1', '1.2', '1.3'];
|
|
2
|
+
export declare const ARIA_RECOMMENDED_VERSION: '1.2';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MLMLSpec } from '../types';
|
|
2
|
-
export declare function getAttrSpecs(el: Element, schema: MLMLSpec): readonly import(
|
|
2
|
+
export declare function getAttrSpecs(el: Element, schema: MLMLSpec): readonly import('../types').Attribute[] | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ARIAVersion, MLMLSpec } from '../types';
|
|
2
2
|
type ARIAProps = Record<string, ARIAProp>;
|
|
3
3
|
type ARIAProp = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
name: string;
|
|
5
|
+
value: string | undefined;
|
|
6
|
+
required: boolean;
|
|
7
|
+
deprecated: boolean;
|
|
8
|
+
from: ARIAPropReferenceType;
|
|
9
9
|
};
|
|
10
10
|
type ARIAPropReferenceType = 'default' | 'html-attr' | 'aria-attr';
|
|
11
11
|
export declare function getComputedAriaProps(specs: MLMLSpec, el: Element, version: ARIAVersion): ARIAProps;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types';
|
|
2
|
-
export declare function getComputedRole(
|
|
2
|
+
export declare function getComputedRole(
|
|
3
|
+
specs: MLMLSpec,
|
|
4
|
+
el: Element,
|
|
5
|
+
version: ARIAVersion,
|
|
6
|
+
assumeSingleNode?: boolean,
|
|
7
|
+
): ComputedRole;
|
|
@@ -1,4 +1,29 @@
|
|
|
1
1
|
import type { ElementSpec } from '../types';
|
|
2
2
|
type Specs = readonly Pick<ElementSpec, 'name' | 'contentModel'>[];
|
|
3
|
-
export declare function getContentModel(
|
|
3
|
+
export declare function getContentModel(
|
|
4
|
+
el: Element,
|
|
5
|
+
specs: Specs,
|
|
6
|
+
):
|
|
7
|
+
| boolean
|
|
8
|
+
| readonly (
|
|
9
|
+
| import('type-fest/source/readonly-deep').ReadonlyObjectDeep<
|
|
10
|
+
import('../types/permitted-structures').PermittedContentRequire
|
|
11
|
+
>
|
|
12
|
+
| import('type-fest/source/readonly-deep').ReadonlyObjectDeep<
|
|
13
|
+
import('../types/permitted-structures').PermittedContentOptional
|
|
14
|
+
>
|
|
15
|
+
| import('type-fest/source/readonly-deep').ReadonlyObjectDeep<
|
|
16
|
+
import('../types/permitted-structures').PermittedContentOneOrMore
|
|
17
|
+
>
|
|
18
|
+
| import('type-fest/source/readonly-deep').ReadonlyObjectDeep<
|
|
19
|
+
import('../types/permitted-structures').PermittedContentZeroOrMore
|
|
20
|
+
>
|
|
21
|
+
| import('type-fest/source/readonly-deep').ReadonlyObjectDeep<
|
|
22
|
+
import('../types/permitted-structures').PermittedContentChoice
|
|
23
|
+
>
|
|
24
|
+
| import('type-fest/source/readonly-deep').ReadonlyObjectDeep<
|
|
25
|
+
import('../types/permitted-structures').PermittedContentTransparent
|
|
26
|
+
>
|
|
27
|
+
)[]
|
|
28
|
+
| null;
|
|
4
29
|
export {};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types';
|
|
2
2
|
export declare function getImplicitRole(specs: MLMLSpec, el: Element, version: ARIAVersion): ComputedRole;
|
|
3
|
-
export declare function getImplicitRoleName(
|
|
3
|
+
export declare function getImplicitRoleName(
|
|
4
|
+
el: Element,
|
|
5
|
+
version: ARIAVersion,
|
|
6
|
+
specs: MLMLSpec,
|
|
7
|
+
): import('..').ImplicitRole;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { ARIAVersion, MLMLSpec } from '../types';
|
|
2
|
-
export declare function getNonPresentationalAncestor(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
export declare function getNonPresentationalAncestor(
|
|
3
|
+
el: Element,
|
|
4
|
+
specs: MLMLSpec,
|
|
5
|
+
version: ARIAVersion,
|
|
6
|
+
):
|
|
7
|
+
| import('../types').ComputedRole
|
|
8
|
+
| {
|
|
9
|
+
el: null;
|
|
10
|
+
role: null;
|
|
11
|
+
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { ARIAVersion, MLMLSpec } from '../types';
|
|
2
|
-
export declare function getPermittedRoles(
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare function getPermittedRoles(
|
|
3
|
+
el: Element,
|
|
4
|
+
version: ARIAVersion,
|
|
5
|
+
specs: MLMLSpec,
|
|
6
|
+
): readonly {
|
|
7
|
+
readonly name: string;
|
|
8
|
+
readonly deprecated?: boolean | undefined;
|
|
5
9
|
}[];
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import type { ElementSpec } from '../types';
|
|
2
|
-
export declare function getSpec<K extends keyof ElementSpec>(
|
|
2
|
+
export declare function getSpec<K extends keyof ElementSpec>(
|
|
3
|
+
el: Element,
|
|
4
|
+
specs: readonly Pick<ElementSpec, 'name' | K>[],
|
|
5
|
+
): Pick<ElementSpec, 'name' | K> | null;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types';
|
|
2
2
|
export declare function hasRequiredOwnedElement(el: Element, specs: MLMLSpec, version: ARIAVersion): boolean;
|
|
3
|
-
export declare function isRequiredOwnedElement(
|
|
3
|
+
export declare function isRequiredOwnedElement(
|
|
4
|
+
el: Element,
|
|
5
|
+
role: ComputedRole['role'],
|
|
6
|
+
query: string,
|
|
7
|
+
specs: MLMLSpec,
|
|
8
|
+
version: ARIAVersion,
|
|
9
|
+
): boolean;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
import type { ARIAVersion, MLMLSpec } from '../types';
|
|
2
|
-
export declare function matchesContextRole(
|
|
2
|
+
export declare function matchesContextRole(
|
|
3
|
+
conditions: readonly string[],
|
|
4
|
+
ownedEl: Element,
|
|
5
|
+
specs: MLMLSpec,
|
|
6
|
+
version: ARIAVersion,
|
|
7
|
+
): boolean;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ARIAVersion, MLMLSpec } from '../types';
|
|
2
|
-
export declare function ariaSpecs(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
export declare function ariaSpecs(
|
|
3
|
+
specs: MLMLSpec,
|
|
4
|
+
version: ARIAVersion,
|
|
5
|
+
): {
|
|
6
|
+
readonly roles: readonly import('../types').ARIARoleInSchema[];
|
|
7
|
+
readonly graphicsRoles: readonly import('../types').ARIARoleInSchema[];
|
|
8
|
+
readonly props: readonly import('../types').ARIAProperty[];
|
|
6
9
|
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import type { MLMLSpec } from '../types';
|
|
2
2
|
import type { Category } from '../types/permitted-structures';
|
|
3
|
-
export declare function contentModelCategoryToTagNames(
|
|
3
|
+
export declare function contentModelCategoryToTagNames(
|
|
4
|
+
contentModel: Category,
|
|
5
|
+
def: MLMLSpec['def'],
|
|
6
|
+
): ReadonlyArray<string>;
|
package/lib/specs/get-aria.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { ARIAVersion, Matches, MLMLSpec } from '../types';
|
|
2
2
|
import type { ARIA } from '../types/aria';
|
|
3
3
|
import type { ReadonlyDeep } from 'type-fest';
|
|
4
|
-
export declare function getARIA(
|
|
4
|
+
export declare function getARIA(
|
|
5
|
+
specs: MLMLSpec,
|
|
6
|
+
localName: string,
|
|
7
|
+
namespace: string | null,
|
|
8
|
+
version: ARIAVersion,
|
|
9
|
+
matches: Matches,
|
|
10
|
+
): Omit<ReadonlyDeep<ARIA>, ARIAVersion | 'conditions'> | null;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import type { MLMLSpec, Attribute } from '../types';
|
|
2
2
|
import type { NamespaceURI } from '@markuplint/ml-ast';
|
|
3
|
-
export declare function getAttrSpecs(
|
|
3
|
+
export declare function getAttrSpecs(
|
|
4
|
+
localName: string,
|
|
5
|
+
namespace: NamespaceURI | null,
|
|
6
|
+
schema: MLMLSpec,
|
|
7
|
+
): readonly Attribute[] | null;
|
|
4
8
|
type HasName = {
|
|
5
|
-
|
|
9
|
+
readonly name: string;
|
|
6
10
|
};
|
|
7
11
|
export declare function nameCompare(a: HasName | string, b: HasName | string): 1 | -1 | 0;
|
|
8
12
|
export {};
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
import type { ARIAVersion, Matches, MLMLSpec } from '../types';
|
|
2
|
-
export declare function getImplicitRole(
|
|
2
|
+
export declare function getImplicitRole(
|
|
3
|
+
specs: MLMLSpec,
|
|
4
|
+
localName: string,
|
|
5
|
+
namespace: string | null,
|
|
6
|
+
version: ARIAVersion,
|
|
7
|
+
matches: Matches,
|
|
8
|
+
): import('..').ImplicitRole;
|
|
@@ -6,7 +6,13 @@ import type { ARIAVersion, Matches, MLMLSpec } from '../types';
|
|
|
6
6
|
* - If `true`, this mean is "Any".
|
|
7
7
|
* - If `false`, this mean is "No".
|
|
8
8
|
*/
|
|
9
|
-
export declare function getPermittedRoles(
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
export declare function getPermittedRoles(
|
|
10
|
+
specs: MLMLSpec,
|
|
11
|
+
localName: string,
|
|
12
|
+
namespace: string | null,
|
|
13
|
+
version: ARIAVersion,
|
|
14
|
+
matches: Matches,
|
|
15
|
+
): readonly {
|
|
16
|
+
readonly name: string;
|
|
17
|
+
readonly deprecated?: boolean;
|
|
12
18
|
}[];
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { ARIAVersion, ARIARoleInSchema, MLMLSpec, ARIARole } from '../types';
|
|
2
2
|
import type { NamespaceURI } from '@markuplint/ml-ast';
|
|
3
|
-
export declare function getRoleSpec(
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export declare function getRoleSpec(
|
|
4
|
+
specs: MLMLSpec,
|
|
5
|
+
roleName: string,
|
|
6
|
+
namespace: NamespaceURI,
|
|
7
|
+
version: ARIAVersion,
|
|
8
|
+
):
|
|
9
|
+
| (ARIARole & {
|
|
10
|
+
superClassRoles: ARIARoleInSchema[];
|
|
11
|
+
})
|
|
12
|
+
| null;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import type { ElementSpec } from '../types';
|
|
2
|
-
export declare function getSpecByTagName<K extends keyof ElementSpec = keyof ElementSpec>(
|
|
2
|
+
export declare function getSpecByTagName<K extends keyof ElementSpec = keyof ElementSpec>(
|
|
3
|
+
specs: readonly Pick<ElementSpec, 'name' | K>[],
|
|
4
|
+
localName: string,
|
|
5
|
+
namespace: string | null,
|
|
6
|
+
): Pick<ElementSpec, 'name' | K> | null;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { MLMLSpec } from '../types';
|
|
2
|
-
export declare function isPalpableElement(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
export declare function isPalpableElement(
|
|
3
|
+
el: Element,
|
|
4
|
+
specs: MLMLSpec,
|
|
5
|
+
options?: {
|
|
6
|
+
readonly extendsSvg?: boolean;
|
|
7
|
+
readonly extendsExposableElements?: boolean;
|
|
8
|
+
},
|
|
9
|
+
): boolean;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { ARIAVersion } from '../types';
|
|
2
2
|
import type { ARIA } from '../types/aria';
|
|
3
3
|
import type { ReadonlyDeep } from 'type-fest';
|
|
4
|
-
export declare function resolveVersion(
|
|
4
|
+
export declare function resolveVersion(
|
|
5
|
+
aria: ReadonlyDeep<ARIA>,
|
|
6
|
+
version: ARIAVersion,
|
|
7
|
+
): Omit<ReadonlyDeep<ARIA>, ARIAVersion>;
|
|
@@ -7,7 +7,7 @@ import type { ElementSpec, ExtendedSpec, MLMLSpec } from '../types';
|
|
|
7
7
|
* @param schemas `MLDocument.schemas`
|
|
8
8
|
*/
|
|
9
9
|
export declare function schemaToSpec(schemas: readonly [MLMLSpec, ...ExtendedSpec[]]): {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
cites: import('../types').Cites;
|
|
11
|
+
def: import('../types').SpecDefs;
|
|
12
|
+
specs: readonly ElementSpec[];
|
|
13
13
|
};
|
package/lib/types/aria.d.ts
CHANGED
|
@@ -10,148 +10,162 @@ export type ImplicitRole = false | string;
|
|
|
10
10
|
/**
|
|
11
11
|
* If `true`, this mean is "Any". If `false`, this mean is "No".
|
|
12
12
|
*/
|
|
13
|
-
export type PermittedRoles =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
export type PermittedRoles =
|
|
14
|
+
| boolean
|
|
15
|
+
| (
|
|
16
|
+
| string
|
|
17
|
+
| {
|
|
18
|
+
name: string;
|
|
19
|
+
deprecated?: true;
|
|
20
|
+
[k: string]: unknown;
|
|
21
|
+
}
|
|
22
|
+
)[]
|
|
23
|
+
| PermittedARIAAAMInfo;
|
|
18
24
|
/**
|
|
19
25
|
* If set false:
|
|
20
26
|
* > No role or aria-* attributes
|
|
21
27
|
*/
|
|
22
|
-
export type PermittedARIAProperties =
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
28
|
+
export type PermittedARIAProperties =
|
|
29
|
+
| false
|
|
30
|
+
| {
|
|
31
|
+
global?: true;
|
|
32
|
+
/**
|
|
33
|
+
* Set true if the spec says "and any aria-* attributes applicable to the allowed roles."
|
|
34
|
+
*/
|
|
35
|
+
role?: true | string | [string, ...string[]];
|
|
36
|
+
/**
|
|
37
|
+
* @minItems 1
|
|
38
|
+
*/
|
|
39
|
+
only?: [
|
|
40
|
+
(
|
|
41
|
+
| string
|
|
42
|
+
| {
|
|
43
|
+
name: string;
|
|
44
|
+
value?: string;
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
...(
|
|
48
|
+
| string
|
|
49
|
+
| {
|
|
50
|
+
name: string;
|
|
51
|
+
value?: string;
|
|
52
|
+
}
|
|
53
|
+
)[],
|
|
54
|
+
];
|
|
55
|
+
/**
|
|
56
|
+
* @minItems 1
|
|
57
|
+
*/
|
|
58
|
+
without?: [
|
|
59
|
+
{
|
|
60
|
+
type: 'not-recommended' | 'should-not' | 'must-not';
|
|
61
|
+
name: string;
|
|
62
|
+
value?: string;
|
|
63
|
+
alt?: {
|
|
64
|
+
method: 'remove-attr' | 'set-attr';
|
|
65
|
+
target: string;
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
...{
|
|
69
|
+
type: 'not-recommended' | 'should-not' | 'must-not';
|
|
70
|
+
name: string;
|
|
71
|
+
value?: string;
|
|
72
|
+
alt?: {
|
|
73
|
+
method: 'remove-attr' | 'set-attr';
|
|
74
|
+
target: string;
|
|
75
|
+
};
|
|
76
|
+
}[],
|
|
77
|
+
];
|
|
78
|
+
};
|
|
65
79
|
export interface AriaSchema {
|
|
66
|
-
|
|
67
|
-
|
|
80
|
+
_?: ARIA;
|
|
81
|
+
[k: string]: unknown;
|
|
68
82
|
}
|
|
69
83
|
export interface ARIA {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
84
|
+
implicitRole: ImplicitRole;
|
|
85
|
+
permittedRoles: PermittedRoles;
|
|
86
|
+
namingProhibited?: true;
|
|
87
|
+
implicitProperties?: ImplicitProperties;
|
|
88
|
+
properties?: PermittedARIAProperties;
|
|
89
|
+
conditions?: {
|
|
90
|
+
/**
|
|
91
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
92
|
+
* via the `patternProperty` ".+".
|
|
93
|
+
*/
|
|
94
|
+
[k: string]: {
|
|
95
|
+
implicitRole?: ImplicitRole;
|
|
96
|
+
permittedRoles?: PermittedRoles;
|
|
97
|
+
namingProhibited?: true;
|
|
98
|
+
implicitProperties?: ImplicitProperties;
|
|
99
|
+
properties?: PermittedARIAProperties;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
'1.3'?: {
|
|
103
|
+
implicitRole?: ImplicitRole;
|
|
104
|
+
permittedRoles?: PermittedRoles;
|
|
105
|
+
namingProhibited?: true;
|
|
106
|
+
implicitProperties?: ImplicitProperties;
|
|
107
|
+
properties?: PermittedARIAProperties;
|
|
108
|
+
conditions?: {
|
|
109
|
+
/**
|
|
110
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
111
|
+
* via the `patternProperty` ".+".
|
|
112
|
+
*/
|
|
113
|
+
[k: string]: {
|
|
114
|
+
implicitRole?: ImplicitRole;
|
|
115
|
+
permittedRoles?: PermittedRoles;
|
|
116
|
+
namingProhibited?: true;
|
|
117
|
+
implicitProperties?: ImplicitProperties;
|
|
118
|
+
properties?: PermittedARIAProperties;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
'1.2'?: {
|
|
123
|
+
implicitRole?: ImplicitRole;
|
|
124
|
+
permittedRoles?: PermittedRoles;
|
|
125
|
+
namingProhibited?: true;
|
|
126
|
+
implicitProperties?: ImplicitProperties;
|
|
127
|
+
properties?: PermittedARIAProperties;
|
|
128
|
+
conditions?: {
|
|
129
|
+
/**
|
|
130
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
131
|
+
* via the `patternProperty` ".+".
|
|
132
|
+
*/
|
|
133
|
+
[k: string]: {
|
|
134
|
+
implicitRole?: ImplicitRole;
|
|
135
|
+
permittedRoles?: PermittedRoles;
|
|
136
|
+
namingProhibited?: true;
|
|
137
|
+
implicitProperties?: ImplicitProperties;
|
|
138
|
+
properties?: PermittedARIAProperties;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
'1.1'?: {
|
|
143
|
+
implicitRole?: ImplicitRole;
|
|
144
|
+
permittedRoles?: PermittedRoles;
|
|
145
|
+
implicitProperties?: ImplicitProperties;
|
|
146
|
+
properties?: PermittedARIAProperties;
|
|
147
|
+
conditions?: {
|
|
148
|
+
/**
|
|
149
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
150
|
+
* via the `patternProperty` ".+".
|
|
151
|
+
*/
|
|
152
|
+
[k: string]: {
|
|
153
|
+
implicitRole?: ImplicitRole;
|
|
154
|
+
permittedRoles?: PermittedRoles;
|
|
155
|
+
implicitProperties?: ImplicitProperties;
|
|
156
|
+
properties?: PermittedARIAProperties;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
};
|
|
146
160
|
}
|
|
147
161
|
export interface PermittedARIAAAMInfo {
|
|
148
|
-
|
|
149
|
-
|
|
162
|
+
'core-aam'?: true;
|
|
163
|
+
'graphics-aam'?: true;
|
|
150
164
|
}
|
|
151
165
|
export interface ImplicitProperties {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
166
|
+
/**
|
|
167
|
+
* This interface was referenced by `ImplicitProperties`'s JSON-Schema definition
|
|
168
|
+
* via the `patternProperty` "^aria-.+".
|
|
169
|
+
*/
|
|
170
|
+
[k: string]: string;
|
|
157
171
|
}
|