@markuplint/ml-spec 3.3.0 → 3.4.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/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-content-model.d.ts +4 -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 +6 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- 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-aria.js +3 -0
- 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-selectors-by-content-model-category.d.ts +4 -1
- 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/schema-to-spec.d.ts +3 -3
- package/lib/specs/schema-to-spec.js +3 -3
- package/lib/types/aria.d.ts +128 -114
- package/lib/types/attributes.d.ts +1490 -110
- package/lib/types/index.d.ts +174 -146
- package/lib/types/permitted-structures.d.ts +74 -35
- package/lib/utils/merge-array.d.ts +5 -3
- package/lib/utils/resolve-namespace.d.ts +4 -4
- package/lib/utils/resolve-namespace.js +2 -1
- package/package.json +4 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MLMLSpec } from '../types';
|
|
2
|
-
export declare function getAttrSpecs(el: Element, schema: MLMLSpec): import(
|
|
2
|
+
export declare function getAttrSpecs(el: Element, schema: MLMLSpec): 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: Readonly<MLMLSpec>, el: Element, version: ARIAVersion): ARIAProps;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import type { ElementSpec } from '../types';
|
|
2
2
|
import type { PermittedContentPattern } from '../types/permitted-structures';
|
|
3
|
-
export declare function getContentModel(
|
|
3
|
+
export declare function getContentModel(
|
|
4
|
+
el: Element,
|
|
5
|
+
specs: Pick<ElementSpec, 'name' | 'contentModel'>[],
|
|
6
|
+
): boolean | PermittedContentPattern[] | null;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types';
|
|
2
2
|
export declare function getImplicitRole(specs: Readonly<MLMLSpec>, el: Element, version: ARIAVersion): ComputedRole;
|
|
3
|
-
export declare function getImplicitRoleName(
|
|
3
|
+
export declare function getImplicitRoleName(
|
|
4
|
+
el: Element,
|
|
5
|
+
version: ARIAVersion,
|
|
6
|
+
specs: Readonly<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: Readonly<MLMLSpec>,
|
|
6
|
+
): {
|
|
7
|
+
name: string;
|
|
8
|
+
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: Pick<ElementSpec, 'name' | K>[],
|
|
5
|
+
): Pick<ElementSpec, 'name' | K> | null;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types';
|
|
2
2
|
export declare function hasRequiredOwnedElement(el: Element, specs: Readonly<MLMLSpec>, version: ARIAVersion): boolean;
|
|
3
|
-
export declare function isRequiredOwnedElement(
|
|
3
|
+
export declare function isRequiredOwnedElement(
|
|
4
|
+
owned: ComputedRole,
|
|
5
|
+
query: string,
|
|
6
|
+
specs: MLMLSpec,
|
|
7
|
+
version: ARIAVersion,
|
|
8
|
+
): boolean;
|
package/lib/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './dom-traverse/is-exposed';
|
|
|
11
11
|
export * from './dom-traverse/may-be-focusable';
|
|
12
12
|
export * from './specs/aria-specs';
|
|
13
13
|
export * from './specs/content-model-category-to-tag-names';
|
|
14
|
+
export * from './specs/get-aria';
|
|
14
15
|
export * from './specs/get-role-spec';
|
|
15
16
|
export * from './specs/get-spec-by-tag-name';
|
|
16
17
|
export * from './specs/is-nothing-content-model';
|
package/lib/index.js
CHANGED
|
@@ -14,6 +14,7 @@ tslib_1.__exportStar(require("./dom-traverse/is-exposed"), exports);
|
|
|
14
14
|
tslib_1.__exportStar(require("./dom-traverse/may-be-focusable"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./specs/aria-specs"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./specs/content-model-category-to-tag-names"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./specs/get-aria"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./specs/get-role-spec"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./specs/get-spec-by-tag-name"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./specs/is-nothing-content-model"), exports);
|
|
@@ -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: Readonly<MLMLSpec>,
|
|
4
|
+
version: ARIAVersion,
|
|
5
|
+
): {
|
|
6
|
+
roles: import('../types').ARIARoleInSchema[];
|
|
7
|
+
graphicsRoles: import('../types').ARIARoleInSchema[];
|
|
8
|
+
props: 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,3 +1,9 @@
|
|
|
1
1
|
import type { ARIAVersion, Matches, MLMLSpec } from '../types';
|
|
2
2
|
import type { ARIA } from '../types/aria';
|
|
3
|
-
export declare function getARIA(
|
|
3
|
+
export declare function getARIA(
|
|
4
|
+
specs: Readonly<MLMLSpec>,
|
|
5
|
+
localName: string,
|
|
6
|
+
namespace: string | null,
|
|
7
|
+
version: ARIAVersion,
|
|
8
|
+
matches: Matches,
|
|
9
|
+
): Omit<ARIA, ARIAVersion | 'conditions'> | null;
|
package/lib/specs/get-aria.js
CHANGED
|
@@ -21,6 +21,9 @@ function getARIA(specs, localName, namespace, version, matches) {
|
|
|
21
21
|
continue;
|
|
22
22
|
}
|
|
23
23
|
const condARIA = conditions[cond];
|
|
24
|
+
if (!condARIA) {
|
|
25
|
+
continue;
|
|
26
|
+
}
|
|
24
27
|
implicitRole = (_a = condARIA.implicitRole) !== null && _a !== void 0 ? _a : implicitRole;
|
|
25
28
|
permittedRoles = (_b = condARIA.permittedRoles) !== null && _b !== void 0 ? _b : permittedRoles;
|
|
26
29
|
implicitProperties = (_c = condARIA.implicitProperties) !== null && _c !== void 0 ? _c : implicitProperties;
|
|
@@ -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
|
+
): Attribute[] | null;
|
|
4
8
|
type HasName = {
|
|
5
|
-
|
|
9
|
+
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: Readonly<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: Readonly<MLMLSpec>,
|
|
11
|
+
localName: string,
|
|
12
|
+
namespace: string | null,
|
|
13
|
+
version: ARIAVersion,
|
|
14
|
+
matches: Matches,
|
|
15
|
+
): {
|
|
16
|
+
name: string;
|
|
17
|
+
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: Readonly<MLMLSpec>,
|
|
5
|
+
roleName: string,
|
|
6
|
+
namespace: NamespaceURI,
|
|
7
|
+
version: ARIAVersion,
|
|
8
|
+
):
|
|
9
|
+
| (ARIARole & {
|
|
10
|
+
superClassRoles: ARIARoleInSchema[];
|
|
11
|
+
})
|
|
12
|
+
| null;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import type { MLMLSpec } from '../types';
|
|
2
2
|
import type { Category } from '../types/permitted-structures';
|
|
3
|
-
export declare function getSelectorsByContentModelCategory(
|
|
3
|
+
export declare function getSelectorsByContentModelCategory(
|
|
4
|
+
specs: Readonly<MLMLSpec>,
|
|
5
|
+
category: Category,
|
|
6
|
+
): ReadonlyArray<string>;
|
|
@@ -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: Readonly<MLMLSpec>,
|
|
5
|
+
options?: {
|
|
6
|
+
extendsSvg?: boolean;
|
|
7
|
+
extendsExposableElements?: boolean;
|
|
8
|
+
},
|
|
9
|
+
): boolean;
|
|
@@ -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: ElementSpec[];
|
|
13
13
|
};
|
|
@@ -66,10 +66,10 @@ function schemaToSpec(schemas) {
|
|
|
66
66
|
...exSpec,
|
|
67
67
|
globalAttrs: {
|
|
68
68
|
...elSpec.globalAttrs,
|
|
69
|
-
...exSpec.globalAttrs,
|
|
69
|
+
...exSpec === null || exSpec === void 0 ? void 0 : exSpec.globalAttrs,
|
|
70
70
|
},
|
|
71
|
-
attributes: mergeAttrSpec(elSpec.attributes, exSpec.attributes),
|
|
72
|
-
categories: (0, merge_array_1.mergeArray)(elSpec.categories, exSpec.categories),
|
|
71
|
+
attributes: mergeAttrSpec(elSpec.attributes, exSpec === null || exSpec === void 0 ? void 0 : exSpec.attributes),
|
|
72
|
+
categories: (0, merge_array_1.mergeArray)(elSpec.categories, exSpec === null || exSpec === void 0 ? void 0 : exSpec.categories),
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
result.specs = specs;
|
package/lib/types/aria.d.ts
CHANGED
|
@@ -10,127 +10,141 @@ 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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
export type PermittedRoles =
|
|
14
|
+
| boolean
|
|
15
|
+
| (
|
|
16
|
+
| string
|
|
17
|
+
| {
|
|
18
|
+
name: string;
|
|
19
|
+
deprecated?: true;
|
|
20
|
+
[k: string]: unknown;
|
|
21
|
+
}
|
|
22
|
+
)[]
|
|
23
|
+
| {
|
|
24
|
+
'core-aam'?: true;
|
|
25
|
+
'graphics-aam'?: true;
|
|
26
|
+
};
|
|
21
27
|
/**
|
|
22
28
|
* If set false:
|
|
23
29
|
* > No role or aria-* attributes
|
|
24
30
|
*/
|
|
25
|
-
export type PermittedARIAProperties =
|
|
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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
31
|
+
export type PermittedARIAProperties =
|
|
32
|
+
| false
|
|
33
|
+
| {
|
|
34
|
+
global?: true;
|
|
35
|
+
/**
|
|
36
|
+
* Set true if the spec says "and any aria-* attributes applicable to the allowed roles."
|
|
37
|
+
*/
|
|
38
|
+
role?: true | string | [string, ...string[]];
|
|
39
|
+
/**
|
|
40
|
+
* @minItems 1
|
|
41
|
+
*/
|
|
42
|
+
only?: [
|
|
43
|
+
(
|
|
44
|
+
| string
|
|
45
|
+
| {
|
|
46
|
+
name: string;
|
|
47
|
+
value?: string;
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
...(
|
|
51
|
+
| string
|
|
52
|
+
| {
|
|
53
|
+
name: string;
|
|
54
|
+
value?: string;
|
|
55
|
+
}
|
|
56
|
+
)[],
|
|
57
|
+
];
|
|
58
|
+
/**
|
|
59
|
+
* @minItems 1
|
|
60
|
+
*/
|
|
61
|
+
without?: [
|
|
62
|
+
{
|
|
63
|
+
type: 'not-recommended' | 'should-not' | 'must-not';
|
|
64
|
+
name: string;
|
|
65
|
+
value?: string;
|
|
66
|
+
alt?: {
|
|
67
|
+
method: 'remove-attr' | 'set-attr';
|
|
68
|
+
target: string;
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
...{
|
|
72
|
+
type: 'not-recommended' | 'should-not' | 'must-not';
|
|
73
|
+
name: string;
|
|
74
|
+
value?: string;
|
|
75
|
+
alt?: {
|
|
76
|
+
method: 'remove-attr' | 'set-attr';
|
|
77
|
+
target: string;
|
|
78
|
+
};
|
|
79
|
+
}[],
|
|
80
|
+
];
|
|
81
|
+
};
|
|
68
82
|
export interface AriaSchema {
|
|
69
|
-
|
|
70
|
-
|
|
83
|
+
_?: ARIA;
|
|
84
|
+
[k: string]: unknown;
|
|
71
85
|
}
|
|
72
86
|
export interface ARIA {
|
|
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
|
-
|
|
87
|
+
implicitRole: ImplicitRole;
|
|
88
|
+
permittedRoles: PermittedRoles;
|
|
89
|
+
namingProhibited?: true;
|
|
90
|
+
implicitProperties?: ImplicitProperties;
|
|
91
|
+
properties?: PermittedARIAProperties;
|
|
92
|
+
conditions?: {
|
|
93
|
+
/**
|
|
94
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
95
|
+
* via the `patternProperty` ".+".
|
|
96
|
+
*/
|
|
97
|
+
[k: string]: {
|
|
98
|
+
implicitRole?: ImplicitRole;
|
|
99
|
+
permittedRoles?: PermittedRoles;
|
|
100
|
+
namingProhibited?: true;
|
|
101
|
+
implicitProperties?: ImplicitProperties;
|
|
102
|
+
properties?: PermittedARIAProperties;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
'1.2'?: {
|
|
106
|
+
implicitRole?: ImplicitRole;
|
|
107
|
+
permittedRoles?: PermittedRoles;
|
|
108
|
+
namingProhibited?: true;
|
|
109
|
+
implicitProperties?: ImplicitProperties;
|
|
110
|
+
properties?: PermittedARIAProperties;
|
|
111
|
+
conditions?: {
|
|
112
|
+
/**
|
|
113
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
114
|
+
* via the `patternProperty` ".+".
|
|
115
|
+
*/
|
|
116
|
+
[k: string]: {
|
|
117
|
+
implicitRole?: ImplicitRole;
|
|
118
|
+
permittedRoles?: PermittedRoles;
|
|
119
|
+
namingProhibited?: true;
|
|
120
|
+
implicitProperties?: ImplicitProperties;
|
|
121
|
+
properties?: PermittedARIAProperties;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
'1.1'?: {
|
|
126
|
+
implicitRole?: ImplicitRole;
|
|
127
|
+
permittedRoles?: PermittedRoles;
|
|
128
|
+
implicitProperties?: ImplicitProperties;
|
|
129
|
+
properties?: PermittedARIAProperties;
|
|
130
|
+
conditions?: {
|
|
131
|
+
/**
|
|
132
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
133
|
+
* via the `patternProperty` ".+".
|
|
134
|
+
*/
|
|
135
|
+
[k: string]: {
|
|
136
|
+
implicitRole?: ImplicitRole;
|
|
137
|
+
permittedRoles?: PermittedRoles;
|
|
138
|
+
implicitProperties?: ImplicitProperties;
|
|
139
|
+
properties?: PermittedARIAProperties;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
129
143
|
}
|
|
130
144
|
export interface ImplicitProperties {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
145
|
+
/**
|
|
146
|
+
* This interface was referenced by `ImplicitProperties`'s JSON-Schema definition
|
|
147
|
+
* via the `patternProperty` "^aria-.+".
|
|
148
|
+
*/
|
|
149
|
+
[k: string]: string;
|
|
136
150
|
}
|